.IDEAS.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 IDEAS.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-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos