bug fix
This commit is contained in:
parent
5ca4a802cd
commit
06532adbb9
@ -779,7 +779,10 @@ 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
|
||||||
|
try:
|
||||||
self._idf.set_wwr(wwr, construction='window_construction_1')
|
self._idf.set_wwr(wwr, construction='window_construction_1')
|
||||||
|
except ValueError:
|
||||||
|
self._idf.set_wwr(0, construction='window_construction_1')
|
||||||
|
|
||||||
def _add_windows_by_vertices(self, boundary):
|
def _add_windows_by_vertices(self, boundary):
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
Loading…
Reference in New Issue
Block a user