Skip to content

feat(dynamic): add spatial-temporal voltage risk diagnostics - #4

Open
BurhanAbdullah wants to merge 5 commits into
mainfrom
feat/dynamic-spatial-temporal-risk
Open

BurhanAbdullah wants to merge 5 commits into
mainfrom
feat/dynamic-spatial-temporal-risk

Conversation

@BurhanAbdullah

Copy link
Copy Markdown
Owner

Summary

Adds an independent evaluator-side metric module for the IEEE 39-bus transient-stability benchmark. The existing Integral of Violation (IoV) scalar averages voltage violations across buses; this extension separately quantifies spatial concentration and temporal persistence so localized but severe excursions do not disappear inside a fleet-wide average.

New capability

  • Per-bus time-integrated normalized undervoltage and overvoltage exposure, reported as both mean and worst-bus values.
  • Fraction of buses experiencing at least one threshold crossing.
  • Upper-tail mean of sample-level spatial-average violation to expose brief severe excursions.
  • Longest sampled contiguous violation duration, using actual nonuniform time intervals.
  • Strict validation of time ordering, finite values, metric thresholds, and tail fraction.
  • Offline synthetic tests; no licensed PowerFactory install or API is required.

The module does not change the published scalar score or the benchmark's instability flag. The accompanying document clarifies interpretation and limitations; the tail statistic is described as CVaR-like, not formal CVaR.

Validation

Tests are included under benchmarks/dynamic/level2/test_spatial_temporal_risk.py.

Scope

This is a standalone metric extension, not a patch to an existing defect. It is evaluator-side and does not expose hidden test memory or ground-truth labels to agents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant