An OpenModelica Python Interface and its use in PySimulator

Anand Kalaiarasi Ganeson, Peter Fritzon, Olena Rogovchenko, Adeel Asghar, Martin Sjölund, Andreas Pfeiffer
2012 Proceedings of the 9th International MODELICA Conference, September 3-5, 2012, Munich, Germany   unpublished
How can Python users be empowered with the robust simulation, compilation and scripting abilities of a nonproprietary object-oriented, equation based modeling language such as Modelica? The immediate objective of this work is to develop an application programming interface for the OpenModelica modeling and simulation environment that would bridge the gap between the two agile programming languages Python and Modelica. The Python interface to OpenModelica -OMPython, is both a tool and a
more » ... l library that allows Python users to realize the full capabilities of OpenModelica's scripting and simulation environment requiring minimal setup actions. OMPython is designed to combine both the simulation and model building processes. Thus domain experts (people writing the models) and computational engineers (people writing the solver code) can work on one unified tool that is industrially viable for optimization of Modelica models, while offering a flexible platform for algorithm development and research.
doi:10.3384/ecp12076537 fatcat:ivlyzd4s6fgnja7bhrkwabsy3e