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
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
Ladda ner artikelhttp://dx.doi.org/10.3384/ecp12076537Ingår i: Proceedings of the 9th International MODELICA Conference; September 3-5; 2012; Munich; Germany
Linköping Electronic Conference Proceedings 76:54, s. 537-548
Publicerad: 2012-11-19
ISBN: 978-91-7519-826-2
ISSN: 1650-3686 (tryckt), 1650-3740 (online)
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.
[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.