/pymoca

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

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Pymoca

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

CI Coverage 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