Correcting bug in models._ConcentrationModelBase (wrong value of concentration_limit when no one is present, for non-zero atmospheric concentration)

This commit is contained in:
Nicolas Mounet 2022-12-15 17:03:12 +01:00 committed by Luis Aleixo
parent dc12ee3359
commit 2a481c1500

View file

@ -1001,7 +1001,7 @@ class _ConcentrationModelBase:
dependence has been solved for.
"""
if not self.population.person_present(time):
return 0.
return self.atmosphere_concentration()/self.normalization_factor()
V = self.room.volume
RR = self.removal_rate(time)