Code availability The code to run all simulations and the model is available at https://github.com/diBernardoGroup/Network-model-of-the-COVID-19.