Computational Model Library

Our mission is to help computational modelers develop, document, and share their computational models in accordance with community standards and good open science and software engineering practices. Model authors can publish their model source code in the Computational Model Library with narrative documentation as well as metadata that supports open science and emerging norms that facilitate software citation, computational reproducibility / frictionless reuse, and interoperability. Model authors can also request private peer review of their computational models. Models that pass peer review receive a DOI once published.

All users of models published in the library must cite model authors when they use and benefit from their code.

Please check out our model publishing tutorial and feel free to contact us if you have any questions or concerns about publishing your model(s) in the Computational Model Library.

Displaying 10 of 849 results NetLogo clear search

The Olympic Peninsula ABM works as a virtual laboratory to simulate the existing forestland management practices as followed by different forestland owner groups in the Olympic Peninsula, Washington, and explore how they could shape the future provisions of multifunctional ecosystem services such as Carbon storage and revenue generation under the business-as-usual scenario as well as by their adaptation to interventions. Forestlands are socio-ecological systems that interact with economic, socio-cultural, and policy systems. Two intervention scenarios were introduced in this model to simulate the adaptation of landowner behavior and test the efficacy of policy instruments in promoting sustainable forest practices and fostering Carbon storage and revenue generation. (1) A market-linked carbon offset scheme that pays the forestland owners a financial incentive in the form of a yearly carbon rent. (2) An institutional intervention policy that allows small forest owners (SFLO) to cooperate for increased market access and benefits under carbon rent scenario. The model incorporates the heterogeneous contexts within which the forestland owners operate and make their forest management decisions by parameterizing relevant agent attributes and contextualizing their unique decision-making processes.

Riparian forests are one of the most vulnerable ecosystems to the development of biological invasions, therefore limiting their spread is one of the main challenges for conservation. The main factors that explain plant invasions in these ecosystems are the capacity for both short- and long-distance seed dispersion, and the occurrence of suitable habitats that facilitate the establishment of the invasive species. Large floods constitute an abiotic filter for invasion.

This model simulates the spatio-temporal spread of the woody invader Gleditsia. triacanthos in the riparian forest of the National Park Esteros de Farrapos e Islas del Río Uruguay, a riparian system in the coast of the Uruguay river (South America). In this model, we represent different environmental conditions for the development of G. triacanthos, long- and short-distance spread of its fruits, and large floods as the main factor of mortality for fruit and early stages.

Field results show that the distribution pattern of this invasive species is limited by establishment, i.e. it spreads locally through the expansion of small areas, and remotely through new invasion foci. This model recreates this dispersion pattern. We use this model to derive management implications to control the spread of G. triacanthos

Peer reviewed Correlated Random Walk (NetLogo)

Viktoriia Radchuk Thibault Fronville Uta Berger | Published Tuesday, May 09, 2023 | Last modified Monday, December 18, 2023

This is NetLogo code that presents two alternative implementations of Correlated Random Walk (CRW):
- 1. drawing the turning angles from the uniform distribution, i.e. drawing the angle with the same probability from a certain given range;
- 2. drawing the turning angles from von Mises distribution.
The move lengths are drawn from the lognormal distribution with the specified parameters.

Correlated Random Walk is used to represent the movement of animal individuals in two-dimensional space. When modeled as CRW, the direction of movement at any time step is correlated with the direction of movement at the previous time step. Although originally used to describe the movement of insects, CRW was later shown to sufficiently well describe the empirical movement data of other animals, such as wild boars, caribous, sea stars.
…

Confirmation Bias is usually seen as a flaw of the human mind. However, in some tasks, it may also increase performance. Here, agents are confronted with a number of binary Signals (A, or B). They have a base detection rate, e.g. 50%, and after they detected one signal, they get biased towards this type of signal. This means, that they observe that kind of signal a bit better, and the other signal a bit worse. This is moderated by a variable called “bias_effect”, e.g. 10%. So an agent who detects A first, gets biased towards A and then improves its chance to detect A-signals by 10%. Thus, this agent detects A-Signals with the probability of 50%+10% = 60% and detects B-Signals with the probability of 50%-10% = 40%.
Given such a framework, agents that have the ability to be biased have better results in most of the scenarios.

Agent-based model of team decision-making in hidden profile situations

Jonas Stein Andreas Flache Vincenz Frey | Published Thursday, April 20, 2023 | Last modified Friday, November 17, 2023

The model presented here is extensively described in the paper ‘Talk less to strangers: How homophily can improve collective decision-making in diverse teams’ (forthcoming at JASSS). A full replication package reproducing all results presented in the paper is accessible at https://osf.io/76hfm/.

Narrative documentation includes a detailed description of the model, including a schematic figure and an extensive representation of the model in pseudocode.

The model develops a formal representation of a diverse work team facing a decision problem as implemented in the experimental setup of the hidden-profile paradigm. We implement a setup where a group seeks to identify the best out of a set of possible decision options. Individuals are equipped with different pieces of information that need to be combined to identify the best option. To this end, we assume a team of N agents. Each agent belongs to one of M groups where each group consists of agents who share a common identity.
The virtual teams in our model face a decision problem, in that the best option out of a set of J discrete options needs to be identified. Every team member forms her own belief about which decision option is best but is open to influence by other team members. Influence is implemented as a sequence of communication events. Agents choose an interaction partner according to homophily h and take turns in sharing an argument with an interaction partner. Every time an argument is emitted, the recipient updates her beliefs and tells her team what option she currently believes to be best. This influence process continues until all agents prefer the same option. This option is the team’s decision.

The model constructs a complex network of traffic based on the main urban area of Zhengzhou, China, and simulates the urban rainfall process using the ABM model to analyse the real-time risk of flooding hazards in the nodes of the complex network.

We present a socio-epistemic model of science inspired by the existing literature on opinion dynamics. In this model, we embed the agents (or scientists) into social networks - e.g., we link those who work in the same institutions. And we place them into a regular lattice - each representing a unique mental model. Thus, the global environment describes networks of concepts connected based on their similarity. For instance, we may interpret the neighbor lattices as two equivalent models, except one does not include a causal path between two variables.

Agents interact with one another and move across the epistemic lattices. In other words, we allow the agents to explore or travel across the mental models. However, we constrain their movements based on absorptive capacity and cognitive coherence. Namely, in each round, an agent picks a focal point - e.g., one of their colleagues - and will move towards it. But the agents’ ability to move and speed depends on how far apart they are from the focal point - and if their new position is cognitive/logic consistent.

Therefore, we propose an analytical model that examines the connection between agents’ accumulated knowledge, social learning, and the span of attitudes towards mental models in an artificial society. While we rely on the example from the General Theory of Relativity renaissance, our goal is to observe what determines the creation and diffusion of mental models. We offer quantitative and inductive research, which collects data from an artificial environment to elaborate generalized theories about the evolution of science.

The Land Use Competition in Drylands (LUCID) model is a stylized agent-based model of a smallholder farming system. Its main purpose is to illustrate how competition between pastoralism and crop cultivation can affect livelihoods of households, specifically their food security. In particular, the model analyzes whether the expansion of crop cultivation may contribute to a vicious circle where an increase in cultivated area leads to higher grazing pressure on the remaining pastureland, which in turn may cause forage shortages and livestock loss for households which are then forced to further expand their cultivated area in order to increase their food security. The model does not attempt to replicate a particular case study but to generate a general understanding of mechanisms and drivers of such vicious circles and to identify possible scenarios under which such circles may be prevented.

The model is inspired by observations of the Borana land use system in Southern Ethiopia. The climatic and ecological conditions of the Borana zone favor pastoralism, and traditionally livelihoods have been based mainly on livestock keeping. Recent years, however, have seen an advancement of crop cultivation as a coping strategy, e.g., to compensate the loss of livestock, even though crop yields are low on average and successful harvests are infrequent.

In the model, it is possible to evaluate patterns of individual (single household) as well as overall (across all households) consumption and food security, depending on a range of ecological, climatic and management parameters.

This purpose of this model is to understand how the coupled demographic dynamics of herds and households constrain the growth of livestock populations in pastoral systems.

This is a preliminary attempt in creating an Agent-Based Model of capital flows. This is based on the theory of capital flows based on interest-rate differentials. Foreign capital flows to a country with higher interest rates relative to another. The model shows how capital volatilty and wealth concentration are affected by the speed of capital flow, number of investors, magnitude of changes in interest rate due to capital flows and the interest differential threshold that investors set in deciding whether to move capital or not. Investors in the model are either “regional” investors (only investing in neighboring countries) and “global” investors (those who invest anywhere in the world).

In the future, the author hopes to extend this model to incorporate capital flow based on changes in macroeconomic fundamentals, exchange rate volatility, behavioral finance (for instance, herding behavior) and the presence of capital controls.

Displaying 10 of 849 results NetLogo 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