Abstract
Reinforcement learning (RL) is recently studied for realizing fast and adaptive power system dispatch under the increasing penetration of renewable energy. RL has the limitation of relying on samples for agent training, and the application in power systems often faces the difficulty of insufficient scenario samples. So, scenario generation is of great importance for the application of RL. However, most of the existing scenario generation methods cannot handle time-series correlation, especially the correlation over long time scales, when generating the scenario. To address this issue, this paper proposes an RL-based dispatch method which can generate power system operational scenarios with time-series correlation for the agent’s training. First, a time-generative adversarial network (GAN)-based scenario generation model is constructed, which generates system operational scenarios with long- and short-time scale time-series correlations. Next, the “N-1” security is ensured by simulating “N-1” branch contingencies in the agent’s training. Finally, the model is trained in parallel in an actual power system environment, and its effectiveness is verified by comparisons against benchmark methods.
Introduction
As global energy systems transition toward higher renewable energy penetration, power grids face unprecedented volatility and non-linearity. Traditional model-based optimization techniques, such as Optimal Power Flow (OPF), often struggle to keep pace with these rapid fluctuations due to their computational intensity and reliance on precise system models.
Reinforcement Learning (RL) has emerged as a promising alternative, offering fast, adaptive decision-making. However, RL's effectiveness is heavily dependent on the availability of diverse, high-quality training data. In real-world power systems, historical data is often sparse, particularly for rare but critical "extreme" scenarios. Furthermore, standard scenario generation methods frequently fail to capture complex temporal correlations—the relationship between power levels across different times of the day—and often neglect "N-1" security constraints, which are vital for grid reliability.
Methodology
The researchers developed a comprehensive two-stage framework designed to bridge the gap between data scarcity and robust grid dispatch.
1. Scenario Generation via Time-GAN
To address the lack of temporal fidelity in synthetic data, the authors utilized a Time-Generative Adversarial Network (Time-GAN). Unlike traditional GANs, Time-GAN integrates an Autoencoder (AEN) to map time-series data into a lower-dimensional latent space.
As shown in the architecture above, the model employs a supervised loss function to ensure the generator accurately captures the "vibe" or trend of the time series over both short and long scales. This allows the system to expand a limited set of 2,000 real-world scenarios into a robust dataset of 10,000 high-fidelity training samples.
2. Dispatch Strategy and Security
The dispatch agent is trained using the Proximal Policy Optimization (PPO) algorithm. The reward function is multi-objective, balancing operational costs, renewable energy consumption, and penalties for voltage or line-limit violations. Crucially, "N-1" security is integrated into the training process by simulating branch contingencies (line disconnections), forcing the agent to learn strategies that remain stable even during single-component failures.
Experimental Setup and Results
The framework was tested on a model of a real power system in South China, featuring 748 nodes, 845 branches, and 187 units.
Key Findings
- Enhanced Training Effectiveness: Training the RL agent on the expanded Time-GAN dataset led to a 607.49% improvement in average reward compared to training on real data alone.
- Temporal Accuracy: The Time-GAN preserved correlations over a 20-hour lag, maintaining the realistic "shape" of daily load and generation curves.
- Operational Speed: The RL agent provided dispatch solutions in just 0.003 seconds, a 99% reduction compared to the ~20 seconds required by traditional convex optimization solvers like Gurobi.
- Grid Stability: The method achieved a renewable energy consumption rate of 94.06% while successfully maintaining node voltages within safe limits under "N-1" fault conditions.
Conclusion
This research demonstrates that high-quality synthetic data generated via Time-GAN can significantly overcome the data-hungry nature of RL in power systems. While a small "optimality gap" remains between RL and traditional solvers (94% vs 96% renewable consumption), the massive gains in solution speed and the ability to handle complex temporal correlations make this a viable path for real-time grid management. Future work will focus on improving the interpretability of RL decisions to facilitate broader adoption by utility operators.
Summary updated