Heterogeneous Multi-Agent Proximal Policy Optimization for Power Distribution System Restoration

TL;DR

HAPPO achieves over 95% load restoration in large-scale distribution systems using heterogeneous multi-agent PPO with centralized critic.

cs.AI 🔴 Advanced 2025-11-19 43 views
Parya Dolatyabi Ali Farajzadeh Bavil Mahdi Khodayar
power distribution multi-agent RL PPO system restoration electricity optimization

Key Findings

Methodology

This work employs a heterogeneous-agent reinforcement learning (HARL) framework, integrating HAPPO for stable multi-agent policy optimization. Each agent controls a microgrid with distinct load and DER capacities, observing local electrical states. A centralized critic estimates global value functions, guiding sequential policy updates via PPO's clipped surrogate objective. The approach incorporates a physics-informed OpenDSS environment, applying differentiable penalties for electrical feasibility, including voltage, current, and thermal constraints. Advantages are computed with λ-GAE, balancing bias and variance, ensuring stable learning. The method emphasizes heterogeneity handling, sequential trust-region updates, and constraint-aware reward shaping, enabling scalable, robust restoration across large feeders.

Key Results

  • On IEEE 123-bus system, HAPPO restored 95.6% of load (2294kW), outperforming PPO and QMIX by over 10%, with consistent convergence across five seeds. In the 8500-node system, load recovery reached 96.2% (2309kW), with training time around 110 minutes and inference latency below 35ms, demonstrating excellent scalability and robustness.
  • Multi-seed experiments confirmed high reproducibility, with stable convergence trajectories. The approach maintained high performance despite increased complexity, validating its effectiveness for large-scale, constraint-rich environments.
  • Compared to baselines, HAPPO achieved superior recovery rates, faster convergence, and better stability, confirming the benefits of sequential advantage estimation and heterogeneity-aware policy updates.

Significance

This research addresses the critical challenge of large-scale, constraint-driven power system restoration. By integrating physics-informed simulation with advanced MARL techniques, it offers a scalable, reliable solution for real-time grid recovery. The framework's ability to handle heterogeneity and complex electrical constraints marks a significant step toward autonomous, resilient smart grids, reducing outage durations and enhancing grid stability in disaster scenarios.

Technical Contribution

The paper's main contributions include: 1) adapting HAPPO for heterogeneous microgrid control, overcoming parameter sharing limitations; 2) integrating centralized advantage estimation with sequential policy updates; 3) embedding differentiable electrical constraint penalties within the RL reward structure; 4) demonstrating scalability from medium to large feeders with high stability and reproducibility. These innovations push the frontier of MARL in power systems, enabling physically feasible, efficient, and stable control policies.

Novelty

This is the first application of HAPPO to large-scale distribution system restoration with heterogeneous microgrid agents. Unlike prior value-based MARL methods, it employs sequential trust-region policy updates, effectively managing heterogeneity and complex electrical constraints. The integration of a physics-informed environment with centralized advantage estimation represents a novel approach that significantly improves stability and scalability in power system applications.

Limitations

  • The approach relies heavily on accurate physics simulation (OpenDSS), which may not fully capture real-world uncertainties, potentially affecting deployment robustness.
  • Training duration (~1-2 hours) limits immediate real-time application; further optimization is needed for faster inference.
  • Current framework does not explicitly address communication delays or partial observability, which are critical in practical distributed control scenarios.

Future Work

Future directions include integrating predictive models for proactive restoration, reducing training time via transfer learning, and extending the framework to handle communication constraints and partial observability. Additionally, exploring model-based RL and multi-objective optimization could further enhance system resilience and operational efficiency.

AI Executive Summary

As power grids grow in complexity, ensuring rapid and reliable recovery after outages becomes increasingly vital. Traditional optimization methods struggle with the scale and nonlinear constraints of modern distribution systems, especially under dynamic and uncertain conditions. Reinforcement learning (RL) offers a promising alternative, but single-agent approaches face challenges in high-dimensional, heterogeneous environments. This paper introduces a novel heterogeneous multi-agent PPO (HAPPO) framework tailored for distribution system restoration, leveraging a physics-informed OpenDSS environment for electrical feasibility. Each agent controls a microgrid with unique load and DER capacities, updating policies sequentially guided by a centralized critic. The approach employs λ-GAE for advantage estimation, ensuring stable learning amid complex constraints. Extensive experiments on IEEE 123-bus and 8500-node feeders demonstrate that HAPPO achieves over 95% load recovery, surpassing state-of-the-art baselines like QMIX and MAGDPG. The method exhibits excellent scalability, reproducibility across multiple seeds, and low inference latency, making it suitable for real-time deployment. This work marks a significant step toward autonomous, resilient power distribution, capable of handling large-scale, constraint-rich environments. Future research will focus on integrating predictive analytics, communication robustness, and adaptive control strategies to further enhance grid resilience and operational autonomy.

Deep Analysis

Background

配电系统的复杂性不断增加,面对环境灾害、设备老化和网络安全威胁,快速恢复成为保障供电连续性的关键。传统方法多依赖静态优化,难以应对大规模、动态变化的配电环境。近年来,深度强化学习(Deep RL)和多智能体RL(MARL)逐渐成为研究热点,代表性工作包括图神经网络结合RL、Transformer调度等,但在复杂约束和异质性环境中仍存在稳定性和扩展性不足的问题。现有方法多采用价值函数或动作掩码,难以兼顾电气物理约束和多智能体协作,限制了实际应用的推广。

Core Problem

配电网恢复面临多重挑战:一是高维状态空间和复杂电气约束导致传统优化难以实时求解;二是微电网异质性使得智能体参数难以共享,影响协作效率;三是缺乏稳定、可扩展的学习框架,难以在实际环境中实现可靠部署。解决这些问题,需设计兼顾电气物理和多智能体协作的算法,确保恢复路径的最优性和安全性。

Innovation

本研究的核心创新包括:1)提出异质智能体逐步信赖域策略(HAPPO),解决微电网异质性带来的参数非交换问题;2)引入集中优势估计(λ-GAE),增强学习的稳定性和样本效率;3)结合OpenDSS实现电气约束软惩罚,确保策略的物理可行性。这些创新突破了现有MARL方法在大规模复杂配电网中的应用瓶颈,显著提升恢复效率和鲁棒性。

Methodology

  • �� 构建异质多智能体架构,每个智能体控制不同微电网,观察局部电气状态。• 采用集中评论家(Critic)估算全局价值函数,提供策略优化的指导。• 利用λ-GAE进行优势估计,平衡偏差与方差,提升学习稳定性。• 逐个智能体进行策略更新,采用PPO的剪切目标(clipped surrogate)确保策略变动在信赖域内。• 在OpenDSS环境中模拟电气约束,通过连续惩罚确保策略的物理可行性。• 设计奖励函数,结合恢复增量和约束惩罚,提供密集反馈促进学习。

Experiments

在IEEE 123节点和8500节点配电网中进行训练,使用OpenDSS模拟全三相电气环境。模型参数包括:γ=0.99,λ=0.95,训练时间约1-2小时。模型在多随机种子下验证稳定性和重现性,指标包括恢复负荷、收敛速度和推理延迟。对比基线包括PPO、QMIX、MAGDPG等,验证算法在不同规模和复杂约束下的性能表现,确保其扩展性和鲁棒性。

Results

HAPPO在IEEE 123节点系统中实现了95.6%的负荷恢复(2294kW),比PPO和QMIX提升超过10%,多随机种子下表现出极佳的收敛稳定性。在8500节点系统中,恢复率达96.2%(2309kW),训练时间约110分钟,推理延迟低于35毫秒。多次试验显示算法具有高度的重现性,能在复杂电气约束环境中持续优化恢复路径,验证了其在大规模配电网中的应用潜力。

Applications

该算法适用于智能配电网的自主恢复,能在灾害后快速重建电力供应,减少停电时间。未来可结合预测模型实现提前规划,增强系统的自适应能力。长远来看,推动智能电网的自动化和自主决策,提升电力系统的韧性和效率。

Limitations & Outlook

模型依赖于高精度的电气仿真环境(OpenDSS),在实际部署中可能面临模型偏差和环境不确定性问题。训练时间较长(约1-2小时),限制了即时应用。当前未考虑通信延迟和部分观测缺失,未来需增强鲁棒性和适应性。

Plain Language Accessible to non-experts

想象一个大型工厂,里面有许多不同的车间,每个车间负责不同的任务。有时候,工厂会遇到突发问题,比如某个车间突然停工。为了让工厂尽快恢复正常工作,管理者需要安排不同车间的工作人员(就像智能体)去调整设备和流程。每个工作人员只知道自己车间的情况,但需要和其他车间协调,确保整个工厂的生产线顺利运行。这个过程就像配电网的恢复:每个微电网像一个车间,有不同的负载和设备,管理者(算法)需要让所有车间合作,快速修复电力供应。HAPPO算法就像一个聪明的工厂调度系统,逐个调整每个车间的操作,确保整体效率最大化,避免冲突和错误。通过不断学习和调整,它能在复杂环境中找到最优的修复方案,让整个工厂(电网)尽快恢复正常。

ELI14 Explained like you're 14

想象你在学校组织一个大扫除,每个班级负责打扫不同的区域。有时候,某个区域特别脏,需要特别注意。你和你的朋友们需要合作,把所有区域都打扫干净,但每个人只知道自己区域的情况。你们需要不断沟通,确保没有重复劳动,也不会遗漏任何地方。这个合作过程就像配电网的修复:每个微电网像一个班级,有不同的负载和设备,大家要一起努力,把电力恢复到每个房间。HAPPO算法就像一个聪明的队长,逐个指导每个班级怎么做,确保大家合作顺利,快速完成任务。它会不断学习,找到最好的打扫方法,让整个学校变得干干净净,电力也能快速恢复。

Abstract

Restoring power distribution systems (PDSs) after large-scale outages requires sequential switching actions that reconfigure feeder topology and coordinate distributed energy resources (DERs) under nonlinear constraints, including power balance, voltage limits, and thermal ratings. These challenges limit the scalability of conventional optimization and value-based reinforcement learning (RL) approaches. This paper applies a Heterogeneous-Agent Reinforcement Learning (HARL) framework via Heterogeneous-Agent Proximal Policy Optimization (HAPPO) to enable coordinated restoration across interconnected microgrids. Each agent controls a distinct microgrid with different loads, DER capacities, and switch counts. Decentralized actors are trained with a centralized critic for stable on-policy learning, while a physics-informed OpenDSS environment enforces electrical feasibility. Experiments on IEEE 123-bus and 8500-node feeders show HAPPO outperforms PPO, QMIX, Mean-Field RL, and other baselines in restored power, convergence stability, and multi-seed reproducibility. Under a 2400 kW generation cap, the framework restores over 95\% of available load on both systems with low-latency execution, supporting practical real-time PDS restoration.

cs.AI