mirror of
https://rs-loy-gitlab.concordia.ca/PMAU/DynamicBuildingSimulation.git
synced 2024-11-14 23:10:28 -05:00
Forced types in attributes
This commit is contained in:
parent
a3482c5812
commit
14e78ad06b
|
@ -594,19 +594,6 @@ class ThermalDemandDynamicSimulation:
|
||||||
for internal_gain in usage_zone.internal_gains:
|
for internal_gain in usage_zone.internal_gains:
|
||||||
convective_part += internal_gain.average_internal_gain * internal_gain.convective_fraction
|
convective_part += internal_gain.average_internal_gain * internal_gain.convective_fraction
|
||||||
radiative_part += internal_gain.average_internal_gain * internal_gain.radiative_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'convective_part_{i_uz}'] = zeros
|
||||||
content[f'radiative_part_{i_uz}'] = zeros
|
content[f'radiative_part_{i_uz}'] = zeros
|
||||||
content[f'infiltration_rate_{i_uz}'] = zeros
|
content[f'infiltration_rate_{i_uz}'] = zeros
|
||||||
|
|
2
main.py
2
main.py
|
@ -27,7 +27,7 @@ keep_sra_file = True
|
||||||
keep_insel_file = False
|
keep_insel_file = False
|
||||||
keep_weather_file = False
|
keep_weather_file = False
|
||||||
keep_ig_file = False
|
keep_ig_file = False
|
||||||
pickle_geometry = False
|
pickle_geometry = True
|
||||||
pickle_weather = False
|
pickle_weather = False
|
||||||
pickle_construction = False
|
pickle_construction = False
|
||||||
pickle_usage = False
|
pickle_usage = False
|
||||||
|
|
Loading…
Reference in New Issue
Block a user