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

Simulation stops when adding a step

Simulation stops when adding a step

Hi all;

I have a model that runs fine when the input variables are in steady state. However, if I add a step in one of them at T=20000, the simulation stops running way before the event (at T=300 for instance).

Has this happened to anyone before? What might be the problem?
I have tried everything and to my knowledge, there is no way to debug this.

Thanks in advance

G

Edited by: castilla13 - Jul-24-19 10:40:28

Re: Simulation stops when adding a step

What error message did OM give you?

Re: Simulation stops when adding a step

The error is related to a certain variable (a temperature) that takes a non-accepted value. This is because at T=300 the model starts behaving differently than when the inputs are constants! Once again I clarify, even though the step/ramp is supposed to happen at T=20000.

Re: Simulation stops when adding a step

So the question should be reformulated as: Why does my model behaves differently when one of the input variables is going to have a step at a later time?

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