mlsanityData to 14 Oct 2026

gridfm-datakit-v1: A Python Library for Scalable and Realistic Power Flow and Optimal Power Flow Data Generation

arXiv 2512.14658 ↗First posted 16 Dec 2025cs.LG cs.AI cs.SYcited by 3

Not on the map. Why?

Abstract (arXiv)

We introduce gridfm-datakit-v1, a Python library for generating realistic and diverse Power Flow (PF) and Optimal Power Flow (OPF) datasets for training Machine Learning (ML) solvers. Existing datasets and libraries face three main challenges: (1) lack of realistic stochastic load and topology perturbations, limiting scenario diversity; (2) PF datasets are restricted to OPF-feasible points, hindering generalization of ML solvers to cases that violate operating limits (e.g., branch overloads or voltage violations); and (3) OPF datasets use fixed generator cost functions, limiting generalization across varying costs. gridfm-datakit addresses these challenges by: (1) combining global load scaling from real-world profiles with localized noise and supporting arbitrary N-k topology perturbations to create diverse yet realistic datasets; (2) generating PF samples beyond operating limits; and (3) producing OPF data with varying generator costs. It also scales efficiently to large grids (up to 10,000 buses). Comparisons with OPFData, OPF-Learn, PGLearn, and PFDelta are provided. Available on GitHub at https://github.com/gridfm/gridfm-datakit under Apache 2.0 and via `pip install gridfm-datakit`.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 14 of its 23 references that are in the map. First posted on arXiv 16 Dec 2025.

Builds on

14 of 23 references.

References · 14

  1. 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,434
  2. 2019The Power Grid Library for Benchmarking AC Optimal Power Flow Algorithmscited by 65
  3. 2022Self-Supervised Primal-Dual Learning for Constrained Optimizationcited by 61
  4. 2017PowerModels.jl: An Open-Source Framework for Exploring Power Flow Formulationscited by 33
  5. 2024Foundation Models for the Electric Power Gridcited by 28
  6. 2024CANOS: A Fast and Scalable Neural AC-OPF Solver Robust To N-1 Perturbationscited by 27
  7. 2024OPFData: Large-scale datasets for AC optimal power flow with topological perturbationscited by 24
  8. 2023PowerFlowNet: Power Flow Approximation Using Message Passing Graph Neural Networkscited by 21
  9. 2024PowerGraph: A power grid benchmark dataset for graph neural networkscited by 19
  10. 2021OPF-Learn: An Open-Source Framework for Creating Representative AC Optimal Power Flow Datasetscited by 18
  11. 2025PGLearn -- An Open-Source Learning Toolkit for Optimal Power Flowcited by 11
  12. 2025Towards Generalization of Graph Neural Networks for AC Optimal Power Flowcited by 6
2 more
  1. 2025A Principled Framework to Evaluate Quality of AC-OPF Datasets for Machine Learning: Benchmarking a Novel, Scalable Generation Methodcited by 3
  2. 2025A Weather Foundation Model for the Power Gridcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.