The SIR or Kermack–McKendrick model is a classical approach in mathematical epidemiology to study the spread of infectious diseases. Here, you can explore how parameters like the effective contact rate affect social diffusion.
The whole population is separated into three stocks: Susceptible (S), Infected (I) and Removed (R). The Diffusion component is used to model social diffusion, e.g. spread by contact.
Classical epidemic model by Kermack and McKendrick.
For an initial population size of 1 million with 1 person initially infected, the peak of the infected curve is reached in 37 days. In this scenario, 90% of the population has been infected and moved to removed stock at the end of the epidemic.
Explore different scenarios by changing the simulation parameters.