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

Rooting error

Rooting error

Hi,

I have been repeatedly having this error when adjusting certain parameters for my simulation (using Dymola 7.1).  At this point I cannot avoid it anymore and need to solve it to continue my work.

Does anyone have a clue as to how to approach this?

The following error was detected at time: 0.08644948974278317
The arguments x_min and x_max to OneNonLinearEquation.solve(..)
do not bracket the root of the single non-linear equation:
  x_min  = 200
  x_max  = 6000
  y_zero = 133830
  fa = f(x_min) - y_zero = 66313.2
  fb = f(x_max) - y_zero = 7.38427e+006
fa and fb must have opposite sign which is not the case
The stack of functions is:
Internal.solve_Unique'"16EACA28"'
Modelica.Media.Air.DryAirNasa.T_h_Unique'"13825900"'
Modelica.Media.Air.DryAirNasa.setState_phX_Unique'"15F37938"'
Modelica.Media.Air.DryAirNasa.setState_phX_Unique'"15F37938"'(volume1.medium.p, volume1.ports[1].h_outflow, volume1.ports[1].Xi_outflow)

Thank you,

Christian

Re: Rooting error

Unfortunately we're not Dymola experts.
Maybe you can ask this question on the Modelica forums:
https://modelica.org/users

Cheers,
Adrian Pop/

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