Skip to content

vruge/pymoca

 
 

Repository files navigation

Pymoca

A Modelica to computer algebra system (CAS) compiler written in python.

Travis AppVeyor Coverage Status DOI

Install

Python / PyPI:

pip install pymoca

Anaconda / Conda:

  1. Install anaconda 3.

  2. Setup environment.

./create_conda_env.sh enduser
. activate pymoca
jupyter notebook

Examples

Roadmap

Completed Tasks

  • Parsing Modelica
  • Sympy Simulation/CAS creation for simple models
  • Casadi CAS creation for simple models

TODO

  • Gather requirements and unify Casadi model
  • Lazy parsing for reading large libraries
  • Support more of Modelica language elements

About

A Modelica to computer algebra system (CAS) compiler written in python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 59.8%
  • Jupyter Notebook 37.2%
  • Modelica 1.8%
  • ANTLR 1.1%
  • Shell 0.1%