PowerModels-ACOPF-AI: On-the-Fly Machine Learning Approach for Solving AC Optimal Power Flow Integrating Renewable Energy Sources
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.
Create a lesson
Metadata
- Categories
- eess.SY, cs.SY
Related papers
On the Optimal Co-location of Data Centers with Renewable Energy Sources in SIDS
Shared title terminologyeess.SYShankar Ramharack, Patrick Hosein, Rajiv Sahadeo
Loadability Assessment for Large-Load Integration: From Repeated Power Flow Tracing to Historical Trajectory Transfer
Shared title terminologyeess.SYYihan Huang, Yang Weng
Loop-OPF: Solver-Informed Learning for Optimal Power Flow with Inference-Time Topology Adaptivity
Shared title terminologyeess.SYMohamad Chehade, Hao Zhu
Review on Electric Railway System Optimization: Train Dynamic Scheduling, Energy Management, and Storage Integration
Shared title terminologyeess.SYFei Liu, Can Wan, Stefan Östlund et al.
Unified Heterogeneous Graph Neural Network solver for Power Flow, Optimal Power Flow and State Estimation
Shared title terminologyeess.SYFerran Bohigas-Daranas, Hamid Latif-Martínez, Eduardo Prieto-Araujo et al.
Optimization of a Hybrid Solar-Biogas-Battery Energy Storage Microgrid: A Case Study
Shared title terminologyeess.SYJohn Elomunait, Jesse Thornburg