Add code comment to the classes

This commit is contained in:
Guille Gutierrez 2020-06-10 11:08:38 -04:00
parent 6d1bfc1cdf
commit 650bb85cd1

View File

@ -41,7 +41,7 @@ class MonthlyEnergyBalance:
str(i + 1) + ' (sqm)' + '\r\n' str(i + 1) + ' (sqm)' + '\r\n'
total_internal_gains = 0 total_internal_gains = 0
for ig in usage_zone.internal_gains: for ig in usage_zone.internal_gains:
total_internal_gains += float(ig.average_internal_gain_w_m2) * \ total_internal_gains += float(ig.average_internal_gain) * \
(float(ig.convective_fraction) + float(ig.radiative_fraction)) (float(ig.convective_fraction) + float(ig.radiative_fraction))
file += str(total_internal_gains) + ' % BP(12) #2 Internal gains of zone ' + str(i + 1) + '\r\n' file += str(total_internal_gains) + ' % BP(12) #2 Internal gains of zone ' + str(i + 1) + '\r\n'
file += str(usage_zone.heating_setpoint) + ' % BP(13) #3 Heating setpoint temperature zone ' + \ file += str(usage_zone.heating_setpoint) + ' % BP(13) #3 Heating setpoint temperature zone ' + \