On the Choice of Loss Function in Learning-based Optimal Power Flow

被引:0
作者
Chen, Ge [1 ]
Qin, Junjie [1 ]
机构
[1] Purdue Univ, Elect & Comp Engn, W Lafayette, IN 47907 USA
来源
2024 IEEE POWER & ENERGY SOCIETY GENERAL MEETING, PESGM 2024 | 2024年
关键词
Optimal power flow; decision loss; machine learning; mean square error; Lagrangian duality; OPTIMIZATION; GRIDS;
D O I
10.1109/PESGM51994.2024.10688728
中图分类号
TE [石油、天然气工业]; TK [能源与动力工程];
学科分类号
0807 ; 0820 ;
摘要
We analyze and contrast two ways to train machine learning models for solving AC optimal power flow (OPF) problems, distinguished with the loss functions used. The first trains a mapping from the loads to the optimal dispatch decisions, utilizing mean square error (MSE) between predicted and optimal dispatch decisions as the loss function. The other intends to learn the same mapping, but directly uses the OPF cost of the predicted decisions, referred to as decision loss, as the loss function. In addition to better aligning with the OPF cost which results in reduced suboptimality, the use of decision loss can circumvent feasibility issues that arise with MSE when the underlying mapping from loads to optimal dispatch is discontinuous. Since decision loss does not capture the OPF constraints, we further develop a neural network with a specific structure and introduce a modified training algorithm incorporating Lagrangian duality to improve feasibility. This result in an improved performance measured by feasibility and suboptimality as demonstrated with an IEEE 39-bus case study.
引用
收藏
页数:5
相关论文
共 18 条
[1]   A review of optimal power flow studies applied to smart grids and microgrids [J].
Abdi, Hamdi ;
Beigvand, Soheil Derafshi ;
La Scala, Massimo .
RENEWABLE & SUSTAINABLE ENERGY REVIEWS, 2017, 71 :742-766
[2]   PRACTICAL METHOD FOR THE DIRECT ANALYSIS OF TRANSIENT STABILITY [J].
ATHAY, T ;
PODMORE, R ;
VIRMANI, S .
IEEE TRANSACTIONS ON POWER APPARATUS AND SYSTEMS, 1979, 98 (02) :573-584
[3]   Emulating AC OPF Solvers With Neural Networks [J].
Baker, Kyri .
IEEE TRANSACTIONS ON POWER SYSTEMS, 2022, 37 (06) :4950-4953
[4]   Dynamic Drifting Control for General Path Tracking of Autonomous Vehicles [J].
Chen, Guoying ;
Zhao, Xuanming ;
Gao, Zhenhai ;
Hua, Min .
IEEE TRANSACTIONS ON INTELLIGENT VEHICLES, 2023, 8 (03) :2527-2537
[5]   Recent Developments in Machine Learning for Energy Systems Reliability Management [J].
Duchesne, Laurine ;
Karangelos, Efthymios ;
Wehenkel, Louis .
PROCEEDINGS OF THE IEEE, 2020, 108 (09) :1656-1676
[6]   Smart "Predict, then Optimize" [J].
Elmachtoub, Adam N. ;
Grigas, Paul .
MANAGEMENT SCIENCE, 2022, 68 (01) :9-26
[7]   Optimal Power Flow for AC-DC Grids: Formulation, Convex Relaxation, Linear Approximation, and Implementation [J].
Ergun, Hakan ;
Dave, Jaykumar ;
Van Hertem, Dirk ;
Geth, Frederik .
IEEE TRANSACTIONS ON POWER SYSTEMS, 2019, 34 (04) :2980-2990
[8]  
Gao M., 2023, IEEE T POWER SYST, P1
[9]   Primal-dual subgradient methods for convex problems [J].
Nesterov, Yurii .
MATHEMATICAL PROGRAMMING, 2009, 120 (01) :221-259
[10]  
Olauson J, 2016, NAT ENERGY, V1, P1, DOI [10.1038/nenergy.2016.175, 10.1038/NENERGY.2016.175]