Table 3.
When a Compartment object instance does not specify a value for the attribute units, but does specify a value for spatialDimensions, a value for units is inherited from the enclosing Model instance according to the rules listed above. The left-hand column indicates the value of the compartment’s spatialDimensions attribute, and the middle column indicates the attribute on Model whose value should be used in that case. The right-hand column lists the kinds of units recommended for use in each case.
| Value of attribute spatialDimensions | Attribute of Model used for inheriting the unit | Recommended candidate units |
|---|---|---|
| “ 3” | volumeUnits | units of volume, or dimensionless |
| “ 2” | areaUnits | units of area, or dimensionless |
| “ 1” | lengthUnits | units of length, or dimensionless |
| other | no units inherited | no specific recommendations |