Enhanced OpenModelica Python Interface

University essay from Linköpings universitet/Institutionen för datavetenskap

Abstract: 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.

  AT THIS PAGE YOU CAN DOWNLOAD THE WHOLE ESSAY. (follow the link to the next page)