Skip to content

Commit f01c736

Browse files
committed
fix(phpp): Update PHPP write DHW
1 parent 6fb40cf commit f01c736

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

PHX/to_PHPP/phpp_model/hot_water_piping.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,18 +106,20 @@ def create_xl_items(self, _sheet_name: str, _row_num: int) -> List[xl_data.XlIte
106106

107107
XLItemDHW = partial(xl_data.XlItem, _sheet_name)
108108
return [
109+
# -- Branch Piping
109110
XLItemDHW(
110-
self.create_range(_row_num + self.shape.branch_piping.input_rows_offset.diameter.row),
111+
self.create_range(_row_num + self.shape.branch_piping.input_rows_offset.diameter.row), # type: ignore
111112
sum(s.diameter * s.length for s in self.phx_pipe) / sum(s.length for s in self.phx_pipe),
112113
"M",
113114
self._get_target_unit('diameter')
114115
),
115116
XLItemDHW(
116-
self.create_range(_row_num + self.shape.branch_piping.input_rows_offset.total_length.row),
117+
self.create_range(_row_num + self.shape.branch_piping.input_rows_offset.total_length.row), # type: ignore
117118
sum(s.length for s in self.phx_pipe),
118119
"M",
119120
self._get_target_unit('total_length')
120121
),
122+
# -- Add Tapping Points
121123
XLItemDHW(
122124
self.create_range(_row_num + self.shape.branch_piping.input_rows_offset.num_taps),
123125
self.num_tap_points,

0 commit comments

Comments
 (0)