WOLFRAM SYSTEM MODELER

regRoot2_utility

Interpolating with two 3-order polynomials with a prescribed derivative at x=0<br><br>This class is declared protected in <a href="Modelica.Fluid.Utilities.regRoot2.html">Modelica.Fluid.Utilities.regRoot2</a>

Wolfram Language

In[1]:=
SystemModel["Modelica.Fluid.Utilities.regRoot2.regRoot2_utility"]
Out[1]:=

Syntax

y = regRoot2_utility(x, x1, k1, k2, use_yd0, yd0)

Inputs (6)

x

Type: Real

x1

Type: Real

Description: Approximation of function abs(x) < x1

k1

Type: Real

Description: y = if x>=0 then sqrt(k1*x) else -sqrt(k2*|x|); k1 >= k2

k2

Type: Real

Description: y = if x>=0 then sqrt(k1*x) else -sqrt(k2*|x|))

use_yd0

Type: Boolean

Description: = true, if yd0 shall be used

yd0

Type: Real

Description: Desired derivative at x=0: dy/dx = yd0

Outputs (1)

y

Type: Real