Abstract
Managing power grids requires solving the Alternating Current Optimal Power Flow (AC-OPF) problem, a non-linear and non-convex optimization challenge. While traditional solvers are slow, deep learning models often fail to satisfy physical constraints. This paper introduces DDA-PIGCN, a novel framework that integrates physical laws directly into a Graph Transformer. By employing Dynamic Domain Adaptation (DDA) to adjust constraints layer-by-layer and a Dijkstra-based spatiotemporal feature extractor, DDA-PIGCN achieves near-perfect feasibility and significantly higher accuracy than existing state-of-the-art neural solvers across various IEEE test cases.
Introduction
The AC-OPF problem is central to power grid operations, aiming to minimize generation costs while adhering to physical laws like Kirchhoff’s laws and operational limits like voltage bounds. Traditional mathematical solvers, though rigorous, are often too slow for real-time applications. Deep learning offers a faster alternative, but standard models are "physics-blind," frequently producing solutions that violate critical grid constraints. Previous physics-informed models attempted to address this via penalty terms in the loss function, but they often struggle with the complex, long-range dependencies of large-scale power topologies.
Methodology
DDA-PIGCN (Dynamic Domain Adaptation-Driven Physics-Informed Graph Convolutional Network) addresses these challenges through a multi-faceted architecture that evolves from traditional neural approaches.
The framework is built upon four key pillars:
- Graph Transformer Backbone: Utilizing the UniMP architecture, the model captures complex relationships between buses (nodes) and transmission lines (edges).
- Hierarchical Physics-Informed Constraints (HPIC): Physical constraints are embedded into every layer of the encoder, guiding the internal feature mapping to remain physically consistent throughout the learning process.
- Dynamic Domain Adaptation (DDA): This core innovation dynamically adjusts constraint intensity and boundaries layer-by-layer based on real-time violation monitoring, allowing the network to adaptively learn representations that satisfy operational limits.
- Temporal Multi-Feature Extraction (TMFE): To capture spatiotemporal patterns, Dijkstra’s algorithm serializes the graph based on electrical distances (conductance and susceptance), followed by 1D convolutions to extract domain-specific spatial intelligence.
Evaluation and Results
The model was evaluated on IEEE test cases ranging from 9 to 300 buses, with ground truth data generated via MATPOWER. DDA-PIGCN consistently outperformed baselines like OPF-HGNN and Deepopf-V.
- Accuracy: Achieved a Mean Absolute Error (MAE) as low as 0.0011 on the IEEE 9-bus system.
- Feasibility: Maintained constraint satisfaction rates between 99.6% and 100.0%, a critical requirement for real-world deployment.
- Generalization: Demonstrated stability across varying grid sizes, proving the scalability of the hierarchical constraint approach.
Discussion and Limitations
The success of DDA-PIGCN stems from treating physical constraints as an adaptive curriculum. By adjusting the "hardness" of constraints based on performance, the model avoids the gradient instability typical of strict physics enforcement. Furthermore, prioritizing electrical distance over simple Euclidean distance allows the model to better reflect the underlying physics of power flow.
However, some limitations remain. Future research should address the preprocessing overhead of Dijkstra-based serialization for extremely large grids and explore the model's performance under "N-1" contingency scenarios involving topology changes. Additionally, a detailed comparison of end-to-end inference latency against high-speed traditional solvers would further validate its real-time applicability.
Summary updated