A Python library containing a variety of scripts and functions for interaction with Modelica and TRANSFORM
Project description
ModelicaPy
A Python package containing a variety of scripts and functions for interaction with Modelica and TRANSFORM.
Contact
Scott Greenwood
License
This project is licensed under the UT-Battelle Open Source License (Permissive)
Copyright 2017, UT-Battelle, LLC
Installation and Use
https://pypi.org/project/modelicapy/ - pip version may be behind GitHub
pip install modelicapy
from modelicapy import cleanData as cln
For updating your pip install to the latest GitHub version:
pip install git+git://ADDRESS@master
or
pip install --upgrade git+git://ADDRESS@master
Brief Description of Files
- GraphViz folder - Generation of dependency graphs of a Modelica library.
- parametric.py - Generate parametric sweeps for simulations.
- read_dslog.py - Create a summary of the dslog file (e.g., pass/fail, simulation time, etc.).
- gen_dsin.py - Generate new dsin.txt file from dsin.txt or dsfinal.txt with modified simulation and/or variable parameters.
- regressiontest.py - Modified regressiontest.py file from BuildingsPy for regression testing on Windows
- cleanData.py - Returns data using a 'r=Reader' from buildingspy that has been cleaned of repeated values (i.e., due to events) and interpolates between values.
- getValues - Functions to return single values from components. Helpful for getting initial values. Includes Modelica formatted output. For use with TRANSFORM.
- createUnitScripts.py - autogenerate .mos files for use with buildingspy regression test.
- raven folder - contains an example of running FMU (via pyFMI) with RAVEN
- wordclouds folder - example playing with the Modelica conference proceedings and wordcloud
To Contribute...
You may report any issues with using the Issues button.
Contributions in the form of Pull Requests are always welcome.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
modelicapy-0.3.2.tar.gz
(52.3 kB
view hashes)
Built Distribution
modelicapy-0.3.2-py3-none-any.whl
(58.1 kB
view hashes)
Close
Hashes for modelicapy-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b3c3551f91db4de6d87fddeafe0998b9091f0016d402c8e4dfccab71c12aee3 |
|
MD5 | 94b2ea63282e64e9d1cfd047ee3aa0ba |
|
BLAKE2b-256 | 00a3cc771217e696e8c5eb003ccbb05df541213f286528964cc85c16534ba184 |