Social Distancing - COVID-19 Spread

Social Distancing - COVID-19 Spread preview image

1 collaborator

Default-person Muaz Niazi (Author)

Tags

covid-19, epidemiology 

Tagged by Muaz Niazi over 5 years ago

covid19 

Tagged by Muaz Niazi over 5 years ago

social distancing  

Tagged by Muaz Niazi over 5 years ago

social distancing< 

Tagged by Muaz Niazi over 5 years ago

Model group COSMOSE | Visible to everyone | Changeable by the author
Model was written in NetLogo 6.1.1 • Viewed 1115 times • Downloaded 43 times • Run 0 times
Download the 'Social Distancing - COVID-19 Spread' modelDownload this modelEmbed this model

Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)


WHAT IS IT?

A simple model to understand how social distancing might work for epidemics such as COVID 19 and others

HOW IT WORKS

Each patch infects 3 patches in its neighbors.

HOW TO USE IT

Change social distancing. Click setup and go. See how the model evolves.

THINGS TO NOTICE

With more social distancing, epidemic spread can be curtailed. Kindly note that this is not an exact replication and the model just shows one particular aspect of the epidemic

CREDITS AND REFERENCES

(c) 2020 Muaz Niazi www.niazilab.com March 21, 2020

Comments and Questions

Please start the discussion about this model! (You'll first need to log in.)

Click to Run Model

to setup
  ca
  reset-ticks
  ask patches
  [
    set pcolor green
  ]
  ask one-of patches
  [
    set pcolor red
  ]

  ask patches with [pcolor = green]
  [
    if (random 100 < distancing)
    [
      set pcolor black
    ]
  ]
end 

to go
  if count patches with [pcolor = green] = 0 or ticks = 200
  [
    stop
  ]
  ask patches with [pcolor = red]
  [
    ask n-of 3 neighbors
    [
      if pcolor = green
      [
        set pcolor red
      ]
    ]
  ]
  tick
end 

There is only one version of this model, created over 5 years ago by Muaz Niazi.

Attached files

File Type Description Last updated
Social Distancing - COVID-19 Spread.png preview Preview for 'Social Distancing - COVID-19 Spread' over 5 years ago, by Muaz Niazi Download

This model does not have any ancestors.

Children:

Graph of models related to 'Social Distancing - COVID-19 Spread'