Skip to content

dietmarw/OMPython

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

109 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OMPython

OMPython is a Python interface that uses CORBA (omniORB) or ZeroMQ to communicate with OpenModelica.

Dependencies

  • omniORB/PyZMQ is required.
  • omniORB is installed including Python support (the omniidl command needs to be on the PATH)
    On Ubuntu, this is done by running sudo apt-get install omniorb python-omniorb omniidl omniidl-python
  • Python 2.7 is required (omniORB restriction). Download python from http://www.python.org/download/
  • pip is recommended.

Installation

Unix

$ pip install https://github.com/OpenModelica/OMPython/archive/master.zip

Windows

  • Add python to your PATH.
  • Start command prompt/terminal and execute commands,
$ cd /pathtoOpenModelica/share/omc/scripts/PythonInterface
$ python setup.py install
  • This will add OMPython to the python 3rd party libraries.

Usage

import OMPython
help(OMPython)

Contact

Adeel, adeel.asghar@liu.se Anand, ganan642@student.liu.se

About

A Python interface to OpenModelica communicating via CORBA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%