GridDiffuser: Constraint-Guided Graph Diffusion for AC Optimal Power Flow
Abstract
Modern power systems are undergoing a significant transition, with increasing operational uncertainty and variability driven by renewables, electrification, and topology perturbations. This shift requires optimal power flow (OPF) to be solved frequently under diverse operating conditions. Classical AC-OPF solvers provide high physical fidelity but are slow for high-frequency scheduling, while linear approximations such as DC-OPF sacrifice accuracy for computational speed. To address these challenges, we propose GridDiffuser, a graph diffusion solver for AC-OPF. Unlike deterministic learning methods that predict a single solution and struggle to capture multiple solution modes in a non-convex landscape, GridDiffuser models a distribution over operating points and generates multiple candidate solutions. Our method further uses Levenberg–Marquardt corrections to construct physics guidance during the low-noise stage of sampling, steering samples toward operating points with lower constraint violations. Experiments on thousand-bus grids with instance-level N-1 contingencies show that GridDiffuser substantially reduces most pre- and post-power flow (PF) violations compared with deterministic baselines while generating solutions much faster than AC-IPOPT. Further experiments indicate the potential of risk-based candidate selection to identify more robust operating points under load perturbations and of its predictions to serve as effective warm-start points for AC-IPOPT.