Computational Model Library

Peer reviewed Experience-Weighted Attraction - Python Implementation

Vinicius Ferraz | Published Fri Dec 2 09:23:40 2022

This project is based on a Jupyter Notebook that describes the stepwise implementation of the EWA model in bi-matrix ( 2×2 ) strategic-form games for the simulation of economic learning processes. The output is a dataset with the simulated values of Attractions, Experience, selected strategies, and payoffs gained for the desired number of rounds and periods. The notebook also includes exploratory data analysis over the simulated output based on equilibrium, strategy frequencies, and payoffs.

A spatio-temporal Agent Based Modeling (ABM) framework is developed to probabilistically predict farmers’ decisions in the context of climate-induced water scarcity under varying utility optimization functions. The proposed framework forecasts farmers’ behavior assuming varying utility functions. The framework allows decision makers to forecast the behavior of farmers through a user-friendly platform with clear output visualization. The functionality of the proposed ABM is illustrated in an agriculturally dominated plain along the Eastern Mediterranean coastline.

Study area GIS data available upon request to [email protected]

The HERB model simulates the retrofit behavior of homeowners in a neighborhood. The model initially parameterizes a neighborhood and households with technical factors such as energy standard, the availability of subsidies, and neighbors’ retrofit activity. Then, these factors are translated into psychological variables such as perceived comfort gain, worry about affording the retrofit, and perceiving the current energy standard of the home as wasteful. These psychological variables moderate the transition between four different stages of deciding to retrofit, as suggested by a behavioral model specific to household energy retrofitting identified based on a large population survey in Norway. The transition between all stages eventually leads to retrofitting, which affects both the household’s technical factors and friends and neighbors, bringing the model “full circle”. The model assumes that the energy standard of the buildings deteriorates over time, forcing households to retrofit regularly to maintain a certain energy standard.

Because experiment datafiles are about 15GB, they are available at

An agent model is presented that aims to capture the impact of cheap talk on collective action in a commons dilemma. The commons dilemma is represented as a spatially explicit renewable resource. Agent’s trust in others impacts the speed and harvesting rate, and trust is impacted by observed harvesting behavior and cheap talk. We calibrated the model using experimental data (DeCaro et al. 2021). The best fit to the data consists of a population with a small frequency of altruistic and selfish agents, and mostly conditional cooperative agents sensitive to inequality and cheap talk. This calibrated model provides an empirical test of the behavioral theory of collective action of Elinor Ostrom and Humanistic Rational Choice Theory.

Identity and meat eating behaviour

Jiaqi Ge | Published Thu Sep 29 16:51:47 2022

Using data from the British Social Attitude Survey, we develop an agent-based model to study the effect of social influence on the spread of meat-eating behaviour in the British population.

The Levers of HIV Model

Can Gurkan Wouter Vermeer Arthur Hjorth Uri Wilensky C. Hendricks Brown | Published Tue Mar 8 16:19:04 2022 | Last modified Mon Sep 19 15:20:59 2022

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.

Digital-Twin model of Sejong City

Tae-Sub Yun | Published Wed Aug 31 04:15:19 2022

Digital-Twin model of Sejong City – Source model code & data

We only shared model codes, excluding private data and simulation engine codes.
The followings are brief reasons for the items we cannot share.

  1. Residence address data

Simulations based on the Axelrod model and extensions to inspect the volatility of the features over time (AXELROD MODEL & Agreement threshold & two model variations based on the Social identity approach)
The Axelrod model is used to predict the number of changes per feature in comparison to the datasets and is used to compare different model variations and their performance.

Input: Real data


B Shapiro | Published Fri Jul 15 00:46:39 2022

ABM focused on examining the dissemination of opinions through a notional terrorist network to generate terrorist attacks caused by drone strikes.

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:

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.