Skip to main content
QUICK REVIEW

[Paper Review] DeepOPF: A Deep Neural Network Approach for Security-Constrained DC Optimal Power Flow

Xiang Pan, Tianyu Zhao|arXiv (Cornell University)|Oct 30, 2019
Power System Optimization and StabilityEngineering67 references30 citations
TL;DR

DeepOPF proposes a deep neural network (DNN) approach to solve security-constrained DC optimal power flow (SC-DCOPF) problems by learning a high-dimensional mapping from load inputs to generation and voltage angle outputs. It uses a predict-and-reconstruct strategy to reduce model complexity and employs ℓ₁-projection for feasibility, achieving less than 0.2% optimality loss and up to 100x speedup over state-of-the-art solvers like Gurobi.

ABSTRACT

We develop DeepOPF as a Deep Neural Network (DNN) approach for solving security-constrained direct current optimal power flow (SC-DCOPF) problems, which are critical for reliable and cost-effective power system operation.DeepOPF is inspired by the observation that solving SC-DCOPF problems for a given power network is equivalent to depicting a high-dimensional mapping from the load inputs to the generation and phase angle outputs. We first train a DNN to learn the mapping and predict the generations from the load inputs. We then directly reconstruct the phase angles from the generations and loads by using the power flow equations. Such a predict-and-reconstruct approach reduces the dimension of the mapping to learn, subsequently cutting down the size of the DNN and the amount of training data needed. We further derive a condition for tuning the size of the DNN according to the desired approximation accuracy of the load-generation mapping. We develop a post-processing procedure based on $\ell_1$-projection to ensure the feasibility of the obtained solution, which can be of independent interest. Simulation results for IEEE test cases show that DeepOPF generates feasible solutions with less than 0.2% optimality loss, while speeding up the computation time by up to two orders of magnitude as compared to a state-of-the-art solver.

Motivation & Objective

  • To address the high computational complexity of solving SC-DCOPF problems in large-scale power systems.
  • To leverage deep learning for fast, repeated solutions of SC-DCOPF under varying load conditions.
  • To develop a DNN-based method that ensures both high accuracy and operational feasibility in power system dispatch.
  • To reduce the dimensionality of the mapping problem by separating generation prediction from phase angle reconstruction.
  • To introduce a post-processing ℓ₁-projection step to enforce constraint feasibility without retraining.

Proposed method

  • Train a deep neural network to predict generator outputs directly from load inputs, reducing the need to learn the full high-dimensional mapping.
  • Reconstruct voltage angles from predicted generations and known loads using power flow equations, bypassing direct angle prediction.
  • Use a two-part loss function with weights w₁ (prediction error) and w₂ (constraint violation penalty) to balance accuracy and feasibility during training.
  • Apply ℓ₁-projection post-processing to correct infeasible solutions, ensuring all operational and security constraints are satisfied.
  • Derive theoretical conditions to tune DNN size based on desired approximation accuracy for the load-to-generation mapping.
  • Amortize the cost of DNN training over repeated SC-DCOPF solves (e.g., every 5 minutes) to achieve real-time performance.

Experimental results

Research questions

  • RQ1Can a deep neural network effectively learn the input-output mapping of SC-DCOPF problems for a fixed power network?
  • RQ2How does the DNN size and training data quantity affect the trade-off between optimality loss and computational speed?
  • RQ3Can a post-processing ℓ₁-projection step reliably restore feasibility to DNN-predicted solutions?
  • RQ4What is the optimal balance between prediction accuracy and constraint violation penalty in the loss function?
  • RQ5How does DeepOPF compare in performance and speed to conventional solvers like Gurobi across different system conditions?

Key findings

  • DeepOPF achieves less than 0.2% optimality loss on IEEE test cases under typical operating conditions.
  • The method reduces computation time by up to two orders of magnitude (up to 100x speedup) compared to the Gurobi solver.
  • With ℓ₁-projection, DeepOPF ensures 100% feasibility rate across all test cases, even when raw predictions violate constraints.
  • Larger DNNs reduce optimality loss but also reduce speedup, indicating a trade-off between accuracy and efficiency.
  • Training data size has a measurable impact: increasing from 10,000 to 30,000 samples reduces optimality loss, especially in congested conditions.
  • Weighting factor w₂ in the loss function significantly improves feasibility before post-processing; setting w₁=10, w₂=1 yields <0.1% optimality loss and 100% feasibility.

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.