Computational Model Library

This model aims to explore how gambling-like behavior can emerge in loot box spending within gaming communities. A loot box is a purchasable mystery box that randomly awards the player a series of in-game items. Since the contents of the box are largely up to chance, many players can fall into a compulsion loop of purchasing, as the fear of missing out and belief in the gambler’s fallacy allow one to rationalize repeated purchases, especially when one compares their own luck to others. To simulate this behavior, this model generates players in different network structures to observe how factors such as network connectivity, a player’s internal decision making strategy, or even common manipulations games use these days may influence a player’s transactions.

Holmestrand School Model

Jessica Dimka | Published Fri Jun 18 20:09:15 2021 | Last modified Fri Apr 29 08:32:08 2022

The Holmestrand model is an epidemiological agent-based model. Its aim is to test hypotheses related to how the social and physical environment of a residential school for children with disabilities might influence the spread of an infectious disease epidemic among students and staff. Annual reports for the Holmestrand School for the Deaf (Norway) are the primary sources of inspiration for the modeled school, with additional insights drawn from other archival records for schools for children with disabilities in early 20th century Norway and data sources for the 1918 influenza pandemic. The model environment consists of a simplified boarding school that includes residential spaces for students and staff, classrooms, a dining room, common room, and an outdoor area. Students and staff engage in activities reflecting hourly schedules suggested by school reports. By default, a random staff member is selected as the first case and is infected with disease. Subsequent transmission is determined by agent movement and interactions between susceptible and infectious pairs.

Gender differentiation model

Sylvie Huet | Published Mon Apr 20 16:01:40 2020 | Last modified Thu Apr 23 08:12:47 2020

This is a gender differentiation model in terms of reputations, prestige and self-esteem (presented in the paper The model is based on the influence function of the Leviathan model (Deffuant, Carletti, Huet 2013 and Huet and Deffuant 2017) considering two groups.

This agent-based model studies how inequalities can be explained by the difference of open-mindness between two groups of interacting agents. 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 study an heterogeneous population of two different groups: one more open to influence of others, taking less into account their perceived difference of esteem, called L; a second one less prone to it, called S, who designed the credibility they give to others strongly based on how higher or lower valued than themselves they perceive them.

We show that a mixed population always turns in favor to some agents belonging to the group of less open-minded agents S, and harms the other group: (1) the average group self-opinion or reputation of S is always better than the one of L; (2) the higher rank in terms of reputation are more frequently occupied by the S agents while the L agents occupy more the bottom rank; (3) the properties of the dynamics of differentiation between the two groups are similar to the properties of the glass ceiling effect proposed by Cotter et al (2001).

This paper introduces an experimental and exploratory approach, combining game theory and Genetic Algorithms to create a model to simulate evolutionary economic learning. The objective of this paper is to document the implementation of a genetic algorithm as a simulator for economic learning, then analyze how strategic behavior affects the evolution towards optimal outcomes, departing from different starting points and potentially transforming conflict into harmonious scenarios. For this purpose, the introduced construct aimed at allowing for the evaluation of different strategy selection methods and game types. 144 unique 2x2 games, and three distinct strategy selection rules: Nash equilibrium, Hurwicz rule and a Random selection method were used in this study. The particularity of this paper is that rather than changing the strategies themselves or player-specific features, the introduced genetic algorithm changes the games based on the player payoffs. The outcome indicated optimal player scenarios for both The Nash equilibrium and Hurwicz rules strategies, the first being the best performing strategy. The random selection method fails to converge to optimal values in most of the populations, acting as a control feature and reinforcing that strategic behavior is necessary for the evolutionary learning process. We documented also two additional observations. First, the games are often transformed in such a way that agents can coordinate their strategies to achieve a stable optimal equilibrium. And second, we observed the mutation of the populations of games into sets of fewer (repeating) isomorphic games featuring strong characteristics of previous games.

The purpose of the model is to explore how processes associated with compliance across different fishery actors’ social groups interplay with their acceptance of a fishery intervention, herein periodic closures of a small-scale octopus fishery. The model agents, entities and processes are designed based on stylized facts from literature and expert workshops on periodic closures in the Western Indian Ocean region, as well as fieldwork from Zanzibari villages that have implemented periodic octopus closures. The model is designed for scientists and decision-makers that are interested in understanding the complex interplay between fishers from different social groups, herein foot fisher men, foot fisher women and male skin divers or free divers within the periodic closure of an octopus species. Including various actions resulting from the restrictions, that is - opportunities that may be presented from restricting fishing in certain areas and during certain times. We are soon publishing an updated model with individual octopuses and their movement behaviors.

The Urban Traffic Simulator is an agent-based model developed in the Unity platform. The model allows the user to simulate several autonomous vehicles (AVs) and tune granular parameters such as vehicle downforce, adherence to speed limits, top speed in mph and mass. The model allows researchers to tune these parameters, run the simulator for a given period and export data from the model for analysis (an example is provided in Jupyter Notebook).

The data the model is currently able to output are the following:

ReMoTe-S is an agent-based model of the residential mobility of Swiss tenants. Its goal is to foster a holistic understanding of the reciprocal influence between households and dwellings and thereby inform a sustainable management of the housing stock. The model is based on assumptions derived from empirical research conducted with three housing providers in Switzerland and can be used mainly for two purposes: (i) the exploration of what if scenarios that target a reduction of the housing footprint while accounting for households’ preferences and needs; (ii) knowledge production in the field of residential mobility and more specifically on the role of housing functions as orchestrators of the relocation process.

Chicago’s demographic, neighborhood, sex risk behaviors, sexual network data, and HIV prevention and treatment cascade information from 2015 were integrated as input to a new agent-based model (ABM) called the Levers-of-HIV-Model (LHM). This LHM, written in NetLogo, forms patterns of sexual relations among Men who have Sex with Men (MSM) based on static traits (race/ethnicity, and age) and dynamic states (sexual relations and practices) that are found in Chicago. LHM’s five modules simulate and count new infections at the two marker years of 2023 and 2030 for a wide range of distinct scenarios or levers, in which the levels of PrEP and ART linkage to care, retention, and adherence or viral load are increased over time from the 2015 baseline levels.

Spatial rangeland model

Marco Janssen | Published Tue Jan 22 01:51:09 2019 | Last modified Fri Mar 4 23:21:53 2022

Spatial explicit model of a rangeland system, based on Australian conditions, where grass, woody shrubs and fire compete fore resources. Overgrazing can cause the system to flip from a healthy state to an unproductive shrub state. With the model one can explore the consequences of different movement rules of the livestock on the resilience of the system.

The model is discussed in Introduction to Agent-Based Modeling by Marco Janssen. For more information see

This is an agent-based model with two types of agents: customers and insurers. Insurers are price-takers who choose how much to spend on their service quality, and customers evaluate insurers based on premium, brand preference, and their perceived service quality. Customers are also connected in a small-world network and may share their opinions with their network.

The ABM contains two types of agents: insurers and customers. These act within the environment of a motor insurance market. At each simulation, the model undergoes the following steps:

  1. Network generation: At the start of the simulation, the model generates a small world network of social links between the customers, and randomly assigns each customer to an initial insurer
  2. ...
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.