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 159 results #Networks clear search

This model extends Schelling’s segregation model with mobility sharing. Agents of two groups occupy cells of a 32 × 32 grid and repeatedly choose activity destinations subject to a preference threshold, the minimum share of ingroup neighbours they accept. Trips are matched into shared rides between members of different groups, using one of four matching algorithms on a shareability network (maximal cross-group matching, maximum weight matching on contact time, maximum cardinality matching, or random greedy matching) with a maximum detour constraint. After each trip, an agent’s preference threshold changes with the time spent in contact with outgroup members.

Starting from complete segregation, the model examines under which conditions contact during shared trips leads to integration. Besides the main scenario, in which contact always lowers the threshold, it includes two extensions. In the first, a share of adversarial agents becomes less tolerant with contact, and this share grows or shrinks with the current level of segregation, governed by a branching dissimilarity index and a conversion rate. In the second, each contact raises or lowers the threshold with a probability that depends on the agent’s current attitude relative to a compatibility threshold.

Segregation is measured with the index of dissimilarity and the Gini coefficient. The model file includes BehaviorSpace experiments for each analysis in the associated article. The matching step uses the NetworkX library through the Python extension of NetLogo (requires Python 3 with numpy and networkx 3.x).

This repository contains a Python simulation script for studying network-based linguistic diversity. The model extends the classic Greenberg Diversity Index by introducing diversity measures defined over social ties rather than only over population shares. It also includes two extensions: a competence-conditioned version and a multilayer version.

Replication package for a network diffusion model of how Protestant belief spreads through a
signed social network, used to compare three versions of balance theory.

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.).
    …

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.

NearshoreABM simulates whether a region captures the production linkages that nearshoring makes available, or fails to capture them because physical infrastructure and credit supply bind first.

The model runs over the 32 Mexican states at quarterly frequency. Multinational anchor firms decide whether to enter and where to locate, following Melitz selection on heterogeneous productivity under trade-policy uncertainty. Domestic supplier firms decide whether to formalise and whether to invest in quality, and may or may not obtain a contract with an anchor. A banking sector allocates a finite regional credit supply according to observed default risk, serving anchor firms before suppliers.

Electricity and water capacity enter production as non-linear congestion penalties with an engineering-based threshold, so the response of output to demand growth is discontinuous rather than proportional: below the threshold there is no penalty at all, between threshold and capacity the penalty grows quadratically, and above capacity it decays exponentially. Congestion is rivalrous within the quarter, which makes the order of production economically meaningful rather than incidental.

…

Meridian is a deterministic artificial world in which autonomous LLM scientist agents run
experiments on instruments, exchange letters, and maintain explicit probabilistic beliefs, while
a physical constant changes covertly mid-run. The true state is known only to the simulator, so
whether anyone notices becomes a measurement rather than an interpretation.

The platform separates three things that are usually confounded: what could have been known from
…

Peer reviewed LSCs-CF: An agent-based model of public space conditions and the collective formation of local sports communities

Yijia JIANG | Published Thursday, August 13, 2026 | Last modified Thursday, August 20, 2026

An agent-based model of how public space conditions shape the collective formation of local sports communities in high-mobility cities. A small gathering is already exercising in an abstract, systematically configurable public space; the model asks how strangers join them and whether the loose gathering consolidates into a stable community. Three conditions are manipulated, each acting through exactly one channel: spatial legibility governs whether a passer-by notices the activity, routine compatibility governs whether a member attends in a given week, and social anchor availability governs how much one episode of co-presence builds a tie. Ties carry a continuous strength with two thresholds, so that relationships of differing strength cross their thresholds at different condition levels. Because the model does not represent the origin of an activity, dissolution is irreversible and survival is a clean binary outcome. Across 32,790 runs in eight experiments the model yields two well separated thresholds along routine compatibility — one for survival, one for consolidation — with a wide band between them in which a space is used continuously but no community forms. The tie submodel is adapted from Jin, Girvan and Newman (2001) and verified against it by docking. Robustness is established against the seeded gathering, the pre-existing social network, a joint ±20 per cent perturbation of the behavioural parameters, and the parameters of the tie machinery.

ABMIND, the Agent-Based Model of Individual Psychological Distance, is a modeling framework developed to examine how psychological distance influences environmental protection behavior in coastal farming communities in southern China. Using household survey data and empirically estimated behavioral pathways, the model represents how uncertainty shapes four dimensions of psychological distance, namely temporal, spatial, social and hypothetical distance, and how these dimensions guide protection and degradation decisions. Agents include households, government actors and mangrove ecosystem patches, connected through social networks and ecological feedbacks that affect learning, expectations and perceived benefits. Policy interventions such as rewards, penalties and publicity guidance efforts work by modifying uncertainty and psychological distance rather than directly controlling behavior. ABMIND is implemented as a spatially explicit model following the ODD protocol, and a concise user guide is provided. In developing ABMIND we introduce a structured validation workflow that links statistical mediation analysis with simulation-based diagnostics, allowing empirical cognitive mechanisms to be systematically embedded and tested within the ABM. This integrated approach strengthens the credibility of psychological-mechanism models and supports their use in policy evaluation. The framework offers a methodological platform for integrating cognitive mechanisms into agent-based environmental behavior modeling and for evaluating policy strategies that support ecosystem protection.
Model paper:
ABMIND: An empirically informed agent-based model of psychological distance and environmental protection behaviour
Ecological Modelling
https://doi.org/10.1016/j.ecolmodel.2026.111700

Displaying 10 of 159 results #Networks 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