.Buildings.Utilities.Math.Functions.smoothHeaviside

Information

Twice Lipschitz continuously differentiable approximation to the Heaviside(.,.) function.
Function is derived from a quintic polynomial going through (0,0) and (1,1), with zero first and second order derivatives at those points.
See Example Buildings.Utilities.Math.Examples.SmoothHeaviside.

Interface

function smoothHeaviside
  extends Modelica.Icons.Function;
  input Real x "Argument";
  input Real delta(min = Modelica.Constants.eps) "Parameter used for scaling";
  output Real y "Result";
end smoothHeaviside;

Revisions


Generated at 2024-12-04T19:25:49Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos