WOLFRAM SYSTEMMODELER

Abs

Output the absolute value of the input

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Math.Abs"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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 (1)

generateEvent

Value: false

Type: Boolean

Description: Choose whether events shall be generated

Connectors (2)

u

Type: RealInput

Description: Connector of Real input signal

y

Type: RealOutput

Description: Connector of Real output signal

Used in Components (1)

RectifiedMean

Modelica.Blocks.Math

Calculate rectified mean over period 1/f