Exposing concentration_limit in ConcentrationModel
This commit is contained in:
parent
d0ef2f13c9
commit
8b1571dcf1
1 changed files with 7 additions and 0 deletions
|
|
@ -644,6 +644,13 @@ class ConcentrationModel:
|
|||
return k + self.virus.decay_constant + self.ventilation.air_exchange(
|
||||
self.room, self.next_state_change(time))
|
||||
|
||||
@cached()
|
||||
def concentration_limit(self, time: float) -> _VectorisedFloat:
|
||||
V = self.room.volume
|
||||
IVRR = self.infectious_virus_removal_rate(time)
|
||||
|
||||
return (self.infected.emission_rate(self.next_state_change(time))) / (IVRR * V)
|
||||
|
||||
@cached()
|
||||
def state_change_times(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue