From 383a480f65fad55ff98b5e551c8373a01f3e1ea7 Mon Sep 17 00:00:00 2001 From: jgavalda Date: Fri, 17 Nov 2023 08:13:53 -0500 Subject: [PATCH] Nodelist working --- hub/exports/building_energy/idf.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/hub/exports/building_energy/idf.py b/hub/exports/building_energy/idf.py index 5696119a..3def6344 100644 --- a/hub/exports/building_energy/idf.py +++ b/hub/exports/building_energy/idf.py @@ -370,7 +370,7 @@ class Idf: return self._idf.newidfobject(self._ZONE, Name=name, Volume=thermal_zone.volume) self._add_heating_system(thermal_zone, name) - #self._add_nodelist_system(thermal_zone, name) + #self._add_nodelist_system (name) def _add_thermostat(self, thermal_zone): thermostat_name = f'Thermostat {thermal_zone.usage_name}' @@ -397,13 +397,10 @@ class Idf: Zone_Return_Air_Node_or_NodeList_Name=f'{zone_name} Return Node List') def _add_nodelist_system(self, thermal_zone, zone_name): - self._idf.newidfobject(self._NODE_LIST, - Name=f'{zone_name} Inlet Node List', - Node_Name='Node 2') - + self._idf.newidfobject(self._NODE_LIST, Name=f'{zone_name} Inlet Node List',Node_1_Name='Node 1') self._idf.newidfobject(self._NODE_LIST, Name=f'{zone_name} Return Node List', - Node_Name='Node 3') + Node_1_Name='Node 3') def _add_occupancy(self, thermal_zone, zone_name): number_of_people = thermal_zone.occupancy.occupancy_density * thermal_zone.total_floor_area @@ -565,7 +562,7 @@ class Idf: self._add_schedules(usage, 'Activity Level', _new_schedules) self._add_zone(thermal_zone, building.name) self._add_heating_system(thermal_zone, building.name) - #self._add_nodelist_system(thermal_zone, building.name) + self._add_nodelist_system(thermal_zone,building.name) self._add_infiltration(thermal_zone, building.name) self._add_ventilation(thermal_zone, building.name) self._add_occupancy(thermal_zone, building.name)