Correct shading object selection and idd file

This commit is contained in:
Guille Gutierrez 2024-07-10 11:55:13 +02:00
parent 446c7fa4ce
commit 998df80b63

View File

@ -514,7 +514,7 @@ class Idf:
for building in self._city.buildings:
for internal_zone in building.internal_zones:
if internal_zone.thermal_zones_from_internal_zones is None:
self._add_shading(building) # if the building has no archetype use it as shadow object
self._target_buildings.remove(building.name)
continue
for thermal_zone in internal_zone.thermal_zones_from_internal_zones:
for thermal_boundary in thermal_zone.thermal_boundaries: