Giter VIP home page Giter VIP logo

jupyter-openmodelica's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.