SoftMaxGradual approach of a floor below which output can never fall |
![]() |
The output y is obtained as a smooth maximum with regard to the inputs u and u_min:
The following graph shows the results for u_min = 1.0
and k ∈ {10,5,3,2}
:
k |
Value: 4.7 Type: Real Description: Parameter to control the closeness to a hard maximum |
---|---|
useMaxOperator |
Value: false Type: Boolean Description: = true, if a regular 'hard' maximum is to be used |
![]() |
y |
Type: RealOutput |
---|---|---|
![]() |
u |
Type: RealInput Description: Input |
![]() |
u_min |
Type: RealInput Description: The floor |
![]() |
u_min_shifted |
Type: Gap |
---|---|---|
![]() |
u_shifted |
Type: Gap |
![]() |
switch |
Type: Switch |
![]() |
useHardMaxQ |
Type: ConstantConverterBoolean |
![]() |
softmin_shifted |
Type: Add_2 |
![]() |
hardMax |
Type: Max Description: Hard max operator |
![]() |
scaledInput |
Type: Gain |
![]() |
expInput |
Type: Exp |
![]() |
sumExp |
Type: Add_2 |
![]() |
logSum |
Type: Log |
![]() |
adjustmentFactor |
Type: Gain |
![]() |
expMin |
Type: Exp |
![]() |
scaledMin |
Type: Gain |
hardMax
and numerical stability issues in v2.1.0.