WOLFRAM SYSTEM MODELER

thermoRoot

Square root function with linear interpolation near 0

Wolfram Language

In[1]:=
SystemModel["Hydraulic.Utilities.thermoRoot"]
Out[1]:=

Information

Function of a square root with linear interpolation near 0. This function is used in the flow models to increase numerical stability.

Syntax

  • thermoRoot(x)
  • thermoRoot(x,deltax)

Acknowledgments

This function originates from ThermoFluid. It has been modified by Andreas Idebrant, Wolfram MathCore AB.

Syntax

y = thermoRoot(x, deltax)

Inputs (2)

x

Type: Real

Description: Root argument

deltax

Default Value: 0.01

Type: Real

Description: Interpolation interval near 0

Outputs (1)

y

Type: Real