Frequency-Aware Sparse Optimization for Diagnosing Grid Instabilities and Collapses

Seyyedali Hosseinalipour (Ali Alipour), Swadesh Vhakta, Denis Osipov, Reetam Sen Biswas, Amritanshu Pandey, Seyyedali Hosseinalipour, Shimiao LiarXiv 2025 · DOI

Introduction

Modern power grids are increasingly complex and must be resilient against "N-1" contingencies—the sudden loss of a major component such as a generator or transmission line. Traditionally, grid operators rely on steady-state power-flow simulations to assess system health. However, these tools face two critical limitations: they often ignore primary frequency responses and they frequently fail to converge (diverge) when a system is severely stressed. This divergence signals a "collapse" but offers no diagnostic insight into the root cause or potential remedies.

This paper introduces a Frequency-Aware Sparse Optimization framework designed to proactively diagnose grid instability. By integrating governor droop response into a robust steady-state model, the method identifies the minimum number of corrective actions required to prevent total system failure.

The Frequency-Stability Gap

Standard power-flow tools are often "frequency blind," failing to account for how generators automatically adjust their output in the seconds following a fault. This adjustment, known as the primary frequency response or "droop control," is vital for stabilizing the grid.

Frequency response following a disturbance, illustrating the transition from transient to steady state and the resulting frequency deviation (Δf).

As shown in the figure above, a disturbance causes a transient drop in frequency. The activation of the droop response eventually stabilizes the system at a new, lower steady-state frequency ($f_{new}$). If this deviation ($\Delta f$) is too large, it can trigger cascading failures. Traditional transient analysis can model these dynamics but is computationally too slow for the real-time monitoring cycles (typically every 30 minutes) required by grid operators.

A Diagnostic Framework for Grid Collapse

The proposed framework bridges the gap between slow transient modeling and limited steady-state analysis through three key innovations:

  1. Governor Power Flow: The authors augment standard equations to include frequency as a system state, accounting for droop control. They utilize a quadratic relaxation to handle generator output limits, ensuring the model remains continuous and differentiable.
  2. Circuit-Theoretic (I-V) Formulation: By modeling the grid using current-voltage (I-V) characteristics in rectangular coordinates rather than traditional power-based equations, the solver becomes significantly more robust. This formulation is less prone to divergence, even when voltages are near zero during a collapse.
  3. Sparse Optimization ($L_1$ Minimization): The core diagnostic "trick" involves adding a penalty term to the optimization objective. The algorithm is tasked with finding the minimum number of bus locations where corrective current injections (compensation) are needed to balance the grid. This effectively localizes the system's "weakest links."

Localizing Vulnerabilities

The method was validated using standard IEEE transmission benchmarks, including Case30, Case300, and the large-scale 1354-bus European grid (Case1354pegase). The framework proved highly effective at identifying targeted interventions even when traditional solvers would have simply crashed.

Comparison of frequency deviations without bounds (top) versus enforced frequency bounds (bottom). The red dots in the bottom row identify the sparse locations where corrective action is required to maintain stability.

In the 1354-bus system, a massive 3424.8 MW outage would typically cause a frequency drop of 0.08 Hz, exceeding safe operational limits. As illustrated in the figure above, the proposed method identified just four specific buses where targeted compensation could keep the frequency drop within a safe 0.06 Hz limit.

Key Results and Impact

  • Precision and Sparsity: Instead of suggesting broad, system-wide changes, the model identifies a handful of critical buses that are the root cause of instability.
  • Speed and Scalability: The algorithm localized solutions for the 1354-bus system in less than four minutes on a standard laptop, making it viable for integration into real-time Energy Management Systems (EMS).
  • Overcoming Divergence: By using "slack variables" (compensation sources), the solver converges even when the grid is technically collapsed, providing actionable data on exactly how much the grid is "short" on power and where.

Conclusion

This frequency-aware sparse optimization framework provides a fast, diagnostic tool for modern grid operators. While currently focused on primary frequency response, future work may extend this to include secondary controls like Automatic Generation Control (AGC) and the "virtual inertia" provided by renewable energy inverters. By turning the "dead end" of simulator divergence into a diagnostic map, this research offers a path toward more resilient and observable power systems.

Summary updated

BibTeX
@misc{alipour2025frequency,
  author = {Seyyedali Hosseinalipour (Ali Alipour) and Swadesh Vhakta and Denis Osipov and Reetam Sen Biswas and Amritanshu Pandey and Seyyedali Hosseinalipour and Shimiao Li},
  title = {{Frequency-Aware Sparse Optimization for Diagnosing Grid Instabilities and Collapses}},
  year = {2025},
  eprint = {2511.07553},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.07553},
}
Figure