PowerNet: Multi-agent Deep Reinforcement Learning for Scalable Powergrid Control

Dong Chen, Zhaojian Li, Tianshu Chu, Rui Yao, Feng Qiu, Kaixiang LinarXiv 2020

Abstract

PowerNet is a novel multi-agent deep reinforcement learning (MARL) framework designed for decentralized secondary voltage control in microgrids. By introducing a spatial discount factor and a differentiable communication protocol, it overcomes the scalability limits of centralized control and the performance gaps of traditional model-based methods. Evaluated on the high-fidelity PGSIM simulator, PowerNet demonstrates superior convergence speed, real-time inference capabilities, and robust voltage regulation across varying grid scales.

Introduction

As global energy systems transition toward renewable sources, power grids are becoming increasingly decentralized. These modern grids rely on Distributed Generators (DGs), such as solar and wind, which require two distinct levels of control: primary control for local stability and secondary control for coordinating DGs to maintain grid-wide voltage references.

Existing secondary control methods often face a trade-off between scalability and accuracy. Centralized controllers are prone to single points of failure and suffer from the "curse of dimensionality" as the grid expands. Conversely, traditional distributed model-based controllers frequently rely on oversimplified linear approximations of complex, nonlinear grid dynamics, leading to poor performance under real-world disturbances. PowerNet bridges this gap with a model-free, decentralized reinforcement learning approach that is both scalable and robust.

Methodology

The authors formulate the secondary control problem as a Partially Observable Markov Decision Process (POMDP) and introduce PowerNet, an on-policy MARL algorithm. Its architecture features three key innovations:

  1. Spatial Discount Factor: Recognizing that power grid physics are inherently local, PowerNet exploits spatial locality by weighting rewards based on physical or graph distance ($\alpha^{d_{i,j}}$). This helps solve the "credit assignment" problem, allowing agents to focus on the most relevant feedback and significantly speeding up training.
  2. Differentiable Communication Protocol: Unlike previous methods that use simple mean-pooling (which can lose vital information), PowerNet employs an LSTM-based architecture to concatenate and encode messages from neighbors. This allows agents to learn a nuanced "language" for cooperation.
  3. Action Smoothing: To prevent the jittery control actions typical of stochastic RL policies, the authors implement an exponential moving average for actions, stabilizing the grid and preventing unnecessary system perturbations.
The PowerNet communication protocol architecture, featuring differentiable message encoding and LSTM-based state updates.

To support this research, the authors also developed and open-sourced PGSIM, a high-fidelity power grid simulation platform capable of modeling complex nonlinear dynamics.

Experimental Setup and Evaluation

The algorithm was evaluated using the PGSIM simulator across three configurations: Microgrid-6 (based on the IEEE 34-bus test feeder), Microgrid-20, and Microgrid-40. The simulations included random load variations ($\pm 20\%$) and disturbances ($\pm 5\%$) to mimic real-world volatility.

A key insight from the evaluation is that locality is a feature: by acknowledging the local nature of grid physics through the spatial discount factor, the authors transformed a massive global optimization problem into manageable local sub-problems. Furthermore, the communication architecture proved vital; preserving the identity of neighbor signals through concatenation allowed for better coordination than simpler pooling methods.

Results

PowerNet outperformed both centralized and traditional MARL baselines across several metrics:

  • Efficiency and Convergence: In the 6-DG setup, PowerNet converged in just 0.9 hours, compared to 5.25 hours for a centralized Proximal Policy Optimization (PPO) approach.
  • Scalability: While centralized PPO failed to converge on the 20-DG system, PowerNet maintained high performance and successfully scaled to 40 DGs, where other MARL benchmarks like CommNet saw performance collapses.
  • Real-Time Performance: PowerNet’s inference time is roughly 19.6 times faster than Model Predictive Control (MPC). In a 40-DG grid, it takes only 35.8 ms to determine an action, making it viable for high-frequency real-time control.
  • Voltage Regulation: PowerNet consistently kept voltages within the "normal zone" (0.95–1.05 pu) even under heavy load variations that caused violations in other RL methods.
Average training reward for Microgrid-6, comparing PowerNet against centralized and independent actor-critic baselines.

Conclusion

PowerNet demonstrates that decentralized MARL can effectively manage large-scale power grids with high efficiency and real-time responsiveness. Future work will focus on testing the system against extreme disturbances, such as line faults or cyber-attacks, and integrating formal safety-guaranteeing schemes to provide the stability proofs required for real-world deployment.

Summary updated

BibTeX
@misc{chen2020powernet,
  author = {Dong Chen and Zhaojian Li and Tianshu Chu and Rui Yao and Feng Qiu and Kaixiang Lin},
  title = {{PowerNet: Multi-agent Deep Reinforcement Learning for Scalable Powergrid Control}},
  year = {2020},
  eprint = {2011.12354},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.12354},
}
Figure