Computational Model Library

Food Safety Inspection Model - Stores Signal with Errors (version 1.1.0)

This model represents a very basic food safety system where inspectors, consumers and stores interact. The purpose of this model is to provide insight into an optimal level of inspectors in a food system by comparing three search strategies used by inspectors: a random strategy, one where stores close if they are no longer visited by consumers, and one where stores can signal to inspectors and consumers that there is a problem. This version includes the code for the scenario involving store closures.

The model incorporates stores, consumers and inspectors. Food products and suppliers are assumed to be embedded within the stores. Consumers move around to different stores and consume food products. They avoid stores where they have become sick in the past. Stores become contaminated randomly, and in the alternative scenarios, may close if they do not receive enough customers, or they may signal if they are contaminated. The inspection strategy of the inspectors depends on the model version: they either inspect randomly or prioritize stores that are signalling. The number of inspectors can vary.

In all three scenarios, as the number of inspectors increases, the number of sick consumers declines. Consumers fare best in the scenario where stores signal, even when those signals involve errors, as compared to the random inspection scenario. Please download all three versions in order to run the three scenarios.

Version Submitter First published Last modified Status
1.1.0 Sara Mcphee-Knowles Mon Apr 8 20:40:48 2019 Mon Apr 8 20:40:48 2019 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.