.BuildingSystems.Utilities.Math.Functions.BaseClasses.der_smoothTransition

Information

This function is the 1st order derivative of BuildingSystems.Utilities.Math.Functions.BaseClasses.smoothTransition.

Implementation

For efficiency, the polynomial coefficients a, b, c, d, e, f and the inverse of the smoothing parameter deltaInv are exposed as arguments to this function. Also, its derivative is provided in BuildingSystems.Utilities.Math.Functions.BaseClasses.der_2__smoothTransition.

Interface

function der_smoothTransition
  extends Modelica.Icons.Function;
  input Real x "Abscissa value";
  input Real delta(min = Modelica.Constants.eps) "Abscissa value below which approximation occurs";
  input Real deltaInv "Inverse value of delta";
  input Real a "Polynomial coefficient";
  input Real b "Polynomial coefficient";
  input Real c "Polynomial coefficient";
  input Real d "Polynomial coefficient";
  input Real e "Polynomial coefficient";
  input Real f "Polynomial coefficient";
  input Real x_der "Derivative of x";
  output Real y_der "Derivative of function value";
end der_smoothTransition;

Revisions


Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos