arXiv:2610.27930cs.DCOct 2026

Manuscript Offprint

arXiv:2610.27930

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

Benjamin Donnot, Sami Tazi, Eva Boguslawski, Nourredine Henka

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Learned surrogates for power-flow (PF) computation are usually motivated by speed, compared against a single CPU-based baseline. 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. We build a benchmark spanning 9 physics-based solvers – 7 CPU-based and 2 GPU-based, including a new batched GPU solver, gumsim2grid – and 3 published ML surrogates, evaluated under a shared, independently implemented KCL-mismatch check across 15 grids from 14 to 70,000 buses. On the PF task itself, a sufficiently parallelized CPU solver or gpusim2grid matches or exceeds the throughput of the ML surrogates we test while remaining orders of magnitude more accurate; we find no evidence that these GNN-style surrogates are yet competitive for PF specifically, though prior work reports genuine gains on related but more combinatorial tasks such as optimal power flow or power grid control. Beyond this finding, we hope the benchmark suite – code and reference evaluator released at an anonymized repository – helps close a broader reproducibility gap in this space, where batched GPU-based PF solvers are rarely open-sourced or evaluated against a common set of baselines.

1 Introduction

Power flow (PF) solving is a computational bottleneck both for grid operations and for ML pipelines that rely on PF solvers to generate training data at scale: rising renewable penetration is increasing the number of instances operators must evaluate, and recent large-scale neural surrogate efforts report data-generation budgets that are themselves a substantial compute cost.

A large and active line of machine-learning work responds to this need for speed with learned surrogate models [Rivera et al., 2025, Puech et al., 2026]. These comparisons are established against CPU-based baselines, since batched GPU-based solving has not, until recently, been practical: the sparse factorizations at the core of a Newton-Raphson solve mapped poorly onto GPU hardware at the scale of a single instance. Batched sparse solvers such as cuDSS [NVIDIA Corporation, 2026] make GPU-based physics solving newly practical, which raises the question we investigate: how does the ML throughput case, established mainly against CPU baselines, hold up once that option exists?

Comparisons between ML models and a single CPU-based baseline can be misleading, as CPU solvers themselves vary substantially in performance. We observe throughput differences of up to ∼\sim2.5–3 orders of magnitude across CPU implementations, so comparing against just the slowest or fastest baseline can yield opposite conclusions on whether ML is “needed” for speed. We built a benchmark spanning more than 3.5 orders of magnitude in grid size (14 to 70,000 buses): 7 CPU-based tools, 2 GPU-based physics solvers (including gpusim2grid, introduced here), and 3 ML surrogates, across multiple languages and academic/industrial tools – to our knowledge the first time PF computation is evaluated at this scale against this many alternatives on common ground. Code,

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: AI Foundations for Power Grids.

including the reference KCL evaluator (Section 2.1) used to check every solver on equal terms, is available at an anonymized repository 1^{1}.

We find that a sufficiently parallelized CPU-based solver, or gpusim2grid batch physics solver (Section 5.3), matches or exceeds the throughput of the ML surrogates that we evaluate on the power-flow task while being orders of magnitude more accurate. GENCO [Puech et al., 2026] reports genuine gains for learned surrogates on more computation-heavy tasks such as Optimal Power Flow (OPF) (Section 2); we read the two as complementary rather than contradictory. In summary, our two contributions are: (1) the benchmark suite described above, addressing the reproducibility gap left by closed-source GPU accelerators in this space; and (2) gpusim2grid itself, matching the precision of CPU-based solvers and exceeding the throughput of the ML surrogates.