Performance Benchmark of Modelica Time-Domain Power System Automated Simulations using Python
Sergio A. Dorado-Rojas, Manuel Navarro Catalán, Marcelo de Castro Fernandes, Luigi Vanfretti · Linköping electronic conference proceedings · 2020
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 employed 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.