memilio icon indicating copy to clipboard operation
memilio copied to clipboard

Allow simulation of non-compliance to mask regulations

Open mknaranja opened this issue 2 years ago • 3 comments

In the current implementation of face masks, we allow for persons deciding not to wear masks even if face masks are mandatory. However, in these cases they are rejected at the location "entrance" if masks are required. This means a 100% control of the decreed rules. We should also allow for simulations where people disobey and can enter the location nevertheless to simulate the additional virus dynamics due to these effects.

Originally posted by @mknaranja in https://github.com/DLR-SC/memilio/pull/471#discussion_r1033332901

mknaranja avatar Dec 09 '22 16:12 mknaranja

Also considered in #1039.

khoanguyen-dev avatar May 24 '24 08:05 khoanguyen-dev

This issue was not fully adressed in #1040, as there is currently no mechanism to allow Persons into a Location without mask compliance.

A possible solution would be to add a parameter to the world, that defines a chance that a person is admitted into a location although it wears an incorrect mask. Note that this may require additional changes to how we handle changes of masks in perform_mobility.

reneSchm avatar Sep 27 '24 13:09 reneSchm

We discussed that we can, for example, change Location::is_mask_required to return a boolean dependent on a percentage, similar to Person::is_compliant, that represents how likely it is that a person without a mask is allowed in. This could depend on a Location or Model parameter. This chance could additionally be used to influence the compliance. The idea here is that the person may adapt its compliance to not be rejected, so it mimics a "social pressure" to wear a mask.

We further decided to postpone solving this issue until we have some reference for this admission and/or compliance dynamic, since the proposed solution is not complicated, but we would have to guess the additional parameter(s).

reneSchm avatar Oct 01 '24 08:10 reneSchm