Table of Contents
Fetching ...

PowerSimulationsDynamics.jl -- An Open Source Modeling Package for Modern Power Systems with Inverter-Based Resources

Jose Daniel Lara, Rodrigo Henriquez-Auba, Matthew Bossart, Duncan S. Callaway, Clayton Barrows

TL;DR

PowerSimulationsDynamics.jl (PSID.jl) tackles the need for scalable, open-source dynamic power-system simulation in the era of high inverter-based resources. It provides a Julia-based modular framework that supports both quasi-static phasor (QSP) and dq0-EMT time-domain simulations, using a data-model driven approach with residual and mass-matrix differential-algebraic equation formulations and automatic differentiation for Jacobians. The key contributions include a flexible DynamicInjection device model, modular generator/inverter models, network dq transformation, and integration with DifferentialEquations.jl to explore implicit solvers for stiff, multi-rate systems. Validation against PSS®E, PSCAD, and ANDES demonstrates accurate results at large scales (e.g., 240-bus WECC QSP and 144-bus EMT) with substantial computational efficiency improvements over full EMT. The work enables rapid prototyping of new IBR models and control schemes, and lays groundwork for black-box models and ML surrogates.

Abstract

In this paper we present the development of an open-source simulation toolbox, PowerSimulationsDynamics.jl, to study the dynamic response of power systems, focusing on the requirements to model systems with high penetrations of Inverter-Based Resources (IBRs). PowerSimulationsDynamics.jl is implemented in Julia and features a rich library of synchronous generator, inverter, and load models. In addition, it allows the study of quasi-static phasors and electromagnetic dq models that use a dynamic network representation. Case studies and validation exercises show that PowerSimulationsDynamics.jl results closely match other commercial and open-source simulation tools.

PowerSimulationsDynamics.jl -- An Open Source Modeling Package for Modern Power Systems with Inverter-Based Resources

TL;DR

PowerSimulationsDynamics.jl (PSID.jl) tackles the need for scalable, open-source dynamic power-system simulation in the era of high inverter-based resources. It provides a Julia-based modular framework that supports both quasi-static phasor (QSP) and dq0-EMT time-domain simulations, using a data-model driven approach with residual and mass-matrix differential-algebraic equation formulations and automatic differentiation for Jacobians. The key contributions include a flexible DynamicInjection device model, modular generator/inverter models, network dq transformation, and integration with DifferentialEquations.jl to explore implicit solvers for stiff, multi-rate systems. Validation against PSS®E, PSCAD, and ANDES demonstrates accurate results at large scales (e.g., 240-bus WECC QSP and 144-bus EMT) with substantial computational efficiency improvements over full EMT. The work enables rapid prototyping of new IBR models and control schemes, and lays groundwork for black-box models and ML surrogates.

Abstract

In this paper we present the development of an open-source simulation toolbox, PowerSimulationsDynamics.jl, to study the dynamic response of power systems, focusing on the requirements to model systems with high penetrations of Inverter-Based Resources (IBRs). PowerSimulationsDynamics.jl is implemented in Julia and features a rich library of synchronous generator, inverter, and load models. In addition, it allows the study of quasi-static phasors and electromagnetic dq models that use a dynamic network representation. Case studies and validation exercises show that PowerSimulationsDynamics.jl results closely match other commercial and open-source simulation tools.
Paper Structure (23 sections, 10 equations, 10 figures, 5 tables)

This paper contains 23 sections, 10 equations, 10 figures, 5 tables.

Figures (10)

  • Figure 1: Software dependencies in PSID.jl.
  • Figure 2: Implementation of the state space indexing.
  • Figure 3: DynamicInjection data structures from PowerSystems.jl.
  • Figure 4: Machine initialization routine.
  • Figure 5: Inverter metamodel.
  • ...and 5 more figures