Units

By default all profiles are evaluated in metric units. IP can be used by explicitly setting the ‘units’ class attribute of the profile.
The following modulating profile demonstrates how unit sets are specified as part the profile class definition.

The class attribute ‘units’ is set to IP on line 8, therefore, all quantities accessed via the profile context item will return values in IP units. In this case, context.ta will represent a temperature value in Fahrenheit.
 
For absolute profiles, the return value must also respect the unit set specified in the profile class