Distributed Power Flow and Distributed Optimization - Formulation, Solution, and Open Source Implementation

Solving the power flow problem in a distributed fashion empowers different grid operators to compute the overall grid state without having to share grid models-this is a practical problem to which industry does not have off-the-shelf answers. In cooperation with a German transmission system operator we propose two physically consistent problem formulations (feasibility, least-squares) amenable to two solution methods from distributed optimization (the Alternating direction method of multipliers (ADMM), and the Augmented Lagrangian based Alternating Direction Inexact Newton method (Aladin)); with Aladin there come convergence guarantees for the distributed power flow problem. In addition, we provide open source matlab code for rapid prototyping for distributed power flow (rapidPF), a fully matpower-compatible software that facilitates the laborious task of formulating power flow problems as distributed optimization problems; the code is available under this https URL. The approach to solving distributed power flow problems that we present is flexible, modular, consistent, and reproducible. Simulation results for systems ranging from 53 buses (with 3 regions) up to 4662 buses (with 5 regions) show that the least-squares formulation solved with aladin requires just about half a dozen coordinating steps before the power flow problem is solved.

[1]  Christof Büskens,et al.  WORHP Zen: Parametric Sensitivity Analysis for the Nonlinear Programming Solver WORHP , 2017, OR.

[2]  John N. Tsitsiklis,et al.  Parallel and distributed computation , 1989 .

[3]  J. Boudec,et al.  AC OPF in radial distribution networks – Part I: On the limits of the branch flow convexification and the alternating direction method of multipliers , 2017 .

[4]  Hadi Saadat,et al.  Power System Analysis , 1998 .

[5]  Jianhui Wang,et al.  Master–Slave-Splitting Based Distributed Global Power Flow Method for Integrated Transmission and Distribution Analysis , 2015, IEEE Transactions on Smart Grid.

[6]  Soumyadip Ghosh,et al.  Fully decentralized AC optimal power flow algorithms , 2013, 2013 IEEE Power & Energy Society General Meeting.

[7]  Moritz Diehl,et al.  CasADi: a software framework for nonlinear optimization and optimal control , 2018, Mathematical Programming Computation.

[8]  Hongbin Sun,et al.  Distributed power flow calculation for whole networks including transmission and distribution , 2008, 2008 IEEE/PES Transmission and Distribution Conference and Exposition.

[9]  Veit Hagenmeyer,et al.  Impact of grid partitioning algorithms on combined distributed AC optimal power flow and parallel dynamic power grid simulation , 2020, IET Generation, Transmission & Distribution.

[10]  D K Smith,et al.  Numerical Optimization , 2001, J. Oper. Res. Soc..

[11]  Yuning Jiang,et al.  ALADIN‐ α —An open‐source MATLAB toolbox for distributed non‐convex optimization , 2021, Optimal Control Applications and Methods.

[12]  Lorenz T. Biegler,et al.  On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming , 2006, Math. Program..

[13]  Stephen P. Boyd,et al.  Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers , 2011, Found. Trends Mach. Learn..

[14]  Gabriela Hug,et al.  A Case for Nonconvex Distributed Optimization in Large-Scale Power Systems , 2017, IEEE Transactions on Power Systems.

[15]  Georgios B. Giannakis,et al.  Distributed Optimal Power Flow for Smart Microgrids , 2012, IEEE Transactions on Smart Grid.

[16]  Tsuyoshi Murata,et al.  {m , 1934, ACML.

[17]  Ross Baldick,et al.  Coarse-grained distributed optimal power flow , 1997 .

[18]  Gabriela Hug,et al.  Consensus + Innovations Approach for Distributed Multiagent Coordination in a Microgrid , 2015, IEEE Transactions on Smart Grid.

[19]  Yuning Jiang,et al.  Distributed AC Optimal Power Flow using ALADIN , 2017 .

[20]  Yuning Jiang,et al.  Toward Distributed OPF Using ALADIN , 2018, IEEE Transactions on Power Systems.

[21]  John N. Tsitsiklis,et al.  Parallel and distributed computation , 1989 .

[22]  Zhi-Quan Luo,et al.  Convergence analysis of alternating direction method of multipliers for a family of nonconvex problems , 2014, 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP).

[23]  Steffen Rebennack,et al.  An introduction to optimal power flow: Theory, formulation, and examples , 2016 .

[24]  Wotao Yin,et al.  Global Convergence of ADMM in Nonconvex Nonsmooth Optimization , 2015, Journal of Scientific Computing.

[25]  Russell Bent,et al.  PowerModels.J1: An Open-Source Framework for Exploring Power Flow Formulations , 2017, 2018 Power Systems Computation Conference (PSCC).

[26]  Tom Brown,et al.  PyPSA: Python for Power System Analysis , 2017, 1707.09913.

[27]  Steffen Rebennack,et al.  Division of Economics and Business Working Paper Series a Primer on Optimal Power Flow: Theory, Formulation, and Practical Examples Title: a Primer on Optimal Power Flow: Theory, Formulation, and Practical Examples , 2022 .

[28]  Hamidreza Sadeghian,et al.  AutoSynGrid: A MATLAB-based toolkit for automatic generation of synthetic power grids , 2020 .

[29]  Hüseyin Kemâl Çakmak,et al.  A Comparison of Partitioning Strategies in AC Optimal Power Flow , 2019, ArXiv.

[30]  R D Zimmerman,et al.  MATPOWER: Steady-State Operations, Planning, and Analysis Tools for Power Systems Research and Education , 2011, IEEE Transactions on Power Systems.

[31]  Yuning Jiang,et al.  Decomposition of Nonconvex Optimization via Bi-Level Distributed ALADIN , 2019, IEEE Transactions on Control of Network Systems.

[32]  Gabriela Hug,et al.  TDNetGen: An Open-Source, Parametrizable, Large-Scale, Transmission, and Distribution Test System , 2017, IEEE Systems Journal.

[33]  Gabriela Hug,et al.  Intelligent Partitioning in Distributed Optimization of Electric Power Systems , 2016, IEEE Transactions on Smart Grid.

[34]  Yuning Jiang,et al.  Distributed Stochastic AC Optimal Power Flow based on Polynomial Chaos Expansion , 2018, 2018 Annual American Control Conference (ACC).

[35]  B. H. Kim,et al.  A comparison of distributed optimal power flow algorithms , 2000 .

[36]  Yuning Jiang,et al.  ALADIN-$\alpha$ -- An open-source MATLAB toolbox for distributed non-convex optimization , 2020 .

[37]  Florian Schäfer,et al.  Pandapower—An Open-Source Python Tool for Convenient Modeling, Analysis, and Optimization of Electric Power Systems , 2017, IEEE Transactions on Power Systems.

[38]  Tomaso Erseghe,et al.  Distributed Optimal Power Flow Using ADMM , 2014, IEEE Transactions on Power Systems.

[39]  Moritz Diehl,et al.  An Augmented Lagrangian Based Algorithm for Distributed NonConvex Optimization , 2016, SIAM J. Optim..