Absolute Value

Compute the absolute value

 Description The Absolute Value (or Abs) component computes the absolute-value, element-wise, of the input. The Signal Size parameter assigns the dimension of the input and output connectors.
 Equations ${y}_{j}=\left|{x}_{j}\right|$

Connections

 Name Description Modelica ID $u$ Real input vector u $y$ Real output vector y

Parameters

 Name Default Units Description Modelica ID Signal Size $1$ Dimension of input and output signals signalSize Generate Event $\mathrm{false}$ Choose whether events shall be generated generateEvent

 Modelica Standard Library The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.