All Projects → OpenModelica → jupyter-openmodelica

OpenModelica / jupyter-openmodelica

Licence: other
An OpenModelica Jupyter kernel

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

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 to be installed.
Make sure the environment variable for OpenModelica is set e.g.:
OPENMODELICAHOME=C:/OpenModelica1.11.0-64bit/ or similar.

To install:

 1) clone the project
 2) cd jupyter-openmodelica
 3) python setup.py install

To use it, run:

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

The repository also contains the example notebook file OpenModelica.ipynb.

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.

DOCKER JupyterNotebook-OPENMODELICA Kernel

A Docker container to run jupyter-notebook openmodelica Kernel

Requirements

  1. docker, To install docker see https://docs.docker.com/engine/installation/

USAGE

To build jupyter-openmodelica

  1. clone the project
  2. cd jupyter-openmodelica
  3. docker build -t jupyteropenmodelica .

After building the image jupyteropenmodelica, we are now ready to run the jupyter-openmodelica in docker container

To use it, run:

docker run -p 8888:8888 jupyteropenmodelica

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].