.AixLib.Utilities.Math.Functions.smoothLimit

Information

Once continuously differentiable approximation to the limit(.,.) function. The output is bounded to be in [l, u].

Note that the limit need not be respected, such as illustrated in AixLib.Utilities.Math.Examples.SmoothMin.

Interface

function smoothLimit
  extends Modelica.Icons.Function;
  input Real x "Variable";
  input Real l "Low limit";
  input Real u "Upper limit";
  input Real deltaX "Width of transition interval";
  output Real y "Result";
end smoothLimit;

Revisions


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