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

Set boundaries to iterations

Set boundaries to iterations

Hello,
I am using Dymola to simulate a complex thermodynamic system with time-independent variables. For some combinations of the input parameters, the solver can't converge to a solution. I have set reasonable first-guess values for the nonlinear iteration variables, as well as lower and upper bounds, using modifiers with this syntax:
e.g.  node_in1(h(start=538145, min=250000, max=800000))
These values appear correctly in the dsin file, but during the simulation the solver does not respect the bounds (for example, the last iteration value of node_in1.h before the system failed was negative).
I am using the 2016 version of Dymola, and the Dassl algorithm. Thanks in advance
Thank you in advance!

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