Skip if unknown

This commit is contained in:
Guille Gutierrez 2023-03-06 17:03:47 -05:00
parent 3a7dccff8c
commit 3b23e9ffd4

View File

@ -36,6 +36,9 @@ class InselMonthlyEnergyBalance(Insel):
file_name_out = building.name + '.out'
output_path = Path(self._path / file_name_out).resolve()
if building.internal_zones is not None:
for internal_zone in building.internal_zones:
if internal_zone.thermal_zones is None:
break
self._contents.append(
self.generate_meb_template(building, output_path, self._radiation_calculation_method,self._weather_format)
)