Computational Model Library

CINCH1 (Covid-19 INfection Control in Hospitals) (version 1.0.0)

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
(, 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. * and, modified versions of Mesa 0.8.7 Python files, used in
visualization runs of CINCH1. * A subfolder, CINCH1, which includes: and, used in visualization runs of CINCH1.
simple_continuous_canvas_cinch1.js, used in visualization runs of CINCH1., 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.

Version Submitter First published Last modified Status
1.0.0 Nick Gotts Sun Aug 29 13:13:03 2021 Sun Aug 29 13:13:03 2021 Published


This website uses cookies and Google Analytics to help us track user engagement and improve our site. If you'd like to know more information about what data we collect and why, please see our data privacy policy. If you continue to use this site, you consent to our use of cookies.