Yue Yang;Chenhui Lin;Luo Xu;Xiaodong Yang;Wenchuan Wu;Bin Wang
{"title":"Accelerating Optimal Power Flow With Structure-Aware Automatic Differentiation and Code Generation","authors":"Yue Yang;Chenhui Lin;Luo Xu;Xiaodong Yang;Wenchuan Wu;Bin Wang","doi":"10.1109/TPWRS.2024.3483489","DOIUrl":null,"url":null,"abstract":"This letter proposes a structure-aware automatic differentiation method to accelerate the solution of alternating current optimal power flow (ACOPF) with nonlinear programming (NLP) solvers. By exploiting the isomorphic structure of nonlinear power flow constraints in ACOPF, specialized binary code is generated to efficiently compute the Jacobian and Hessian matrix. Numerical tests show that our implementation achieves over 18% speedup in the total solution process and 40% speedup in automatic differentiation for large-scale ACOPF problems compared to state-of-the-art algebraic modeling languages of NLP.","PeriodicalId":13373,"journal":{"name":"IEEE Transactions on Power Systems","volume":"40 1","pages":"1172-1175"},"PeriodicalIF":7.2000,"publicationDate":"2024-10-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Power Systems","FirstCategoryId":"5","ListUrlMain":"https://ieeexplore.ieee.org/document/10721402/","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 0
Abstract
This letter proposes a structure-aware automatic differentiation method to accelerate the solution of alternating current optimal power flow (ACOPF) with nonlinear programming (NLP) solvers. By exploiting the isomorphic structure of nonlinear power flow constraints in ACOPF, specialized binary code is generated to efficiently compute the Jacobian and Hessian matrix. Numerical tests show that our implementation achieves over 18% speedup in the total solution process and 40% speedup in automatic differentiation for large-scale ACOPF problems compared to state-of-the-art algebraic modeling languages of NLP.
期刊介绍:
The scope of IEEE Transactions on Power Systems covers the education, analysis, operation, planning, and economics of electric generation, transmission, and distribution systems for general industrial, commercial, public, and domestic consumption, including the interaction with multi-energy carriers. The focus of this transactions is the power system from a systems viewpoint instead of components of the system. It has five (5) key areas within its scope with several technical topics within each area. These areas are: (1) Power Engineering Education, (2) Power System Analysis, Computing, and Economics, (3) Power System Dynamic Performance, (4) Power System Operations, and (5) Power System Planning and Implementation.