feature/upgrade_ep_to_23.2.0 #59

Merged
g_gutierrez merged 10 commits from feature/upgrade_ep_to_23.2.0 into main 2024-01-22 08:34:48 -05:00
Showing only changes of commit 383a480f65 - Show all commits

View File

@ -370,7 +370,7 @@ class Idf:
return return
self._idf.newidfobject(self._ZONE, Name=name, Volume=thermal_zone.volume) self._idf.newidfobject(self._ZONE, Name=name, Volume=thermal_zone.volume)
self._add_heating_system(thermal_zone, name) 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): def _add_thermostat(self, thermal_zone):
thermostat_name = f'Thermostat {thermal_zone.usage_name}' 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') Zone_Return_Air_Node_or_NodeList_Name=f'{zone_name} Return Node List')
def _add_nodelist_system(self, thermal_zone, zone_name): def _add_nodelist_system(self, thermal_zone, zone_name):
self._idf.newidfobject(self._NODE_LIST, self._idf.newidfobject(self._NODE_LIST, Name=f'{zone_name} Inlet Node List',Node_1_Name='Node 1')
Name=f'{zone_name} Inlet Node List',
Node_Name='Node 2')
self._idf.newidfobject(self._NODE_LIST, self._idf.newidfobject(self._NODE_LIST,
Name=f'{zone_name} Return 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): def _add_occupancy(self, thermal_zone, zone_name):
number_of_people = thermal_zone.occupancy.occupancy_density * thermal_zone.total_floor_area 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_schedules(usage, 'Activity Level', _new_schedules)
self._add_zone(thermal_zone, building.name) self._add_zone(thermal_zone, building.name)
self._add_heating_system(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_infiltration(thermal_zone, building.name)
self._add_ventilation(thermal_zone, building.name) self._add_ventilation(thermal_zone, building.name)
self._add_occupancy(thermal_zone, building.name) self._add_occupancy(thermal_zone, building.name)