Performance Benchmark of Modelica Time-Domain Power System Automated Simulations using Python

Sergio A. Dorado-Rojas, Manuel Navarro Catalán, Marcelo de Castro Fernandes, and Luigi Vanfretti

bib

@inproceedings{dorado-rojas2020a,
  title = {Performance {{Benchmark}} of {{Modelica Time-Domain Power System Automated Simulations}} Using {{Python}}},
  booktitle = {American {{Modelica Conference}} 2020},
  author = {{Dorado-Rojas}, Sergio A. and Navarro Catal{\'a}n, Manuel and {de Castro Fernandes}, Marcelo and Vanfretti, Luigi},
  year = 2020,
  month = nov,
  doi = {10.3384/ecp2016928}
}

Abstract

In this paper, a benchmark between solvers and Modelica tools for time-domain simulations of a power system model is presented. A Python-based approach is em- ployed to automate Modelica simulations and compute performance metrics. This routine is employed to compare the performance of a commercial (Dymola) against an open-source (OpenModelica) simulation tool with different solver settings. Python scripts are developed to execute a dynamic simulation of a common model for power system studies with 49 states and 420 variables in three different scenarios. This degree of automation makes it easier to change solver settings and tools during execution. The performance of each of the tools is assessed through metrics such as execution time and CPU utilization. The quantitative comparison results provide a clear reference to the performance of the tools and solvers for the execution of time-domain simulations with a significant degree of complexity. The commercial tool offers better performance for variable-step solver, but the performance of the open-source software shows significantly faster results for fixed-step solvers.

Back

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