Computational Model Library

This is an Agent Based Model of a generic food chain network consisting of stylized individuals representing producers, traders, and consumers. It is developed to: 1/ to describe the dynamically changing disaggregated flows of crop items between these agents, and 2/ to be able to explicitly consider agent behavior. The agents have implicit personal objectives for trading. Resilience and efficiency are quantified using the ascendency concept by linking these to the fraction of fulfillment of the overall explicit objective to have all consumers meet their food requirement. Different types of network structures in combination with different agent interaction types under different types of stylized shocks can be simulated.

FeedUS - A global food trade model

Jiaqi Ge | Published Thu Feb 25 17:34:06 2021 | Last modified Fri Feb 26 13:04:23 2021

The purpose of the model is to study the impact of global food trade on food and nutrition security in countries around the world. It will incorporate three main aspects of trade between countries, including a country’s wealth, geographic location, and its trade relationships with other countries (past and ongoing), and can be used to study food and nutrition security across countries in various scenarios, such as climate change, sustainable intensification, waste reduction and dietary change.

The agent-based perspective allows insights on how behaviour of firms, guided by simple economic rules on the micro-level, is dynamically influenced by a complex environment in regard to the assumed relocation, decision-making hypotheses. Testing various variables sensitive to initial conditions, increased environmental regulations targeting global trade and upward shifting wage levels in formerly offshore production locations have shown to be driving and inhibiting mechanisms of this socio-technical system. The dynamic demonstrates a shift from predominantly cited economic reasoning for relocation strategies towards sustainability aspects, pressingly changing these realities on an environmental and social dimension. The popular debate is driven by increased environmental awareness and the proclaimed fear of robots killing jobs. In view of reshoring shaping the political agenda, interest in the phenomenon has recently been fuelled by the rise of populism and protectionism.

Peer reviewed B3GET

Kristin Crouse | Published Thu Nov 14 20:07:16 2019 | Last modified Tue Oct 6 20:13:54 2020

B3GET simulates populations of virtual organisms evolving over generations, whose evolutionary outcomes reflect the selection pressures of their environment. The model simulates several factors considered important in biology, including life history trade-offs, investment in fighting ability and aggression, sperm competition, infanticide, and competition over access to food and mates. Downloaded materials include a starting genotype and population files. Edit the these files and see what changes occur in the behavior of virtual populations!

This model was developed to test the usability of evolutionary computing and reinforcement learning by extending a well known agent-based model. Sugarscape (Epstein & Axtell, 1996) has been used to demonstrate migration, trade, wealth inequality, disease processes, sex, culture, and conflict. It is on conflict that this model is focused to demonstrate how machine learning methodologies could be applied.

The code is based on the Sugarscape 2 Constant Growback model, availble in the NetLogo models library. New code was added into the existing model while removing code that was not needed and modifying existing code to support the changes. Support for the original movement rule was retained while evolutionary computing, Q-Learning, and SARSA Learning were added.

Sugarscape with spice

Marco Janssen | Published Tue Jan 14 17:09:12 2020 | Last modified Fri Sep 18 16:31:42 2020

This is a variation of the Sugarspace model of Axtell and Epstein (1996) with spice and trade of sugar and spice. The model is not an exact replication since we have a somewhat simpler landscape of sugar and spice resources included, as well as a simple reproduction rule where agents with a certain accumulated wealth derive an offspring (if a nearby empty patch is available).
The model is discussed in Introduction to Agent-Based Modeling by Marco Janssen. For more information see


Yue Dou | Published Tue Dec 10 20:25:14 2019 | Last modified Wed Apr 29 13:08:15 2020

We construct a new type of agent-based model (ABM) that can simultaneously simulate land-use changes at multiple distant places (namely TeleABM, telecoupled agent-based model). We use soybean trade between Brazil and China as an example, where Brazil is the sending system and China is the receiving system because they are the world’s largest soybean exporter and importer respectively. We select one representative county in each country to calibrate and validate the model with spatio-temporal analysis of historical land-use changes and the empirical analysis of household survey data. The whole model is programmed on RePast Simphony. The most unique features of TeleABM are that it can simulate a telecoupled system and the flows between sending and receiving systems in this telecoupled system.

Our model allows simulating repeated conservation auctions in low-income countries. It is designed to assess policy-making by exploring the extent to which non-targeted repeated auctions can provide biodiversity conservation cost-effectively, while alleviating poverty. Targeting landholders in order to integrate both goals is claimed to be overambitious and underachieving because of the trade-offs they imply. The simulations offer insight on the possible outcomes that can derive from implementing conservation auctions in low-income countries, where landholders are likely to be risk averse and to face uncertainty.

Fertility Tradeoffs

Kristin Crouse | Published Tue Nov 5 04:36:42 2019 | Last modified Sun Mar 22 09:45:14 2020

Fertility Tradeoffs is a NetLogo model that illustrates the emergencent tradeoffs between the quality and quantity of offspring. Often, we associate high fitness with maximizing the number of offspring. However, under certain circumstances, it pays instead to optimize the number of offspring, having fewer offspring than is possible. When the number of offspring is reduced, more energy can be invested in each offspring, which can be beneficial for their own fitness.

This model is programmed in Python 3.6. We model how different consensus protocols and trade network topologies affect the performance of a blockchain system. The model consists of multiple trader and miner agents ( and, and one system agent ( We investigated three consensus protocols, namely proof-of-work (PoW), proof-of-stake (PoS), and delegated proof-of-stake (DPoS). We also examined three common trade network topologies: random, small-world, and scale-free. To reproduce our results, you may need to create some databases using, e.g., MySQL; or read and write some CSV files as model configurations.

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.