API Reference ducting

ducting

PHX ventilation duct distribution objects.

Source: PHX/ducting.py


PhxDuctSegment

An individual duct segment with geometry, cross-section, and insulation properties.

Properties

PropertyTypeDescription
lengthSegment length derived from the line geometry (m).
diameter_mmReturn the diameter in MM.
height_mmReturn the height in MM.
width_mmReturn the width in MM.
insulation_thickness_mmReturn the insulation-thickness in MM.

PhxDuctElement

A duct run composed of one or more PhxDuctSegment objects.

Properties

PropertyTypeDescription
quantityAlways 1 for a single duct element.
segmentsAll duct segments in this element.
length_mTotal duct length across all segments (m).
diameter_mmLength-weighted average diameter across all segments (mm).
height_mmLength-weighted average height for rectangular ducts (mm). 0.0 if round.
width_mmLength-weighted average width for rectangular ducts (mm). 0.0 if round.
insulation_thickness_mmLength-weighted average insulation thickness (mm).
insulation_conductivity_wmkLength-weighted average insulation conductivity (W/mK).
duct_shapeReturn 1 for round duct, 2 for rectangular duct.
is_reflectiveTrue if any segment has reflective insulation facing.
assigned_vent_unit_idsList of ventilation unit IDs this duct element is assigned to.

Methods

add_segment(_s)

Add a duct segment to this element.

ArgTypeDescription
_sThe duct segment to add.