Article | Proceedings of the 9th International MODELICA Conference; September 3-5; 2012; Munich; Germany | An OpenModelica Python Interface and its use in PySimulator

Title:
An OpenModelica Python Interface and its use in PySimulator
Author:
Anand Kalaiarasi Ganeson: PELAB ‚Äď Programming Environment Lab, Dept. Computer Science Link√∂ping University, Link√∂ping, Sweden Peter Fritzon: PELAB ‚Äď Programming Environment Lab, Dept. Computer Science Link√∂ping University, Link√∂ping, Sweden Olena Rogovchenko: PELAB ‚Äď Programming Environment Lab, Dept. Computer Science Link√∂ping University, Link√∂ping, Sweden Adeel Asghar: PELAB ‚Äď Programming Environment Lab, Dept. Computer Science Link√∂ping University, Link√∂ping, Sweden Martin Sjölund: PELAB ‚Äď Programming Environment Lab, Dept. Computer Science Link√∂ping University, Link√∂ping, Sweden Andreas Pfeiffer: Institute of System Dynamics and Control, German Aerospace Center DLR, Oberpfaffenhofen, Germany
DOI:
10.3384/ecp12076537
Download:
Full text (pdf)
Year:
2012
Conference:
Proceedings of the 9th International MODELICA Conference; September 3-5; 2012; Munich; Germany
Issue:
076
Article no.:
054
Pages:
537-548
No. of pages:
12
Publication type:
Abstract and Fulltext
Published:
2012-11-19
ISBN:
978-91-7519-826-2
Series:
Linköping Electronic Conference Proceedings
ISSN (print):
1650-3686
ISSN (online):
1650-3740
Publisher:
Linköping University Electronic Press; Linköpings universitet


How can Python users be empowered with the robust simulation; compilation and scripting abilities of a non-proprietary 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 functional 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 simulation and model building. 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.

Keywords: Python; OpenModelica; OMPython; simulation; modeling; Modelica; Python simulator

Proceedings of the 9th International MODELICA Conference; September 3-5; 2012; Munich; Germany

Author:
Anand Kalaiarasi Ganeson, Peter Fritzon, Olena Rogovchenko, Adeel Asghar, Martin Sjölund, Andreas Pfeiffer
Title:
An OpenModelica Python Interface and its use in PySimulator
DOI:
10.3384/ecp12076537
References:
[1] Anand Kalaiarasi Ganeson. Design and Implementation of a User Friendly OpenModelica ‚Äď Python interface; Master thesis LIU-IDA/LITH-EX-A12/037SE; Link√∂ping Uni-versity; Sweden; 2012
[2] Open Source Modelica Consortium. OpenModelica System Documentation Version 1.8.1; April 2012. http://www.openmodelica.org
[3] Modelica Association. The Modelica Language Specification Version 3.2; March 24th 2010. http://www.modelica.org. Modelica Association. Modelica Standard Library 3.1. Aug. 2009. http://www.modelica.org.
[4] PySCeS.http://pysces.sourceforge.net/index.html
[5] SimPy. http://simpy.sourceforge.net/
[6] Mark Lutz. Programming Python. ISBN 9781449302856; O’Reilly; 2011.
[7] omniORB 4.1.6 and omniORBpy 3.6. The omni-ORB version 4.1 User’s guide; the omniORBpy version 3 User’s guide.
[8] http://omniorb.sourceforge.net/
[9] Andreas Pfeiffer; M. Hellerer; S. Hartweg; Martin Otter; and M. Reiner. PySimulator ‚Äď A Simulation and Analysis Environment in Python with Plugin Infrastructure. Submitted to the 9th International Modelica Conference; Munich; Germany; September. 2012.
[10] Dassault Systèmes AB: la; www.dymola.com.
[11] MODELISAR consortium: Functional Mock-up Interface for Model Exchange; Version 1.0; 2010. www.functional-mockup-interface.org
[12] JModelica.org. http://JModelica.org. Accessed May 20; 2012.
[13] MWORKS. http://en.tongyuan.cc/. Accessed May 20; 2012.
[14] LMS Inc. Amesim tool suite. http://www.lmsintl.com/imagine-amesim-suite. Accessed May 20; 2012.

Proceedings of the 9th International MODELICA Conference; September 3-5; 2012; Munich; Germany

Author:
Anand Kalaiarasi Ganeson, Peter Fritzon, Olena Rogovchenko, Adeel Asghar, Martin Sjölund, Andreas Pfeiffer
Title:
An OpenModelica Python Interface and its use in PySimulator
DOI:
10.3384/ecp12076537
Note: the following are taken directly from CrossRef
Citations:
No citations available at the moment