forked from fran-jo/ScriptMEE
MaximeBaudette/ScriptMEE
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Script running with Python 2.7.x Dependencies - matplolib - numpy - h5 - ompython Structure of the project 1. ROOT_FOLDER/ 2. ROOT_FOLDER/config/ 3. ROOT_FOLDER/models/ 4. ROOT_FOLDER/src/classes/ 5. ROOT_FOLDER/src/data/ 6. ROOT_FOLDER/src/script/ Folder 2) stores .properties files with information about: a) the models to simulate, b) basic configuration for compilers Folder 3) contains .properties files with the names of variables that need to be stored and plotted i.e. smib2lwfault_varList.properties Folder 6) contains the three main scripts of the project simulationDY.py for simulations using Dymola compiler simulationJM.py for simulations using JModelica compiler (does not work - in development) simulationOMC.py for simulations using OpenModelica compiler Each script need three input files, in this order: simParametersXX.properties simConfigurationXX.properties <nameModel>_varList.properties Selection of signals from h5 the structure of the files is modelname as group two dataset per component (_items, _values) when selecting a signal the user will give the complete name of the signal i.e. n44.gen1.v with modelname, load group with component name, load corresponding pair of dataset with signal name (componentname.value), select the signal (values)
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 99.2%
- Modelica 0.8%