Change search
ReferencesLink to record
Permanent link

Direct link
Enhanced OpenModelica Python Interface
Linköping University, Department of Computer and Information Science.
2016 (English)Independent thesis Advanced level (degree of Master (Two Years)), 30 credits / 45 HE creditsStudent thesis
Abstract [en]

OMPython is a Python library for OpenModelica, which provides a Python interface to OpenModelica. This thesis significantly improves OMPython by an enhanced, more powerful and easier to use API. It presents how a user can use the Python interface to simulate and access Modelica models using Python objects. The enhanced OMPython includes the list of functions that have been implemented such as getXXXNames(), getXXXValues(), setXXXValues(), getXXXOptions(), setXXXOptions(), and simulate(), etc. that allow users to interact with Modelica model properties(i.e., model variables) and the output of the OpenModelica compiler and simulator. A few Modelica models are used for demonstrations in order to make it easy for readers to understand. By the way, this thesis does not describe modeling Modelica models or compilation of such models.

Place, publisher, year, edition, pages
2016. , 52 p.
Keyword [en]
OpenModelica, OMPython interface, OMParser, OMPython API, simulate, extract result
National Category
Computer Science
URN: urn:nbn:se:liu:diva-127383ISRN: LIU-IDA/LITH-EX-A--16/014—SEOAI: diva2:922848
Subject / course
Computer science
2016-04-05, 13:30 (English)
Available from: 2016-05-04 Created: 2016-04-25 Last updated: 2016-05-04Bibliographically approved

Open Access in DiVA

fulltext(3160 kB)72 downloads
File information
File name FULLTEXT01.pdfFile size 3160 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Bajracharya, Sudeep
By organisation
Department of Computer and Information Science
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 72 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 152 hits
ReferencesLink to record
Permanent link

Direct link