This repository contains the code for the manuscript "Controlling COVID-19 outbreaks in the correctional setting: a mathematical modelling study"
#Running the code
#Input File
The input file contains the initial data that is used to populate the model. It also includes the number of days needed for the simulation.
#Baseline model
The BaselineInmate folder contains the Baseline model. Use the individual.o, main.o, and individual.c files here to run the baseline model as defined below:
COVID-19 entry via an infected inmate on day 1; inmates can intermingle with other inmates in the same prison area; SARS-CoV-2 delta strain disease-related parameters applied.
#Variations of this model can be found on the BaselineHS model to set the first COVID-19 infected entrant as a healthcare worker, or BaselinePS to set the first infected entrant as a prison staff.
#Standard PPE model
The StandardPPE folder contains the Standard PPE model. Use the individual.o, main.o, and individual.c files here to run the baseline model as defined below:
Standard face masks in use for all inmates, correctional staff, and healthcare staff; This applies a 5% reduction in probability of onward transmission from the source; and a 67% protection of infection for the recipient. This scenario assumes 100% PPE compliance.
#PPE + Quarantine + Isolation model
The PIQincMask folder contains the PPE + Quarantine + Isolation model. Use the individual.o, main.o, and individual.c files here to run the baseline model as defined below:
Standard face masks are used by inmates everywhere including outside quarantine; new inmates are quarantined for 14 days with PCR tests at day 1 and day 12. If the PCR test returns a positive result (assuming 100% accuracy), the inmate is put into isolation for 14 days; N95 masks are used by staff in the isolation area with an 18% reduction in probability of onward transmission for the source; and an 85% protection from infection for the recipient is applied. This scenario assumes 100% PPE compliance.
#Daily RAT model
The RATdaily folder contains the Daily RAT model. Use the individual.o, main.o, and individual.c files here to run the baseline model as defined below:
COVID-19 entry assumed to be from 1 infected inmate on day 1; correctional staff and healthcare staff are subjected to RAT testing every day before entering the prison. A pooled RAT sensitivity of 71% and a specificity of 99% was applied. Prison and healthcare staff returning a positive RAT result are assumed to be sent home and subjected to PCR testing within 24 hours.
#Standard mask during transit model
The PPEtransit folder contains the Standard mask during transit model. Use the individual.o, main.o, and individual.c files here to run the baseline model as defined below:
#Standard mask during transit model
The PPEtransit folder contains the Standard mask during transit model. Use the individual.o, main.o, and individual.c files here to run the baseline model as defined below:
A variation of this model uses N95 mask during transit and is within the N95 folder of the PPEtransit folder.
#Restrict prison transfer model
The StopMove folder contains the Restrict prison transfer model. Use the individual.o, main.o, and individual.c files here to run the baseline model as defined below:
Symptomatic inmates are tested using PCR with results returned the next day. If a COVID-19 positive inmate is confirmed, all prison transfers and all court visits are stopped for all inmates across the whole prison system.
#Cell isolation model
The PPELockCell folder contains the Cell isolation model. Use the individual.o, main.o, and individual.c files here to run the baseline model as defined below:
Symptomatic inmates are isolated in their cell for 14 days with PCR tests at day 1 and day 12; N95 masks are used by staff interacting with isolated inmates; standard PPE masks are used by isolated inmates; isolation occurs on a rolling basis while prison interactions outside isolated cells continue as normal.
#Unit isolation model
The PPELockUnit folder contains the Unit isolation model. Use the individual.o, main.o, and individual.c files here to run the baseline model as defined below:
Symptomatic inmates are tested using PCR with results by the next day. Units with symptomatic inmates are locked down until no one is actively infected with COVID-19; N95 masks are used by staff interacting with isolated inmates; standard PPE masks are used by isolated inmates; inmates within the unit are free to move within the same unit, but there is no travel to or from another unit within the area of the centre; isolation occurs on a rolling basis while prison interactions outside isolated units continue as normal.
#Area isolation model
The PPELockArea folder contains the Area isolation model. Use the individual.o, main.o, and individual.c files here to run the baseline model as defined below:
Symptomatic inmates are tested using PCR with results by the next day. Areas with symptomatic inmates are locked down until no one is actively infected with COVID-19; N95 masks are used by staff interacting with isolated inmates; standard PPE masks are used by isolated inmates; inmates within the area are free to move within the area but there is no travel to or from another area within the centre; isolation occurs on a rolling basis while prison interactions outside isolated areas continue as normal.
#Pison lockdown model
The PPELockPrison folder contains the Prison isolation model. Use the individual.o, main.o, and individual.c files here to run the baseline model as defined below:
Symptomatic inmates are tested using PCR with results by the next day. Prisons with symptomatic inmates with confirmed COVID-19 infection are locked down until no one is actively infected with COVID-19; N95 masks are used by staff interacting with isolated inmates; standard PPE masks are used by isolated inmates; prisons are locked on a rolling basis; inmates within the centre are free to move within the prison but there are no movements to or from other prisons (which operate as normal).
Variations of this model implementing a 1-week, 3-week, 6-week, and 9-week delay in initiating prison lockdown after first detection of COVD-19 case can be found inside the PPELockPrison folder.
#Immunisation model