Computational Model Library

This project was developed during the Santa Fe course Introduction to Agent-Based Modeling 2022. The origin is a Cellular Automata (CA) model to simulate human interactions that happen in the real world, from Rubens and Oliveira (2009). These authors used a market research with real people in two different times: one at time zero and the second at time zero plus 4 months (longitudinal market research). They developed an agent-based model whose initial condition was inherited from the results of the first market research response values and evolve it to simulate human interactions with Agent-Based Modeling that led to the values of the second market research, without explicitly imposing rules. Then, compared results of the model with the second market research. The model reached 73.80% accuracy.
In the same way, this project is an Exploratory ABM project that models individuals in a closed society whose behavior depends upon the result of interaction with two neighbors within a radius of interaction, one on the relative “right” and other one on the relative “left”. According to the states (colors) of neighbors, a given cellular automata rule is applied, according to the value set in Chooser. Five states were used here and are defined as levels of quality perception, where red (states 0 and 1) means unhappy, state 3 is neutral and green (states 3 and 4) means happy.
There is also a message passing algorithm in the social network, to analyze the flow and spread of information among nodes. Both the cellular automaton and the message passing algorithms were developed using the Python extension. The model also uses extensions csv and arduino.

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.

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.

Modern Wage Dynamics

J Applegate | Published Sun Jun 5 20:51:30 2022

The Modern Wage Dynamics Model is a generative model of coupled economic production and allocation systems. Each simulation describes a series of interactions between a single aggregate firm and a set of households through both labour and goods markets. The firm produces a representative consumption good using labour provided by the households, who in turn purchase these goods as desired using wages earned, thus the coupling. The model employs a variant of efficiency wage theory where worker effort is a function of the wage they receive, and production is based on effective effort rather than worker hours. The households have independent and dynamic effort-wage response functions. The firm has incomplete information with regards to the aggregate households’ effort response function and demand, and attempts to learn these relationships over time.

Each model iteration the firm decides wage, price and labour hours requested. Given price and wage, households decide both effort and hours worked based on their effort response functions and a utility function for leisure and consumption. A labour market construct chooses the minimum of hours required and aggregate hours supplied, and aggregates the effort provided. The firm then uses these inputs to produce goods. Given the hours actually worked, the households decide actual consumption and a market chooses the minimum of goods supplied and aggregate demand. The firm uses information gained through observing market transactions about effort and consumption demand to refine their conceptions of the population’s effort-wage response and demand.

The purpose of this model is to explore the general behaviour of an economy with coupled production and allocation systems, as well as to explore the effects of various policies on wage and production, such as minimum wage, tax credits, unemployment benefits, and universal income.

This is a ridesharing model (Uber/Lyft) of the larger Washington DC metro area. The model can be modified (Netlogo 6.x) relatively easily and be adapted to any metro area. Please cite generously (this was a lot of work) and please cite the paper, not the comses model.

Link to the paper published in “Complex Adaptive Systems” here:

Citation: Shaheen J.A.E. (2019) Simulating the Ridesharing Economy: The Individual Agent Metro-Washington Area Ridesharing Model (IAMWARM). In: Carmichael T., Collins A., Hadžikadić M. (eds) Complex Adaptive Systems. Understanding Complex Systems. Springer, Cham.

PolicySpace2: modeling markets and endogenous public policies

B Furtado | Published Thu Feb 25 13:21:22 2021 | Last modified Fri Jan 14 13:46:42 2022

Policymakers decide on alternative policies facing restricted budgets and uncertain future. Designing public policies is further difficult due to the need to decide on priorities and handle effects across policies. Housing policies, specifically, involve heterogeneous characteristics of properties themselves and the intricacy of housing markets and the spatial context of cities. We propose PolicySpace2 (PS2) as an adapted and extended version of the open source PolicySpace agent-based model. PS2 is a computer simulation that relies on empirically detailed spatial data to model real estate, along with labor, credit, and goods and services markets. Interaction among workers, firms, a bank, households and municipalities follow the literature benchmarks to integrate economic, spatial and transport scholarship. PS2 is applied to a comparison among three competing public policies aimed at reducing inequality and alleviating poverty: (a) house acquisition by the government and distribution to lower income households, (b) rental vouchers, and (c) monetary aid. Within the model context, the monetary aid, that is, smaller amounts of help for a larger number of households, makes the economy perform better in terms of production, consumption, reduction of inequality, and maintenance of financial duties. PS2 as such is also a framework that may be further adapted to a number of related research questions.

With this model, we investigate resource extraction and labor conditions in the Global South as well as implications for climate change originating from industry emissions in the North. The model serves as a testbed for simulation experiments with evolutionary political economic policies addressing these issues. In the model, heterogeneous agents interact in a self-organizing and endogenously developing economy. The economy contains two distinct regions – an abstract Global South and Global North. There are three interlinked sectors, the consumption good–, capital good–, and resource production sector. Each region contains an independent consumption good sector, with domestic demand for final goods. They produce a fictitious consumption good basket, and sell it to the households in the respective region. The other sectors are only present in one region. The capital good sector is only found in the Global North, meaning capital goods (i.e. machines) are exclusively produced there, but are traded to the foreign as well as the domestic market as an intermediary. For the production of machines, the capital good firms need labor, machines themselves and resources. The resource production sector, on the other hand, is only located in the Global South. Mines extract resources and export them to the capital firms in the North. For the extraction of resources, the mines need labor and machines. In all three sectors, prices, wages, number of workers and physical capital of the firms develop independently throughout the simulation. To test policies, an international institution is introduced sanctioning the polluting extractivist sector in the Global South as well as the emitting industrial capital good producers in the North with the aim of subsidizing innovation reducing environmental and social impacts.

The Price Evolution with Expectations model provides the opportunity to explore the question of non-equilibrium market dynamics, and how and under which conditions an economic system converges to the classically defined economic equilibrium. To accomplish this, we bring together two points of view of the economy; the classical perspective of general equilibrium theory and an evolutionary perspective, in which the current development of the economic system determines the possibilities for further evolution.

The Price Evolution with Expectations model consists of a representative firm producing no profit but producing a single good, which we call sugar, and a representative household which provides labour to the firm and purchases sugar.The model explores the evolutionary dynamics whereby the firm does not initially know the household demand but eventually this demand and thus the correct price for sugar given the household’s optimal labour.

The model can be run in one of two ways; the first does not include money and the second uses money such that the firm and/or the household have an endowment that can be spent or saved. In either case, the household has preferences for leisure and consumption and a demand function relating sugar and price, and the firm has a production function and learns the household demand over a set number of time steps using either an endogenous or exogenous learning algorithm. The resulting equilibria, or fixed points of the system, may or may not match the classical economic equilibrium.

Peer reviewed Industrial Symbiosis Network implementation ABM

Kasper Pieter Hendrik Lange Gijsbert Korevaar Igor Nikolic Paulien Herder | Published Tue Dec 1 10:34:25 2020 | Last modified Wed Jun 16 09:24:05 2021

The purpose of the model is to explore the influence of actor behaviour, combined with environment and business model design, on the survival rates of Industrial Symbiosis Networks (ISN), and the cash flows of the agents. We define an ISN to be robust, when it is able to run for 10 years, without falling apart due to leaving agents.

The model simulates the implementation of local waste exchange collaborations for compost production, through the ISN implementation stages of awareness, planning, negotiation, implementation, and evaluation.

One central firm plays the role of waste processor in a local composting initiative. This firm negotiates with other firms to become a supplier of their organic residual streams. The waste suppliers in the model can decide to join the initiative, or to have the waste brought to the external waste incinerator. The focal point of the model are the company-level interactions during the implementation or ending of synergies.

Knowledge Based Economy (KBE) is an artificial economy where firms placed in geographical space develop original knowledge, imitate one another and eventually recombine pieces of knowledge. In KBE, consumer value arises from the capability of certain pieces of knowledge to bridge between existing items (e.g., Steve Jobs illustrated the first smartphone explaining that you could make a call with it, but also listen to music and navigate the Internet). Since KBE includes a mechanism for the generation of value, it works without utility functions and does not need to model market exchanges.

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.