erased print

This commit is contained in:
Pilar Monsalvete 2023-03-24 10:35:26 -04:00
parent 2d840a6e49
commit 0a35acc62f

View File

@ -74,14 +74,12 @@ class EpwWeatherParameters:
for building in self._city.buildings: for building in self._city.buildings:
building.ground_temperature[cte.MONTH] = ground_temperature building.ground_temperature[cte.MONTH] = ground_temperature
print(ground_temperature)
ground_temperature = {} ground_temperature = {}
for set in building.ground_temperature[cte.MONTH]: for set in building.ground_temperature[cte.MONTH]:
temperature = 0 temperature = 0
for value in building.ground_temperature[cte.MONTH][set]: for value in building.ground_temperature[cte.MONTH][set]:
temperature += value / 12 temperature += value / 12
ground_temperature[set] = [temperature] ground_temperature[set] = [temperature]
print(ground_temperature)
building.ground_temperature[cte.YEAR] = ground_temperature building.ground_temperature[cte.YEAR] = ground_temperature
if cte.HOUR in building.external_temperature: if cte.HOUR in building.external_temperature:
del building.external_temperature[cte.HOUR] del building.external_temperature[cte.HOUR]