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 1319 results

patch_choice_enhanced.nlogox is an agent-based model (ABM) implementing the patch choice model from optimal foraging theory (OFT) in a multi-agent simulation environment. It extends the classical single-forager, equation-based Marginal Value Theorem (MVT) formulation to support multiple competing foragers, demographic processes, bounded memory, and stochastic resource dynamics on a spatially heterogeneous landscape.

Norms@Risk

Nanda Wijermans Eva Vriens Giulia Andrighetto | Published Saturday, September 19, 2026

Norms@Risk ABM aim is to develop an explanation for the conditions under which people jointly take action to prevent disasters from happening, e.g. impacts from climate crisis, pandemic. The aim of the Norms@Risk work is to explore understudied dynamics between risk, social norms and cooperative behaviour and their role in overcoming collective threats. More specifically, Norms@Risk seeks to refine existing theory on cooperation by unpacking the role of collective risk interacting with social norms in ‘Collective Risk Social Dilemmas’*.

This simulation study takes on the next scientific iteration after a series of behavioural experiments. With the model we target to refine existing theory by capturing the heterogeneity in contributions that existing theories cannot fully explain as the behavioural responses are assumed to be more homogenous, particularly diversity regarding sensitivity to risk and norms.

*Collective Risk Social Dilemmas reflect a special type of social dilemma, unlike typical public goods, the collective risk dilemma involves individual contribution not to realise a gain, but to avoid a collective loss.

An agent-based model of one colony of the Florida harvester ant, Pogonomyrmex badius, from the day a mated queen lands to the death of the colony. It runs in a web browser and, unchanged, headless in Node for replicate studies.

What the ants do: a claustral queen digs her own shaft and raises the first workers on her reserves; workers dig the nest under local rules, with no ant holding a plan; a one-way, age-based division of labour set by the season of birth, which no shortage reverses; trunk-trail foraging with site fidelity and recruitment; seed storage, opening and germination in the chambers, which is what feeds the larvae; daily weather from the climate normals of the study site, with drought years; nuptial flights after heavy rain; corpse removal; alarm at a disturbance on the foraging ground; and annual nest relocation, in which the store and then the brood are carried along the trail to a new nest the colony digs.

Every value in the model is tagged as measured in this species, borrowed from another ant, or invented, with its source, in a single parameter file. The model is deterministic: one seeded stream per system and a fixed one-minute timestep, so a seed reproduces a run bit for bit in the browser and in Node, which a test pins. A study writes a methods report listing the invented values the results rest on and the acceptance tests the model fails.

We built a model of knowledges diffusion in networks. The particularity is that knowledges to be passed on are cumulative : rely on previous acquisition of specific knowledges of a lower level to be passed from an agent to another. We test for different types of networks, different selection rules for the knowledge to be passed and the possibility to introduce a turnover among agents.
We concentrate on the learning speed and the convergence level of the learning process.

GFN & Technology Models Library (2025–2035) is a collection of four interrelated computational models focused on global financial networks, cascading default risks, technological development, and technological lag, with particular attention to Russia, the USA, and China. The library combines agent-based modeling, system dynamics, Monte-Carlo simulation, and network analysis. It includes: (1) a Numba-accelerated Monte-Carlo technology index model; (2) a hybrid GFN + cascading defaults (Gai–Kapadia) + Russian system dynamics model; (3) a twin-simulation GFN+SBS framework with selective bailout and Russia’s peripheral position; and (4) an endogenous GFN model with technology centrality, dependence, and tech lag dynamics under sanctions scenarios. GFN & Technology Models Library (2025–2035) is a collection of four interrelated computational models focused on global financial networks, cascading default risks, technological development, and technological lag, with particular attention to Russia, the USA, and China.

The library combines agent-based modeling, system dynamics, Monte-Carlo simulation, and network analysis. It includes:

  1. Technology Index 2035 (Monte-Carlo + Numba) — hybrid SD/ABM model projecting a composite technology index under different scenarios (Russia baseline, China, USA) with aggressive Numba optimization.
  2. RUS-GFN-TSI-2035 CASCADE — hybrid model integrating a Gai–Kapadia-style cascading defaults network, an agent-based Global Financial Network layer, and a system-dynamics module for the Russian economy (TSI, inflation, technology, trust, etc.).

This NetLogo model simulates the movement and foraging behavior of 20 bird species (classified as urban avoiders or utilizers) across a 20×20m grid landscape representing southern Bogotá, Colombia. Agents follow an optimal foraging strategy (90% of the time) or move randomly (10%), gaining energy from land-cover-dependent food sources and dying if energy falls below their basal metabolic rate. The model compares two landscape scenarios — current land cover (2016) and a proposed scenario incorporating the ‘Media Luna del Sur’ ecological corridor from Bogotá’s 2022–2035 Land Use Plan (POT) — to evaluate whether the proposed green infrastructure improves functional connectivity for avian biodiversity across the urban matrix. Outputs include cumulative patch visitation counts, exported as raster files, used to generate connectivity heatmaps.

The model simulates the evolution of the labor market in the context of the PNRR (National Recovery and Resilience Plan). It tracks how two types of agents (angajati and neangajati) develop their professional competencies to match the requirements of seven distinct job categories.
The simulation focuses on the gap between current skill levels and market demands, specifically modeling how a sudden “Market Shift” (the introduction of a 13th competency) impacts the workforce’s readiness.

HousingABM_Japan is a NetLogo agent-based model of the residential market of Tokyo’s 23 wards. It evaluates whether a single parameter configuration can jointly reproduce key features of prices, rents, yields, and market turnover across distinct market regimes from 2001 to 2025, with particular attention to demand- and supply-side trend-following during the 2021–2025 price surge.

The model builds on the Bank of England housing-market lineage (Baptista et al. 2016; Carro et al. 2023) and introduces four extensions: (1) dynamic linkages between the sale and rental markets through vacancy, rents, and yields; (2) heterogeneous demand-side trend-following; (3) supply-side trend-following through construction-cost trend anchoring and a momentum-dependent dynamic premium; and (4) housing-equity borrowing that converts unrealized equity into additional borrowing capacity.

Twenty parameters are calibrated using 2001–2015 data and held fixed for post-calibration evaluation over 2016–2020 and 2021–2025, while annual exogenous inputs follow observed historical paths. The model reproduces the shift from moderate price growth to the 2021–2025 surge, as well as rent acceleration, surge-period yield compression, and persistently low market turnover, although it understates the intermediate acceleration of 2016–2020.

This model implements a bidirectional coupling between micro-level agent decisions and macro-level system dynamics, with an additional diagnostic layer based on Stafford Beer’s Viable System Model.

Key features:
- Six types of agents (Household, Firm, Bank, Government, Foreign, Innovation)
- Continuous SDM core integrated with Runge-Kutta 4
- Robust GDELT data handling with multi-level fallback

Organizations operate under conditions of imperfect performance in which human error is inevitable, yet errors are rarely examined as the triggers for the managerial interactions that shape organizational culture over time. The present research introduces an agent-based simulation of a work team completing a fixed sequence of tasks under varying degrees of managerial oversight and response policy. The model isolates the mechanical loss of throughput caused by errors from the psychological and cultural consequences of managerial reactions, which are categorized into ignoring, correcting or punishing. Furthermore, the model incorporates an autonomous self-notice mechanism, allowing workers to correct themselves in the absence of managerial intervention. By tracking the accumulation of worker resentment and the transient enhancements in learning, the simulation acts as a dynamic laboratory for observing delayed consequences, nonlinear tipping points and systemic organizational collapse. The results reveal a central paradox of organizational control. Highly monitored punitive environments generate high short-term throughput, yet they simultaneously accumulate interactional injustice and resentment that engineer a rapid cascading turnover and the highest probability of systemic collapse. Conversely, corrective policies combined with active monitoring achieve equivalent throughput while sustaining workforce viability. A comprehensive sensitivity analysis establishes that error accumulation is primarily determined by structural factors, namely agent-level mistake propensity and task difficulty, while resignation dynamics, resentment accumulation and collapse timing remain predominantly governed by managerial policy, a hierarchy independently corroborated by a surrogate model and shown to be stable across independent seeds and across stakeholder weighting scenarios. The study bridges the operational mechanics of task completion and the social dynamics of workplace mistreatment, illustrating how short-term punitive success often masks long-term structural fragility.

Displaying 10 of 1319 results

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