An OpenModelica Jupyter kernel
Jupyter Notebook Python
Latest commit 0c0bfa7 Jun 24, 2016 @hkiel hkiel committed on GitHub Merge pull request #1 from OpenModelica/fix_compilation
fix compilation
Permalink
Failed to load latest commit information.
openmodelica_kernel fix compilation Jun 23, 2016
.gitignore
MANIFEST.in add Jupyter-openmodelica to openmodelica git May 25, 2016
OpenModelica.ipynb add Jupyter-openmodelica to openmodelica git May 25, 2016
README.md add Jupyter-openmodelica to openmodelica git May 25, 2016
setup.py add Jupyter-openmodelica to openmodelica git May 25, 2016

README.md

Jupyter_OpenModelica_Kernel

An OpenModelica Kernel for Jupyter Notebook. All commands are interpreted by OMPython which communicates with OpenModelica Compiler and the result is presented to user.

This requires Jupyter Notebook, OpenModelica, and OMPython
Make sure the environment variable for OpenModelica is set eg: OPENMODELICAHOME=C:/OpenModelica1.9.4-dev/

To install:

 1) clone the project
 2) cd Jupyter_OpenModelica_Kernel
 3) python setup.py install

To use it, run:

  jupyter notebook
  # In the notebook interface, select OpenModelica from the 'New' menu

A note about plotting. The plotting is done with the help of Dygraph javascript. If plot does not works, make sure the "dygraph-combined.js" is in the current working directory.