CoChat

Physics-Informed Graph Neural Networks for Robust AC-Optimal Power Flow

Open access
Varbella, Anna, Briens, Damien, Gjorgiev, Blazhe, D'Inverno, Giuseppe Alessio, Donti, Priya L., Sansavini, Giovanni · 2024 · arXiv

The DOI matches its DataCite record; 34 of the 34 references it cites were found in a registry or an index; none of the 22 sources its claims cite is checked for support yet.

Abstract

We present PINCO, an unsupervised learning framework that integrates Graph Neural Networks with physics-informed neural networks for AC optimal power flow (AC-OPF) solutions. Unlike state-of-the-art unsupervised methods that require prescreened datasets containing only feasible instances, our approach operates on unfiltered data, including ill-conditioned cases. The framework addresses two critical gaps in the literature: (1) robustness to topology changes up to N-2 contingencies, and (2) detecting optimal power flow instances that are infeasible without relying on traditional solvers for data filtering. PINCO embeds physical laws into the learning process via augmented Lagrangian multipliers. In addition, it introduces a clustering branch with learnable centroids that automatically separate feasible from infeasible solutions based on constraint-violation patterns. We evaluate the framework across systems of varying complexity, including the IEEE 30-bus, IEEE 57-bus, and Swiss transmission networks, demonstrating scalability and robustness under diverse loading conditions and topology variations. Benchmarking against DeepOPF-FT and the IPOPT solver shows that PINCO achieves comparable constraint satisfaction while delivering two to three orders of magnitude computational speedup compared to IPOPT and lower operational costs across all configurations.

Overview

CoChat Summary

TL;DR

PINCO is an unsupervised physics-informed graph neural network with hard constraints for AC-OPF, tested on IEEE 9-, 24-, 30-, and 118-bus systems. It produces feasible solutions with zero inequality constraint violations and inference two orders of magnitude faster than MIPS, at modest cost increases.

Key findings

  • PINCO achieved zero inequality constraint violations across all tests; as a single-loading solver, equality losses were 0.003 vs 0.002 MW (IEEE9), 0.040 vs 6.500 MW (IEEE24), 0.018 vs 0.015 MW (IEEE30), and 0.067 vs 20.000 MW (IEEE118), with relative cost differences 1.10%, 0.63%, 4.90%, and 1.20% respectively (Table 1).
  • For multiple loading conditions (500 samples, 90–110% of reference demand), PINCO equality losses were 0.030 vs 0.001 MW (IEEE9), 4.300 vs 6.500 MW (IEEE24), 0.690 vs 0.020 MW (IEEE30), and 16.000 vs 20.000 MW (IEEE118); cost differences were 0.010%, 0.880%, 0.800%, and 1.100% (Table 2). The text reports around a 0.8% average cost increase across all test cases.
  • PINCO generalizes to unseen loading conditions as a universal function approximator and can act as both a solver and a hybrid universal function approximator; inference is two orders of magnitude faster than MIPS.
  • It adapts to different power systems with minimal hyperparameter changes, including systems with multiple generators per bus via artificial node splitting.

Methods

  • PINCO combines a GNN with hPINN hard-constraint physics-informed learning; it is trained unsupervised using the AC-OPF objective and equality/inequality constraints as loss, with MATPOWER/MIPS as the reference solver.
  • The power grid is modeled as a graph: buses as nodes, branches as edges; inputs include active/reactive demand and node type; outputs include P_g, Q_g, V, and θ with masking; multiple generators per bus are handled by adding artificial nodes (four node types).
  • Experiments use IEEE 9-, 24-, 30-, and 118-bus systems; single default demand and multiple loading conditions (500 samples uniformly around 90–110% reference, split 80/10/10); metrics include equality loss, cost, and limit violations; training is on ETH Euler CPU.

Limitations

  • The paper states training is computationally expensive, lasting 10 to 24 hours depending on grid size; equality-constraint satisfaction under multiple demand scenarios needs refinement; hyperparameter tuning warrants further investigation.
  • Evident from results: PINCO’s solutions are slightly more expensive than MIPS in single-loading cases (positive cost differences), and for multiple loading conditions its equality loss is higher by an order of magnitude for IEEE9 and IEEE30, though better for IEEE24 and IEEE118.
  • Evident from text: phase-angle comparisons for IEEE118 were omitted because there is no reference/slack bus, allowing arbitrary phase-angle shifts.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

DataCite · 10.48550/arxiv.2410.04818

Cites

34 of 34 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Figures

Figure 1 Schematic of the PINCO method architecture. This diagram illustrates the input data (in red) and the output generated by the neural network (in green). The constant parameters specific to the power grid, as defined by the optimization problem in Section 2.1, are fed directly into the physics-informed loss function.
Figure 1 Schematic of the PINCO method architecture. This diagram illustrates the input data (in red) and the output generated by the neural network (in green). The constant parameters specific to the power grid, as defined by the optimization problem in Section 2.1, are fed directly into the physics-informed loss function.CC-BY · From the PDF
Figure 2 Power grid model as graph. The input features assigned to each node are red, and the predicted quantities at the node level are green. The zoom visualizes how multiple generators per node are modeled; the grey node is the artificial node created to account for additional generators at the node.
Figure 2 Power grid model as graph. The input features assigned to each node are red, and the predicted quantities at the node level are green. The zoom visualizes how multiple generators per node are modeled; the grey node is the artificial node created to account for additional generators at the node.CC-BY · From the PDF
Figure 3 Average differences between solutions from PINCO and the MIPS solver on a logarithmic scale. Phase angle ( θ ) and voltage magnitude ( V ) differences are averaged across all nodes and normalized by their maximum values. Active ( P g ) and reactive power ( Q g ) differences are averaged at generator buses and normalized by total demand.
Figure 3 Average differences between solutions from PINCO and the MIPS solver on a logarithmic scale. Phase angle ( θ ) and voltage magnitude ( V ) differences are averaged across all nodes and normalized by their maximum values. Active ( P g ) and reactive power ( Q g ) differences are averaged at generator buses and normalized by total demand.CC-BY · From the PDF
Figure 4 MIPS and PINCO inference times in logarithmic scale, tested using the same conditions on the same device (CSCS).
Figure 4 MIPS and PINCO inference times in logarithmic scale, tested using the same conditions on the same device (CSCS).CC-BY · From the PDF

Verification

Claims the paper makes

0 Valid · 1 Not valid · 17 Not checked · 28 Own results and interpretations

21 more claims

Create a free account to see all 46 claims and to verify the 20 references still open.

See all claims — free account
  • The quote only partly states this claim. 2
  • It may state two separate claims as one. 14
  • Probably not a substantial claim. 5

Create a free account to see these claims.

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

Each contradiction between two passages listed here was confirmed by an independent check.

1 of 1

Citations

Cites

Show all 34 references

Research works printed but not linked: 1

  1. Kyri Baker. Solutions of dc opf are never ac feasible, 2020. URL https://arxiv.org/abs/ 1912.00319.

Cited by

See all 17

Metadata

Authors
Varbella, A., Briens, D., Gjorgiev, B., D'Inverno, G. A., Donti, P. L., & Sansavini, G.
Affiliations
ETH Zurich (CH)
Venue
arXiv
Publisher
arXiv
Published
2024
ISSN
2331-8422 (ISSN-L)
OpenAlex
W4403323733
Cited by
17
References
32
Citations by year
2026: 12 · 2025: 5
Type
posted content
Language
en
Open access
Locations
arXiv (submittedVersion, cc-by)
Topics
  • Physical Sciences › Engineering › Electrical and Electronic Engineering › Optimal Power Flow Distribution
  • Physical Sciences › Engineering › Electrical and Electronic Engineering › Electric Power System Optimization
  • Physical Sciences › Engineering › Electrical and Electronic Engineering › Power System Optimization and Stability
Keywords
AC optimal power flow, physics-informed neural networks, graph neural networks, unsupervised learning, augmented Lagrangian multiplier, constraint violation

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

A language model drew the claims from the paper on 2026-11-25, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).

A second model labelled each claim on 2026-11-25 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.