Deleted multiplication by 12 in peak

This commit is contained in:
Oriol Gavalda 2023-05-30 08:14:11 -04:00
parent 8dd6d4c235
commit 628f43ee78

View File

@ -92,7 +92,8 @@ class Results:
if value * appliances.density * thermal_zone.total_floor_area > peak_appliances: if value * appliances.density * thermal_zone.total_floor_area > peak_appliances:
peak_appliances = value * appliances.density * thermal_zone.total_floor_area peak_appliances = value * appliances.density * thermal_zone.total_floor_area
monthly_electricity_peak = [0.9 * peak_lighting + 0.7 * peak_appliances]*12 #todo:check with Pilar. Peak cannot be multiplied by 12. I deleted it. Is el. peak not saved in building?
monthly_electricity_peak = [0.9 * peak_lighting + 0.7 * peak_appliances]
conditioning_peak = [] conditioning_peak = []
for i, value in enumerate(building.heating_peak_load[cte.MONTH][cte.HEATING_PEAK_LOAD]): for i, value in enumerate(building.heating_peak_load[cte.MONTH][cte.HEATING_PEAK_LOAD]):
if cooling * building.cooling_peak_load[cte.MONTH][cte.COOLING_PEAK_LOAD][i] > heating * value: if cooling * building.cooling_peak_load[cte.MONTH][cte.COOLING_PEAK_LOAD][i] > heating * value: