API Reference io_addnl_vent

io_addnl_vent

Controller Class for the PHPP “Additional Vent” worksheet.

Source: PHX/io_addnl_vent.py


Spaces

Reads and writes ventilation space data in the PHPP ‘Additional Vent’ worksheet.

Attributes

AttributeTypeDescription
xl
shape

Methods

find_section_header_row(_row_start, _row_end)

Return the row number of the ‘Rooms’ section header.

ArgTypeDescription
_row_start
_row_end

find_section_first_entry_row()

Return the row number of the very first user-input entry row in the ‘Rooms’ section.

find_section_shape()

find_section_last_entry_row(_start_row, _read_length)

ArgTypeDescription
_start_row
_read_length

VentilatorDeviceUsage

Convenience class for organizing and cleaning the data.

Methods

classmethod from_phpp_data_row(row)

Create a new instance from a row of data from PHPP.

ArgTypeDescription
row

VentUnits

Reads and writes ventilation unit data in the PHPP ‘Additional Vent’ worksheet.

Attributes

AttributeTypeDescription
xl
shape

Properties

PropertyTypeDescription
section_header_rowReturn the row number of the ‘Area input’ section header.
section_first_entry_rowReturn the row number of the very first user-input entry row in the ‘Area input’ section.
section_last_entry_rowReturn the row number of the last user-input entry row in the ‘Area input’ section.

Methods

find_section_header_row(_row_start, _row_end)

Return the row number of the ‘Vent-Units’ section header.

ArgTypeDescription
_row_start
_row_end

find_section_first_entry_row()

Return the row number of the very first user-input entry row in the ‘Vent Unit’ section.

find_section_last_entry_row(_rows)

Return the row number of the very last user-input entry row in the ‘Vent Unit’ section.

ArgTypeDescription
_rows

find_section_shape()

get_vent_unit_num_by_phpp_id(_phpp_id)

Return the phpp-number of the Ventilation unit from the Additional Ventilation worksheet.

ArgTypeDescription
_phpp_id(str): The phpp style id name (ie: “01ud-MyVentUnit”) of the ventilation unit to find.

get_ventilation_units()

Return a tuple of VentilatorDeviceUsage objects from the PHPP worksheet.


VentDucts

Reads and writes ventilation duct data in the PHPP ‘Additional Vent’ worksheet.

Attributes

AttributeTypeDescription
xl
shape

Methods

find_section_header_row(_row_start, _row_end)

Return the row number of the ‘Rooms’ section header.

ArgTypeDescription
_row_start
_row_end

find_section_first_entry_row()

Return the row number of the very first user-input entry row in the ‘Ducts’ section.

find_section_last_entry_row(_rows)

Return the row number of the very last user-input entry row in the ‘Ducts’ section.

ArgTypeDescription
_rows

find_section_shape()


AddnlVent

IO Controller for the PHPP Additional Vent worksheet.

Attributes

AttributeTypeDescription
xl
shape
spacesSpaces
vent_unitsVentUnits
vent_ductsVentDucts

Methods

write_spaces(_spaces)

ArgTypeDescription
_spaces

write_vent_units(_vent_units)

ArgTypeDescription
_vent_units

write_vent_ducts(_vent_ducts)

ArgTypeDescription
_vent_ducts

activate_variants(variants_worksheet_name, vent_unit_range)

Link the Vent unit to the Variants worksheet.

ArgTypeDescription
variants_worksheet_name
vent_unit_range

get_ventilation_units()

Return a list of Ventilation Units found in the Worksheet.

read_space_data()

Return all of the Space data from the worksheet.