'abs()'abs() |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Absolute value of Real or Integer variable.
abs(v)
Is expanded into "noEvent(if v ≥ 0 then v else -v)". Argument v needs to be an Integer or Real expression.
abs({-3, 0, 3}) = {3, 0, 3}