×
Menu
Index

6.1.16.1 Methods Defined Here

get() -> dictionary
Returns a dictionary containing the data for an air exchange.  The following fields are returned:
 
adjacent_condition_string
(string)
adjacent_condition_val
(int)  see below for values
adjacent_condition_val_from_template
(Bool)
max_flow_from_template
(Bool)
max_flows
(Dictionary of 4 floats, indexed by integer)  Represent the various flow conversions
name
(string)
offset_temperature
(float) Only present when adjacent_condition == 2
temperature_profile
(string) Profile ID, only present when adjacent_condition references a profile)
temperature_profile_from_template
(Bool)
type_val
(int) See below for values
units_strs
(Dictionary of strings, indexed by integer) String representations of units for max_flows
units_val
(int) See below for values
variation_profile
(string) Profile ID
variation_profile_from_template
(Bool)
 
Valid values for adjacent_condition_val (enum required for set function, see 6.1.2.3):
    1 = External air
    2 = External air + Offset Temperature
    3 = From adjacent room
    5 = Temperature from profile
 
Valid values for type_val (enum required for set function, see 6.1.2.3):
    0 = Infiltration
    1 = Natural Ventilation
    2 = Auxiliary Ventilation
 
Valid values for units_val (enum required for set function, see 6.1.2.3):
    0 = ach
    1 = l/s
    2 = l/s/m²
    3 = l/s/person
    4 = l/(s.m² façade)
 
set(dict)
Sets the room air exchange using a dictionary. Keys are the same as the get() dict, however 'name', 'type_val', 'type_str', 'units_strs', 'max_flows' and 'adjacent_condition_string' will be accepted but will not set values (Relevant enums required for set function, see 6.1.2.3, using int will result in an error).
 
'max_flow'(double) is an additional/optional key that sets the max flow value in the defined units type (units_val). This optiona takes the air exchange off template.