Merge remote-tracking branch 'origin/master'

This commit is contained in:
Pilar 2023-03-07 15:04:35 -05:00
commit 960abd44e4

View File

@ -36,9 +36,12 @@ 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:
self._contents.append(
self.generate_meb_template(building, output_path, self._radiation_calculation_method,self._weather_format)
)
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)
)
self._export()
def _export(self):