Uncertainty-Aware Transient Stability-Constrained Preventive Redispatch: A Distributional Reinforcement Learning Approach

Zhengcheng Wang, Fei Teng, Yanzhen Zhou, Qinglai Guo, Hongbin Sun

Abstract

Transient stability-constrained preventive redispatch (TSCPR) is essential for power system security, yet it remains computationally challenging due to complex transient constraints and economic requirements. The integration of renewable energy further complicates this by shifting stability considerations from deterministic to probabilistic. This paper proposes a Graph neural network guided Distributional Deep Reinforcement Learning (GD2RL) method to address uncertainty-aware TSCPR. The framework utilizes a Heterogeneous Message Passing Graph Neural Network (HMPNN) as a surrogate simulator to efficiently generate post-contingency rotor angle curves. Distributional reinforcement learning is then applied to generate redispatch strategies that account for the full uncertainty distribution of system conditions, providing a complete probability distribution of the post-redispatch Transient Stability Index (TSI).

Introduction

In modern power systems, ensuring stability during potential faults—known as Transient Stability-Constrained Preventive Redispatch (TSCPR)—is a critical operational task. Traditionally, this involves solving Differential Algebraic Equations (DAEs) that are too computationally expensive for real-time applications. The rise of renewable energy sources like wind and solar introduces significant variability, requiring operators to move beyond deterministic models toward uncertainty-aware, probabilistic approaches.

Standard Reinforcement Learning (RL) typically optimizes for expected outcomes, which can be dangerous in power systems where low-probability, high-impact events (blackouts) must be avoided. This paper introduces GD2RL, a framework that leverages the structural awareness of Graph Neural Networks and the risk-modeling capabilities of Distributional RL to manage grid stability efficiently.

The GD2RL Framework

The GD2RL approach consists of three primary stages: feature construction for uncertain states, agent training, and real-time application. By integrating a GNN-based surrogate with a distributional actor-critic architecture, the system can evaluate thousands of potential scenarios in seconds.

The three-stage GD2RL framework: feature construction, training, and application.

HMPNN-based Transient Simulator

A core innovation of this work is the HMPNN surrogate simulator. Unlike standard multi-layer perceptrons, the HMPNN captures the physical topology of the power grid. It is trained to predict the entire post-contingency rotor angle curve for every generator rather than a simple binary stability label. This provides operators with rich, interpretable data regarding how the system might fail under specific contingencies.

Architecture of the HMPNN-based surrogate simulator for predicting rotor angle curves.

Distributional Reinforcement Learning

GD2RL employs distributional RL (specifically D3PG/D4PG) to learn the entire probability distribution of rewards. This allows the agent to directly account for the uncertainty of renewable generation. The "Critic" network outputs a distribution of the TSI, enabling the "Actor" to select redispatch actions that balance economic costs with a user-specified probabilistic safety margin.

Experimental Results

The method was validated on a modified New England 39-bus system featuring photovoltaic units to simulate renewable uncertainty. Key findings include:

  • High Accuracy: The HMPNN surrogate achieved a Mean Prediction Error for Curves (MPEC) of 5.67%, outperforming standard MLP models.
  • Massive Speedup: The surrogate simulator provided a 1,000x speedup over traditional time-domain simulation tools (0.39s vs. 436s for 1,000 samples).
  • Real-Time Viability: GD2RL generated near-optimal redispatch strategies in approximately 13 seconds, compared to 2.7 hours required by traditional Particle Swarm Optimization (PSO).
  • Robustness: The agent maintained an average redispatch confidence of 95.41% across various fault scenarios.

Conclusion

GD2RL represents a significant step forward in real-time power system security. By combining the topological intelligence of GNNs with the risk-aware nature of Distributional RL, the framework provides a fast, accurate, and uncertainty-aware tool for preventive redispatch. Future work will explore scaling the action space for larger grids and incorporating multi-stability constraints, such as voltage and frequency stability.

Summary updated

Abstract

Transient stability-constrained preventive redispatch plays a crucial role in ensuring power system security and stability. Since redispatch strategies need to simultaneously satisfy complex transient constraints and the economic need, model-based formulation and optimization become extremely challenging. In addition, the increasing uncertainty and variability introduced by renewable sources start to drive the system stability consideration from deterministic to probabilistic, which further exaggerates the complexity. In this paper, a Graph neural network guided Distributional Deep Reinforcement Learning (GD2RL) method is proposed, for the first time, to solve the uncertainty-aware transient stability-constrained preventive redispatch problem. First, a graph neural network-based transient simulator is trained by supervised learning to efficiently generate post-contingency rotor angle curves with the steady-state and contingency as inputs, which serves as a feature extractor for operating states and a surrogate time-domain simulator during the environment interaction for reinforcement learning. Distributional deep reinforcement learning with explicit uncertainty distribution of system operational conditions is then applied to generate the redispatch strategy to balance the user-specified probabilistic stability performance and economy preferences. The full distribution of the post-redispatch transient stability index is directly provided as the output. Case studies on the modified New England 39-bus system validate the proposed method.
BibTeX
@article{wang2024uncertainty,
  author = {Zhengcheng Wang and Fei Teng and Yanzhen Zhou and Qinglai Guo and Hongbin Sun},
  title = {{Uncertainty-Aware Transient Stability-Constrained Preventive Redispatch: A Distributional Reinforcement Learning Approach}},
  journal = {IEEE Transactions on Power Systems},
  year = {2024},
  doi = {10.1109/tpwrs.2024.3421971},
}
Figure