CoChat

Optimal Power Flow With Physics-Informed Typed Graph Neural Networks

Open access
Lopez-Garcia, Tania B., Domínguez-Navarro, José Antonio · 2025 · IEEE Transactions on Power Systems

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

Abstract

This work describes a new way to solve the optimal power flow problem applying typed graph neural networks. Typed graph neural networks allow the representation of different elements of transmission systems with different types of nodes, thus adding accuracy and interpretability to the solutions obtained, in comparison to results obtained with conventional feed-forward neural network models. The proposed graph neural network architecture is trained without the need of training data, through a physics informed loss function which incorporates not only the optimization objective, but also operational constraints of the physical system. Results are comparable with those obtained with the interior point method, and it is shown that the calculation time is greatly reduced.

Overview

CoChat Summary

TL;DR

The authors propose a physics-informed typed graph neural network (PI-TGN) that solves the AC optimal power flow problem without any training data, using a multi-target loss combining branch power losses, bus power-balance residuals, and operational-limit violation degrees. Results on IEEE 14/30/57/118/200-bus benchmarks are close to Matpower's IPOPT solutions while being roughly 20× to >1000× faster.

Key findings

  • Prediction errors versus Matpower AC OPF (IPOPT) on noisy benchmark cases ranged from 0.056–0.206% for voltage magnitude, 0.091–2.168% for phase angle, 0.476–13.31% for active power generation, and 0.817–14.58% for reactive power generation across the 14-, 30-, 57-, 118- and 200-bus cases (Table III).
  • Runtime was greatly reduced: e.g. 14-bus 0.0328 s (Matpower) vs 1.77×10⁻³ s (PI-TGN); 200-bus 4.6744 s vs 3.646×10⁻³ s — "more than 1000 times faster" for the largest case, and nearly 20× for the smallest (Table VI).
  • Operational-limit violations were small: none in the 30-bus case; ≤0.0023 p.u. (P) and ≤0.0014 p.u. (V) for 57 buses; ≤0.0038 p.u. (P) and ≤0.004 p.u. (V) for 118 buses; no P violation and ≤0.01 p.u. V violation for 200 buses (Table IV). Except for the 118-bus case, no more than five buses violated limits.
  • In the time-series test (14-bus, Codalab "Learning to Run a Power Network 2019" load profiles, 300-sample batches), errors were V 0.104%, θ 1.03%, Pg 7.99%, Qg 3.65% (Table V); the solver generally achieved lower active/reactive power imbalance per bus than Matpower, except in the 118-bus case.

Methods

  • Design: an unsupervised, physics-informed typed graph neural network where buses are split into generator (V_G) and load (V_D) node types and branches into a line type (V_E), connected by two adjacency matrices A_d,e and A_g,e; each layer encodes inputs, performs T message-passing/update steps, and decodes voltage magnitude/phase and active/reactive power increments.
  • Loss: L = L_a + L_b + L_c, weighting branch active power losses (eq. 1–2), squared active/reactive power imbalance at each bus (eq. 3–5), and squared violation degrees for voltage magnitude and P/Q generation limits via ramp functions (eqs. 6–20), with weights λ_a, λ_b, λ_c.
  • Data and analysis: benchmark cases from the IEEE PES PGLIB-OPF library (14, 30, 57, 118, 200 buses) with uniform noise added to loads (80–120%), shunt susceptance (0.9–1.1), branch parameters (90–110%), generation limits (90–110%), and one randomly deleted branch per sample; initial inference values randomized (P/Q at 25–75% of limits, V at 30–70% of limits, θ at slack angle). Hyperparameters: L = 4 layers, T = 2, embedding dimension d = 16, learning rate 1×10⁻³, Adam, batches of 20 test samples; results compared against Matpower AC OPF with IPOPT.

Limitations

  • Stated by the authors: the method is fully unsupervised, so solutions are "not always the same" as conventional AC-OPF solvers, and adding a target-data term to the loss could bring results closer to a trusted numerical method; branch operational constraints were not considered (though they could be added as violation degrees); model instances were only tested on networks of the same size as training, and attempts to generalize across sizes were unsatisfactory; larger networks may exceed GPU memory.
  • Evident from the text: the 118-bus case showed the largest generation errors (Pg 13.31%, Qg 14.58%) and roughly half its buses exhibited small limit breaches, which the authors hypothesize relates to a high ratio of compensators to active power generators; the reported solver runtime excludes the time to add noise to data and generate adjacency matrices.

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

Integrity signals

Registry

Crossref · 10.1109/tpwrs.2024.3394371

Cites

33 of 33 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Figures

Fig. 1 (a) Small example of transmission grid; (b) corresponding PI-TGN architecture
Fig. 1 (a) Small example of transmission grid; (b) corresponding PI-TGN architectureCC-BY · From the PDF
Fig. 2 PI-TGN based OPF solver scheme.
Fig. 2 PI-TGN based OPF solver scheme.CC-BY · From the PDF
Fig. 3 Case 30 L2 error
Fig. 3 Case 30 L2 errorCC-BY · From the PDF
Fig. 5 Branch loss all cases
Fig. 5 Branch loss all casesCC-BY · From the PDF
Fig. 6 Active power imbalance in all cases
Fig. 6 Active power imbalance in all casesCC-BY · From the PDF
Fig. 7 Reactive power imbalance in all cases
Fig. 7 Reactive power imbalance in all casesCC-BY · From the PDF
Fig. 8 Case 14 time series L2 error
Fig. 8 Case 14 time series L2 errorCC-BY · From the PDF
Fig. 9 Case 14 time series loss function elements
Fig. 9 Case 14 time series loss function elementsCC-BY · From the PDF
Image 9
CC-BY · From the PDF
Image 10
CC-BY · From the PDF

Verification

Claims the paper makes

0 Valid · 4 Not valid · 8 Not checked · 54 Own results and interpretations

23 more claims

Create a free account to see all 66 claims and to verify the 9 references still open.

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

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.

2 of 2

Citations

Cites

Research works printed but not linked: 1

  1. J. Carpentier, "Contribution to the economic dispatch problem," Bull. De la Societe Francoise des Electriciens, vol. 3, pp. 431-447, 1962.

Cited by

See all 59

Metadata

Authors
Lopez-Garcia, T. B., & Domínguez-Navarro, J. A.
Affiliations
Electrical engineering, University of Zaragoza, Zaragoza, Spain
Venue
IEEE Transactions on Power Systems
Published
2025-01
Volume
40
Issue
1
Pages
381-393
ISSN
  • 0885-8950 (ISSN-L)
  • 1558-0679
OpenAlex
W4395680440
Cited by
59
References
35
Citations by year
2026: 38 · 2025: 20
FWCI
5.09
Type
journal article
Language
en
Open access
Locations
  • IEEE Transactions on Power Systems (publishedVersion, cc-by)
  • Zaguan (University of Zaragoza Repository) (publishedVersion, cc-by)
Funders
  • National Science and Technology Council (710033)
  • Spanish National Plan for Scientific and Technical Research and Innovation (PID2019-104711RB-I00)
Topics
  • Physical Sciences › Engineering › Electrical and Electronic Engineering › Optimal Power Flow Distribution
  • Physical Sciences › Engineering › Electrical and Electronic Engineering › Power System Optimization and Stability
  • Physical Sciences › Engineering › Electrical and Electronic Engineering › Electric Power System Optimization
Keywords
optimal power flow, physics-informed loss function, transmission systems, operational constraints, interpretability, computational efficiency, power system optimization

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.