add classroom_model
This commit is contained in:
parent
c7546cec40
commit
57e07da379
1 changed files with 28 additions and 1 deletions
|
|
@ -963,7 +963,34 @@ exposure_models = [MCExposureModel(
|
|||
)
|
||||
) for qid in (100, 60)]
|
||||
|
||||
print(np.mean(large_population_baselines[0].infection_probability()))
|
||||
classroom_model = MCExposureModel(
|
||||
concentration_model=MCConcentrationModel(
|
||||
room=models.Room(volume=160),
|
||||
ventilation=models.SlidingWindow(
|
||||
active=models.PeriodicInterval(period=120, duration=10),
|
||||
inside_temp=models.PiecewiseConstant((0, 24), (293,)),
|
||||
outside_temp=models.PiecewiseConstant((0, 24), (283,)),
|
||||
window_height=1.6, opening_length=0.6,
|
||||
),
|
||||
infected=MCInfectedPopulation(
|
||||
number=1,
|
||||
presence=models.SpecificInterval(((0, 2), (2.5, 4), (5, 7), (7.5, 9))),
|
||||
masked=False,
|
||||
virus=MCVirus(halflife=1.1, qID=60),
|
||||
expiratory_activity=2,
|
||||
samples=200000,
|
||||
breathing_category=3,
|
||||
)
|
||||
),
|
||||
exposed=models.Population(
|
||||
number=19,
|
||||
presence=models.SpecificInterval(((0, 2), (2.5, 4), (5, 7), (7.5, 9))),
|
||||
activity=models.Activity.types['Seated'],
|
||||
mask=models.Mask.types['No mask']
|
||||
)
|
||||
)
|
||||
|
||||
plot_concentration_curve(classroom_model)
|
||||
|
||||
#generate_cdf_curves_vs_qr(masked=False)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue