CS Paper Radar

Droop-Aware Foundation Model Power Flow

Khezr Sanjani, Peng Zhang

cs.ET ·submitted 2026-09-20 16:05 UTC · v1

Abstract

This paper develops a droop-aware extension of the GridFM power systems foundation model, embedding droop gains and frequency/voltage deadband parameters as per-bus node features to enable control-aware AC power-flow analysis. Existing power-flow datasets encode only static electrical features, conflating operating points from qualitatively different control regimes; this work resolves that gap by exposing droop and deadband parameters as structured node features, with deadband discontinuities handled through a smooth tanh approximation that preserves solver differentiability. A transformer-based graph neural network is pre-trained on masked reconstruction and fine-tuned on the resulting control-aware datasets. The framework is validated against PSCAD electromagnetic-transient simulations on a two-bus system (0.11% maximum steady-state error) and cross-validated against an independent PyPower droop solver on the IEEE 24-bus RTS. On the 24-bus system the surrogate attains R2 = 0.9996 for active generation and 0.0015 p.u. voltage-magnitude RMSE; scalability is confirmed on the IEEE 300-bus system (0.0036 p.u. RMSE, R2 = 0.9841 for voltage magnitude across 299,700 predictions). A three-mode control study further shows that the deadband widens the control-error distribution while leaving total droop compensation unchanged, establishing deadband width as an actionable node-level design feature.

Closest papers

Nearest neighbours by meaning across the whole index.

Towards Efficient Edge AI for Power Flow in Renewable-Rich Grids with Volt/VAR Control

eess.SY ·2026-11-11 ·Shahariya R. R. Puthanpurayil, Vlad A. Sanduleac, Remus Teodorescu
code/data similarity 0.68
Abstract

AI models of the power grid must capture how wind and solar plants support the voltage, adjusting their reactive power to the local voltage along a grid-code Q(V) characteristic. This research examines whether grid foundation models, fast neural network models for power-flow analysis, can represent this behaviour. We introduce the Q(V) bus, a new bus type for the open-source GridFM GraphKit, whose physics decoder evaluates the reactive injection from the plant characteristic at the predicted voltage in every correction step. Training data comprise 7882 hourly operating points of a modified IEEE 118-bus system, matched to Energinet DK1/DK2 measurements and solved with pandapower. Compared with a physics-informed baseline that represents the parks as negative load, the Q(V) bus lowers the voltage-magnitude RMSE 2.3-fold, reduces the power-balance mismatch at the parks from 25 to 0.66 MVA, and raises the F1 score for voltage-band violations from 0.40 to 0.76. An ablation over five configurations shows that the Q(V) bus type provides the accuracy and the physics loss provides the power balance. For edge monitoring, we distil the trained $2.0\times10^{7}$-parameter model into students of $6\times10^{5}$ and $1.3\times10^{6}$ parameters; a flat-start initialisation prevents their collapse into an incorrect low-voltage state in which the characteristic saturates. With output distillation, the 12-step student reaches 1.4 times the teacher's error and, for edge inference on an NVIDIA Jetson Orin Nano (15 W), solves an hourly scenario in 12.2 ms, within the 20 ms synchrophasor interval.

0.34

Benchmarking Graph Neural Networks for AC Power Flow: The Role of Inductive Biases and Physical Constraints

cs.LG cs.AI ·2026-10-28 ·Federico Clerici, Ferran Bohigas-Daranas, Hamid Latif-Martínez, Eduardo Prieto-Araujo, Oriol Gomis-Bellmunt +1 more
benchmark similarity 0.67
Abstract

Fast and accurate models for AC power flow (ACPF) are increasingly important as modern electrical grids require more frequent system analyses. Graph neural networks (GNNs) naturally exploit electrical grid topology, yet the effects of architectural design choices on predictive performance remain poorly understood given differences in graph representations and evaluation settings across studies. We present a unified benchmark of representative GNN architectures for ACPF prediction under a common experimental framework. All models use identical preprocessing and training procedures and comparable parameter budgets, isolating the impact of message-passing mechanisms and inductive biases. We also analyze errors by distance from the slack bus and systematically ablate key design components. We evaluate predictive accuracy and physical consistency on the IEEE 14-bus and IEEE 118-bus systems. Results indicate that anisotropic message-passing architectures offer the most favorable trade-off between predictive accuracy and physical consistency under the studied parameter and topology constraints. Explicit edge features encoding line impedances and global context aggregation are particularly important for representing electrical interactions and system-wide dependencies, especially for voltage-angle predictions on the topologically bottlenecked IEEE-118 grid. Under a budget with approximately fixed parameters, two or three message-passing layers generally provide the best balance between depth and representation width, while additional depth offers no consistent improvement. Ablations also show that standard residual and root connections are not necessarily beneficial in shallow models, and that aggregation operators involve trade-offs between statistical accuracy and physical consistency. These results provide practical guidelines for designing graph-based power system models.

0.17

Physics-Informed but Not Physics-Consistent: Error Geometry and Subspace Projection for Neural AC Power Flow

cs.LG cs.AI ·2026-10-05 ·Changhun Kim, Timon Conrad, Redwanul Karim, Karan Pahlajani, Julian Oelhaf +5 more
code/data similarity 0.65
Abstract · ICASSP 2027 submitted; 3 figures, 3 tables. Code: https://github.com/Kimchangheon/neural-acpf-error-geometry

Recent neural power-flow solvers, including emerging foundation models, achieve accurate voltage predictions, yet such accuracy does not necessarily imply physically consistent solutions. Even small complex voltage errors can yield large AC power-balance residuals. We study this accuracy-consistency gap across PIGNN-GC, GridSFM, gridfm-graphkit, and LUMINA on realistic 2224-bus Great Britain network (GBnetwork) scenarios, with cross-grid evaluation of GridSFM over 31 systems. Using a singular value decomposition (SVD) basis fitted to training AC power-flow solutions, we find that neural prediction errors contain substantial components outside the dominant solution subspace. To address this mismatch, calibrated solution-subspace projection (CSP) suppresses off-subspace prediction components after train-only bias calibration, reducing Mean PB by 67.0%, 37.8%, 40.5%, and 68.9% for PIGNN-GC, GridSFM, gridfm-graphkit, and LUMINA, respectively, relative to calibrated predictions, while improving voltage-magnitude accuracy in all four models. These results identify output-error geometry as an important factor in physics-consistent neural AC power flow. Code: https://github.com/Kimchangheon/neural-acpf-error-geometry

0.34

Unified Heterogeneous Graph Neural Network solver for Power Flow, Optimal Power Flow and State Estimation

eess.SY cs.LG ·2026-09-15 ·Ferran Bohigas-Daranas, Hamid Latif-Martínez, Eduardo Prieto-Araujo, Oriol Gomis-Bellmunt, Pere Barlet-Ros
similarity 0.65
Abstract

Power Flow (PF), Optimal Power Flow (OPF), and State Estimation (SE) are fundamental problems in power system analysis, but solving them is computationally expensive. Graph Neural Networks (GNNs) have been proposed as fast surrogates, yet existing solvers are trained for a single problem at a time, producing narrow models that must be rebuilt for each new task. We propose a more general approach: a single Heterogeneous Residual Gated Graph Convolutional Network that solves all three problems with one shared backbone. Rather than learning one mapping, the model learns a reusable representation of how the network behaves, from which PF, OPF, and SE can each be estimated. Trained jointly on the three problems across diverse topologies and loading conditions, and evaluated on the IEEE 14-bus and 118-bus systems, the shared model matches the accuracy of task-specific GNN solvers and stays robust on unseen loading levels and topologies. These results show that a single model can capture the basic operation of a power network and serve several analysis tasks at once, a first step toward a foundation model for power systems.

0.11

GridSFM: A Foundation Model for Solving AC Optimal Power Flow

eess.SY cs.LGmath.OC ·2026-09-24 ·Luke Bhan, Weiwei Yang, Margaret Capetz, Baosen Zhang
theory similarity 0.64
Abstract · 19 pages

We introduce GridSFM, a framework that combines a pretrained foundation model across grid topologies with physics-informed fine-tuning for solving AC Optimal Power Flow (AC-OPF) at scale. It is a $15$ million parameter physics-inspired graph neural network pretrained across $54$ topologies of $500$ to $4{,}000$ buses. Our model attains a $2.45\%$ zero-shot generation-cost error on a $10{,}000$ bus case held-out operating conditions with no degradation as system size grows. Building on this, we pair the pretrained backbone with a physics-informed fine-tuning design based on Newton's method for power flow. With only $100$ solved instances, GridSFM adapts to unseen grids up to $10{,}000$ buses. We show it out performs single topology, dedicated neural network models that are trained more data, both in terms of cost and solver iterations when deployed as warm starting points. In designing this foundation model, we overcome the fact that the feasible set for AC-OPF can be disconnected. This is an obstruction that prevents any continuous neural network from approximating the solution map. To do so, we lift the problem and relax its constraints with logarithmically penalized slacks. We prove that the resulting elastic feasible set is contractible, that the AC-OPF minimizers remain minimizers of the elastic problem above an explicit penalty threshold, and that projecting an approximate solution back onto the AC-OPF feasible set is well posed. We release all models, data, and code so that the community can build on a shared starting point for AC-OPF.

0.40

Generalized and Unified Power Flow Framework for Converter-Dominated AC/DC Power Grids

eess.SY ·2026-10-18 ·Hamin Chang, Fei Teng, Gyu-Sub Lee, Jae-Won Chang
code/data similarity 0.63
Abstract · Submitted to IEEE Transactions on Power Systems. 10 pages + 10-page appendix (Appendices A-C included at the end). Code: https://github.com/…

Modern power grids increasingly rely on power electronic interfaces, requiring steady-state power flow analysis to accommodate diverse operating modes and network structures. Conventional approaches often rely on system-specific formulations and sequential approaches to handle such complexity. However, these approaches may limit applicability to diverse grid configurations and lead to convergence and computational issues. To address these limitations, this paper proposes a generalized and unified Newton-Raphson (NR) power flow framework for AC/DC hybrid grids. For generalized operational modeling, conventional and droop operating modes of generators and interlinking converters are represented through a common set of coefficients. For generalized structural modeling, models of AC transformers and DC/DC converters accommodate different transformer winding configurations and converter operating modes. For a unified solution, augmented variables are introduced to incorporate droop deadbands, output limits, and converter station losses into a single NR formulation, eliminating the need for sequential outer loops. To validate the effectiveness of the proposed framework, its results are compared with those obtained from existing power flow methods and electromagnetic transient simulations across transmission networks, distribution networks, and microgrids. The implementation is made publicly available to facilitate its use in analyzing AC/DC hybrid grids.

0.36

A Benchmark Graph Dataset for Transient Stability Assessment of the IEEE 9-Bus System: 20,000 Scenarios with Full Generator Trajectories

eess.SY ·2026-08-18 ·Hussein Suprême, Martin de Montigny, Arnaud Zinflou
publishedbenchmark similarity 0.62
Abstract · Descriptor Open dataset IEEE9

Transient stability assessment determines whether a power system retains synchronism after a large disturbance. Machine-learning surrogates can accelerate it, but progress is limited by the lack of open datasets that combine dynamic ground truth, network graph structure, and machine parameters. We release a benchmark of 20,000 three-phase-to-ground fault scenarios on the IEEE 9-bus system. Each scenario couples an AC power-flow operating point with a detailed electromagnetic-transient simulation of the post-fault response. Every record provides the network as an attributed graph (nine buses, eighteen directed branches, ten node and twelve edge features), the full rotor-angle and speed trajectories of the three generators, the static machine constants, the fault description, and a center-of-inertia binary stability label. Wide load and generation scalings across eighteen fault locations yield a near-balanced distribution (48.96\% stable, 51.04\% unstable). Generation is deterministic and fully reproducible through fixed seeds and public code. The dataset is distributed on IEEE DataPort under a persistent DOI and supports stability classification, trajectory prediction, margin and critical-clearing-time estimation, and the comparison of topology-aware, physics-based, and hybrid learning methods.

0.43

Physics-Aware Distillation of a Grid Foundation Model for Real-Time Edge Inference

cs.LG ·2026-10-15 ·Vlad Alexandru Sănduleac, Shahariya Rasheed Rayamarakkarveettil Puthanpurayil, Noman Khan, Remus Teodorescu
benchmark similarity 0.62
Abstract

Grid foundation models (GridFMs) are graph transformers pretrained on a masked power-flow objective, and evaluate power flow orders of magnitude faster than an iterative solver. Their size, however, targets data-centre inference, whereas low-inertia operation increasingly asks for inference at the edge, next to the measurement, at batch size one and within a single synchrophasor (PMU) reporting frame. We distil a 20.1M-parameter, 12-layer GridFM teacher into a 0.62M-parameter, 6-layer student, a $32.5\times$ parameter reduction at half the message-passing depth, using an objective that combines the masked power-flow loss with output, physics-residual, latent-state and attention transfer. The physics-residual term, which matches the teacher's power-residual profile, has not previously been applied to typed power-grid graphs. We evaluate on a renewable variant of the IEEE 118-bus benchmark grid in which 26 of the conventional (synchronous) generators are replaced by inverter-based renewables with battery flexibility and standardised reactive-power limits (IEEE 1547), giving $97\,529$ physically valid (AC-OPF-feasible) operating scenarios, and we ablate all eight combinations of the transfer terms, reporting accuracy against ground truth and fidelity to the teacher separately. Distillation lowers student error on all four predicted quantities, by up to $48\%$ on active-power dispatch, and every distilled student is more accurate than its teacher on reactive-power dispatch. The gain is largely carried by the output matching term. The physics-residual term, in the layer-aggregated form used here, is consistently harmful, which we attribute to the spatial averaging it applies to a bus-level residual field. The resulting student is $32.5\times$ smaller in parameter count and has half the message-passing depth, making it a candidate for subsequent edge-device benchmarking.

0.40