Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add direct simulation of contacts to the ABM #1086

Open
2 tasks done
DavidKerkmann opened this issue Aug 2, 2024 · 0 comments
Open
2 tasks done

Add direct simulation of contacts to the ABM #1086

DavidKerkmann opened this issue Aug 2, 2024 · 0 comments
Assignees
Labels
class::feature A feature to be implemented for some part of the software loc::backend This issue concerns the C++ backend implementation. model::abm This issue concerns any kind of agent-based model. prio::moderate The priority of this task is moderate.

Comments

@DavidKerkmann
Copy link
Member

Feature description

The ABM currently uses a contact based infection model with a cached exposure rate in each location which gives an expected number of infections per contact (per day). The expected number of contacts are then multiplied to this rate, resulting in the total number of expected infections (per day). This rate is passed to the exponential draw function.

In order to fully utilise the ABM, we should model contacts on a direct level, such that when a contact is performed, we can immediately use the contact's virus properties to compute infection probability. This further helps with tracing, as we then know the person that transmitted the virus.

Additional context

I suspect that the runtime will not be affected too much by this changes. Instead of iterating over all persons to add up their contributions to the exposure rate, we iterate over all infected persons and just perform their contacts. Contacts from non-infected to non-infected don't contribute anything to our simulation (contacts from infected to infected can probably also be neglected).

Checklist

  • Attached labels, especially loc:: or model:: labels.
  • Linked to project.
@DavidKerkmann DavidKerkmann added class::feature A feature to be implemented for some part of the software prio::moderate The priority of this task is moderate. loc::backend This issue concerns the C++ backend implementation. model::abm This issue concerns any kind of agent-based model. labels Aug 2, 2024
@xsaschako xsaschako self-assigned this Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
class::feature A feature to be implemented for some part of the software loc::backend This issue concerns the C++ backend implementation. model::abm This issue concerns any kind of agent-based model. prio::moderate The priority of this task is moderate.
Projects
Status: Next up 🆙
Development

No branches or pull requests

2 participants