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 22 results consensus clear search

This model represents individuals from two different groups interacting and sharing attitudes toward both groups. Through these interactions, individuals adjust their attitudes, which can lead to different outcomes in opinion dynamics. The model can study both intra-group and inter-group opinion dynamics. Under certain conditions, agents with initially moderate attitudes might enter a negative spiral, leading to increasingly extreme intergroup attitudes. Alternatively, these moderate attitudes can foster consensus between groups, resulting in agreement on intergroup attitudes. This model serves as a tool for exploring opinion polarization, particularly in contexts where attitudes evolve through interaction rather than remaining static.

By adjusting different parameters, one can examine the effects of variations in attitude distributions; group size and relative group size; contributions of xenophobia, opinion distance, and individual attitudes towards the outgroup; as well as ratio between xenophobia and attitudinal bias to the overall intergroup bias.

The model accompanies the paper When contact backfires, and when it does not: A computational model of the opinion dynamics of intergroup attitudes.

An agent-based model in which fourteen European Union member states each carry a cooperation
propensity in [0,1], updated by a logistic link applied to a latent index that combines the unit’s
own previous state, a weighted average of the other units’ states, and four min-max normalised
exogenous indicators (cooperative benefit, opportunistic temptation, systemic exit cost,
intertemporal confidence). The logistic centres are anchored so that the observed 2024
configuration is an exact fixed point of the baseline map, the device that makes such models
…

Agent-based model of cooperation among fourteen EU member states under geopolitical shocks, 2024-2040. States are adaptive agents on the observed intra-EU trade network, updating a cooperation propensity through inertia, network influence, and a repeated-game payoff structure built from verified Eurostat, Eurobarometer and IMF data. An anchoring device makes the observed 2024 configuration exactly stationary absent shocks, so results are read as deviations from an empirical baseline. Five scenarios of increasing severity are simulated with Monte Carlo replication, up to an extreme counterfactual crisis in the Taiwan Strait. Includes six robustness batteries and a full ODD description.

This entry provides an Agent-Based Model (ABM) of opinion and tolerance dynamics in artificial societies, implemented in the frame of the Concord/Partial Antagonism (C/PA) model. This version is specifically designed to investigate the impact of asymmetric influence through two leadership archetypes—Dictator and Democrat—within networked societies.
The model is highly modular, allowing the user to simulate three distinct social scenarios:
Baseline C/PA: Self-organization of a society without external influence.
Stubborn Leadership: Introduction of a “solid conviction” leader (Dictator or Democrat) who exerts constant pressure without changing their own stance.
Feedback Leadership: A democratic leader receptive to social feedback, where the leader’s opinion evolves based on interactions with the population.
Theoretical Foundations:
…

A reproducible NetLogo implementation of a spatial attraction-repulsion opinion model with eviction-driven relocation. Agents interact locally, converge with similar neighbors, diverge from dissimilar neighbors, and may evict the most dissimilar neighbor to a random empty location. Parameter sweeps reveal transitions among extremist, mixed, and consensus regimes, with outputs including phase diagrams, opinion distributions, and Moran’s I. The model is intended to reproduce and extend results on how exclusion frequency changes polarization outcomes.

This model is to explore how individuals’ cultural backgrounds may play a role in their Covid vaccination decision-making. Two cultural dimensions of collectivism/individualism and power distance are considered. Through the experimental scenarios, we find that Covid-vaccination opinions in collectivist societies can also be considerably polarised, if the power distance is less and authorities less centralised. This result complements the popular idea that cultural collectivism is usually associated with a high degree of social consensus. Hopefully, this study will help explain countries’ difference in the response of Covid vaccination programs.

The present model is an abstract ABM designed for theoretical exploration and hypotheses generation. Its main aim is to explore the relationship between disagreement over the diagnostic value of evidence and the formation of polarization in scientific communities.
The model represents a scientific community in which scientists aim to determine whether hypothesis H is true, and we assume that agents are in a world in which H is indeed true. To this end, scientists perform experiments, interpret data and exchange their views on how diagnostic of H the obtained evidence is. Based on how the scientists conduct the inquiry, the community may reach a correct consensus (i.e. a situation in which every scientist agrees that H is correct) or not.

The development and popularisation of new energy vehicles have become a global consensus. The shortage and unreasonable layout of electric vehicle charging infrastructure (EVCI) have severely restricted the development of electric vehicles. In the literature, many methods can be used to optimise the layout of charging stations (CSs) for producing good layout designs. However, more realistic evaluation and validation should be used to assess and validate these layout options. This study suggested an agent-based simulation (ABS) model to evaluate the layout designs of EVCI and simulate the driving and charging behaviours of electric taxis (ETs). In the case study of Shenzhen, China, GPS trajectory data were used to extract the temporal and spatial patterns of ETs, which were then used to calibrate and validate the actions of ETs in the simulation. The ABS model was developed in a GIS context of an urban road network with travelling speeds of 24 h to account for the effects of traffic conditions. After the high-resolution simulation, evaluation results of the performance of EVCI and the behaviours of ETs can be provided in detail and in summary. Sensitivity analysis demonstrates the accuracy of simulation implementation and aids in understanding the effect of model parameters on system performance. Maximising the time satisfaction of ET users and reducing the workload variance of EVCI were the two goals of a multiobjective layout optimisation technique based on the Pareto frontier. The location plans for the new CS based on Pareto analysis can significantly enhance both metrics through simulation evaluation.

Package for simulating the behavior of experts in a scientific-forecasting competition, where the outcome of experiments itself depends on expert consensus. We pay special attention to the interplay between expert bias and trust in the reward algorithm. The package allows the user to reproduce results presented in arXiv:2305.04814, as well as testing of other different scenarios.

Myside Bias and Group Discussion

Edoardo Baccini | Published Monday, November 14, 2022 | Last modified Tuesday, September 05, 2023

The my-side bias is a well-documented cognitive bias in the evaluation of arguments, in which reasoners in a discussion tend to overvalue arguments that confirm their prior beliefs, while undervaluing arguments that attack their prior beliefs. This agent-based model in Netlogo simulates a group discussion among myside-biased agents, within a Bayesian setting. This model is designed to investigate the effects of the myside bias on the ability of groups to reach a consensus or collectively track the correct answer to a given binary issue.

Displaying 10 of 22 results consensus 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