Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
Reported by otter on 17 Oct 2010 08:05 UTC
In several examples obviously unnecessary nonlinear equation systems occur with the Modelica.Fluid.Sources FixedBoundary, Boundary_pT, Boundary_ph. This is the case, if e.g., "p,T,X" is given, but the states of the medium are "p,h,X". This is especially critical for two-phase media because here mixed systems of non-linear algebraic equations occur.
This should be fixed by useing appropriate "setState_xxx" calls to compute the medium states from the given boundary conditions. By this, specialized nonlinear solvers inside the setState_xxx functions are used to compute the state and not he generic nonlinear solver of the tool.
Reported by otter on 17 Oct 2010 08:05 UTC In several examples obviously unnecessary nonlinear equation systems occur with the Modelica.Fluid.Sources FixedBoundary, Boundary_pT, Boundary_ph. This is the case, if e.g., "p,T,X" is given, but the states of the medium are "p,h,X". This is especially critical for two-phase media because here mixed systems of non-linear algebraic equations occur.
This should be fixed by useing appropriate "setState_xxx" calls to compute the medium states from the given boundary conditions. By this, specialized nonlinear solvers inside the setState_xxx functions are used to compute the state and not he generic nonlinear solver of the tool.
Migrated-From: https://trac.modelica.org/Modelica/ticket/440