.ModelicaReference.Annotations.absoluteValue

Information

A simple type or component of a simple type may have the annotation absoluteValue. Note that this is only relevant for components of a few specific types.

If false, then the variable defines a relative quantity, and if true an absolute quantity.

Syntax

   annotation"(" absoluteValue "=" ( false | true ) ")

Description

When converting between units (in the user-interface for plotting and entering parameters), the offset must be ignored, for a variable defined with annotation absoluteValue = false.

Example usage

This annotation is used in the Modelica Standard Library for example in Modelica.SIunits for the type definition TemperatureDifference.


Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39