Computational Model Library

Large-scale land acquisitions (LSLAs) threaten smallholder livelihoods globally. Despite more than a decade of research on the LSLA phenomenon, it remains a challenge to identify governance conditions that may foster beneficial outcomes for both smallholders and investors. One potentially promising strategy toward this end is contract farming (CF), which more directly involves smallholder households in commodity production than conditions of acquisition and displacement.

To improve understanding of how CF may mediate the outcomes of LSLAs, we developed an agent-based model of smallholder livelihoods, which we used as a virtual laboratory to experiment on a range of hypothetical LSLA and CF implementation scenarios.

The model represents a community of smallholder households in a mixed crop-livestock system. Each agent farms their own land and manages a herd of livestock. Agents can also engage in off-farm employment, for which they earn a fixed wage and compete for a limited number of jobs. The principal model outputs include measures of household food security (representing access to a single, staple food crop) and agricultural production (of a single, staple food crop).

Leviathan model and its approximation

Thibaut Roubin Guillaume Deffuant | Published Thu Sep 17 15:21:40 2020 | Last modified Mon Sep 6 14:45:35 2021

The model is based on the influence function of the Leviathan model (Deffuant, Carletti, Huet 2013 and Huet and Deffuant 2017). We aim at better explaining some patterns generated by this model, using a derived mathematical approximation of the evolution of the opinions averaged.

We consider agents having an opinion/esteem about each other and about themselves. During dyadic meetings, agents change their respective opinion about each other, and possibly about other agents they gossip about, with a noisy perception of the opinions of their interlocutor. Highly valued agents are more influential in such encounters.

We show that the inequality of reputations among agents have a negative effect on the opinions about the agents of low status.The mathematical analysis of the opinion dynamic shows that the lower the status of the agent, the more detrimental the interactions are for the opinions about this agent, especially when gossip is activated, while the interactions always tend to increase the opinions about agents of high status.

CINCH1 (Covid-19 INfection Control in Hospitals)

N Gotts | Published Sun Aug 29 13:13:03 2021

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).

Modeling Personal Carbon Trading with ABM

Roman Seidl | Published Fri Dec 7 13:35:10 2018 | Last modified Thu Jul 29 07:52:21 2021

A simulated approach for Personal Carbon Trading, for figuring out what effects it might have if it will be implemented in the real world. We use an artificial population with some empirical data from international literature and basic assumptions about heterogeneous energy demand. The model is not to be used as simulating the actual behavior of real populations, but a toy model to test the effects of differences in various factors such as number of agents, energy price, price of allowances, etc. It is important to adapt the model for specific countries as carbon footprint and energy demand determines the relative success of PCT.

The purpose of this model is to understand the role of trade networks and their interaction with different fish resources, for fish provision. The model is developed based on a multi-methods approach, combining agent-based modeling, network analysis and qualitative data based on a small-scale fisheries study case. The model can be used to investigate both how trade network structures are embedded in a social-ecological context and the trade processes that occur within them, to analyze how they lead to emergent outcomes related to the resilience of fish provision. The model processes are informed by qualitative data analysis, and the social network analysis of an empirical fish trade network. The network analysis can be used to investigate diverse network structures to perform model experiments, and their influence on model outcomes.

The main outcomes we study are 1) the overexploitation of fish resources and 2) the availability and variability of fish provision to satisfy different market demands, and 3) individual traders’ fish supply at the micro-level. The model has two types of trader agents, seller and dealer. The model reveals that the characteristics of the trade networks, linked to different trader types (that have different roles in those networks), can affect the resilience of fish provision.

This code is for an agent-based model of collective problem solving in which agents with different behavior strategies, explore the NK landscape while they communicate with their peers agents. This model is based on the famous work of Lazer, D., & Friedman, A. (2007), The network structure of exploration and exploitation.

Risk assessments are designed to measure cumulative risk and promotive factors for delinquency and recidivism, and are used by criminal and juvenile justice systems to inform sanctions and interventions. Yet, these risk assessments tend to focus on individual risk and often fail to capture each individual’s environmental risk. This agent-based model (ABM) explores the interaction of individual and environmental risk on the youth. The ABM is based on an interactional theory of delinquency and moves beyond more traditional statistical approaches used to study delinquency that tend to rely on point-in-time measures, and to focus on exploring the dynamics and processes that evolve from interactions between agents (i.e., youths) and their environments. Our ABM simulates a youth’s day, where they spend time in schools, their neighborhoods, and families. The youth has proclivities for engaging in prosocial or antisocial behaviors, and their environments have likelihoods of presenting prosocial or antisocial opportunities.

Peer reviewed Multilevel Group Selection I

Garry Sotnik Thaddeus Shannon Wayne W. Wakeland | Published Tue Apr 21 18:07:27 2020 | Last modified Sat Jul 3 20:38:55 2021

The Multilevel Group Selection I (MGS I) model simulates a population of contributing and non-contributing agents, competing on a social landscape for higher-value spots in an effort to withstand some selection pressure. It may be useful to both scientists and students in hypothesis testing, theory development, or more generally in understanding multilevel group selection.


Lisa Huber Nico Bahro | Published Wed Nov 20 07:52:39 2019 | Last modified Sat Jul 3 07:19:28 2021

Aqua.MORE (Agent-based MOdelling of REsources in Socio-Hydrological Systems) is an agent based modelling (ABM) approach to simulate the resource flow and social interaction in a coupled natural and social system of water supply and demand. The model is able to simulate the two-way feedback as socio-economic agents influence the natural resource flow and the availability of this resource influences the agents in their behaviour.

Lake Anderson Revisited II

Klaus Troitzsch | Published Mon Jun 28 15:00:38 2021

The purpose of this study is another agent-based replication of a System Dynamics model (Anderson,1973) where he analysed the dynamics of nutrient, biomass, oxygen and detritus in a model lake under conditions of artificial fertilising and policies to deal with the consequences of artificial fertilising.. A first replication (Möhring & Troitzsch,2001) added those agents to the original model that were necessary to move the role of the experimenter into the model, whereas this replication replaces the original lake with a collection of small elements between which biomass, nurtrents and oxygen are exchanged, adds rivers upstream and downstream as well as adjacent land divided into villages and populated with farms and industrial plants run by individual persons.

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.