From 812d8d06d29458141c737b7cdd5857e3263ffeb4 Mon Sep 17 00:00:00 2001 From: jgavalda Date: Fri, 24 Mar 2023 08:10:47 -0400 Subject: [PATCH] Schedule appliances added First trial of adding factor to change from multizone to unizone. Commented. --- hub/exports/building_energy/idf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hub/exports/building_energy/idf.py b/hub/exports/building_energy/idf.py index f9a02ee2..2d3289ae 100644 --- a/hub/exports/building_energy/idf.py +++ b/hub/exports/building_energy/idf.py @@ -341,7 +341,9 @@ class Idf: fraction_radiant = thermal_zone.lighting.radiative_fraction fraction_visible = 0.3 method = 'Watts/Area' - watts_per_zone_floor_area = thermal_zone.lighting.density + # todo: check the value of the factor to increase the density for the change of multizone to unizone + factor_size = 1 # thermal_zone.total_floor_area/self.internal_zone.area + watts_per_zone_floor_area = thermal_zone.lighting.density*factor_size fraction_replaceable = 1 subcategory = f'ELECTRIC EQUIPMENT#{zone_name}#GeneralLights' @@ -437,6 +439,7 @@ class Idf: self._add_schedules(usage, 'Heating thermostat', thermal_zone.thermal_control.heating_set_point_schedules) self._add_schedules(usage, 'Cooling thermostat', thermal_zone.thermal_control.cooling_set_point_schedules) self._add_schedules(usage, 'Lighting', thermal_zone.lighting.schedules) + self._add_schedules(usage, 'Appliances', thermal_zone.appliances.schedules) self._add_people_activity_level_schedules(thermal_zone)