Once continuously differentiable approximation to the min(.,.)
function.
Note that the minimum need not be respected, such as illustrated in BuildingSystems.Utilities.Math.Examples.SmoothMin.
function smoothMin extends Modelica.Icons.Function; input Real x1 "First argument"; input Real x2 "Second argument"; input Real deltaX "Width of transition interval"; output Real y "Result"; end smoothMin;
spliceFunction
with regStep
.
This is for
issue 300.
smoothOrder = 1
.