Grid

Neural Network Power Flow Solvers: Speed After Correction

CANOS, GridSFM and GENCO are fast on a prediction and slower once corrected. What each paper shows about AC power flow and optimal power flow.

August 29, 20269 min read

Revised October 19, 2026. Original publication date retained.

Horizontal bars of CANOS timings at 500, 2,000 and 10,000 buses: neural inference of 33, 34 and 54 milliseconds, 85, 488 and 18,810 milliseconds after power flow, and AC-IPOPT reference times up to 869 seconds, above GridSFM speedups of 0.63×, 0.48×, 2.86× and 7.42×.

In the CANOS paper’s 10,000-bus experiment, one neural variant takes 54 milliseconds to predict an operating point and 18,810 milliseconds once power-flow processing has corrected it. That is still far faster than the reported 869,536 ms AC-IPOPT reference, but the honest comparison is about 46 times faster, not the roughly 16,100-fold ratio from inference alone.

The same distinction runs through the new literature on learned grid solvers. A model can propose an operating point quickly, and its engineering value then depends on correction, feasibility checks, transfer to new conditions and fallback. CANOS, GridSFM and GENCO each advance a different part of that problem.

01

Power flow, optimal power flow and prediction are different jobs

AC power flow solves active and reactive balance for specified controls. AC optimal power flow chooses controls to minimize an objective while meeting electrical and operating constraints. State estimation reconstructs an operating state from measurements, and a load forecast can feed any of these without being a solver.

A learned model can propose voltages and dispatch, estimate objective cost, or seed a conventional numerical solve, and each use needs its own acceptance test. A low prediction error, a feasible point, a low-cost feasible point and a useful warm start are four different outcomes.

Convergence is only one test. A power-flow calculation can satisfy nodal balance while shifting quantities enough to break generator or branch limits, so final constraint measurements belong next to the reported objective and time.

02

CANOS: the correction step changes the clock

CANOS Figure 3 reports timings before and after power-flow processing. The table follows the same Deep-CANOS48 variant across three network sizes rather than splicing the fastest variant at each size.

The post-processed path still beats the paper’s AC-IPOPT reference, but its advantage shrinks sharply with network size. At 10,000 buses the corrected time is about 348 times the raw 54 ms inference. Report both numbers with the paper’s compute setup, since the ratio is not a hardware-independent property of the algorithm.

Power-flow correction doesn’t automatically enforce every OPF inequality either. The paper reports constraint violations and objective gaps separately, including changed slack output after processing, so runtime alone can’t establish operational acceptability.

BusesNeural inferenceAfter power flowAC-IPOPT reference
50033 ms85 ms6,486 ms
2,00034 ms488 ms83,781 ms
10,00054 ms18,810 ms869,536 ms

03

GridSFM: an average win includes slower cases

The May 2026 GridSFM white paper reports a 1.66× geometric-mean improvement in the seeded AC-OPF solve across 54 grids. The model seed beats a cold start on 41 of them, and 13 do not produce a win.

The selected cases below show why a deployment needs a fallback. These are AC-OPF solve times once seeded, not feature preparation, model execution, transport and verification, and the paired Julia setup used one core per case and single-threaded BLAS.

A representative benchmark includes the cases that slow down and the cost of deciding which seed to use. A fast path that works on many grids can still be worth having, and its failure distribution is part of the product.

Selected gridCold solveModel-seeded solveCold / seeded
case500_goc2.38 s3.76 s0.63× · slower
case588_sdet2.43 s5.02 s0.48× · slower
msr_michigan19.40 s6.78 s2.86× · faster
case2742_goc69.09 s9.31 s7.42× · faster

04

GENCO: transfer is a separate experiment

GENCO uses a shared graph backbone with task-specific decoding for several steady-state calculations, and feeds physical residuals back into its predictions. That makes it broader than a surrogate for one fixed grid.

Its real-data result deserves its own reading. On held-out Hydro-Québec SCADA samples, synthetic pretraining alone transferred poorly. Fine-tuning on 15,000 real samples brought the mean active power-balance residual to 3.36 MW, against 21.1 MW when training from scratch and 2.90 MW for the DC power-flow reference.

That shows useful adaptation. It doesn’t show the learned method beating the DC reference on this metric, and it isn’t an independent qualification to operate a live grid.

05

The training set defines which failures were tested

OPFData supplies solved cases on ten base networks with full topology and selected N−1 variants. Synthetic load perturbations and the removal of infeasible examples mean its test set is not every stressed state a utility sees.

N−1 samples also don’t establish behavior on every new topology, island, control regime or multi-period decision, so report the held-out split, disturbance types and exclusions before generalizing a score.

The cited DeepOPF paper concerns DC-OPF, and its feasibility ideas are not evidence of an AC guarantee without the matching AC formulation and proof.

06

What a useful deployment benchmark would publish

Measure one defined workload on disclosed hardware. Include data preparation, inference, correction, verification and numerical fallback, plus the share of cases each stage resolves, and keep the distribution of final objective quality and violations rather than an average that hides the bad cases.

Test out-of-distribution load, altered topology and binding limits, show a failed proposal and how the system rejects or corrects it, and say whether the output is an approximate state, a feasible operating point, an optimization result or only a seed.

The agentic-planning example covers orchestration around tools like these. A language-model agent choosing the next study and a neural model approximating a numerical solve do different jobs in the workflow.

All model results here are author-reported research. The comparison picks examples that expose engineering boundaries, and it doesn’t rank the papers against each other across incompatible formulations and hardware.