functionsmoothMax
Once continuously differentiable approximation to the maximum function
Extends from Modelica.Icons.Function.
Information
Once continuously differentiable approximation to the max(.,.) function.
Note that the maximum need not be respected, such as illustrated in IDEAS.Utilities.Math.Examples.SmoothMin.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x1 | First argument | |
| Real | x2 | Second argument | |
| Real | deltaX | Width of transition interval |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y | Result |
Revisions
-
March 15, 2016, by Michael Wetter:
ReplacedspliceFunctionwithregStep. This is for issue 300. -
March 12, 2015, by Filip Jorissen:
Added documentation reference demonstrating overshoot. -
February 5, 2015, by Filip Jorissen:
AddedsmoothOrder = 1. -
August 15, 2008, by Michael Wetter:
First implementation.