smoothMax_der

Information

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

An implementation of Kreisselmeier Steinhauser smooth maximum

Syntax

dy = smoothMax_der(x1, x2, dx, dx1, dx2, ddx)

Inputs (6)

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

dx1

Type: Real

dx2

Type: Real

ddx

Type: Real

Outputs (1)

dy

Type: Real

Description: Derivative of smooth max operator