Safe Reinforcement Learning for Emergency LoadShedding of Power Systems

Thanh Long Vu, Sayak Mukherjee, Tim Yin, Renke Huang, Jie Tan, Qiuhua HuangarXiv 2020

TL;DR

This paper introduces a novel "Safe Reinforcement Learning" (Safe RL) approach for emergency load shedding in power grids. By incorporating safety constraints directly into the learning process, their method ensures grid stability during critical events while maintaining the speed and adaptability of standard RL techniques, even for unforeseen faults.

What Problem Does This Paper Address?

Modern electric power grids are becoming increasingly complex due to the integration of distributed energy sources and more dynamic load behaviors. This complexity, coupled with the inherent unpredictability of renewable energy, challenges traditional control methods. Existing emergency control strategies, like Special Protection Schemes (SPS) and conventional Undervoltage Load Shedding (UVLS), often struggle with speed, adaptability, or scalability. While Deep Reinforcement Learning (RL) offers a promising data-driven solution for fast and adaptive control, a critical drawback is its inability to guarantee system safety. This paper tackles the problem of ensuring safe and effective emergency load shedding to prevent voltage instability, a crucial aspect of grid resilience.

Methods

The core contribution is a "Safe Augmented Random Search" (Safe ARS) algorithm. This method builds upon the Accelerated Random Search (ARS) algorithm, which is known for its efficiency in training RL agents for complex tasks. The key innovation is the integration of a safety constraint directly into the RL agent's objective function.

Instead of simply maximizing rewards, the Safe ARS agent aims to maximize a Lagrangian function that combines the expected reward with a penalty term related to a defined safety function. This safety function quantifies the grid's voltage recovery criteria after a fault. The algorithm then employs a min-max optimization approach: it learns an optimal policy (maximizing the Lagrangian) while simultaneously adjusting a safety multiplier (minimizing the Lagrangian). This dual optimization ensures that the learned policy not only achieves good performance but also adheres to the predefined safety requirements. For practical implementation, a heuristic approach is also proposed to adjust the safety multiplier based on observed safety violations during training.

Datasets

The paper uses the IEEE 39-bus, 10-generator benchmark system for simulations and evaluation. This is a standard, well-established model in power systems research. The authors do not introduce a new dataset but rather use this benchmark to demonstrate the effectiveness of their proposed method.

Key Insights and Ideas

  • Safety as a First-Class Citizen: The most significant insight is treating safety not as an afterthought but as an integral part of the RL training objective. By formulating a safety constraint and incorporating it into the Lagrangian, the algorithm is inherently driven to find safe control policies.
  • Adaptability to Unforeseen Events: The Safe ARS method demonstrates a remarkable ability to adapt to fault scenarios that were not explicitly included in the training data. This is crucial for real-world power systems where unexpected events are common.
  • Balancing Performance and Safety: The paper shows that it's possible to achieve both high performance (voltage recovery) and guaranteed safety, overcoming a major limitation of standard RL approaches in critical infrastructure control.
  • Scalability through ARS: Leveraging the ARS algorithm's inherent parallelism, the Safe ARS method is designed to be scalable, allowing for efficient training on high-performance computing platforms.

Key Results

The paper presents simulation results on the IEEE 39-bus system. Key findings include:

  • Improved Voltage Recovery: The Safe ARS-based load shedding consistently met the transient voltage recovery criteria (e.g., returning to 0.9 p.u. within 0.5s and 0.95 p.u. within 1.5s after fault clearance) for tested fault scenarios.
  • Superior Performance to Standard ARS: In direct comparisons, the Safe ARS method outperformed the standard ARS-based load shedding in meeting safety requirements, particularly in scenarios where standard ARS struggled to recover voltages within the specified timeframes.
  • Adaptability to Untrained Faults: The Safe ARS algorithm showed significant advantages in adapting to fault scenarios not encountered during training, demonstrating its robustness and practical applicability. For instance, when tested on a fault at bus 7 (not in training), the Safe ARS policy achieved better voltage recovery than the standard ARS.

Limitations and Future Work

  • Heuristic Safety Multiplier Adjustment: While the paper proposes a heuristic approach for adjusting the safety multiplier, a more rigorous theoretical analysis of this adjustment mechanism could be beneficial.
  • Complexity of Safety Function Definition: Defining accurate and comprehensive safety functions for all possible grid conditions can be challenging. The paper focuses on voltage recovery, but other safety aspects might need to be considered.
  • Future Work: The authors suggest that their highly scalable and safe RL algorithm can be further applied to other power system stability control applications. They also highlight the algorithm's ease of tuning due to a small number of hyperparameters.

Summary updated

Abstract

The paradigm shift in the electric power grid necessitates a revisit of existing control methods to ensure the grid's security and resilience. In particular, the increased uncertainties and rapidly changing operational conditions in power systems have revealed outstanding issues in terms of either speed, adaptiveness, or scalability of the existing control methods for power systems. On the other hand, the availability of massive real-time data can provide a clearer picture of what is happening in the grid. Recently, deep reinforcement learning(RL) has been regarded and adopted as a promising approach leveraging massive data for fast and adaptive grid control. However, like most existing machine learning (ML)-basedcontrol techniques, RL control usually cannot guarantee the safety of the systems under control. In this paper, we introduce a novel method for safe RL-based load shedding of power systems that can enhance the safe voltage recovery of the electric power grid after experiencing faults. Numerical simulations on the 39-bus IEEE benchmark is performed to demonstrate the effectiveness of the proposed safe RL emergency control, as well as its adaptive capability to faults not seen in the training.
BibTeX
@misc{vu2020safe,
  author = {Thanh Long Vu and Sayak Mukherjee and Tim Yin and Renke Huang and Jie Tan and Qiuhua Huang},
  title = {{Safe Reinforcement Learning for Emergency LoadShedding of Power Systems}},
  year = {2020},
  eprint = {2011.09664},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.09664},
}
Figure