Power Flow Record Structures to Initialize OpenIPSL Phasor Time-Domain Simulations with Python

Sergio A. Dorado-Rojas, Giuseppe Laera, Marcelo de Castro Fernandes, Tetiana Bogodorova, and Luigi Vanfretti

bib

@inproceedings{dorado-rojas2021,
  title = {Power {{Flow Record Structures}} to {{Initialize OpenIPSL Phasor Time-Domain Simulations}} with {{Python}}},
  booktitle = {Proceedings of the 14th {{Modelica Conference}} 2021},
  author = {{Dorado-Rojas}, Sergio A. and Laera, Giuseppe and {de Castro Fernandes}, Marcelo and Bogodorova, Tetiana and Vanfretti, Luigi},
  year = 2021,
  month = sep,
  pages = {147--154},
  doi = {10.3384/ecp21181147},
}

Abstract

This paper presents a tool to populate power flow results for phasor time-domain simulations with the Open Instance Power System Library (OpenIPSL). Our proposal takes advantage of the object-oriented philosophy of Modelica and introduces a data structure based on records to handle power flow data for a given network model. Such records constitute a user-friendly interface to change the guess values used to solve the initial condition of a dynamical simulation straightforwardly. Power flow calculations are carried out by the open-source Python library GridCal. We demonstrate the tool capabilities by generating power flow results for several grid models and comparing them with those obtained via proprietary tools such as PSS/E. Moreover, we provide tutorial materials to ease integrating the tool for a new/experienced OpenIPSL user.

Back

CC BY-SA 4.0 Sergio A. Dorado-Rojas. Last modified: October 31, 2025.