PF Δ \Delta : A Benchmark Dataset for Power Flow under Load, Generation, and Topology Variations
Ana K. Rivera, Anvita Bhagavathula, Alvaro Carbonero, Priya L. DontiDepartment of Electrical Engineering & Computer ScienceLaboratory for Information & Decision SystemsMassachusetts Institute of Technology {akrivera, abhagava, alvarocg, donti}@mit.edu · 2025
Read PF Δ \Delta : A Benchmark Dataset for Power Flow under Load, Generation, and Topology Variations by Ana K. Rivera, Anvita Bhagavathula, Alvaro Carbonero, Priya L. DontiDepartment of Electrical Engineering & Computer ScienceLaboratory for Information & Decision SystemsMassachusetts Institute of Technology {akrivera, abhagava, alvarocg, donti}@mit.edu (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2510-22048.txt.
Introduction
Ana K. Rivera, Anvita Bhagavathula, Alvaro Carbonero, and Priya Donti release a benchmark for one of the power grid's core computations. Power flow calculations, which solve where electricity actually travels through the network, sit inside security checks and control room decisions. Running them fast enough across huge scenario spaces is a standing bottleneck.
Machine learning promises shortcuts, yet its solvers had not been tested systematically against the variability real grids face. The dataset, named with a delta for change, varies load, generation, and network topology together, mirroring the spread created by renewable growth and extreme weather. It gives learning-based solvers a common, demanding proving ground, so speed claims can be weighed against accuracy under the conditions operators actually meet.
Catalog record
| CREATOR | Ana K. Rivera, Anvita Bhagavathula, Alvaro Carbonero, Priya L. DontiDepartment of Electrical Engineering & Computer ScienceLaboratory for Information & Decision SystemsMassachusetts Institute of Technology {akrivera, abhagava, alvarocg, donti}@mit.edu |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 85 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2510-22048
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
PF Δ \Delta : A Benchmark Dataset for Power Flow under Load, Generation, and Topology Variations Ana K. Rivera, Anvita Bhagavathula, Alvaro Carbonero, Priya L. DontiDepartment of Electrical Engineering & Computer ScienceLaboratory for Information & Decision SystemsMassachusetts Institute of Technology {akrivera, abhagava, alvarocg, donti}@mit.edu Abstract Power flow (PF) calculations are the backbone of real-time grid operations, across workflows such as contingency analysis (where repeated PF evaluations assess grid security under outages) and topology optimization (which involves PF-based searches over combinatorially large action spaces). Running these calculations at operational timescales or across large evaluation spaces remains a major computational bottleneck. Additionally, growing uncertainty in power system operations from the integration of renewables and climate-induced extreme weather also calls for tools that can accurately and efficiently simulate a wide range of scenarios and operating conditions. Machine learning methods offer a potential speedup over traditional solvers, but their performance has not been systematically assessed on benchmarks that capture real-world variability. This paper introduces PF Δ \Delta , a benchmark dataset for power flow that captures diverse variations in load, generation, and topology. PF Δ \Delta contains 859,800 solved power flow instances spanning six different bus system sizes, capturing three types of contingency scenarios ( N N , N N – 1 1 , and N N – 2 2 ), and including close-to-infeasible cases near steady-state voltage stability limits. We evaluate traditional solvers and GNN-based methods, highlighting key areas where existing approaches struggle, and identifying open problems for future research. Our dataset is available at https://huggingface.co/datasets/pfdelta/pfdelta/tree/main and our code with data generation scripts and model implementations is at https://github.com/MOSSLab-MIT/pfdelta . 1 Introduction Solving the power flow (PF) problem – i.e., determining the voltages and powers of grid elements based on loads and generator outputs – is essential for operating and planning power systems [ 1 ] . For instance, performing contingency analysis (i.e., assessing the impacts of different equipment outages) requires solving thousands of PF problems across potential outage scenarios within operational timeframes (e.g., every 5 minutes) to support real-time decision making. Since solving AC power flow is too slow for such workflows, operators rely on faster linear approximations like DC power flow, which cause feasibility issues. Another important grid operations problem is topology optimization, which explores which discrete actions such as bus splitting or line switching can alleviate grid congestion; however, solving this problem involves searching a combinatorially large action space (e.g., a single substation on a 118-bus system can have 65,000 possible configurations [ 2 ] ), and each search step relies on running PF. In addition, increasingly frequent climate-induced extreme weather events are also expected to cause more component outages, impacting grid resilience. To accommodate this increased uncertainty, grid operators must perform PF calculations at greater speed and scale to simulate outcomes across a diverse range of generation, load, and outage scenarios. While highly accurate, traditional PF solvers based on techniques such as Newton-Raphson (NR) incur high computational cost, making them impractical for such large-scale, real-time applications [ 3 ] . Machine learning (ML)-based approximators, particularly those based on graph neural networks, have emerged as an alternative to learn fast approximations to power flow, due to their fast runtime and inherent ability to represent the graph-structured nature of power grids [ 4 , 5 , 6 , 3 , 7 ] . However, despite its potential, today’s research in this area faces two key limitations. The first is the absence of standardized benchmarking: different papers employ different data generation processes and evaluation approaches, making meaningful comparisons challenging. The second is that existing large-scale datasets only account for a subset of the variations real-world power grids are expected to face, such as uncertainty in generation and load profiles (due to time-varying renewables and changing energy demands) and changes in power grid topology (due to topology control actions and component outages from severe weather events). Developing models that are robust and reliable under these conditions and that scale to realistic grid sizes of > 1000 nodes [ 8 ] is key to ensuring deployability. In light of these gaps, we make the following contributions: 1. We introduce PF \Delta , a benchmark dataset for evaluating ML approaches to power flow across variations in load distributions, generator profiles, grid sizes, and N – 1 / N – 2 topological perturbations 1 1 1 An N – k perturbation corresponds to the outage of k grid components such as lines or generators. . Our dataset also includes close-to-infeasible power flow cases near steady-state voltage stability limits that traditional solvers sometimes struggle to solve. 2. We propose a data generation scheme that combines the load sampling technique developed by [ 9 ] , the topological perturbation scheme used by [ 10 ] , and a novel approach for producing diverse generator profiles, in order to better capture diverse real-world variations. 3. We establish standardized tasks and metrics to assess performance across several regimes: in- and out-of-distribution generalization, data efficiency, and close-to-infeasible cases. 4. We evaluate the performance of a traditional power flow solver and three state-of-the-art graph neural network (GNN)-based approaches using the proposed tasks and metrics. 2 Related Work GNNs for power grids. Several GNN-based power flow solvers have been proposed; however, different papers present unique training and evaluation regimes on custom datasets, making comparisons difficult. In addition, these custom datasets tend to only capture a subset of the variations experienced by real-world power grids, underscoring the need for realistic datasets and standardized training frameworks. For instance, GraphNeuralSolver [ 4 ] , a self-supervised model that directly minimizes power balance equations in its loss function, is trained and evaluated over variations in generator/load profiles, line characteristics, and grid sizes, but not N – 1 topological perturbations. TypedGNN [ 6 ] , another self-supervised model, trains over variations in load, topology, and generator active and reactive power variations. However, both models are tested on a maximum grid size of 118 nodes. PowerFlowNet [ 7 ] , a supervised model that combines bus-type mask embeddings with TAGConv message passing layers, trains over changes in load profile, generator setpoints, and grid size, and is evaluated on realistic grids, including the 6470-node French network [ 11 ] ; however, it is not trained or evaluated on N – 1 topological perturbations. GNNs for the closely related AC optimal power flow (ACOPF) problem have also been proposed. 2 2 2 ACOPF optimally determines power generation setpoints given an objective function, AC power flow constraints, and device limits. AC power flow solves for grid state variables given power generation setpoints. One such example is CANOS [ 12 ] , a supervised model that uses interaction networks and a combined L2 and constraint-violation loss. The model scales to large grid sizes (up to 10,000 nodes) and handles N – 1 topological perturbations, but it is not trained on a realistically diverse set of load profiles or generator setpoints. Datasets for ACOPF. Our work is inspired by recent efforts to create ML benchmarks for power grid problems. One such example is PowerGraph [ 13 ] , a dataset designed for GNNs for power grids, supporting tasks such as power flow prediction and cascading failure analysis. While PowerGraph includes valuable real-world scenarios, such