fixed bug in idf.py: window construction gave errors

This commit is contained in:
Pilar 2023-01-16 09:22:18 -05:00
parent 78449d83be
commit 4098550b1b

View File

@ -508,7 +508,7 @@ class Idf:
for surface in building.surfaces: for surface in building.surfaces:
if surface.type == cte.WALL: if surface.type == cte.WALL:
wwr = surface.associated_thermal_boundaries[0].window_ratio wwr = surface.associated_thermal_boundaries[0].window_ratio
self._idf.set_wwr(wwr, construction='glazing_1') self._idf.set_wwr(wwr, construction='window_construction_1')
def _add_windows_by_vertices(self, boundary): def _add_windows_by_vertices(self, boundary):
raise NotImplementedError raise NotImplementedError