API Reference io_elec_non_res

io_elec_non_res

Controller Class for the PHPP “Electricity non-res” worksheet.

Source: PHX/io_elec_non_res.py


Lighting

Reads and writes lighting data in the PHPP ‘Electricity non-res’ worksheet.

Attributes

AttributeTypeDescription
xl
shape

Properties

PropertyTypeDescription
section_header_rowReturn the row number of the ‘Lighting’ section header.
section_first_entry_rowReturn the row number of the very first user-input entry row in the ‘Lighting’ section.
section_last_entry_rowReturn the row number of the last user-input entry row in the ‘Lighting’ section.
all_lighting_row_dataReturn a generator of all the row_nums and lighting rows in the Lighting worksheet.
used_lighting_row_numbersReturn a generator of all the row_nums that have data in the Lighting section.

Methods

find_section_header_row(_row_start, _row_end)

Return the row number of the ‘Lighting input’ 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 ‘Lighting input’ section.

find_section_last_entry_row(_start_row)

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

ArgTypeDescription
_start_row

get_lighting_row_data(_row_num)

Return the lighting row object for the given row number.

ArgTypeDescription
_row_num

set_lighting_power_density(_row_num, _power_density, _unit)

Set the lighting power density for the given row number.

ArgTypeDescription
_row_num
_power_density
_unit

ElecNonRes

IO Controller for the PHPP “Electricity non-res” worksheet.

Attributes

AttributeTypeDescription
xl
shape
lightingLighting