QCQP-Net: Reliably Learning Feasible Alternating Current Optimal Power Flow Solutions Under Constraints

Sihan Zeng,Youngdae Kim,Yuxuan Ren,Kibaek Kim
2024-01-12
Abstract:At the heart of power system operations, alternating current optimal power flow (ACOPF) studies the generation of electric power in the most economical way under network-wide load requirement, and can be formulated as a highly structured non-convex quadratically constrained quadratic program (QCQP). Optimization-based solutions to ACOPF (such as ADMM or interior-point method), as the classic approach, require large amount of computation and cannot meet the need to repeatedly solve the problem as load requirement frequently changes. On the other hand, learning-based methods that directly predict the ACOPF solution given the load input incur little computational cost but often generates infeasible solutions (i.e. violate the constraints of ACOPF). In this work, we combine the best of both worlds -- we propose an innovated framework for learning ACOPF, where the input load is mapped to the ACOPF solution through a neural network in a computationally efficient and reliable manner. Key to our innovation is a specific-purpose "activation function" defined implicitly by a QCQP and a novel loss, which enforce constraint satisfaction. We show through numerical simulations that our proposed method achieves superior feasibility rate and generation cost in situations where the existing learning-based approaches fail.
Optimization and Control,Machine Learning
What problem does this paper attempt to address?
### What problem does the paper attempt to solve? The paper aims to address a key challenge in the Alternating Current Optimal Power Flow (ACOPF) problem, which is how to reliably generate high-quality feasible solutions while ensuring efficient computation. #### Background and Problem Description: 1. **Issues with Traditional Methods**: Traditional optimization-based methods (such as the Alternating Direction Method of Multipliers or Interior Point Methods) are reliable but require substantial computational resources in modern large-scale power systems and cannot cope with the frequent changes in load demand. 2. **Issues with Learning-Based Methods**: Learning-based methods, while having low computational costs, often generate infeasible solutions (i.e., solutions that violate ACOPF constraints), making these methods unreliable for practical applications. #### Research Objectives: The paper proposes a new framework that combines the advantages of traditional optimization methods and learning-based methods, aiming to design an efficient and reliable end-to-end neural network architecture for predicting solutions to the ACOPF problem. Specifically: 1. **Innovations**: - A special activation function is proposed, which ensures the feasibility of the solution by solving a non-convex Quadratically Constrained Quadratic Program (QCQP). - A new loss function is designed that penalizes both data mismatches and constraint violations. 2. **Problems Solved**: - The neural network can be stably trained even when the control variable predictions are not entirely accurate. - In large-scale power systems, it can generate highly feasible and low-cost solutions even with a wide range of load variations. Numerical simulations validate the effectiveness of the proposed QCQP-Net method in large-scale systems, particularly excelling in scenarios where existing learning methods struggle to train.