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 Annex60.Utilities.Math.Examples.SmoothMin.
function smoothLimit 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;
smoothOrder = 1
.