smoothMax

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

An implementation of Kreisselmeier Steinhauser smooth maximum

Syntax

y = smoothMax(x1, x2, dx)

Inputs (3)

x1

Type: Real

Description: First argument of smooth max operator

x2

Type: Real

Description: Second argument of smooth max operator

dx

Type: Real

Description: Approximate difference between x1 and x2, below which regularization starts

Outputs (1)

y

Type: Real

Description: Result of smooth max operator