CS Paper Radar

Scalable Self-Supervised Learning for Multiphase AC-OPF in Distribution Systems with Topology Reconfiguration

Hoang T. Nguyen, Shaohui Liu, Reetam Sen Biswas, Varsha Pendyala, Nurali Virani, Deepjyoti Deka, Priya L. Donti

eess.SY cs.LGmath.OC ·submitted 2026-08-25 19:45 UTC · v2

Abstract

The proliferation of distributed energy resources (DERs) in distribution grids enables the active coordination of these assets to reduce costs and enable cleaner operations. Realizing this potential requires solving multiphase AC optimal power flow (AC-OPF) quickly across varying loads, DER availabilities, and topology reconfigurations, at much greater speed and scale than conventional nonlinear solvers. Learning-based surrogates can offer millisecond inference, yet existing methods target largely balanced transmission systems and do not scale to the multiphase, unbalanced, and reconfigurable nature of distribution feeders at utility scale. We present the Penalty + Sequential Linearized Feasibility Seeking (SLFS) algorithm, a self-supervised learning framework for multiphase distribution AC-OPF under switch-induced topology changes. Penalty+SLFS requires no labeled optimal solutions and trains directly from the AC-OPF objective and constraints through a differentiable fixed-point power flow solver, avoiding expensive label generation and admitting robust training procedures. Topology changes are handled efficiently using Sherman-Morrison-Woodbury updates of the admittance-matrix inverse, while an M-step Jacobian approximation accelerates differentiation through the power flow solver. At inference, SLFS repairs any infeasible predictions, providing feasibility guarantees with low computational overhead. On IEEE feeders ranging from 13 to 8,500 nodes, Penalty+SLFS achieves negligible optimality gaps and near-zero constraint violations, delivers up to three orders of magnitude speedups over IPOPT, and remains robust under large distributional shifts, demonstrating a viable path toward real-time, topology-aware AC-OPF for large-scale distribution grids.

Comment
Source code will be published following the review process

Closest papers

Nearest neighbours by meaning across the whole index.

Improving Learned AC-OPF Feasibility under Distribution Shift with PF-in-the-Loop Correction

eess.SY ·2026-10-26 ·Afia Afrin, Omid Ardakanian
similarity 0.69
Abstract

Learning-based AC-OPF enables fast dispatch, yet its feasibility can degrade under distribution shift. We analyze three state-of-the-art methods and identify a shared deployment-time limitation: none use feedback from the power-flow (PF)-realized state to ensure feasibility of the predicted control. Using a simple PF-in-the-loop feasibility restoration filter, we empirically show that such feedback substantially improves hard feasibility across four out-of-distribution scenarios with modest runtime overhead.

0.25

A Deficiency-Based Approach for Unbalanced Three-Phase Distribution System Expansion Planning

eess.SY ·2026-10-12 ·Eli Brock, Miguel Heleno, Javad Lavaei, Somayeh Sojoudi
benchmark similarity 0.68
Abstract · 12 pages, 1 figure, 3 tables. This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice…

Distribution planners typically characterize grid needs through power flow studies and fit upgrades to those needs by hand. More principled one-shot optimization methods either do not scale or misrepresent unbalanced three-phase networks. This paper proposes an iterative planning process that alternates between two problem classes with mature off-the-shelf solvers. An optimal power flow (OPF) problem quantifies the deficiency of a candidate portfolio by optimizing the dispatch of controllable devices and measuring thermal and voltage violations on a common scale, with an optimal value of zero exactly at adequate portfolios. The OPF multipliers give a first-order approximation of the relief each investment candidate would provide. We bound the error of this approximation and show that structural properties of the deficiency guard it against overestimation. Building on this property, a heuristic cutting-plane search uses a mixed-integer linear program to propose each next portfolio from these approximations. On six unbalanced three-phase feeders from the SMART-DS dataset, the search outperforms a linearized optimization-based benchmark, and the results agree across five variants of the deficiency.

0.21

Machine learning-guided real-time AC optimal transmission switching

eess.SY ·2026-10-28 ·Weimin Huang, Weiwei Yang, Bistra Dilkina, Konstantina Mellou, Ishai Menache +3 more
benchmark similarity 0.68
Abstract

The operation of power grids has substantial economic consequences, affecting generation costs and, ultimately, electricity prices. The Optimal Transmission Switching (OTS) problem seeks to reduce these costs by selectively switching off transmission lines. However, OTS gives rise to a challenging mixed-integer nonlinear optimization problem that is difficult to solve at operationally relevant timescales, particularly as rapidly changing loads create a need for real-time switching decisions. To address this challenge, we develop a machine learning-guided method that identifies high quality line switching decisions in real time. Specifically, we construct a grid-specific switching-value model that rapidly estimates the generation-cost reduction associated with opening transmission lines by fine-tuning a pretrained model for AC optimal power flow (AC-OPF). The switching-value model provides signals to guide promising switching decisions, and topologies proposed by the model are evaluated using exact AC-OPF solvers to verify feasibility and obtain the actual generation cost. We develop multiple strategies that use the ML surrogate to efficiently explore the combinatorial space of transmission topologies, including Fixed-Rank Search, Adaptive-Rank Search, and Swap-Enhanced Search. Across multiple benchmark networks, our proposed algorithms identify line switching decisions that significantly reduce generation cost within a 50s computational budget. In particular, under a realistic data center buildout scenario on the 2,000-bus synthetic Texas grid, our approach reduces generation costs by 31.97% and gross nodal load payments by 94.34%. More broadly, our results demonstrate that a fine-tuned surrogate can effectively guide search even without guaranteeing feasibility, enabling classical optimization methods to tackle large nonlinear combinatorial problems on operationally relevant timescales.

0.26

Stochastic Model Predictive Control under AC Power-Flow Constraints Using Generative Learning

eess.SY ·2026-09-07 ·Jie Zhu, Yinliang Xu, Guan Wang
code/data similarity 0.67
Abstract

This paper proposes an end-to-end generative framework for efficiently solving multi-period and multi-scenario stochastic model predictive control (SMPC) problems under nonlinear AC power-flow constraints. Conventional deterministic neural surrogates rely on a single-shot prediction, which makes reliable feasibility difficult to achieve because one dispatch trajectory must simultaneously satisfy nonlinear constraints across all scenarios and time periods. To address this limitation, a conditional stochastic neural generator (CSNG) is developed to produce multiple candidate dispatch trajectories for each uncertainty instance, enabling the recovery of a feasible and economical solution through candidate selection. A feasibility-aware self-supervised distribution-shaping scheme is further introduced to promote constraint satisfaction, candidate diversity, and operating economy without requiring computationally expensive SMPC solution labels, while mitigating candidate collapse in generative ACOPF learning. To support efficient end-to-end training, a constraint-aware differentiable architecture is introduced. It employs a projection mechanism to exactly enforce box and ramping constraints while preserving informative gradients near active bounds, together with a differentiable equality-completion surrogate for efficient AC power-flow reconstruction. Case studies on the IEEE 14- and 118-bus systems demonstrate $100\%$ feasibility, optimality gaps below $2\%$, and computational efficiency suitable for intraday dispatch. The implementation is publicly available at https://github.com/JieZhu6/Generative_SMPC.

0.22

Benchmarking a Grid Foundation Model for AC Optimal Power Flow: Feasibility and Warm-Start Results on Synthetic Texas and South Carolina Grids

eess.SY ·2026-11-17 ·Tam Kemabonta, Brighton Ombuki, Vladimir Abdelnour
similarity 0.66
Abstract · 5 pages, 3 figures, 2 tables. Submitted to the 2027 IEEE PES General Meeting

Learning-based surrogates for alternating-current optimal power flow (AC-OPF) are often judged by the gap between their objective value and that of a nonlinear solver, which does not show that a prediction satisfies power balance and network limits. This paper tests whether predictions from the pretrained foundation model GridSFM-Open 1.1.0, recently released by Microsoft, are feasible AC-OPF operating points and whether they are useful initial values for a nonlinear solver. The model was evaluated zero-shot and after fine-tuning on 10, 100, and 1,000 labeled scenarios (FT10, FT100, and FT1000) on 500 scenarios for each of two synthetic grids, ACTIVSg2000 (Texas) and ACTIVSg500 (South Carolina), with Ipopt, MATPOWER MIPS, and pandapower PIPS as solver references. The lowest Texas median cost gap, 0.44\% for FT100, coincided with thermal violations in 24.1\% of cases and a median maximum bus power mismatch of 89 MW and 197 Mvar. Texas zero-shot predictions had a median maximum mismatch of 648 MW and 1,641 Mvar, and every South Carolina case violated a thermal limit for every model variant. Seeding Ipopt with FT1000 predictions gave geometric-mean solve-time speedups of 1.55x on South Carolina and 1.12x on Texas (p = 0.06, not significant at the 5\% level), while zero-shot seeds slowed South Carolina solves (0.26x). A small objective gap therefore did not indicate feasibility: although median zero-shot inference took only 1.32 s on Texas and 0.157 s on South Carolina on a shared host, every prediction still required a nonlinear solver, and fine-tuned predictions gave modest, grid-dependent warm-start speedups while zero-shot predictions slowed convergence on one grid. GridSFM may therefore be useful for initializing a nonlinear solver, but obtaining feasible AC-OPF solutions still required the solver.

0.32

Data-driven Linearization of Operational Dynamics of Soft Open Points in Power Distribution Networks

eess.SY ·2026-11-19 ·Shoaib Hussain, Mostafa Farrokhabadi, Hamidreza Zareipour
hot direction similarity 0.65
Abstract · 7 pages, 7 figures, 5 tables

This paper proposes a novel data-driven linearization of operational power losses in a Soft Open Point (SOP). The proposed learning-based representation, combined with the standard segmentation of the quadratic device capacity inequalities, linearizes the operational dynamics of SOPs in unbalanced power distribution network applications without a significant drop in power loss estimation accuracy. The technique was tested in three applications using a three-phase extension of the IEEE 33-bus network. The case studies include a sizing application for a multi-terminal phase-changing soft open point (PCSOP), an operational optimization application for an active distribution network featuring a PCSOP, and a system simulation engine built for a Deep Reinforcement Learning (DRL) application that trains an agent to optimally dispatch a PCSOP in an unbalanced distribution network. The results of the three case studies were validated against the standard nonlinear AC load-flow representations and point to the efficacy of the proposed solution.

0.41

Distribution Grid Reconfiguration and Restoration via Linearizable Multi-phase Power Flow Modeling

eess.SY ·2026-10-26 ·Young-ho Cho, Hao Zhu
similarity 0.65
Abstract

Accurate and tractable power-flow (PF) modeling is essential for distribution grid topology optimization, where the presence of discrete branch-status decisions therein significantly increase the computational complexity. To tackle this challenge, we develop a topology-adaptive, low-complexity neural piecewise-linear (N-PWL) PF model. We propose a sequential layer design that can directly incorporate branch status variables into the PF mapping from branch flows to nodal injections. As a result, our N-PWL model not only preserves the PF branch-node consistency but also facilitates the representation of any unseen topologies without retraining. A low-complexity model design is further pursued to attain a linear NN parameter scaling by using a fixed-size area partition of the feeder. The resulting scalable N-PWL model enables mixed-integer linear programming (MILP) formulations of feeder topology optimization tasks, including distribution network reconfiguration (DNR) and restoration ordering problems (ROP). Numerical studies on the unbalanced, multi-phase IEEE 123-bus feeder demonstrate our N-PWL model outperforms existing end-to-end baselines in PF prediction and, more importantly, can fill the gap by achieving accurate representation of any unseen topologies. For solving DNR/ROP, our model can significantly improve the AC feasibility over linearized PF models, with a notable reduction of computation time compared with AC-PF based nonlinear formulations, particularly under a large number of topology decisions.

0.20

PowerModels-ACOPF-AI: On-the-Fly Machine Learning Approach for Solving AC Optimal Power Flow Integrating Renewable Energy Sources

eess.SY ·2026-09-16 ·Bhuban Dhamala, Jose Tabarez, Anup Pandey
benchmark similarity 0.64
Abstract

The increasing complexity of modern power systems, driven by high renewable penetration, load variability, and operational uncertainty, demands fast and reliable solutions to the AC optimal power flow problem (AC-OPF). Traditional optimization methods, though accurate, often struggle with scalability and high computational burdens, making them impractical for real-time use in large networks. This paper introduces PowerModels-ACOPF-AI, a two-stage Bayesian Neural Network (BNN) surrogate designed to predict generator set points, bus voltages, and phase angles with uncertainty. The framework integrates a performance-sensitive on-the-fly learning mechanism that identifies regions of degraded prediction accuracy and dynamically retrains with additional AC-OPF solutions generated by PowerModels.jl. This self-adaptive loop ensures robust performance, enabling the model to maintain accuracy under novel or highly variable operating conditions. Validation on benchmark test systems of different sizes, namely the 30-bus, 200-bus, and 500-bus networks, demonstrates strong generalization capability, efficient handling of stochastic renewable injections, and the ability to provide rapid, uncertainty-aware predictions. Beyond predictive accuracy, the proposed approach offers practical value as both a real-time advisory tool for system operators and a fast initializer for conventional solvers, thus supporting resilient and efficient grid operation in future power systems.

0.16