OpenModelica / OMSimulator

The OpenModelica FMI & SSP-based co-simulation environment.
Other
71 stars 50 forks source link

use the DefaultExperiment settings from modeldescription.xml #1273

Closed arun3688 closed 11 months ago

arun3688 commented 11 months ago

Related Issues

https://github.com/OpenModelica/OMSimulator/issues/1269

Purpose

This PR checks If the DefaultExperiment tag provides values for --startTime, --stopTime, stepSize and --tolerance, they should be used as defaults, instead of the built-in ones. Of course, values provided with the --startTime, --stopTime, and --tolerance parameters when calling OMSimulator from the command line should override these defaults.