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.

The integrated and spatially-explicit ABM, called DIReC (Demography, Industry and Residential Choice), has been developed for Aberdeen City and the surrounding Aberdeenshire (Ge, Polhill, Craig, & Liu, 2018). The model includes demographic (individual and household) models, housing infrastructure and occupancy, neighbourhood quality and evolution, employment and labour market, business relocation, industrial structure, income distribution and macroeconomic indicators. DIReC includes a detailed spatial housing model, basing preference models on house attributes and multi-dimensional neighbourhood qualities (education, crime, employment etc.).
The dynamic ABM simulates the interactions between individuals, households, the labour market, businesses and services, neighbourhoods and economic structures. It is empirically grounded using multiple data sources, such as income and gender-age distribution across industries, neighbourhood attributes, business locations, and housing transactions. It has been used to study the impact of economic shocks and structural changes, such as the crash of oil price in 2014 (the Aberdeen economy heavily relies on the gas and oil sector) and the city’s transition from resource-based to a green economy (Ge, Polhill, Craig, & Liu, 2018).

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.

This is a conceptual model of underlying forces creating industrial clusters. There are two contradictory forces - attraction and repulsion. Firms within the same Industry are attracted to each other and on the other hand, firms with the same Activity are repulsed from each other. In each round firm with the lowest fitness is selected to change its profile of Industries and Activities. Based on these simple rules interesting patterns emerge.

MERCURY extension: population

Tom Brughmans | Published Thu May 23 06:28:44 2019

This model is an extended version of the original MERCURY model ( ) . It allows for experiments to be performed in which empirically informed population sizes of sites are included, that allow for the scaling of the number of tableware traders with the population of settlements, and for hypothesised production centres of four tablewares to be used in experiments.

Experiments performed with this population extension and substantive interpretations derived from them are published in:

Hanson, J.W. & T. Brughmans. In press. Settlement scale and economic networks in the Roman Empire, in T. Brughmans & A.I. Wilson (ed.) Simulating Roman Economies. Theories, Methods and Computational Models. Oxford: Oxford University Press.

An Agent-Based Simulation of Continuous-Time Public Goods Games

Tuong Vu | Published Thu May 17 10:39:29 2018 | Last modified Tue Apr 2 09:28:13 2019

To our knowledge, this is the first agent-based simulation of continuous-time PGGs (where participants can change contributions at any time) which are much harder to realise within both laboratory and simulation environments.

Work related to this simulation has been published in the following journal article:
Vu, Tuong Manh, Wagner, Christian and Siebers, Peer-Olaf (2019) ‘ABOOMS: Overcoming the Hurdles of Continuous-Time Public Goods Games with a Simulation-Based Approach’ Journal of Artificial Societies and Social Simulation 22 (2) 7 doi: 10.18564/jasss.3995


PolicySpace models public policies within an empirical, spatial environment using data from 46 metropolitan regions in Brazil. The model contains citizens, markets, residences, municipalities, commuting and a the tax scheme. In the associated publications (book in press and we validate the model and demonstrate an application of the fiscal analysis. Besides providing the basics of the platform, our results indicate the relevance of the rules of taxes transfer for cities’ quality of life.

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.