modelSoftMax

Gradual approach of a floor below which output can never fall

Extends from Interfaces.PartialConverters.SISO (Converter with single input and single output).

Information

The output y is obtained as a smooth maximum with regard to the inputs u and u_min:

Formula.svg

The following graph shows the results for u_min = 1.0 and k ∈ {10,5,3,2}:

Graph for u_min = 1.0
Graph.svg

Notes

  • The soft maximum is a special case of the generalized f-mean.

See also

SoftMin

Parameters

TypeNameDefaultDescription
Realk4.7Parameter to control the closeness to a hard maximum
Structural Parameters
BooleanuseMaxOperatorfalse= true, if a regular 'hard' maximum is to be used

Connectors

TypeNameDefaultDescription
Connectors.RealInputu (from SISO)Input
Interfaces.Connectors.RealInputu_minThe floor

Components

TypeNameDefaultDescription
RealOutputy (from SO)
Gapu_min_shifted
Gapu_shifted
Logical.Switchswitch
Logical.ConstantConverterBooleanuseHardMaxQ
Add_2softmin_shifted

Revisions

  • Introduced in v2.0.0.

  • Fixed hardMax and numerical stability issues in v2.1.0.