From e24d403a51f621c12bfe25ea9a35c41b5ecb3c1c Mon Sep 17 00:00:00 2001 From: markus Date: Tue, 2 Feb 2021 13:02:20 +0100 Subject: [PATCH] add specific model for buonanno comparison --- cara/montecarlo.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/cara/montecarlo.py b/cara/montecarlo.py index 58b0932a..eb05a576 100644 --- a/cara/montecarlo.py +++ b/cara/montecarlo.py @@ -362,6 +362,24 @@ baseline_mc_exposure_model = MCExposureModel( ) +buonanno_exposure_model = MCExposureModel( + concentration_model=MCConcentrationModel( + room=models.Room(volume=800), + ventilation=models.AirChange(active=models.PeriodicInterval(period=120, duration=120), + air_exch=0.5), + infected=BuonannoSpecificInfectedPopulation(virus=MCVirus(halflife=1.1), + samples=1) + ), + exposed=models.Population( + number=1, + presence=models.SpecificInterval(((0, 2),)), + activity=models.Activity.types['Light activity'], + mask=models.Mask.types['No mask'] + ) +) + +durations = tuple(np.linspace(0, 120, 10)) + models = [ MCExposureModel( concentration_model=MCConcentrationModel(