Nested Reinforcement Learning Based Control for Protective Relays in Power Distribution Systems

Dongqi Wu, Xiangtian Zheng, Dileep M. Kalathil, Le Xie

Abstract

Traditional overcurrent protection in power distribution systems faces significant challenges with the integration of Distributed Energy Resources (DERs), which introduce bidirectional flows and load fluctuations that mimic fault conditions. This paper proposes a Nested Reinforcement Learning (RL) framework that leverages the radial topology of distribution grids to train protective relay agents sequentially. By freezing downstream policies before training upstream agents, the approach ensures environment stationarity and stable convergence. Experimental results on the IEEE 34-node feeder demonstrate that the RL-based system significantly outperforms conventional methods in reliability, speed, and robustness to load growth.

Introduction

Protective relays serve as the critical "circuit breakers" of the utility grid, traditionally operating on simple inverse time curves: as current magnitude increases, the time to trip decreases. However, the proliferation of Distributed Energy Resources (DERs), such as rooftop solar and battery storage, is undermining this logic. DERs can cause reverse power flows or heavy load conditions that traditional relays often mistake for short circuits, leading to unnecessary blackouts or failures to isolate genuine faults. This paper addresses the need for "smarter" protection systems capable of distinguishing complex grid signatures from actual electrical faults.

Methodology: The Nested RL Approach

The primary challenge in applying machine learning to grid protection is the non-stationarity inherent in Multi-Agent Reinforcement Learning (MARL). If all relays learn simultaneously, the environment becomes unstable as each agent's behavior changes the state for others.

To solve this, the authors introduce a Nested RL framework that exploits the radial (tree-like) structure of distribution grids. The training follows a specific sequence:

  1. Downstream Training: Training begins at the "leaves" of the grid—the relays furthest from the power source.
  2. Policy Freezing: Once a downstream relay's policy is optimized, its behavior is fixed.
  3. Upstream Training: The next relay upstream is then trained. Because the downstream behavior is now predictable, the environment remains stationary for the upstream agent.
Figure 1: Radial feeder structure illustrating the nested training sequence from downstream relays (e.g., R5) to upstream relays (e.g., R1).

Relays utilize Deep Q-Networks (DQN) and observe a state space consisting of local voltage and current measurements over a sliding temporal window. This allows agents to recognize the temporal "signatures" of faults versus transient load spikes.

Experimental Setup

The framework was evaluated using the IEEE 34 node test feeder, a standard benchmark for distribution systems. The simulation environment utilized Siemens' PSS/E engine wrapped in an OpenAI Gym interface. The agents were exposed to 5,000 episodes featuring randomized initial loads, varying fault impedances, and diverse fault locations to ensure generalized robustness.

Results and Discussion

The RL-based approach demonstrated superior performance across all critical metrics compared to conventional threshold-based strategies:

  • Reliability: In standard fault scenarios, the RL system achieved a failure rate of just 0.26%, a massive improvement over the 7.7% failure rate of conventional methods.
  • Robustness to Load Growth: As grid load increased by 15% (simulating future demand), the conventional system's failure rate spiked to over 40% during abnormal peaks. In contrast, the RL system remained stable with a failure rate under 2%.
  • Operating Speed: The RL primary relay tripped in approximately 0.005 seconds, whereas conventional coordination typically requires delays of 0.1 seconds or more to ensure proper sequencing.
Figure 4: Performance metrics including (d) current magnitude distributions showing the overlap between normal and faulty states, and (e, f) failure rate comparisons showing RL's superior robustness as load increases.

These results highlight that by using physical grid hierarchy as a training prior, complex multi-agent coordination can be achieved implicitly through the physics of the system rather than explicit communication.

Conclusion

The Nested RL framework provides a scalable and robust solution for modernizing grid protection. While future work is needed to adapt this approach to meshed (loop) topologies and to address "black box" explainability concerns for utility engineers, this research proves that RL can significantly enhance the reliability and speed of the green energy transition.

Summary updated

BibTeX
@inproceedings{wu2019nested,
  author = {Dongqi Wu and Xiangtian Zheng and Dileep M. Kalathil and Le Xie},
  title = {{Nested Reinforcement Learning Based Control for Protective Relays in Power Distribution Systems}},
  booktitle = {CDC},
  year = {2019},
  doi = {10.1109/cdc40024.2019.9029268},
}
Figure