- Index
- » Programming
- » Modelica Language
- » Unit testing for Modelica - Models
Unit testing for Modelica - Models
Unit testing for Modelica - Models
In programming Unit-testing of the code is highly recommended.
In order to early detect errors in the code, certain test cases shall be written, to test every submodule.
I think this approach shall be used in modelling as well.
So I'm searching for recommendations on how to apply Unit testing to Modelica modells.
Basically I would need a tool to store lot's of test runs with different models and parameters for batch evaluation.
In each test run one or more acceptance criteria shall be defined. This might need evaluation of simulation data at the end of the run (post processing).
Any recommendations for a tool?
Thanks, Bernd
Re: Unit testing for Modelica - Models
https://libraries.openmodelica.org/bran … rview.html
https://github.com/OpenModelica/OpenMod … aryTesting
You need to run this on Linux. You can use reference result files to verify that the simulation generates expected trajectories
- sjoelund.se
- 1700 Posts
- Index
- » Programming
- » Modelica Language
- » Unit testing for Modelica - Models