For blinds and MacroFlo opening types we have profiles associated with a wall or more generally a surface in the model. The wall may be an internal partition wall, in which case “context.surface.internal” will return true.
The variable “context.surface.space” return the main room entity associated with the surface. The air temperature can then be obtained by “context.surface.space.ta”, the room data variables are all accessible. If the surface is inside the building the adjacent space is also defined and can be accessed using the “context.surface.adjacent_space” variable. If the surface is on the building envelop the “adjacent_space” item is not valid.
Variable
Description
Metric unit
IP unit
context.surface.space
Primary room associated with the surface.
context.surface.adjacent_space
Secondary room associated with the surface, if internal surface.
context.surface.internal
Returns true if internal surface, ie surface has a room on both sides.
bool
bool
context.surface.on_envelope
Returns true if surface forms part of the building envelop