Utilities to set up and analyze Modelica simulation experiments
Project description
ModelicaRes is a free, open-source tool to manage Modelica simulations, interpret results, and create publishable figures. It is currently possible to
Auto-generate simulation scripts,
Browse data,
Perform custom calculations, and
Produce various plots and diagrams.
The figures are generated via matplotlib, which offers a rich set of plotting routines. ModelicaRes includes convenient functions to automatically pre-format and label some figures, like xy plots, Bode and Nyquist plots, and Sankey diagrams. ModelicaRes can be scripted or run from a Python interpreter with math and matrix functions from NumPy.
For more information, please see the main project site or the doc folder of the package for the full documentation and many examples. The development site is https://github.com/kdavies4/modelicares.
Installation
An installable copy of this package can be downloaded from the main project site or the PyPI page. After extracting the package, run the set up script (setup.py) from the base folder. On Windows, use the following command:
python setup.py install
On Linux, use:
sudo python setup.py install
The matplotlibrc file in the bin folder has some recommended revisions to matplotlib’s defaults. To use it, move or copy the file to the working directory or matplotlib’s configuration directory. See http://matplotlib.org/users/customizing.html for details.
Credits
The main author is Kevin Davies. Improvements and bug fixes have been provided by Arnout Aertgeerts, Kevin Bandy, Thomas Beutlich, Martin Sjölund, and Mike Tiller.
Third-party code has been included from:
Jason Grout (ArrowLine class),
Jason Heeris (efficient base-10 logarithm),
Richard Murray (python-control), and
Joerg Raedler (method to expand a Modelica variable tree - from DyMat).
License terms and development
ModelicaRes is published under the terms of the BSD license (see LICENSE.txt). Please share any modifications you make (preferably on a Github fork from https://github.com/kdavies4/ModelicaRes) so that others may benefit from your work. If you find a bug, please report it. If you have suggestions for improvements, please share them here.
See also
The following Python projects are related:
awesim: helps run simulation experiments and organize results
BuildingsPy: supports unit testing
DyMat: exports Modelica simulation data to comma-separated values (CSV), Gnuplot, MATLAB®, and Network Common Data Form (netCDF)
PyFMI: tools to work with models through the Functional Mock-Up Interface (FMI) standard
PySimulator: elaborate GUI; supports FMI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ModelicaRes-0.9.0.tar.gz
.
File metadata
- Download URL: ModelicaRes-0.9.0.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89577fafe75da2254523c72ef53a27c9e603881882269c5e37f2df64361a99e8 |
|
MD5 | 6f71d3391159141183734ac65a4c4962 |
|
BLAKE2b-256 | 11ac3b4c3393637697e451827f03d8b3b8a21189cf8e985711b12192defc5c60 |