unit
element information items (referred to in this specification as
unit
elements) are element information items in the CellML namespace
with local name equal to unit
, and with a units
element as their parent.
- Every
unit
element MUST contain aunits
attribute information item in the empty namespace. The value of theunits
attribute MUST be a valid units reference, as defined in the :ref:`units-reference` section.- The
units
element inclusion digraph SHALL be a conceptual digraph defined for the purpose of the constraint in the next paragraph, and SHALL contain one node for everyunits
element in the CellML model. Theunits
element inclusion digraph SHALL contain an arc fromunits
element A tounits
element B if and only ifunits
element A contains aunit
element withunits
attribute value that is a units reference tounits
element B. - The value of the
units
attribute MUST NOT be such that theunits
element inclusion digraph contains one or more cycles.
- The
- A
unit
element MAY contain any of the following attribute information items in the empty namespace:- The
prefix
attribute. If present, the value of the attribute MUST meet the constraints specified in the :ref:`interpretation-of-units` section. - The
offset
attribute. If present, the value of the attribute MUST be a real number string. If the attribute is present and has value other than a real number string representing0
, then thisunit
element MUST NOT have any siblingunit
elements, and the value of theexponent
attribute, if present, MUST be a real number string representing1
. - The
multiplier
attribute. If present, the value of the attribute MUST be a real number string. - The
exponent
attribute. If present, the value of the attribute MUST be a real number string.
- The