Skip to content

Confusion about when the window opens

Luis Aleixo requested to merge feature/windows_opening_interval into master

The model_generator considers the time the first person (either infected or exposed) arrives at the enclosed space. For example, if the exposed arrives at 8AM and the infected at 9AM, the simulation should consider the openings starting at 8AM, regardless the 24h of the day.

It fixes the issue reported here https://gitlab.cern.ch/cara/cara/-/issues/216.

Now, the concentration plot respects the duration/frequency of the windows' openings. (See example below, in which windows are opened 5 min each 45 min, and the exposed/infected arrives at the same time - 8AM - and the infected leaves at 8H45 and exposed at 9AM).

Before:

Screenshot_2021-11-12_at_16.43.25

After:

Screenshot_2021-11-12_at_16.42.43

At 8H15AM (where they diverge) the concentrations are exactly the same 0.68 virions/m^3.

Edited by Luis Aleixo

Merge request reports