Utilities to set up and analyze Modelica simulation experiments
Project description
ModelicaRes
-----------
The goal of [ModelicaRes] is to provide an open-source tool to effectively
manage [Modelica] simulations, interpret results, and create publishable
figures. It is currently possible to
- Auto-generate simulation scripts,
- Run model executables with varying parameters,
- 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](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](http://pypi.python.org/pypi/ModelicaRes). To install the package,
first download and extract it. Then run the set up script
([setup.py](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](matplotlibrc) file in the base folder has some recommended
revisions to [matplotlib]'s defaults. To use it, copy or move 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. Kevin Bandy also helped in the development of
this package. Third-party code has been included
from Jason Grout
([ArrowLine](http://old.nabble.com/Arrows-using-Line2D-and-shortening-lines-td19104579.html)
class), Jason Heeris
([efficient base-10 logarithm](http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg14433.html)),
Richard Murray
([python-control](http://sourceforge.net/apps/mediawiki/python-control)), and
Joerg Raedler (method to expand a [Modelica] variable tree - from [DyMat]).
### License terms
[ModelicaRes] is published under the terms of the BSD license (see
[LICENSE.txt](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.
### See also
The [pysimulator], [BuildingsPy], [DyMat], and [awesim] projects provide related
[Python] modules. [pysimulator] includes an elaborate GUI and supports the
Functional Model Interface (FMI). [BuildingsPy] has a **Tester** class that can
be used for unit testing. [DyMat] has functions to export [Modelica] simulation
data to comma separated values (CSV), [Gnuplot](http://www.gnuplot.info/),
MATLAB®, and
[Network Common Data Form (netCDF)](http://www.unidata.ucar.edu/software/netcdf/).
[awesim] provides tools to help run simulation experiments and organize the
results.
[main project site]: http://kdavies4.github.io/ModelicaRes/
[ModelicaRes]: http://kdavies4.github.io/ModelicaRes/
[Modelica]: http://www.modelica.org
[Python]: http://www.python.org
[NumPy]: http://numpy.scipy.org
[matplotlib]: http://www.matplotlib.org
[DyMat]: http://www.j-raedler.de/projects/dymat/
[pysimulator]: https://code.google.com/p/pysimulator/
[BuildingsPy]: http://simulationresearch.lbl.gov/modelica/buildingspy/
[awesim]: https://github.com/saroele/awesim
-----------
The goal of [ModelicaRes] is to provide an open-source tool to effectively
manage [Modelica] simulations, interpret results, and create publishable
figures. It is currently possible to
- Auto-generate simulation scripts,
- Run model executables with varying parameters,
- 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](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](http://pypi.python.org/pypi/ModelicaRes). To install the package,
first download and extract it. Then run the set up script
([setup.py](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](matplotlibrc) file in the base folder has some recommended
revisions to [matplotlib]'s defaults. To use it, copy or move 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. Kevin Bandy also helped in the development of
this package. Third-party code has been included
from Jason Grout
([ArrowLine](http://old.nabble.com/Arrows-using-Line2D-and-shortening-lines-td19104579.html)
class), Jason Heeris
([efficient base-10 logarithm](http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg14433.html)),
Richard Murray
([python-control](http://sourceforge.net/apps/mediawiki/python-control)), and
Joerg Raedler (method to expand a [Modelica] variable tree - from [DyMat]).
### License terms
[ModelicaRes] is published under the terms of the BSD license (see
[LICENSE.txt](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.
### See also
The [pysimulator], [BuildingsPy], [DyMat], and [awesim] projects provide related
[Python] modules. [pysimulator] includes an elaborate GUI and supports the
Functional Model Interface (FMI). [BuildingsPy] has a **Tester** class that can
be used for unit testing. [DyMat] has functions to export [Modelica] simulation
data to comma separated values (CSV), [Gnuplot](http://www.gnuplot.info/),
MATLAB®, and
[Network Common Data Form (netCDF)](http://www.unidata.ucar.edu/software/netcdf/).
[awesim] provides tools to help run simulation experiments and organize the
results.
[main project site]: http://kdavies4.github.io/ModelicaRes/
[ModelicaRes]: http://kdavies4.github.io/ModelicaRes/
[Modelica]: http://www.modelica.org
[Python]: http://www.python.org
[NumPy]: http://numpy.scipy.org
[matplotlib]: http://www.matplotlib.org
[DyMat]: http://www.j-raedler.de/projects/dymat/
[pysimulator]: https://code.google.com/p/pysimulator/
[BuildingsPy]: http://simulationresearch.lbl.gov/modelica/buildingspy/
[awesim]: https://github.com/saroele/awesim
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
ModelicaRes-0.5.2.tar.gz
(1.6 MB
view details)
File details
Details for the file ModelicaRes-0.5.2.tar.gz
.
File metadata
- Download URL: ModelicaRes-0.5.2.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92a8416b11a8c9f23633f9c63de44bde83c863ec5506cb0c89d075b9baf5af60 |
|
MD5 | 974a54ebed923ddc8ce8e3325a6ff3ba |
|
BLAKE2b-256 | c4a32b7219417d7fac81965bff74a2abf7f2fdb70fdf7e97b5ac6382d6a0cba9 |