Air Exchange

class iesve.AirExchange

Bases: object

Represents Air Exchange template data for the following:

  • Infiltration

  • Natural Ventilation

  • Auxiliary Ventilation


get() dict

Returns a dictionary containing the data for an air exchange. The following fields are returned:

Key

Value

adjacent_condition_string

(str)

adjacent_condition_val

(int) see iesve.AdjacentCondition_type for values

max_flow

(float)

name

(str)

offset_temperature

(float)

temperature_profile

(str) profile ID

type_str

(str) ‘Infiltration’, ‘Natural Ventilation’, or

‘Auxiliary ventilation’

type_val

(int) see iesve.AirExchange_type for values

units_str

(str) ‘ach’, ‘l/s’, ‘l/s/m²’, ‘l/s/person’, ‘l/(s.m² fac)’

units_val

(int) see iesve.AirChange_unit for values

variation_profile

(str) profile ID


set(data: dict)

Set the air exchange using a dictionary. Keys are the same as the get() dict.

Note ‘type_str’, ‘units_str’, and ‘adjacent_condition_string’ will be accepted but will not set.

Relevant enums required for set function, see below, using int will result in an error


adjacent_condition: AdjacentCondition_type

adjacent condition property. Modifiable.


air_change_unit: AirChange_unit

airchange flow unit property. Modifiable


exchange_type: AirExchange_type

airchange type property. Modifiable.


max_flow: float

Max airchange rate. Modifiable. Units are set in ‘air_change_unit’ property


name: str

Descriptive string


offset_temperature: float | None

air offset temperature. Modifiable.

Will return None if adjacent condition is not ‘external_air_and_offset_temp’ Value between 0 and 20000 when modifying


temperature_profile_id: str | None

temperature profile id. Modifiable. Will return None if adjacent condition is not ‘temperature_from_profile’.

Note: Make sure to use an ID that exists, as value will not be verified.


variation_profile_id: str

variation profile id property. Modifiable. Note: Make sure to use an ID that exists, as value will not be verified



Enums

class iesve.AirExchange_type(*values)

Bases: IntEnum


infiltration = 0


mechanical_ventilation = 2


natural_ventilation = 1



class iesve.AirChange_unit(*values)

Bases: IntEnum


ac_per_h = 0


l_per_s = 1


l_per_s_m2_facade = 4


l_per_s_per_m2 = 2


l_per_s_per_person = 3



class iesve.AdjacentCondition_type(*values)

Bases: IntEnum


external_air = 1


external_air_and_offset_temp = 2


from_adjacent_room = 3


temperature_from_profile = 5