blockAbs
Output the absolute value of the input
Extends from Interfaces.SISO (Single Input Single Output continuous control block).
Information
This blocks computes the output y as absolute value of the input u:
y = abs( u );
The Boolean parameter generateEvent decides whether Events are generated at zero crossing (Modelica specification before 3) or not.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | generateEvent | false | Choose whether events shall be generated |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of Real output signal |