MAFIO: Model for the Agent-based simulation of Faecal Indicator Organisms

Dataset

Description

MAFIO is an agent-based model designed to simulate the small-scale behaviour and transport of agents representing faecal indicator organisms (FIOs) in a spatially-distributed, process-based manner, in order to unravel the spatio-temporal dynamics of sources and transfer mechanisms contributing FIOs to streams in agricultural settings.

This repository contains the source code for the model, which is written in Python 3.6. It is organised as follows:

- ABM_getDirs_V1.py: script containing the locations of various input and output files
- ABM_MiscFunctions.py: script containing functions for generating maps required on initialisation of the model
- ABMOutputs_V1.py: script for writing and initial visualisation/processing of model outputs
- agentConfigV1_Par.py: configuration file for the model detailing run-specific settings (e.g. model domain, parameter values, etc.)
- EcoliAgents_Tulloch_V1.py: the main script containing the model functions, called by the configuration file
- postProcess_ABM_V1.py: script for post-processing of model results to generate summary statistics and plots for publication.

The code presented here is for the model as introduced and used in Neill et al. (in review) An agent-based model that simulates the spatio-temporal dynamics of sources and transfer mechanisms contributing faecal indicator organisms to streams. Parts 1 and 2. Journal of Environmental Management.

Use of this material is granted under conditions defined by the Attribution-NonCommercial-ShareAlike (CC BY-NC-SA) Creative Commons license.

Data type

Model source code

Dataset version

V1

Copyright and Open Data Licencing

CC BY-NC-SA
Date made available28 Oct 2019
PublisherUniversity of Aberdeen
Date of data production2019

Cite this

Neill, A. J. (Creator), Tetzlaff, D. (Supervisor), Strachan, N. J. C. (Supervisor), Hough, R. L. (Supervisor), Avery, L. M. (Supervisor), Kuppel, S. (Other), Maneta, M. (Other), Soulsby, C. (Supervisor) (28 Oct 2019). MAFIO: Model for the Agent-based simulation of Faecal Indicator Organisms. University of Aberdeen. MAFIO_V1(.zip). 10.20392/66f74663-ece3-4a52-8bed-f0cf52d0831a