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 453 results simulation clear search

This study presents a System Dynamics (SD) model that explores the “trajectories of homelessness” among youth outside of the formal care system. Unlike traditional approaches that view runaway behavior as a discrete choice, this model reinterprets it as a neurobiological adaptation to chronic resource deprivation and systemic neglect.
​The model incorporates key mechanisms such as ‘Allostatic Load’ accumulation, ‘PFC-Amygdala Switching’, and the ‘Iatrogenic Effects’ of shelter policies. It utilizes Monte Carlo simulations to demonstrate how structural factors create a “probabilistic vulnerability,” trapping youth in cycles of survival crime and isolation regardless of individual resilience.
​The uploaded code includes a Python implementation of the model to ensure reproducibility of the stochastic analysis presented in the paper.

This model explores the coupled dynamics of social norm diffusion and finite resource depletion. Extending the “Affordance Landscape” framework by Kaaronen & Strelkovskii (2020), this simulation investigates how resource scarcity and regeneration rates influence the adoption of pro-environmental behaviours.

The model addresses the gap by linking behavioural norms to a depleting common-pool resource. It tests whether sustainable norms can diffuse rapidly enough to prevent ecological collapse and identifies “tipping points” where resource scarcity acts as a driver for behavioural change.

Behavioural model

Aulia Imania Sukma | Published Friday, November 07, 2025

This repository serves as a design proof for agent-based modeling simulation in heat adaptation behavior. This model was developed as part of the UrbanAir project theme. This repository will be kept updated in the four-year timeline (2025 until 2029).

This Agent-Based Model is designed to simulate how similarity-based partner selection (homophily) shapes the formation of co-offending networks and the diffusion of skills within those networks. Its purpose is to isolate and test the effects of offenders’ preference for similar partners on network structure and information flow, under controlled conditions.

In the model, offenders are represented as agents with an individual attribute and a set of skills. At each time step, agents attempt to select partners based on similarity preference. When two agents mutually select each other, they commit a co-offense, forming a tie and exchanging a skill. The model tracks the evolution of network properties (e.g., density, clustering, and tie strength) as well as the spread of skills over time.

This simple and theoretical model does not aim to produce precise empirical predictions but rather to generate insights and test hypotheses about the trade-off between partnership stability and information diffusion. It provides a flexible framework for exploring how changes in partner selection preferences may lead to differences in criminal network dynamics. Although the model was developed to simulate offenders’ interactions, in principle, it could be applied to other social processes involving social learning and skills exchange.

This model was utilized for the simulation in the paper titled Effect of Network Homophily and Partisanship on Social Media to “Oil Spill” Polarizations. It allows you to examine whether oil spill polarization occurs through people’s communication under various conditions.

・Choose the network construction conditions you’d like to examine from the “rewire-style” chooser box.
・Select the desired strength of partisanship from the “partisanlevel” chooser box. You can also set the strength manually in the code tab.
・You can set the number of dynamic topics using the “number-of-topics” slider.
・Use the “divers-of-opinion” slider to set the number of preference types for each dynamic topic.

Negotiation plays a fundamental role in shaping human societies, underpinning conflict resolution, institutional design, and economic coordination. This article introduces E³-MAN, a novel multi-agent model for negotiation that integrates individual utility maximization with fairness and institutional legitimacy. Unlike classical approaches grounded solely in game theory, our model incorporates Bayesian opponent modeling, transfer learning from past negotiation domains, and fallback institutional rules to resolve deadlocks. Agents interact in dynamic environments characterized by strategic heterogeneity and asymmetric information, negotiating over multidimensional issues under time constraints. Through extensive simulation experiments, we compare E³-MAN against the Nash bargaining solution and equal-split baselines using key performance metrics: utilitarian efficiency, Nash social welfare, Jain fairness index, Gini coefficient, and institutional compliance. Results show that E³-MAN achieves near-optimal efficiency while significantly improving distributive equity and agreement stability. A legal application simulating multilateral labor arbitration demonstrates that institutional default rules foster more balanced outcomes and increase negotiation success rates from 58% to 98%. By combining computational intelligence with normative constraints, this work contributes to the growing field of socially aware autonomous agents. It offers a virtual laboratory for exploring how simple institutional interventions can enhance justice, cooperation, and robustness in complex socio-legal systems.

An agent-based model of scapegoating

Carlos Paes | Published Thursday, August 28, 2025 | Last modified Thursday, August 28, 2025

This agent-based model investigates scapegoating as a social mechanism of crisis management. Inspired by René Girard’s mimetic theory, it simulates how individual tension accumulates and spreads across a small-world network. When tension exceeds certain thresholds, leaders emerge and accuse marginalized agents, who may attempt to transfer blame to substitutes. If scapegoating occurs, collective tension decreases, but victims become isolated while leaders consolidate temporary authority. This simulation provides a conceptual and methodological framework for exploring how collective blame, crisis contagion, and leadership paradoxes emerge in complex networks. It can also be extended with empirical data, such as social media dynamics of online harassment and virtual lynching, offering potential applications for both theoretical research and practical crisis monitoring.

LogoClim: WorldClim in NetLogo

Daniel Vartanian Leandro Garcia Aline Martins de Carvalho Aline | Published Thursday, July 03, 2025 | Last modified Tuesday, September 16, 2025

LogoClim is a NetLogo model for simulating and visualizing global climate conditions. It allows researchers to integrate high-resolution climate data into agent-based models, supporting reproducible research in ecology, agriculture, environmental sciences, and other fields that rely on climate data.

The model utilizes raster data to represent climate variables such as temperature and precipitation over time. It incorporates historical data (1951-2024) and future climate projections (2021-2100) derived from global climate models under various Shared Socioeconomic Pathways (SSPs, O’Neill et al., 2017). All climate inputs come from WorldClim 2.1, a widely used source of high-resolution, interpolated climate datasets based on weather station observations worldwide (Fick & Hijmans, 2017).

LogoClim follows the FAIR Principles for Research Software (Barker et al., 2022) and is openly available on the CoMSES Network and GitHub. See the Logônia model for an example of its integration into a full NetLogo simulation.

The primary purpose of this model is to explain the dynamic processes within university-centered collaboration networks, with a particular focus on the complex transformation of academic knowledge into practical projects. Based on investigations of actual research projects and a thorough literature review, the model integrates multiple drivers and influencing factors to explore how these factors affect the formation and evolution of collaboration networks under different parameter scenarios. The model places special emphasis on the impact of disciplinary attributes, knowledge exchange, and interdisciplinary collaboration on the dynamics of collaboration networks, as well as the complex mechanisms of network structure, system efficiency, and interdisciplinary interactions during project formation.
Specifically, the model aims to:
- Simulate how university research departments drive the formation of research projects through knowledge creation.
- Investigate how the dynamics of collaboration networks influence the transformation of innovative hypotheses into matured projects.
- Examine the critical roles of knowledge exchange and interdisciplinary collaboration in knowledge production and project formation.
- Provide both quantitative and qualitative insights into the interactions among academia, industry, and project outputs.

The SAFIRe model (Simulation of Agents for Fertility, Integrated Energy, Food Security, and Reforestation) is an agent-based model co-developed with rural communities in Senegal’s Groundnut Basin. Its purpose is to explore how local farming and pastoral practices affect the regeneration of Faidherbia albida trees, which are essential for maintaining soil fertility and supporting food security through improved millet production. The model supports collective reflection on how different social and ecological factors interact, particularly around firewood demand, livestock pressure, and agricultural intensification.

The model simulates a 100-hectare agricultural landscape where agents (farmers, shepherds, woodcutters, and supervisors) interact with trees, land parcels, and each other. It incorporates seasonality, crop rotation, tree growth and cutting, livestock feeding behaviors, and farmers’ engagement in sapling protection through Assisted Natural Regeneration (ANR). Two types of surveillance strategies are compared: community-led monitoring and delegated surveillance by forestry authorities. Farmer engagement evolves over time based on peer influence, meeting participation, and the success of visible tree regeneration efforts.

SAFIRe integrates participatory modeling (ComMod and ComExp) and a backcasting approach (ACARDI) to co-produce scenarios rooted in local aspirations. It was explored using the OpenMole platform, allowing stakeholders to test a wide range of future trajectories and analyze the sensitivity of key parameters (e.g., discussion frequency, time in fields). The model’s outcomes not only revealed unexpected insights—such as the hidden role of farmers in tree loss—but also led to real-world actions, including community nursery creation and behavioral shifts toward tree care. SAFIRe illustrates how agent-based modeling can become a tool for social learning and collective action in socio-ecological systems.

Displaying 10 of 453 results simulation 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