Forced types in attributes

This commit is contained in:
Pilar 2021-09-14 13:46:47 -04:00
parent a3482c5812
commit 14e78ad06b
2 changed files with 1 additions and 14 deletions

View File

@ -594,19 +594,6 @@ class ThermalDemandDynamicSimulation:
for internal_gain in usage_zone.internal_gains:
convective_part += internal_gain.average_internal_gain * internal_gain.convective_fraction
radiative_part += internal_gain.average_internal_gain * internal_gain.radiative_fraction
ventilation_schedule = usage_zone.ventilation_schedule
set_point_cooling = []
for value in usage_zone.cooling_schedule:
if value > 0:
set_point_cooling.append(value * usage_zone.cooling_setpoint)
else:
set_point_cooling.append(1000)
set_point_heating = []
for value in usage_zone.heating_schedule:
if value > 0:
set_point_heating.append(value * usage_zone.cooling_setpoint)
else:
set_point_heating.append(value * usage_zone.cooling_setback)
content[f'convective_part_{i_uz}'] = zeros
content[f'radiative_part_{i_uz}'] = zeros
content[f'infiltration_rate_{i_uz}'] = zeros

View File

@ -27,7 +27,7 @@ keep_sra_file = True
keep_insel_file = False
keep_weather_file = False
keep_ig_file = False
pickle_geometry = False
pickle_geometry = True
pickle_weather = False
pickle_construction = False
pickle_usage = False