This page was created as part of the hackathon #WirVsVirus from March 20 to 22, 2020, which was organized by the German government. This simulation is supposed to illustrate the importance of self-isolation and the reduction of personal contacts in order to contain the spread of the virus.
Feel free to play with the parameters to get an idea of the different scenarios. And most important of all: stay safe and at home!
How it works
First, the 847 nodes plus a number of undirected edges to make the graph a single connected component were generated randomly in a rectangle. They form the basis of the graph and are fixed throughout all simulations. For each simulation the following happens: According to the parameters set by the user, undirected edges are added randomly and random nodes are chosen for isolation. A first infected node (red) is chosen randomly, all other nodes are turned healthy (green). After each period of 3 days, all nodes adjacent to an infected one are turned infected themselves. An infected node dies after 12 days or after 15 days independently, each with half of the probability selected by the user (infection fatality parameter). Otherwise the node recovers (turns blue) and is immune henceforth. An isolated node cannot be infected.
Thanks to Lindgruen GmbH for being able to use their office for the development of this project.
Owner of the site
Maximilian Kaske (Lindgruen GmbH) Nils Engler (TU Berlin) Fabian Bittl (TU Berlin)