- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Total Simulation Time - Possible to...
Page Start Prev 1 Next End
Total Simulation Time - Possible to set in source code?
Total Simulation Time - Possible to set in source code?
Nov-20-19 13:18:59
Is it possible to set the total simulation time in the source code and not via the simulation settings? The simulation should run until a certain value has been reached, for example when you threw a ball in the air the simulation should stop when it hits the ground.
Re: Total Simulation Time - Possible to set in source code?
Nov-20-19 14:44:56
- sjoelund.se
- 1700 Posts
Re: Total Simulation Time - Possible to set in source code?
Nov-20-19 15:18:49
You can also call terminate() in the model if you want to terminate the simulation when a certain condition is fulfilled, rather than at a fixed time point.
- perost
- 114 Posts
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Total Simulation Time - Possible to...
There are 0 guests and 0 other users also viewing this topic