Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openmodelica/jupyter-openmodelica
An OpenModelica Jupyter kernel
https://github.com/openmodelica/jupyter-openmodelica
Last synced: 17 days ago
JSON representation
An OpenModelica Jupyter kernel
- Host: GitHub
- URL: https://github.com/openmodelica/jupyter-openmodelica
- Owner: OpenModelica
- Created: 2016-05-25T12:44:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-10-16T07:17:57.000Z (about 4 years ago)
- Last Synced: 2024-04-28T07:35:55.497Z (8 months ago)
- Language: Jupyter Notebook
- Size: 61.5 KB
- Stars: 72
- Watchers: 22
- Forks: 21
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://jupyter.readthedocs.org/en/latest/install.html), [OpenModelica](https://openmodelica.org), and [OMPython](https://github.com/OpenModelica/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 installTo use it, run:
jupyter notebook
# In the notebook interface, select OpenModelica from the 'New' menuThe repository also contains the [example notebook file OpenModelica.ipynb](https://github.com/OpenModelica/jupyter-openmodelica/blob/master/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 containerTo use it, run:
docker run -p 8888:8888 jupyteropenmodelica