AI summary · arXiv: 2610.27930v1 · cs.DC

Benchmarking CPU, GPU, and ML Power-Flow Solvers from 14 to 70,000 Buses

Benjamin Donnot, Sami Tazi, Eva Boguslawski, Nourredine Henka

Original paper Submitted to arXiv on 20 Oct. 2026 License: CC BY 4.0 Also in: fr

The essentials

Optimized parallel CPU and batched GPU physics solvers match or exceed tested GNN power-flow surrogates in throughput while delivering substantially higher accuracy.

Question

Do learned power-flow surrogates retain their speed advantage when compared with well-parallelized CPU solvers and batched GPU physics solvers? The paper also examines how baseline selection and inconsistent validation affect such comparisons.

Method

The benchmark compares 7 CPU physics solvers, 2 GPU physics solvers, and 3 published GNN surrogates across 15 grids containing 14 to 70,000 buses, introducing the CUDA/cuDSS-based batched solver gpusim2grid. Physical validation uses an independently implemented Kirchhoff’s Current Law evaluator on 9,000 identical scenarios per grid at a tolerance of 1e-8. Throughput experiments vary CPU parallelism and GPU batch size for fixed-topology generation and demand scenarios; accuracy comparisons additionally use published ML results and physics-solver runs on the IEEE-118 PF-Delta datasets.

Findings

  • Result CPU implementations differ in throughput by roughly 2.5–3 orders of magnitude, making the apparent speed advantage of ML sensitive to baseline selection.
    See the passage in the paper
    We show this comparison is fragile: across 7 open-source CPU-based solvers evaluated on identical inputs, throughput varies by roughly 2.5–3 orders of magnitude, so the choice of baseline alone can flip the conclusion.
  • Result On the reported throughput benchmark, lightsim2grid and gpusim2grid outperform the fastest tested ML surrogate across grid sizes.
    See the passage in the paper
    gpusim2grid tracks lightsim2grid, and both outperform the ML surrogate across grid sizes.
  • Result Five Newton-Raphson iterations give gpusim2grid a worst-case KCL mismatch of 2.31e-10 across the validation scenarios, below the specified 1e-8 tolerance.
    See the passage in the paper
    5 iterations is the lowest budget meeting the $10^{-8}$ tolerance used throughout.
  • Result On IEEE-118 normal and contingency datasets, the physics solvers achieve substantially lower Power Balance Loss than GENCO Base, with over a thousandfold accuracy improvement reported.
    See the passage in the paper
    In this setting – most favorable to the ML surrogates (best model, evaluated on its best-performing task), matching train/test distributions – pandapower and gpusim2grid are far more accurate on case118 across $N$/$N$-1/$N$-2: over $1000\times$ vs. the most accurate ML model (GENCO Base, 2.7e-3, against pandapower’s 1.1e-6).
  • Authors’ interpretation The authors interpret the results as evidence against a current competitive advantage for the evaluated GNN surrogates on plain power flow, not against learned methods for other grid tasks.
    See the passage in the paper
    Our results show a well-parallelized CPU-based solver or gpusim2grid outperforms the GNN-based ML surrogates evaluated for power flow specifically. This does not concern all learned methods (or architectures), and our findings are consistent with GENCO’s reporting higher gains on OPF and state estimation (Puech et al., 2026).

Limitations

  • The surrogate throughput comparison uses fixed architectures without retraining or resizing, limiting conclusions about models adapted to much larger grids.
    See the passage in the paper
    Our throughput comparison therefore bounds what this specific, non-adapted surrogate achieves, not necessarily what a resized or re-trained model could reach on grids far outside its training range, in either throughput or accuracy.
  • Throughput is reported as a single best-observed value rather than repeated-run statistics because of the computational budget.
    See the passage in the paper
    We also report a single best-observed throughput per solver/grid rather than repeated-run statistics, following common practice at this scale (e.g. Puech et al. (2026), Park et al. (2026)); repeating our 630M solves multiple times each was not tractable within our compute budget.
  • Some gpusim2grid batches produce NaN errors when the sparse linear solver silently returns invalid solutions.
    See the passage in the paper
    After a thorough investigation, we found that the sparse linear solver sometimes fails silently to find a good solution for the linear system and returns an unrealistically high value while reporting “converged,” causing subsequent iterations to overflow to floating-point “NaN".

Why it matters

The authors argue that speed claims for learned power-flow solvers require strong parallel CPU and batched GPU baselines rather than a single CPU implementation. Their benchmark, independent KCL evaluator, and gpusim2grid implementation aim to improve reproducibility while preserving the distinction between plain power flow and more computationally demanding grid tasks.

Written by AI from the paper. Passages are checked word for word against the text we analysed; the rest may contain errors.

AI-generated keywords: AC power flow Machine-learning surrogates GPU computing Newton–Raphson solvers Performance benchmarking

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
This paper examines whether machine-learning (ML) surrogates accelerate AC power-flow computation relative to well-parallelized CPU solvers and modern batched GPU physics solvers, rather than a single CPU baseline. Power-flow computation determines bus voltages consistent with specified generation, demand, and network parameters, supporting grid operations and training-data generation. The authors argue that baseline selection can reverse conclusions about ML’s usefulness: throughput across the seven CPU implementations tested varies by approximately 2.5–3 orders of magnitude. The benchmark covers 15 grids ranging from 14 to 70,000 buses and compares seven CPU-based Newton–Raphson solvers, two GPU-based physics solvers, and three published graph-neural-network (GNN) surrogates: PowerFlowNet, Graph Neural Solver, and CANOS-PF. The authors also introduce gpusim2grid, which uses CUDA and NVIDIA’s cuDSS sparse solver to execute batched Newton–Raphson iterations entirely on the GPU. By exploiting shared sparsity patterns across scenarios, it avoids CPU–GPU transfers during iterative computation. To verify that the implementations solve the same equations, the authors independently construct a common Kirchhoff’s current law mismatch evaluator and configure the solvers to align network representations and modeling assumptions. Accuracy validation uses 9,000 identical sampled scenarios per grid, with a target tolerance of 10⁻⁸. Five iterations of gpusim2grid achieve a mean mismatch of 8.91 × 10⁻¹⁴ and a worst-case mismatch of 2.31 × 10⁻¹⁰, both comfortably below the tolerance. Four iterations are insufficient, yielding a worst-case mismatch of 1.16 × 10⁻⁴. The pandapower reference achieves a mean mismatch of 5.61 × 10⁻¹¹. Solver robustness nevertheless varies: PowerModels reports 78.57% convergence across its tested grids, while Power Grid Model succeeds only on smaller grids. Throughput experiments vary generation and demand while keeping network topology fixed and optimizing CPU worker counts and GPU batch sizes. Measurements include input updates and CPU–GPU data transfers but exclude initialization, compilation, and disk loading. The CPU experiments comprise approximately 630 million power-flow solves and 4,700 CPU-hours. On the primary benchmark machine, lightsim2grid is the fastest CPU implementation, Graph Neural Solver is the fastest tested ML surrogate, and gpusim2grid is the fastest GPU physics solver. CPU parallelization provides an average speedup of approximately 16-fold over single-core execution. Although the fastest surrogate outperforms a single core of the fastest CPU baseline, it does not outperform the fully parallelized CPU solver. Overall, gpusim2grid and parallelized lightsim2grid match or exceed the tested surrogates’ throughput, with comparable throughput on the largest grids. A separate accuracy comparison uses the IEEE-118 PF-Delta datasets and published GENCO Base results. Under normal operating conditions, mean power-balance loss is 0.0027 for GENCO, compared with 1.1 × 10⁻⁶ for pandapower and 4.9 × 10⁻¹⁴ for gpusim2grid. Physics solvers also substantially outperform GENCO under single and double contingencies. Near-infeasible cases are more challenging, and pandapower’s average is strongly affected by three nonconverging samples. The authors conclude that the tested GNN surrogates have not yet demonstrated a compelling speed–accuracy advantage for standard power-flow computation. This conclusion does not rule out ML benefits in optimization, state estimation, or control. Study limitations include synthetic scenarios, limited hardware coverage, best-observed timings without repeated-run statistics, and the application of unchanged surrogate architectures to grids beyond their training sizes. The GPU implementation is CUDA-only, and occasional cuDSS-related numerical failures have been reported. The findings therefore support broader, carefully matched benchmarking rather than a universal ranking of solvers or a rejection of learned methods.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Ask questions about this paper to our AI assistant

Compare with the PDF

You can also chat with multiple papers at once here.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 3 free rewrites left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero
Citation alerts
Weekly letter Presented in "Computing beyond AI this week" of 26 October 2026. Computing beyond AI this week: When the baseline changes the answer
Journal club Premium+ Slides to present it
Talk about it in public Premium+ Press kit: release, questions, hype check

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.