CINCH1 (Covid-19 INfection Control in Hospitals)

CINCH1 (Covid-19 INfection Control in Hospitals), is a prototype model of physical distancing for infection control among staff in University College London Hospital during the Covid-19 pandemic, developed at the University of Leeds, School of Geography. It models the movement of collections of agents in simple spaces under conflicting motivations of reaching their destination, maintaining physical distance from each other, and walking together with a companion. The model incorporates aspects of the Capability, Opportunity and Motivation of Behaviour (COM-B) Behaviour Change Framework developed at University College London Centre for Behaviour Change, and is aimed at informing decisions about behavioural interventions in hospital and other workplace settings during this and possible future outbreaks of highly contagious diseases. CINCH1 was developed as part of the SAFER (SARS-CoV-2 Acquisition in Frontline Health Care Workers – Evaluation to Inform Response) project (https://www.ucl.ac.uk/behaviour-change/research/safer-sars-cov-2-acquisition-frontline-health-care-workers-evaluation-inform-response), funded by the UK Medical Research Council. It is written in Python 3.8, and built upon Mesa version 0.8.7 (copyright 2020 Project Mesa Team).

Release Notes

CINCH1 is written in Python 3.8, and built upon Mesa version 0.8.7. See README.txt for further details.

CINCH1 can be run either in visualization mode, or in batch mode. Batch runs (for sensitivity analysis) have been conducted using the EMA workbench within a Jupyter notebook.

The uploaded folder CINCH1OpenABM, includes: * README.txt * License.txt. * Setup.py and run.py, modified versions of Mesa 0.8.7 Python files, used in visualization runs of CINCH1. * A subfolder, CINCH1, which includes: server.py and SimpleContinuousModuleCINCH1.py, used in visualization runs of CINCH1. simple_continuous_canvas_cinch1.js, used in visualization runs of CINCH1. model.py, used in both visualization and batch runs of CINCH1. Example parameter files serverparams.txt and currentparams20210528_1.txt, used in visualizaton and batch runs of CINCH1 respectively. An example IPython file for use within a Jupyter notebook for a CINCH1 batch run and associated sensitivity analysis, May30_2_OpenABM.ipynb. Folder singleruns, to store output from visualization runs. This must be present if the parameter file serverparams.txt is used. ** Folders emaruns and results, to store output from an EMA workbench batch run. These must be present if the parameter file currentparams20210528_1.txt is used.

A visualization run of CINCH1 can be started by navigating to the folder directly under mesa-master\examples (in this upload, that folder is called CINCH1OpenABM), and issuing the command:

mesa runserver

A batch run of CINCH1 within the EMA workbench, once the workbench has been downloaded and installed in the same Anaconda virtual environment as Mesa, can be performed by opening a Jupyter notebook from CINCH1OpenABM\CINCH1, loading the file May30_2_OpenABM.ipynb, and running the code.


This is a companion discussion topic for the original entry at https://www.comses.net/codebases/b52ba69f-605f-4aa9-932d-a8224f6907b0/releases/1.0.0/