lbl-srg / modelica-buildings

Modelica Buildings library
251 stars 156 forks source link

Generate list of example models for OCT #2660

Open mwetter opened 2 years ago

mwetter commented 2 years ago

This issue is to create a branch with a collection of example models that can be used to test the OCT license protection mechanism.

mwetter commented 2 years ago

The branch name is issue2660_OCTExamples.

The test models are in the package https://github.com/lbl-srg/modelica-buildings/tree/issue2660_OCTExamples/OCTExamples, and the models in OCTExamples can be considered as a user-library.

The file https://github.com/lbl-srg/modelica-buildings/blob/issue2660_OCTExamples/OCTExamples/models.txt lists all models in the OCTExamples library that can be simulated. To translate all of these models, run

./runOCTExamples.sh

which will read OCTExamples/models.txt line by line and invoke jm_ipython.sh and the provided script jmodelica.py.