Hybrid Symbolic-Numeric Library for Power System Modeling and Analysis

With the recent booming of open-source packages for scientific computing, power system simulation is being revisited to reduce the programming efforts for modeling and analysis. Existing open-source tools require manual efforts to develop code for numerical equations and sparse Jacobians. Such work would become repeated, tedious and error-prone when a researcher needs to implement complex models with a large number of equations. This paper proposes a two-layer hybrid library consisted of a symbolic layer for descriptive modeling and a numeric layer for vector-based numerical computation. The open-source library allows to implement differential-algebraic equation (DAE)-based models with descriptive equation strings, which will be transparently generated into robust and fast numerical simulation code and high-quality documentation. Thus, complex models and systems can be easily prototyped and simulated. These two layers are decoupled so that the symbolic layer is case-independent, and existing numerical programs can be reused. Implementation details in indexing, equation evaluation, and Jacobian evaluation are discussed. Case studies present a) implementation of turbine governor model TGOV1, b) the power flow calculation for MATPOWER test systems, c) the validation against commercial software using Kundur's two-area system with GENROU, EXDC2 and TGOV1 models, and d) the full eigenvalue analysis for Kundur's system.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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]  Joe H. Chow,et al.  A toolbox for power system dynamics and control engineering education and research , 1992 .