A Modelica to computer algebra system (CAS) compiler written in python.
Install
Python / PyPI:
pip install pymoca
Anaconda / Conda:
-
Install anaconda 3.
-
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
Metadata
Release files for pymoca 0.9.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pymoca-0.9.3.tar.gz | 112.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymoca-0.9.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 225.8 kB
Release files / pymoca-0.9.3.tar.gz
| Download URL | pymoca-0.9.3.tar.gz |
|---|---|
| Size | 112.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ecd000bd594aff0cbb4b80d42225d572dcb7fe92145f5f49141d01ae5972f767
|
|
BLAKE2b-256 checksum How to use checksums |
9663d425049b3a796f23918d5eeb19f062c089e4ac08f275b824337d49c0a3eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logRelease files / pymoca-0.9.3-py3-none-any.whl
| Download URL | pymoca-0.9.3-py3-none-any.whl |
|---|---|
| Size | 113.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e765e95471522987f68634625c3d47d806fd0dd198c16b8e53f66bd2008aa684
|
|
BLAKE2b-256 checksum How to use checksums |
db5a495956dda2b061dcaebc761e99b2ff478332fb027a40216b975677fa3fff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency log