bugfix in heating peak load units

This commit is contained in:
Guille Gutierrez 2024-04-15 07:13:53 +02:00
parent 039a0f30ba
commit b52e66c263

View File

@ -449,7 +449,7 @@ class Building(CityObject):
monthly_values = PeakLoads(self).heating_peak_loads_from_methodology monthly_values = PeakLoads(self).heating_peak_loads_from_methodology
if monthly_values is None: if monthly_values is None:
return None return None
results[cte.MONTH] = [x * cte.WATTS_HOUR_TO_JULES for x in monthly_values] results[cte.MONTH] = monthly_values
results[cte.YEAR] = [max(monthly_values)] results[cte.YEAR] = [max(monthly_values)]
return results return results