I would like to get the total number of people and total infiltration rate of all modelled rooms for each time step. However, the function `.get_results` does not work as expected. With the code below, I get the max of NoP as 0.4 while maxNoP_oneroom as 13.7. It seems that this function doesn't sum the NoP of all rooms for each time step. Instead of using `.get_results`, I sum the results of all rooms by myself (it is okay for me to do it from my side).
From the documentation, this function should return the model-level results. I just wonder if it is a bug. If not, how I can get the total number of people/total infiltration rate from this function?
Thanks!!!
Code: Select all
NoP = results_reader.get_results('Number of people','Number of people','z')
print(max(NoP))
NoP_oneroom = results_reader.get_room_results(room_id,'Number of people','Number of people','z')
print(max(NoP_oneroom))

