Enhanced OpenModelica Python Interface
Independent thesis Advanced level (degree of Master (Two Years)), 30 credits / 45 HE creditsStudent thesis
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.
OpenModelica, OMPython interface, OMParser, OMPython API, simulate, extract result
IdentifiersURN: urn:nbn:se:liu:diva-127383ISRN: LIU-IDA/LITH-EX-A--16/014—SEOAI: oai:DiVA.org:liu-127383DiVA: diva2:922848
Subject / course
2016-04-05, 13:30 (English)