modelInverseXRegularized

Test problem for function that replaces 1/x around the origin by a twice continuously differentiable function

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example tests the implementation of Buildings.Utilities.Math.Functions.inverseXRegularized.

Parameters

TypeNameDefaultDescription
Realdelta0.5Small value for approximation
RealdeltaInv1/deltaInverse value of delta
Reala-15*deltaInvPolynomial coefficient
Realb119*deltaInv^2Polynomial coefficient
Realc-361*deltaInv^3Polynomial coefficient
Reald534*deltaInv^4Polynomial coefficient
Reale-380*deltaInv^5Polynomial coefficient
Realf104*deltaInv^6Polynomial coefficient

Components

TypeNameDefaultDescription
RealxIndependent variable
RealyFunction value
RealxInvFunction value
Realdy_dtFirst derivative of y with respect to t
Reald2y_dt2Second derivative of y with respect to t

Revisions

  • March 8, 2013, by Michael Wetter:
    First implementation.