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

Restarting Mixed DAE system

Restarting Mixed DAE system

I am able to restart a Mixed DAE system (Discrete and Continuous variables, with clock events)

with the following command  (here plant is my compiled binary of the model being simulated)

Code:

   ./plant  --iif=oldResult.mat --iit=prevEndTime   -r=continued.mat  -override="startTime=prevEndTime, stopTime=newEndTime"

However, there is one issue. The clock tick count is reset to zero, and I could not get the timed events as desired.
My question is  as to why discrete variable information is not read back from form my oldResult.mat just as it does for continuous variables.

I would much appreciate if one can provide a simple example of I can achieve my goal.

There are 0 guests and 0 other users also viewing this topic