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.

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 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 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.

Wolf-sheep predation Netlogo model, extended, with foresight

andreapolicarpi | Published Wed Sep 16 13:59:06 2020 | Last modified Tue Apr 13 12:47:10 2021

This model is an extension of the Netlogo Wolf-sheep predation model by U.Wilensky (1997). This extended model studies several different behavioural mechanisms that wolves and sheep could adopt in order to enhance their survivability, and their overall impact on global equilibrium of the system.

This model was built to estimate the impacts of exogenous fodder input and credit loans services on livelihood, rangeland health and profits of pastoral production in a small holder pastoral household in the arid steppe rangeland of Inner Mongolia, China. The model simulated the long-term dynamic of herd size and structure, the forage demand and supply, the cash flow, and the situation of loan debt under three different stocking strategies: (1) No external fodder input, (2) fodders were only imported when natural disaster occurred, and (3) frequent import of external fodder, with different amount of available credit loans. Monte-Carlo method was used to address the influence of climate variability.

Brazil has initiated two territorial public policies for a rural sustainable development, the National Program for Sustainable Development of the Rural Territories (PRONAT) and Citizenship Territory Program (PTC). These public policies aims, as a condition for its effectiveness, the equilibrium of the power relations between actors which participate in the Collegiate for Territorial Development (CODETER) of each Rural Territory. Our research studies the hypotheses that, in the Rural Territories submitted to the PRONAT and PTC public policies, the power and reciprocity relations between actors engaged in the CODETER effectively have evolved in favor of the civil society representatives to the detriment of the public powers, notably the mayors.

The SocLab approach has been applied in two case studies and four models representing the Southern Rural Territory of Sergipe (TRSS) and the São Francisco Rural Territory (TRBSF) were designed for two referential periods, 2008-2012 and 2013-2017. These models were developed to evaluate the empowerment of the civil society in these rural territories due to thes two public policies, PRONAT and PTC.

Agent-based version of the simple search and barter economy conceived by Peter Diamond in 1982. The model is also known as Coconut Model.

This model illustrates how the effective population size and the rate of change in mean skill level of a cultural trait are affected by the presence of natural selection and/or the cultural transmission mechanism by which it is passed.

It is very difficult to model a sustainable intergenerational biophysical/financial economy. ModEco NLG is one of a series of models exploring the dynamics of sustainable economics – PSoup, ModEco, EiLab, OamLab, MppLab, TpLab, CmLab.

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.