Deep Neural Networks (DNNs) approaches for the Optimal Power Flow (OPF) problem received considerable attention recently. A key challenge of these approaches lies in ensuring the feasibility of the predicted solutions to physical system constraints. Due to the inherent approximation errors, the solutions predicted by DNNs may violate the operating constraints, e.g., the transmission line capacities, limiting their applicability in practice. To address this challenge, we develop DeepOPF+ as a DNN approach based on the so-called "preventive" framework. Specifically, we calibrate the generation and transmission line limits used in the DNN training, thereby anticipating approximation errors and ensuring that the resulting predicted solutions remain feasible. We theoretically characterize the calibration magnitude necessary for ensuring universal feasibility. Our DeepOPF+ approach improves over existing DNN-based schemes in that it ensures feasibility and achieves a consistent speed up performance in both light-load and heavy-load regimes. Detailed simulation results on a range of test instances show that the proposed DeepOPF+ generates 100% feasible solutions with minor optimality loss. Meanwhile, it achieves a computational speedup of two orders of magnitude compared to state-of-the-art solvers.
NOMENCLATUREVariable Definition N Set of buses, N |N |. G Set of generators. D Set of loads. E Set of branches. PG Power generation injection vector, [PG i , i ∈ N ]. P min G Minimum generator output vector, [P min G i , i ∈ N ]. P max G Maximum generator output vector, [P max G i , i ∈ N ]. PD Power load vector, [PD i , i ∈ N ]. Θ Voltage angle vector. θi Voltage angle for bus i. B Admittance matrix. xijLine reactance from bus i to j. P max T ij Line transmission limit from bus i to j.
NhidThe number of hidden layers in the neural network.