modelTanh

Parameters

TypeNameDefaultDescription
Realfactor0.55Un- or smooth the tanh function according to: tanh((InSignal-SetValue)/factor): tanh(1)=0.7616 tanh(2)=0.9640, tanh(3)=0.9951
RealMax_value1Maximum value of the output signal
RealMin_value0Minimum value of the output signal
BooleanPositivSloopfalse

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputy
Modelica.Blocks.Interfaces.RealInputSetValueValue at which outsignal becomes 0.5
Modelica.Blocks.Interfaces.RealInputuInputSignal