honeybee_energy_ph.properties.materials.opaque module¶
Passive House properties for honeybee_energy.material.opaque.EnergyMaterial Objects
- exception honeybee_energy_ph.properties.materials.opaque.CellPositionError(msg)[source]¶
Bases:
ExceptionAn error for when a cell position is out of range.
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- args¶
- class honeybee_energy_ph.properties.materials.opaque.EnergyMaterialNoMassPhProperties(_host: EnergyMaterialNoMass | None = None)[source]¶
Bases:
object- duplicate(new_host: EnergyMaterialNoMass | None = None) EnergyMaterialNoMassPhProperties[source]¶
- classmethod from_dict(_input_dict: dict, _host: EnergyMaterialNoMass | None) EnergyMaterialNoMassPhProperties[source]¶
- class honeybee_energy_ph.properties.materials.opaque.EnergyMaterialPhProperties(_host: EnergyMaterial | None = None)[source]¶
Bases:
objectPassive House properties for EnergyMaterial objects.
- duplicate(new_host: EnergyMaterial | None = None) EnergyMaterialPhProperties[source]¶
- classmethod from_dict(_input_dict: dict, _host: EnergyMaterial | None) EnergyMaterialPhProperties[source]¶
- property base_material¶
- property base_materials: NoReturn¶
- property percentage_of_assembly: NoReturn¶
- class honeybee_energy_ph.properties.materials.opaque.EnergyMaterialVegetationPhProperties(_host: EnergyMaterialVegetation | None = None)[source]¶
Bases:
object- duplicate(new_host: EnergyMaterialVegetation | None = None) EnergyMaterialVegetationPhProperties[source]¶
- classmethod from_dict(_input_dict: dict[str, Any], _host: EnergyMaterialVegetation | None) EnergyMaterialVegetationPhProperties[source]¶
- class honeybee_energy_ph.properties.materials.opaque.PhDivisionCell(_row: int, _column: int, _hbe_material: EnergyMaterial)[source]¶
Bases:
objectA single cell in a PhLayerDivisionGrid.
- duplicate() PhDivisionCell[source]¶
Duplicate the cell.
- classmethod from_dict(_input_dict: dict[str, Any]) PhDivisionCell[source]¶
- class honeybee_energy_ph.properties.materials.opaque.PhDivisionGrid[source]¶
Bases:
objectA grid of PhDivisionCell to support ‘mixed’ materials.
The Cell grid is ordered from top-left to bottom-right:
| C0 | C1 | C2 | …|:---|:—:|:---:|:—:|:—: | R0 | 0,0 | 1,0 | 2,0 | … | R1 | 0,1 | 1,1 | 2,1 | … | R2 | 0,2 | 1,2 | 2,2 | …
- add_new_column(_column_width: float) None[source]¶
Add a new COLUMN to the grid with the given width.
- duplicate() PhDivisionGrid[source]¶
Duplicate the grid.
- classmethod from_dict(_input_dict: dict[str, Any]) PhDivisionGrid[source]¶
- get_base_material() EnergyMaterial | None[source]¶
Returns the ‘base’ material (the most common material in the grid, by area).
- get_cell(_column: int, _row: int) PhDivisionCell | None[source]¶
Get the PhDivisionCell at the given column and row position.
- get_cell_area(_column_num: int, _row_num: int) float[source]¶
Get the area of a specific cell in the grid by its column/row position.
- get_cell_height_m(_cell: PhDivisionCell) float[source]¶
Get the height (mm) of a specific cell.
- get_cell_material(_column_num: int, _row_num: int) EnergyMaterial | None[source]¶
Get the PhxMaterial for a specific cell in the grid by its column/row position.
- get_cell_width_m(_cell: PhDivisionCell) float[source]¶
Get the width (mm) of a specific cell.
- get_equivalent_conductivity() float[source]¶
Return an area-weighted average of the conductivities of all materials in the grid.
- set_cell_material(_column_num: int, _row_num: int, _hbe_material: EnergyMaterial) None[source]¶
Set the EnergyMaterial for a specific cell in the grid by its column/row position.
Cells are indexed by their column and row position stating from top-left:
| C0 | C1 | C2 | …|---|——|-----|—–|—- |R0 | 0,0 | 1,0 | 2,0 | … |R1 | 0,1 | 1,1 | 2,1 | … |R2 | 0,2 | 1,2 | 2,2 | …
- property cell_count: int¶
Return the total number of cells in the grid.
- property cells: List[PhDivisionCell]¶
Return the list of all the cells in the grid, sorted by row/column.
- property column_count: int¶
Return the number of columns in the grid.
- property column_widths: List[float]¶
Return the list of column widths.
- property is_a_steel_stud_cavity: bool¶
Check if the grid is a steel stud cavity by checking if the spacing is set.
- property row_count: int¶
Return the number of rows in the grid.
- property row_heights: List[float]¶
Return the list of row heights.