functionsmoothMax_splice
Once continuously differentiable approximation to the maximum function using splice
Information
Once continuously differentiable approximation to the max(.,.) function.
Note that the maximum need not be respected, such as illustrated in Buildings.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 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.