WOLFRAM SYSTEM MODELER
SignOutput the sign of the input |
SystemModel["Modelica.Blocks.Math.Sign"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This blocks computes the output y as sign of the input u:
1 if u > 0 y = 0 if u == 0 -1 if u < 0
The Boolean parameter generateEvent decides whether Events are generated at zero crossing (Modelica specification before 3) or not.
generateEvent |
Value: false Type: Boolean Description: Choose whether events shall be generated |
---|
u |
Type: RealInput Description: Connector of Real input signal |
|
---|---|---|
y |
Type: RealOutput Description: Connector of Real output signal |
Modelica.Clocked.ClockSignals.Clocks.Rotational Event clock generating a clock tick each time an observed input angle changed for a rotational-interval given as variable input |