Sra step repaired. Wall changed to WallSurface in simplified_radiosity_algorithm.py. A decision on the internal names of the surfaces must be also taken (not yet).

This commit is contained in:
Pilar 2021-05-28 11:53:22 -04:00
parent 4650c3fa47
commit 383a397719

View File

@ -23,10 +23,10 @@ class Helper:
""" """
array = [] array = []
for i in range(0, 12): for i in range(0, 12):
days_of_month = cal.monthrange(2015, i+1) days_of_month = cal.monthrange(2015, i+1)[1]
total_hours = days_of_month * 24 total_hours = days_of_month * 24
array = np.concatenate((array, np.full(total_hours, i + 1))) array = np.concatenate((array, np.full(total_hours, i + 1)))
self._month_hour = pd.DataFrame(array, columns=cte.MONTH) self._month_hour = pd.DataFrame(array, columns=[cte.MONTH])
return self._month_hour return self._month_hour
def get_mean_values(self, values): def get_mean_values(self, values):