modelInverseXDerivativeCheck

Model that checks the correct implementation of the 1st order derivative of InverseXRegularized

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

Information

This model validates the implementation of IDEAS.Utilities.Math.Functions.inverseXRegularized and its first order derivative IDEAS.Utilities.Math.Functions.BaseClasses.der_smoothTransition. If the derivative implementation is wrong, the simulation will stop with an error.

Parameters

TypeNameDefaultDescription
Realgain4Gain for computing the mass flow rate
Realdelta0.7Smoothing coefficient

Components

TypeNameDefaultDescription
RealxIndependent variable
Realy_compComparison value
RealyDependent variable
RealerrIntegration error

Revisions