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:
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user