remove commented code and debug prints

This commit is contained in:
Guille Gutierrez 2024-01-22 14:33:44 +01:00
parent e0e7daf64b
commit aa0f790d8e

View File

@ -622,23 +622,10 @@ class Idf:
_total_heat = (_occ.sensible_convective_internal_gain + _occ.sensible_radiative_internal_gain _total_heat = (_occ.sensible_convective_internal_gain + _occ.sensible_radiative_internal_gain
+ _occ.latent_internal_gain) / _occ.occupancy_density + _occ.latent_internal_gain) / _occ.occupancy_density
_new_schedules = self._create_constant_value_schedules('Activity Level', _total_heat) _new_schedules = self._create_constant_value_schedules('Activity Level', _total_heat)
print('add schedules')
self._add_schedules(usage, 'Activity Level', _new_schedules) self._add_schedules(usage, 'Activity Level', _new_schedules)
print('add zone')
self._add_zone(thermal_zone, building.name) self._add_zone(thermal_zone, building.name)
print('add heating system')
self._add_heating_system(thermal_zone, building.name) self._add_heating_system(thermal_zone, building.name)
print('add infiltration')
self._add_infiltration(thermal_zone, building.name) self._add_infiltration(thermal_zone, building.name)
# print('add ventilation')
# self._add_ventilation(thermal_zone, building.name)
# print('add occupancy')
# self._add_occupancy(thermal_zone, building.name)
# print('add lighting')
# self._add_lighting(thermal_zone, building.name)
# print('appliances')
# self._add_appliances(thermal_zone, building.name)
#print('dhw')
self._add_dhw(thermal_zone, building.name) self._add_dhw(thermal_zone, building.name)
if self._export_type == "Surfaces": if self._export_type == "Surfaces":
if building.name in self._target_buildings or building.name in self._adjacent_buildings: if building.name in self._target_buildings or building.name in self._adjacent_buildings: