- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » how to utilize “terminate”?
Page Start Prev 1 Next End
how to utilize “terminate”?
how to utilize “terminate”?
Apr-16-12 11:40:07
in the “MoonLanding” example,
“when apollo.altitude < 20 then
terminate("The moon lander touches the ground of the moon");
end when;”
but the simulation result is not expected,the altitude is smaller than 0.
could someone tell me why?
Re: how to utilize “terminate”?
Apr-16-12 13:15:27
As far as I know, OpenModelica only handles assertions, not terminate
- sjoelund.se
- 1700 Posts
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » how to utilize “terminate”?
There are 0 guests and 0 other users also viewing this topic