Simulation Notes Europe, Volume 23(3-4), December 2013

Scripting Modelica Models using Python

Simulation Notes Europe SNE 23(3-4), 2013, 161-170
DOI: 10.11128/


Modelica has evolved as a powerful language for encoding models of complex systems. In control engineering, it is of interest to be able to analyze dynamic models using scripting languages such as MATLAB and Python. This paper illustrates some analysis and design methods relevant in control engineering through scripting a Modelica model of an anaerobic digester model using Python, and discusses advantages and shortcom-ings of the Python+Modelica set-up.