Computational Model Library

Peer reviewed A Macroeconomic Model of a Closed Economy

Ian Stuart | Published Sat May 8 15:22:16 2021 | Last modified Wed Jun 23 14:33:37 2021

This model/program presents a “three industry model” that may be particularly useful for macroeconomic simulations. The main purpose of this program is to demonstrate a mechanism in which the relative share of labor shifts between industries.

Care has been taken so that it is written in a self-documenting way so that it may be useful to anyone that might build from it or use it as an example.

This model is not intended to match a specific economy (and is not calibrated to do so) but its particular minimalist implementation may be useful for future research/development.

Governing the commons

Marco Janssen | Published Tue Jan 14 17:12:29 2020 | Last modified Sun Jul 17 21:45:11 2022

Model on the use of shared renewable resources including impact of imitation via success-bias and altruistic punishment.
The model is discussed in Introduction to Agent-Based Modeling by Marco Janssen. For more information see

The BASAR model aims to investigate different approaches to describe small-scale farmers’ decision-making in the context of diversified agroforestry adoption in rural Rwanda. Thereby, it compares random behaviour with perfect rationality (non-discounted and discounted utility maximization), bounded rationality (satisficing and fast and frugal decision tree heuristics), Theory of Planned Behaviour, and a probabilistic regression-based approach. It is aimed at policy-makers, extension agents, and cooperatives to better understand how rural farmers decide about implementing innovative agricultural practices such as agroforestry and at modelers to support them in selecting an approach to represent human decision-making in ABMs of Social-Ecological Systems. The overall objective is to identify a suitable approach to describe human decision-making and therefore improve forecasts of adoption rates and support the development and implementation of interventions that aim to raise low adoption rates.


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 purpose of this agent-based model is to explore the emergent phenomena associated with scientific publication, including quantity and quality, from different academic types based on their publication strategies.

Routes & Rumours is an agent-based model of (forced) human migration. We model the formation of migration routes under the assumption that migrants have limited geographical knowledge concerning the transit area and rely to a large degree on information obtained from other migrants.

The purpose of this model is to introduce a new individual decision-making method, BNE, into the ABM of pedestrian evacuation to properly simulate individual behaviours and movements. The model was built to balance between fast evacuation and high comfortability, which is a general conflict in the domain of pedestrian research. The interactions of pedestrians with their neighbours as well as surroundings was also considered in order to simulate a more realistic pedestrian evacuation. This model ultimately aims to explore the influences of BNE on pedestrian flows from various perspectives, especially pedestrian comfort and exit time in an emergency evacuation with different parameter configurations.

Three behavioural models were evaluated: Shortest Route (SR), Random Follow (RF) and BNE. The behavioural models were used to generate four moving patterns (i.e. model configurations): SR, RF, BNE mixed with SR, and BNE mixed with RF.

This study simulates the evolution of artificial economies in order to understand the tax relevance of administrative boundaries in the quality of life of its citizens. The modeling involves the construction of a computational algorithm, which includes citizens, bounded into families; firms and governments; all of them interacting in markets for goods, labor and real estate. The real estate market allows families to move to dwellings with higher quality or lower price when the families capitalize property values. The goods market allows consumers to search on a flexible number of firms choosing by price and proximity. The labor market entails a matching process between firms (given its location) and candidates, according to their qualification. The government may be configured into one, four or seven distinct sub-national governments, which are all economically conurbated. The role of government is to collect taxes on the value added of firms in its territory and invest the taxes into higher levels of quality of life for residents. The results suggest that the configuration of administrative boundaries is relevant to the levels of quality of life arising from the reversal of taxes. The model with seven regions is more dynamic, but more unequal and heterogeneous across regions. The simulation with only one region is more homogeneously poor. The study seeks to contribute to a theoretical and methodological framework as well as to describe, operationalize and test computer models of public finance analysis, with explicitly spatial and dynamic emphasis. Several alternatives of expansion of the model for future research are described. Moreover, this study adds to the existing literature in the realm of simple microeconomic computational models, specifying structural relationships between local governments and firms, consumers and dwellings mediated by distance.


This model consists of three agents, and each agent type operates per business theories as below.
a. New technologies(Tech): It evolves per sustaining or disruptive technology trajectory with the constraint of project management triangle (Scope, Time, Quality, and Cost).
b. Entrepreneurs(Entre): It builds up the solution by combining Tech components per its own strategy (Exploration, Exploitation, or Ambidex).
c. Consumer(Consumer): It selects the solution per its own preference due to Diffusion of innovation theory (Innovators, Early Adopters, Early Majority, Late Majority, Laggards)

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.