blockAbs

Output the absolute value of the input

Information

Block that outputs y = abs(u), where u is an Integer input.

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputuInput for absolute function
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyAbsolute value of the input

Revisions

  • January 3, 2017, by Michael Wetter:
    First implementation, based on the implementation of the Modelica Standard Library.