Abstract
Active voltage control presents a promising avenue for relieving power congestion and enhancing voltage quality, taking advantage of the distributed controllable generators in the power network, such as roof-top photovoltaics. While Multi-Agent Reinforcement Learning (MARL) has emerged as a compelling approach to address this challenge, existing MARL approaches tend to overlook the constrained optimization nature of this problem, failing in guaranteeing safety constraints. In this paper, we formalize the active voltage control problem as a constrained Markov game and propose a safety-constrained MARL algorithm. We expand the primal-dual optimization RL method to multi-agent settings, and augment it with a novel approach of double safety estimation to learn the policy and to update the Lagrange-multiplier. In addition, we proposed different cost functions and investigated their influences on the behavior of our constrained MARL method. We evaluate our approach in the power distribution network simulation environment with real-world scale scenarios. Experimental results demonstrate the effectiveness of the proposed method compared with the state-of-the-art MARL methods.
Introduction
As power grids transition toward renewable energy, they are increasingly integrated with distributed energy sources like rooftop solar photovoltaics (PVs). While environmentally beneficial, these sources introduce significant uncertainty and "voltage flicker." If the voltage at any point in the grid deviates from the standard safe range (typically 0.95 to 1.05 per-unit), it risks damaging equipment or causing system-wide failures.
Active voltage control is essentially a constrained optimization problem: the goal is to minimize power loss while strictly guaranteeing that voltage remains within safe limits. Traditional methods like Optimal Power Flow (OPF) are often too slow for real-time applications and rely on perfect grid models. While MARL offers a data-driven, fast alternative, standard algorithms often treat safety constraints as soft penalties, leading to frequent violations in complex, real-world scenarios.
Methodology: MA-DELC
To address these safety concerns, we propose MA-DELC (Multi-Agent RL with Double Estimation of Lagrangian Constraint). The framework formalizes the grid as a constrained Markov game where multiple agents (controlling PV inverters) cooperate to maintain stability.
The core innovation is the Double Safety Estimation strategy, which manages the trade-off between rewards and safety costs using an adaptive Lagrangian multiplier ($\alpha$):
- Safety Critic ($Q^c$): Estimates cumulative future costs to help agents plan long-term safe trajectories.
- One-Step Cost Estimator ($\hat{C}$): A dedicated network predicting immediate costs. This provides a more accurate, short-term signal specifically for tuning the Lagrange multiplier, preventing the "optimism trap" where agents underestimate risks due to biased long-term estimates.
Additionally, we explored various cost functions to provide denser feedback. We found that a Step Cost function—which provides partial credit for maintaining safety across different parts of the grid—offered a superior learning signal compared to simple binary (safe/unsafe) indicators.
Experimental Setup
We evaluated MA-DELC using the Multi-Agent Power Distribution Networks (MAPDN) benchmark. Testing was conducted across three scales:
- 33-bus (6 agents)
- 141-bus (22 agents)
- 322-bus (38 agents) The simulations utilized real-world load and PV generation data to ensure practical relevance.
Results and Discussion
MA-DELC was compared against state-of-the-art baselines, including MADDPG, MATD3, and COMA. Performance was primarily measured by the Control Ratio (CR)—the percentage of time the system remained within safe voltage limits.
Key findings include:
- Superior Safety: In the 33-bus and 141-bus scenarios, MA-DELC achieved a CR of nearly 1.0 (100% safety), significantly outperforming baselines which often hovered around 0.90.
- Scalability: In the complex 322-bus scenario, MA-DELC maintained a stable CR of approximately 0.90, while other methods struggled with instability.
- Efficiency Trade-off: While MA-DELC occasionally showed slightly higher power loss (Q-Loss) in smaller grids, this reflects the intended prioritization of safety over marginal efficiency gains to prevent grid failure.
Conclusion
MA-DELC demonstrates that incorporating double safety estimation into MARL can effectively manage the critical safety constraints of power distribution networks. Future work will focus on improving coordination in even larger grids and exploring the integration of physical power flow models into the learning process to further enhance performance and reliability.
Summary updated