GridSFM: A Foundation Model for Solving AC Optimal Power Flow
Abstract
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 million parameter physics-inspired graph neural network pretrained across topologies of to buses. Our model attains a zero-shot generation-cost error on a 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 solved instances, GridSFM adapts to unseen grids up to 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.
Create a lesson
Metadata
- Categories
- eess.SY, cs.LG, cs.SY, math.OC
- Comments
- 19 pages
Related papers
An Accurate Optimal Power Flow for AC-DC Distribution Net- work with Distributed Energy Resources
Shared title terminologyeess.SYMd Shamim Hasan, Md Mahmud-Ul-Tarik Chowdhury, Krishna Murari et al.
Unified Formulation of Voltage Control Constraints for Conventional and Continuation Power Flow via Semismooth Newton and On-Demand Schur Reduction
Shared title terminologyeess.SYTianshi Cheng, Venkata Dinavahi
Decentralized Power-Optimal Coordination for Spacecraft Swarms Using Time-Varying Magnetorquer Actuation
Shared title terminologyeess.SYYuta Takahashi, Shin-ichiro Sakai
Interactive Power Flow in the Browser
Shared title terminologyeess.SYSamuel Talkington, Frederik Geth, Qian Zhang et al.
Low-Rank and Lifted Semidefinite Programming for Mixed-Integer Polynomial Power Grid Optimization
Shared title terminologyeess.SYSamuel Chevalier
Optimal Power Sharing for Hybrid Energy Storage Systems Based on Karush-Kuhn-Tucker Conditions
Shared title terminologyeess.SYJuan Diego Rios-Peñaloza, Milan Prodanovic, Javier Roldán-Pérez