Hybrid Symbolic-Numeric Framework for Power System Modeling and Analysis

With the recent proliferation of open-source packages for computing, power system differential-algebraic equation (DAE) modeling and simulation are being revisited to reduce the programming efforts. Existing open-source tools require manual efforts to develop code for numerical equations, sparse Jacobians, and discontinuous components. This paper proposes a hybrid symbolic-numeric framework, exemplified by an open-source Python-based library ANDES, which consists of a symbolic layer for descriptive modeling and a numeric layer for vector-based numerical computation. This method enables the implementation of DAE models by mixing and matching modeling components, through which models are described. In the framework, a rich set of discontinuous components and standard transfer function blocks are provided besides essential modeling elements for rapid modeling. ANDES can automatically generate robust and fast numerical simulation code, as well as and high-quality documentation. Case studies present a) two implementations of turbine governor model TGOV1, b) power flow computation time break down for MATPOWER systems, c) validation of time-domain simulation with commercial software using three test systems with a variety of models, and d) the full eigenvalue analysis for Kundur's system. Validation shows that ANDES closely matches the commercial tool DSATools for power flow, time-domain simulation, and eigenvalue analysis.

[1]  R.A. Dougal,et al.  Symbolically aided model development for an induction machine in virtual test bed , 2004, IEEE Transactions on Energy Conversion.

[2]  Luigi Vanfretti,et al.  Modelica Implementation and Software-to-Software Validation of Power System Component Models Commonly used by Nordic TSOs for Dynamic Simulations , 2015 .

[3]  Kevin Tomsovic,et al.  Cyber‐physical system testbed for power system monitoring and wide‐area control verification , 2020, IET Energy Systems Integration.

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

[5]  Fernando L. Alvarado,et al.  General purpose symbolic simulation tools for electric networks , 1988 .

[6]  Andy R. Terrel,et al.  SymPy: Symbolic computing in Python , 2017, PeerJ Prepr..

[7]  Federico Milano,et al.  Power System Modelling and Scripting , 2010 .

[8]  M. Glavic,et al.  A component-based power system model-driven architecture , 2004, IEEE Transactions on Power Systems.

[9]  E. Z. Zhou Object-oriented programming, C++ and power system simulation , 1996 .

[10]  F. Milano,et al.  An open source power system analysis toolbox , 2005, 2006 IEEE Power Engineering Society General Meeting.

[11]  Ronnie Belmans,et al.  MatDyn, A New Matlab-Based Toolbox for Power System Dynamic Simulation , 2011, IEEE Transactions on Power Systems.

[12]  Hantao Cui,et al.  ANDES: A Python-Based Cyber-Physical Power System Simulation Tool , 2018, 2018 North American Power Symposium (NAPS).

[13]  Federico Milano,et al.  A python-based software tool for power system analysis , 2013, 2013 IEEE Power & Energy Society General Meeting.

[14]  Fangxing Li,et al.  A Large-Scale Testbed as a Virtual Power Grid: For Closed-Loop Controls in Research and Testing , 2020, IEEE Power and Energy Magazine.

[15]  F.L. Alvarado,et al.  Instructional use of declarative languages for the study of machine transients , 1991, IEEE Power Engineering Review.

[16]  Liang Min,et al.  Integration of functional mock-up units into a dynamic power systems simulation tool , 2016, 2016 IEEE Power and Energy Society General Meeting (PESGM).

[17]  Babu Narayanan,et al.  POWER SYSTEM STABILITY AND CONTROL , 2015 .

[18]  Jean Belanger,et al.  A real-time dynamic simulation tool for transmission and distribution power systems , 2013, 2013 IEEE Power & Energy Society General Meeting.

[19]  Mike Zhou,et al.  InterPSS: A New Generation Power System Simulation Engine , 2017, ArXiv.

[20]  Luigi Vanfretti,et al.  OpenIPSL: Open-Instance Power System Library - Update 1.5 to "iTesla Power Systems Library (iPSL): A Modelica library for phasor time-domain simulations" , 2018, SoftwareX.

[21]  Joe H. Chow,et al.  A toolbox for power system dynamics and control engineering education and research , 1992 .

[22]  Fernando L. Alvarado,et al.  A COMPONENT BASED APPROACH TO POWER SYSTEM APPLICATIONS DEVELOPMENT , 2002 .