Physics-informed GNN for medium-high voltage AC power flow with edge-aware attention and line search correction operator
Organizations: Pattern Recognition Lab, Friedrich-Alexander-Universität Erlangen-Nürnberg, Germany · Institute of Electrical Energy Systems, Friedrich-Alexander-Universität Erlangen-Nürnberg, Germany
Abstract
Physics-informed graph neural networks (PIGNNs) have emerged as fast AC power-flow solvers that can replace the classic NewtonRaphson (NR) solvers, especially when thousands of scenarios must be evaluated. However, current PIGNNs still need accuracy improvements at parity speed; in particular, the soft constraint on the physics loss is inoperative at inference, which can deter operational adoption. We address this with PIGNN-Attn-LS, combining an edge-aware attention mechanism that explicitly encodes line physics via per-edge biases to form a fully differentiable knownoperator layer inside the computation graph, with a backtracking line-search-based globalized correction operator that restores an operative decrease criterion at inference. Training and testing use a realistic High-/Medium-Voltage scenario generator, with NR used only to construct reference states. On held-out HV cases consisting of 4-32-bus grids, PIGNN-Attn-LS achieves a test RMSE of 0.00033 p.u. in voltage and 0.08 deg in angle, outperforming the PIGNN-MLP baseline by 99.5% and 87.1%, respectively. With streaming micro-batches, it delivers 2-5x faster batched inference than NR on 4-1024-bus grids.
Figures & tables
| Parameter | MV | HV |
|---|---|---|
| Grid voltage | 10 kV | 110 kV |
| Base power | 10 MVA | 100 MVA |
| Line length | 1–20 km | 1–50 km |
| Series resistance | 0.5–0.6 /km | 0.15–0.2 /km |
| Series reactance | 0.3–0.35 /km | 0.35–0.45 /km |
| Shunt capacitance | 8–14 nF/km | 8–10 nF/km |
| HV | MV | HV+MV | ||||
|---|---|---|---|---|---|---|
| Model | ||||||
| Base Models | ||||||
| PIGNN-MLP | 6.6e-2 | 0.62 | 7.9e-2 | 0.67 | 6.9e-2 | 1.31 |
| PIGNN-Attn | 8.0e-3 | 0.67 | 1.5e-2 | 0.63 | 2.0e-3 | 1.27 |
| +Voltage Update Caps | ||||||
| PIGNN-MLP | 1.0e-3 | 8.20 | 3.9e-2 | 3.71 | 2.6e-2 | 2.88 |