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 Buildings.Utilities.Math.Functions.inverseXRegularized and its first order derivative Buildings.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