ModelicaGridData: Massive power system simulation data generation and labeling tool using Modelica and Python

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

Research output: Contribution to journalArticlepeer-review


This paper describes tool that is created for massive data generation employing phasor time-domain Modelica simulations and using the Open-Instance Power System Library (OpenIPSL). provides a pipeline for generating large amounts of data, considering a wide range of operating conditions and potential contingencies experienced by a power system. The need for large-scale power system dynamic data arises with the development of Machine Learning (ML) solutions in the context of the modernization of the existing power grid. implements algorithms to process different types of input data, perform steady-state computations, run dynamic simulations and linear analysis routines, and label the resulting data sets. The tool has been developed entirely in Python 3 and is compatible with the Modelica IDEs - Dymola and OpenModelica.
Original languageEnglish (US)
Pages (from-to)101258
StatePublished - Dec 9 2022
Externally publishedYes

Bibliographical note

KAUST Repository Item: Exported on 2023-01-23
Acknowledgements: This work was funded in part by the New York State Energy Research and Development Authority (NYSERDA), USA under grant agreement numbers 137951 and 137940, and in part by the Center of Excellence for NEOM Research at King Abdullah University of Science and Technology, Saudi Arabia . The authors would like to thank Aisling Pigott for the discussions that helped shape the final version of the tool, and Santiago Peñate for making available as open-source software and for answering questions about its usage during the development of this tool.
This publication acknowledges KAUST support, but has no KAUST affiliated authors.

ASJC Scopus subject areas

  • Software
  • Computer Science Applications


Dive into the research topics of 'ModelicaGridData: Massive power system simulation data generation and labeling tool using Modelica and Python'. Together they form a unique fingerprint.

Cite this