Homework 1: Disease Spreading

Basic model

Tracing of a random walk performed by an agent positioned in the middle of a 100*100 lattice. The walk was performed during 5000 iterations. A step over an edge of the lattice places the agent at the opposite edge, as can be seen from the vertical lines

Left chart shows individuals on lattice at the end of the simulation. Right chart shows the change in population over time. A random 10 percent of population was set to be initially infected, the rest were susceptible. Total population size was 15 individuals. Grid size was 10. \(β=0.2\), \(γ=0.005\). Diffusion rate \(=0.3\)