Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Two stop times?

Two stop times?

I have a variable Var1 that I plot until a specified stop time,say StopTime1.  My question is that whether it is possible to add a second stomTime2 (i.e StopTime2 = StopTime1 + deltaTime) so that the value Var1 at  StopTime1 and up to StopTime2 will be constant (plot as straight line between this time range).  Just like breaking the simulation time into two, the first part plotting as normal var1 function and the second part as a constant value which is equal to the value of Var1 at the end of the first part of the simulation.

There are 0 guests and 0 other users also viewing this topic
You are here: