PowerDynamics.jl - An experimentally validated open-source package for the dynamical analysis of power grids

PowerDynamics.jl is a Julia package for time-domain modeling of power grids that is specifically designed for the stability analysis of systems with high shares of renewable energies. It makes use of Julia’s state-of-the-art differential equation solvers and is highly performant even for systems with a large number of components. Further, it is compatible with Julia’s machine learning libraries and allows for the utilization of these methods for dynamical optimization and parameter fitting. The package comes with a number of predefined models for synchronous machines, transmission lines and inverter systems. However, the strict open-source approach and a macro-based user-interface also allows for an easy implementation of custom-built models which makes it especially interesting for the design and testing of new control strategies for distributed generation units. This paper presents how the modeling concept, implemented component models and fault scenarios have been experimentally tested against measurements in the microgrid lab of TECNALIA.

[1]  Alessandro Astolfi,et al.  Conditions for stability of droop-controlled inverter-based microgrids , 2014, Autom..

[2]  G. Fitzgerald,et al.  'I. , 2019, Australian journal of primary health.

[3]  Sabine Auer The Stability and Control of Power Grids with High Renewable Energy Share , 2018 .

[4]  Frank Hellmann,et al.  Predicting Dynamic Stability of Power Grids using Graph Neural Networks , 2021, ArXiv.

[5]  Iñigo Kortabarria,et al.  Stability analysis and design of droop control method in dq frame for connection in parallel of distributed energy resources , 2012, IECON 2012 - 38th Annual Conference on IEEE Industrial Electronics Society.

[6]  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.

[7]  Jürgen Kurths,et al.  Stability of synchrony against local intermittent fluctuations in tree-like power grids. , 2017, Chaos.

[8]  Carol S. Woodward,et al.  Enabling New Flexibility in the SUNDIALS Suite of Nonlinear and Differential/Algebraic Equation Solvers , 2020, ACM Trans. Math. Softw..

[9]  Alan Edelman,et al.  Julia: A Fresh Approach to Numerical Computing , 2014, SIAM Rev..

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

[11]  Marc Timme,et al.  Dynamically induced cascading failures in power grids , 2017, Nature Communications.

[12]  Duncan S. Callaway,et al.  PowerSystems.jl - A power system data management package for large scale modeling , 2021, SoftwareX.

[13]  Frank Hellmann,et al.  NetworkDynamics.jl - Composing and simulating complex networks in Julia , 2020, Chaos.

[14]  Sabine Auer,et al.  Modeling the dynamics and control of power systems with high share of renewable energies , 2020, 2012.05164.

[15]  Jon Andreu,et al.  Design and implementation of a droop control in d-q frame for islanded microgrids , 2013 .

[16]  Qing Nie,et al.  DifferentialEquations.jl – A Performant and Feature-Rich Ecosystem for Solving Differential Equations in Julia , 2017, Journal of Open Research Software.

[17]  Romeo Ortega,et al.  Modeling of microgrids - from fundamental physics to phasors and voltage sources , 2015, Autom..

[18]  Christopher Rackauckas ModelingToolkit, Modelica, and Modia: The Composable Modeling Future in Julia , 2021 .

[19]  Thomas de Quincey [C] , 2000, The Works of Thomas De Quincey, Vol. 1: Writings, 1799–1820.

[20]  Jürgen Kurths,et al.  Survivability of Deterministic Dynamical Systems , 2015, Scientific Reports.

[21]  OrtegaRomeo,et al.  A survey on modeling of microgrids-From fundamental physics to phasors and voltage sources , 2016 .

[22]  Vaibhav Dixit,et al.  DiffEqFlux.jl - A Julia Library for Neural Differential Equations , 2019, ArXiv.

[23]  Peter J. Menck,et al.  How basin stability complements the linear-stability paradigm , 2013, Nature Physics.

[24]  Duncan S. Callaway,et al.  LITS.jl - An Open-Source Julia based Simulation Toolbox for Low-Inertia Power Systems , 2020, ArXiv.

[25]  Chris Rackauckas,et al.  ModelingToolkit: A Composable Graph Transformation System For Equation-Based Modeling , 2021, ArXiv.

[26]  Frank Hellmann,et al.  Probabilistic Stability Assessment for Active Distribution Grids , 2021, 2021 IEEE Madrid PowerTech.

[27]  Frank Hellmann,et al.  A Generalized Linear Response Theory of Complex Networks with an Application to Renewable Fluctuations in Microgrids , 2019 .

[28]  Emilia Fridman,et al.  Stability of a class of delayed port-Hamiltonian systems with application to microgrids with distributed rotational and electronic generation , 2016, Autom..

[29]  Peter W. Sauer,et al.  Power System Dynamics and Stability , 1997 .

[30]  Sabine Auer,et al.  Sneak Preview: PowerDynamics.jl -= An Open-Source library for analyzing dynamic stability in power grids with high shares of renewable energy , 2020, ArXiv.

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