Computational Model Library

Displaying 10 of 20 results Python clear search

Urban/Rural Adaptive Culture Model

Nick LaBerge | Published Sunday, July 19, 2020

Contains python3 code used to replicate the culture model from the JASSS submission: “Modeling Cultural Dissemination and Divergence between Rural and Urban Regions.”

The MML is a hybrid modeling environment that couples an agent-based model of small-holder agropastoral households and a cellular landscape evolution model that simulates changes in erosion/deposition, soils, and vegetation.

In this agent-based model, agents decide to adopt a new product according to a utility function that depends on two kinds of social influences. First, there is a local influence exerted on an agent by her closest neighbors that have already adopted, and also by herself if she feels the product suits her personal needs. Second, there is a global influence which leads agents to adopt when they become aware of emerging trends happening in the system. For this, we endow agents with a reflexive capacity that allows them to recognize a trend, even if they can not perceive a significant change in their neighborhood.

Results reveal the appearance of slowdown periods along the adoption rate curve, in contrast with the classic stylized bell-shaped behavior. Results also show that network structure plays an important role in the effect of reflexivity: while some structures (e.g., scale-free networks) may amplify it, others (e.g., small-world structure) weaken such an effect.

This model is programmed in Python 3.6. We model how different consensus protocols and trade network topologies affect the performance of a blockchain system. The model consists of multiple trader and miner agents (Trader.py and Tx.py), and one system agent (System.py). We investigated three consensus protocols, namely proof-of-work (PoW), proof-of-stake (PoS), and delegated proof-of-stake (DPoS). We also examined three common trade network topologies: random, small-world, and scale-free. To reproduce our results, you may need to create some databases using, e.g., MySQL; or read and write some CSV files as model configurations.

FNNR-ABM

Judy Mak | Published Thursday, February 28, 2019 | Last modified Saturday, December 07, 2019

FNNR-ABM is an agent-based model that simulates human activity, Guizhou snub-nosed monkey movement, and GTGP-enrolled land parcel conversion in the Fanjingshan National Nature Reserve in Guizhou, China.

Quick-start guide:
1. Install Python and set environmental path variables.
2. Install the mesa, matplotlib (optional), and pyshp (optional) Python libraries.
3. Configure fnnr_config_file.py.

Machine Learning simulates Agent-based Model

B Furtado | Published Wednesday, March 07, 2018

This is an initial exploratory exercise done for the class @ http://thiagomarzagao.com/teaching/ipea/ Text available here: https://arxiv.org/abs/1712.04429v1
The program:
Reads output from an ABM model and its parameters’ configuration
Creates a socioeconomic optimal output based on two ABM results of the modelers choice
Organizes the data as X and Y matrices
Trains some Machine Learning algorithms

This is an adaptation and extension of Robert Axtell’s model (2013) of endogenous firms, in Python 3.4

Land Use in the Chitwan Valley

Alex Zvoleff | Published Monday, June 02, 2014

chitwanabm is a spatially explicit agent-based model of population and land use in the Chitwan Valley, Nepal, designed to explore feedbacks between population and environment, with a heavy focus on community context and individual-level variation.

ergodicity_test

Jakob Grazzini | Published Monday, November 29, 2010 | Last modified Saturday, April 27, 2013

This Python module contain a function that is able to test the ergodicity of a given agent based model. It is sufficient to produce one long time series and many smaller time series. The function uses

The model explores the emergence of inequality in cognitive and socio-emotional skills at the societal level within and across generations that results from differences in parental investment behavior during childhood and adolescence.

Displaying 10 of 20 results Python clear search

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