arXiv:2510.06860cs.LGcs.AI2025-10被引 7

用混合神经网络解决电网优化计算慢问题,支持不同规模和故障场景的快速求解。

Towards Generalization of Graph Neural Networks for AC Optimal Power Flow

  • 融合异构图网络与可扩展注意力机制,分层建模电力系统局部与全局特征。
  • 在14到2000节点电网上,最优性差距低于1%,故障场景下零样本泛化误差<3%。
  • 无需全面仿真即可实现高鲁棒性,预训练小电网显著提升大电网表现。

交流最优潮流(ACOPF)在大规模电网中计算耗时,传统求解器难以满足实时需求。机器学习可大幅提速,但现有模型在可扩展性和拓扑灵活性方面存在不足。为此,本文提出混合异构消息传递神经网络(HH-MPNN),结合异构图神经网络(GNN)与可扩展变压器及物理信息位置编码。该架构显式建模电力系统不同组件以捕捉局部特征,同时利用全局注意力处理长程依赖。在PGLearn和GridFM-DataKit等多个基准数据集上测试,HH-MPNN在14至2,000母线的默认拓扑下实现小于1%的最优性差距;针对N-1故障场景,即使仅在默认拓扑上训练,也展现出零样本泛化能力,多数案例最优性差距低于3%。进一步通过针对性数据增强,确保对高影响故障的鲁棒泛化,证明无需全面仿真实现拓扑灵活模型。此外,预训练小规模电网显著提升大规模系统性能。相比内点法求解器,计算速度最高提升5,000倍,推动机器学习在实时电力系统运行中的实用化与通用化。

原文摘要 · Abstract (English)

AC Optimal Power Flow (ACOPF) is computationally intensive for large-scale grids, often requiring prohibitive solution times with conventional solvers. Machine learning offers significant speedups, but existing models struggle with scalability and topology flexibility. To address these challenges, we propose a Hybrid Heterogeneous Message Passing Neural Network (HH-MPNN) that integrates a heterogeneous graph neural network (GNN) with a scalable transformer and physics-informed positional encodings. Our architecture explicitly models distinct power system components to capture local features while using global attention for long-range dependencies. Evaluated on diverse benchmarks, including PGLearn and GridFM-DataKit datasets, HH-MPNN achieves less than 1% optimality gap on default topologies across grid sizes from 14 to 2,000 buses. For N-1 contingencies, our approach demonstrates zero-shot N-1 generalization with less than 3% optimality gap on several test cases despite training only on default topologies. We further develop an approach that ensures robust N-1 generalization to high-impact contingencies through targeted augmentation of the training data, showing that exhaustive simulation is unnecessary for topologically flexible models. Finally, size generalization experiments demonstrate that pre-training on small grids significantly improves performance on large-scale systems. Achieving computational speedups of up to 5,000 times compared to interior point solvers, these results advance practical, generalizable machine learning for real-time power system operations.

电力系统图神经网络优化求解泛化能力

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。