Skip to main content
QUICK REVIEW

[Paper Review] DeepOPF: A Feasibility-Optimized Deep Neural Network Approach for AC Optimal Power Flow Problems

Xiang Pan, Minghua Chen|arXiv (Cornell University)|Jul 2, 2020
Power System Optimization and StabilityEngineering24 citations
TL;DR

DeepOPF proposes a feasibility-optimized deep neural network for solving AC optimal power flow (AC-OPF) problems up to 100x faster than conventional solvers, while maintaining near-optimal solutions. It ensures power flow balance by predicting independent variables and solving power flow equations for the rest, and enforces inequality constraints via a penalty method with zero-order gradient estimation during training.

ABSTRACT

High percentage penetrations of renewable energy generations introduce significant uncertainty into power systems. It requires grid operators to solve alternative current optimal power flow (AC-OPF) problems more frequently for economical and reliable operation in both transmission and distribution grids. In this paper, we develop a Deep Neural Network (DNN) approach, called DeepOPF, for solving AC-OPF problems in a fraction of the time used by conventional solvers. A key difficulty for applying machine learning techniques for solving AC-OPF problems lies in ensuring that the obtained solutions respect the equality and inequality physical and operational constraints. Generalized the 2-stage procedure in [1], [2], DeepOPF first trains a DNN model to predict a set of independent operating variables and then directly compute the remaining dependable ones by solving power flow equations. Such an approach not only preserves the power-flow balance equality constraints but also reduces the number of variables to predict by the DNN, cutting down the number of neurons and training data needed. DeepOPF then employs a penalty approach with a zero-order gradient estimation technique in the training process to preserve the remaining inequality constraints. As another contribution, we drive a condition for tuning the size of the DNN according to the desired approximation accuracy, which measures the DNN generalization capability. It provides theoretical justification for using DNN to solve the AC-OPF problem. Simulation results of IEEE 30/118/300-bus and a synthetic 2000-bus test cases show that DeepOPF speeds up the computing time by up to two orders of magnitude as compared to a state-of-the-art solver, at the expense of $<$0.1% cost difference.

Motivation & Objective

  • Address the growing need for fast, reliable AC-OPF solutions due to increasing renewable generation and load uncertainty.
  • Overcome the challenge of ensuring physical and operational constraints are satisfied in machine learning-based AC-OPF solvers.
  • Develop a deep learning model that achieves high-speed computation with minimal cost deviation from optimal solutions.
  • Enable real-time or near real-time power system operation under dynamic and uncertain conditions.

Proposed method

  • Predict a set of independent operating variables using a deep neural network (DNN), then compute the remaining dependent variables by solving the AC power flow equations.
  • Enforce equality constraints (power flow balance) inherently by solving the power flow equations after prediction.
  • Apply a penalty-based loss function with zero-order gradient estimation to enforce inequality constraints (e.g., voltage, line flow limits).
  • Use a prediction-and-reconstruction framework to reduce the number of variables predicted by the DNN, lowering model complexity and data needs.
  • Derive a theoretical condition for DNN size based on desired approximation accuracy to ensure generalization capability.
  • Train the DNN using a differentiable penalty approach with zero-order gradient estimation, suitable for systems without explicit gradient models.

Experimental results

Research questions

  • RQ1Can a deep neural network be trained to solve AC-OPF problems while strictly preserving power flow balance constraints?
  • RQ2How can inequality constraints (e.g., voltage and line flow limits) be effectively enforced in a DNN-based AC-OPF solver?
  • RQ3What is the impact of using zero-order gradient estimation on training performance and constraint satisfaction in AC-OPF DNNs?
  • RQ4To what extent can a single DNN model generalize across varying load profiles while maintaining feasibility and near-optimality?
  • RQ5What is the trade-off between computational speedup and solution quality in DNN-based AC-OPF solvers?

Key findings

  • DeepOPF achieves up to 100x speedup over state-of-the-art iterative solvers on IEEE 30/118/300-bus and a 2000-bus system.
  • The solution cost difference between DeepOPF and conventional solvers is less than 0.2% across all test cases.
  • The feasibility rate of DeepOPF-ZO (zero-order gradient) reaches 100% on IEEE 30 and 118-bus systems, outperforming DeepOPF-IF in feasibility.
  • Zero-order gradient estimation enables comparable or better performance than implicit function theorem-based gradient computation, particularly in systems without explicit gradient models.
  • The theoretical condition for DNN size ensures generalization capability and guides model design for desired accuracy.
  • The prediction-and-reconstruction approach reduces the number of predicted variables, decreasing model complexity and required training data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.