functionsmoothLimit

Once continuously differentiable approximation to the limit function

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 Annex60.Utilities.Math.Examples.SmoothMin.

Inputs

TypeNameDefaultDescription
RealxVariable
ReallLow limit
RealuUpper limit
RealdeltaXWidth of transition interval

Outputs

TypeNameDefaultDescription
RealyResult

Revisions

  • March 12, 2015, by Filip Jorissen:
    Added documentation reference demonstrating overshoot.
  • February 5, 2015, by Filip Jorissen:
    Added smoothOrder = 1.
  • Sept 1, 2010, by Michael Wetter:
    Changed scaling to make sure that bounds are never violated.
  • July 14, 2010, by Wangda Zuo, Michael Wetter:
    First implementation.