Abstract
Managing modern power grids with high renewable penetration requires solving Stochastic Dynamic Optimal Power Flow (SDOPF) under significant uncertainty. While Deep Reinforcement Learning (DRL) offers a promising solution for real-time control, standard methods often violate critical physical constraints, such as voltage limits. This paper presents a novel primal-dual constrained reinforcement learning (CRL) framework that integrates an augmented Lagrangian method with a complex-valued graph convolutional network (Cplx-GCN). Our approach achieves 100% feasibility in satisfying voltage and power flow constraints while maintaining near-optimal economic dispatch, outperforming traditional DRL and other constrained optimization baselines on standard IEEE benchmarks.
Introduction
The transition to sustainable energy introduces volatile renewable sources and complex storage dynamics, making Stochastic Dynamic Optimal Power Flow (SDOPF) increasingly difficult for grid operators. While Deep Reinforcement Learning (DRL) excels at handling uncertainty, it faces a significant "safety" challenge: standard RL agents often prioritize rewards over physical laws. In power systems, violating voltage or power flow limits can lead to catastrophic equipment failure or blackouts. Previous attempts to enforce safety, such as projecting actions into safe zones, often degrade performance and fail to provide long-term guarantees.
Methods
The proposed framework utilizes a Primal-Dual Constrained RL approach built upon the Twin Delayed Deep Deterministic Policy Gradient (TD3) algorithm. The core innovations include:
- Augmented Lagrangian Framework: The policy (actor) minimizes a Lagrangian function (Primal), while dual variables are updated to ensure strict constraint satisfaction (Dual).
- Complex-Valued Graph Convolutional Networks (Cplx-GCN): Recognizing that power grids are graphs and AC variables are complex phasors, the authors designed a Cplx-GCN actor network to capture spatiotemporal correlations more effectively than standard architectures.
- Sliding Window Forecasting: The agent predicts future action sequences but executes only the first, accounting for the long-term dynamics of Battery Energy Storage Systems (BESS).
The model was evaluated on IEEE 14-bus and 30-bus systems using realistic demand and wind profiles from the Texas grid and NREL Wind Toolkit.
Key Results
The CRL method demonstrated superior performance across multiple metrics:
- 100% Feasibility: Unlike traditional DRL (~80% feasibility) or other constrained methods (13%–98%), the proposed approach maintained a 100% feasibility rate for voltage magnitudes and swing-bus generations.
- Near-Optimal Performance: The optimality gap compared to an "oracle" solver was remarkably low, ranging from 2.25% to 2.52%.
- Architecture Impact: The Cplx-GCN policy consistently outperformed standard FNN, CNN, and RNN architectures in both reward accumulation and safety.
Conclusion
This research demonstrates that integrating physics-aware architectures with primal-dual optimization allows RL agents to operate power grids safely and efficiently. By respecting the graph structure and complex-valued nature of power systems, the Cplx-GCN framework provides a robust path toward autonomous grid management. Future work will focus on scaling these methods to extra-large transmission grids and testing resilience against extreme events like line failures or cyber-attacks.
Summary updated