Article | Proceedings of The 9th EUROSIM Congress on Modelling and Simulation, EUROSIM 2016, The 57th SIMS Conference on Simulation and Modelling SIMS 2016 | API for Accessing OpenModelica Models from Python Linköping University Electronic Press Conference Proceedings
Göm menyn

Title:
API for Accessing OpenModelica Models from Python
Author:
Bernt Lie: University College of Southeast Norway, Porsgrunn, Norway Sudeep Bajrachary: Department of Computer and Information Science, Linköping University, Sweden Alachew Mengist: Department of Computer and Information Science, Linköping University, Sweden Lena Buffoni: Department of Computer and Information Science, Linköping University, Sweden Arun Kumar: Department of Computer and Information Science, Linköping University, Sweden Martin Sjölund: Department of Computer and Information Science, Linköping University, Sweden Adeel Asghar: Department of Computer and Information Science, Linköping University, Sweden Adrian Pop: Department of Computer and Information Science, Linköping University, Sweden Peter Fritzson: Department of Computer and Information Science, Linköping University, Sweden
DOI:
10.3384/ecp17142707
Download:
Full text (pdf)
Year:
2018
Conference:
Proceedings of The 9th EUROSIM Congress on Modelling and Simulation, EUROSIM 2016, The 57th SIMS Conference on Simulation and Modelling SIMS 2016
Issue:
142
Article no.:
103
Pages:
707-714
No. of pages:
8
Publication type:
Abstract and Fulltext
Published:
2018-12-19
ISBN:
978-91-7685-399-3
Series:
Linköping Electronic Conference Proceedings
ISSN (print):
1650-3686
ISSN (online):
1650-3740
Publisher:
Linköping University Electronic Press, Linköpings universitet


Export in BibTex, RIS or text

This paper describes a new API for operating on Modelica models in Python, through OpenModelica. Modelica is an object oriented, acausal language for describing dynamic models in the form of Differential Algebraic Equations. Modelica and various implementations such as OpenModelica have limited support for model analysis, and it is of interest to integrate Modelica code with scripting languages such as Python, which facilitate the needed analysis possibilities. The API is based on a new class ModelicaSystem within package OMPython of OpenModelica, with methods that operate on instantiated models. Emphasis has been put on speci?cation of a systematic structure for the various methods of the class. A simple case study involving a water tank is used to illustrate the basic ideas.

Keywords: OpenModelica, Modelica, Python, Python API

Proceedings of The 9th EUROSIM Congress on Modelling and Simulation, EUROSIM 2016, The 57th SIMS Conference on Simulation and Modelling SIMS 2016

Author:
Bernt Lie, Sudeep Bajrachary, Alachew Mengist, Lena Buffoni, Arun Kumar, Martin Sjölund, Adeel Asghar, Adrian Pop, Peter Fritzson
Title:
API for Accessing OpenModelica Models from Python
DOI:
http://dx.doi.org/10.3384/ecp17142707
References:
No references available

Proceedings of The 9th EUROSIM Congress on Modelling and Simulation, EUROSIM 2016, The 57th SIMS Conference on Simulation and Modelling SIMS 2016

Author:
Bernt Lie, Sudeep Bajrachary, Alachew Mengist, Lena Buffoni, Arun Kumar, Martin Sjölund, Adeel Asghar, Adrian Pop, Peter Fritzson
Title:
API for Accessing OpenModelica Models from Python
DOI:
https://doi.org10.3384/ecp17142707
Note: the following are taken directly from CrossRef
Citations:
No citations available at the moment


Responsible for this page: Peter Berkesand
Last updated: 2019-10-02