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 231 results population clear search

This model asks whether the escape from Malthusian stagnation is irreversible. It implements the evolutionary growth theory of Galor and Moav (2002), in the calibrated form of Collins, Baer and Weber (2014), inside an agent-based layer that adds heterogeneity within groups.

The population consists of preference types (“genotypes”) that differ in how much parents value child quality (education) relative to child quantity. Each generation, agents draw individual human capital and education around their type’s values. They then choose fertility and education by maximising utility subject to a time budget and a subsistence constraint. Technological progress depends on the average education of the adult generation, and population shares evolve by replicator dynamics, with fertility acting as fitness. Without migration, the model reproduces a long Malthusian epoch, a take-off driven by the spread of the quality-preferring type, a demographic transition and sustained income growth of about 2% per year.

A third, more quantity-oriented type can enter through a one-off migration shock. It is defined by its preference level, its initial share and its arrival date. A full factorial experiment covers 180 scenarios with 30 replications each. It shows that modern growth collapses back towards stagnation when the preference of the type that comes to dominate lies below a critical value. Analytically, this threshold is a saddle–node bifurcation of the education map (β̂ ≈ 0.81 in the calibrated model).

…

Peer reviewed Epistemic Bubbles in Adaptive Social Networks

Omar al-Magharebi | Published Monday, November 16, 2026 | Last modified Sunday, November 29, 2026

How can people come to agree with their neighbors while remaining divided across a social network?

Epistemic Bubbles is an exploratory NetLogo model in which people revise their beliefs and change their social ties. Agents start in a randomly connected network. At each time step, they move toward their neighbors’ average belief according to their openness to influence. A tie can dissolve when disagreement exceeds either agent’s tolerance. Agents can also form new ties with people whose beliefs fall within their tolerance.

To try the model, open Epistemic_Bubbles.nlogox in NetLogo 7.0.4. Click SETUP and GO to run the saved settings. Then set mean-tolerance to 0.15, click SETUP again, and rerun with the same seed. Compare the number of connected components, the spread of beliefs across the population, and the average belief gap between people who are directly connected.

…

Shared vocabularies are not designed by any central authority; they emerge from the bottom up as communities of speakers repeatedly try to understand one another. We study this process with an agent-based Naming Game in which a population that begins with no common vocabulary self-organises a shared language through local pairwise interaction, and we ask how the social network governs the outcome under communication noise and under selection on communicative strategy. The study combines baseline experiments with an extended suite built specifically to meet the standards of replication and statistical inference: every reported quantity is averaged over many independent seeded runs with confidence intervals, and the central claim is tested with a formal interaction statistic. Convergence time scales with population size as a power law with exponent close to four-thirds, matching analytical results for the Naming Game on networks. Restricted networks sustain many coexisting regional dialects, which we quantify with a cluster-based metric and show to be metastable, decaying to a single language as the interaction budget grows. Our central methodological contribution concerns noise robustness. A naive comparison suggests that denser networks simply tolerate more noise, but by comparing topologies at matched mean degree and by sweeping degree directly we separate two effects: connectivity raises robustness with sharply diminishing returns, while at identical degree locally clustered topologies remain significantly less robust than well-mixed ones. The effect of topology therefore survives the removal of the degree confound. Finally, an evolutionary extension shows that selection for communicative success drives inventiveness towards a low level that a frequency-dependent reward for useful innovation raises only slightly, so conservatism is robust rather than an artefact of the fitness function.

This archive contains the SAFE-ABM computational model developed to evaluate targeted intervention strategies for protecting essential workers during epidemic conditions, accompanying the published article “Essential Workers at Risk: An Agent-Based Model (SAFE-ABM) with Uncertainty Quantification” in the Journal of Artificial Societies and Social Simulation, 29(4), Article 7 (2026). https://doi.org/10.18564/jasss.6276. SAFE-ABM is an agent-based model that simulates disease transmission through structured interactions across households, workplaces, and schools, while incorporating stochastic disease progression and uncertainty in transmission, recovery, and mortality parameters.

The model evaluates five intervention scenarios: Scenario 1, no restrictions; Scenario 2, school-from-home; Scenario 3, essential-workers-only movement; Scenario 4, rotational shifts among essential workers with quarantine of symptomatic active workers; and Scenario 5, rotational shifts among essential workers without quarantine. The archive includes scenario-specific simulation scripts, comparison-analysis scripts, saved derived outputs, README documentation, software requirements, and reproducibility notes.

The included comparison scripts reproduce the main numerical summaries and manuscript outputs, including median epidemic trajectories, predictive-uncertainty plots, cumulative recovery and death summaries, inflection-point summaries, Welch-test comparisons, and mutual-information sensitivity rankings. Saved derived outputs are included so that the main figures and tables can be reproduced without rerunning all large-scale simulations.

…

The model represents a large, traditional firm competing with small, sustainable food producers. The large firm operates under conventional assumptions, pursuing monopoly profits maximized through standard economic principles. Its behavior is driven by economies of scale, which compel small firms to strategically differentiate themselves to deliver added value to consumers. Consequently, small firms focus on offering higher-quality products—a factor that matters significantly to consumers.

The gains achieved by small firms represent social profits that hinge upon establishing co-participation schemes with farmers and building trustworthy relationships with consumers. Cooperation with farmers directly shapes production processes and product quality. Because a firm trusted by one consumer becomes visible to neighbors, trust can diffuse and evolve into a collective identity. Ultimately, population-level legitimation occurs when the organizational form of the organic food producer gains widespread acceptance within the consumer community.

The model’s behavior depends on three key factors: a trust parameter, a legitimation intensity parameter, and an aspiration-level weight (for the large firm).

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.

HOSS(-5) is an exploratory agent-based prototype of a small artificial society, written in Python. Each agent is a “ph” (punto humano, “human point”) that is born, is educated, works, consumes and dies. Its yearly decisions depend on a psychological profile (archetype × character), its economic status and its intentionality. Agents interact indirectly through families, firms in 10 sectors, a labour market with about 200 job categories, and a State that provides public services, employment and a Universal Basic Income, adjusting taxes and UBI each year to seek fiscal balance.

The model simulates a few thousand agents over decades of virtual time and records yearly aggregates (population, GDP, income, Gini index, HDI). A separate analysis script explores the results and fits Gamma distributions to individual incomes, comparing the shape parameter with Gini and HDI.

HOSS does not aim to predict real societies or claim empirical validation. It is a sandbox for comparing scenarios and thinking about the organizational design of society from an engineering perspective. Known limitations: no direct social relations between agents, prices and production follow simple rules rather than supply-demand dynamics, and organizations are black boxes.

…

Artificial Anasazi is an agent-based model of farming households in the Long House Valley, Arizona, from 800 to 1350 CE. Each household chooses where to farm and settle based on expected harvest, water sources and stored maize, and simulated household counts are compared with the archaeological record.

This release adapts the NetLogo Models Library version (Stonedahl & Wilensky 2010) of Janssen’s (2009) NetLogo replication of the original Ascape model (Dean et al. 2000; Axtell et al. 2002). It contains four configurations in one NetLogo 7.0.4 file, selected with two switches:

  • Both switches off: the baseline, which is the Models Library model with small fixes that make it work as intended (the arable-uplands zone name, the setup base yield, the initial household count, one-tick-lag capacity reporting, and seed control with observation-only instruments).
  • soil-on?: dynamic soil quality that depletes under cultivation and regrows, following Janssen (2010, eq. 4).
    …

An agent-based model to explore human–wild boar interactions in urban and suburban landscapes at the interface with agricultural land and natural habitats, by simulating wild boar population growth, mortality, and movements across the landscape

Why do career outcomes in organizations follow highly skewed distributions when the individual traits presumed to drive success — competence, effort, and social skill — are approximately normally distributed in the population? This agent-based model investigates the relative contributions of individual attributes versus random events (“luck”) to career outcomes in hierarchically structured organizations.

The model places 500 agents in a five-level pyramid-shaped organization over 80 six-month evaluation periods (40 simulated years). Each agent is characterized by four attributes drawn from normal distributions at initialization: competence, effort, social skill, and adaptability. In each period, agents may encounter stochastic career events (good or bad projects, supportive or poor managers, market booms or busts), which modify their performance and visibility scores. Promotion decisions are made competitively when vacancies arise at higher levels, using a weighted combination of recent performance, accumulated visibility, network position, and tenure. Social connections form and decay through a proximity-based model influenced by agents’ social skills.

The model extends the talent-versus-luck framework of Pluchino et al. (2018) in four substantive directions: (1) it embeds agents in a hierarchical organization with finite positions at each level, making promotion a zero-sum competition rather than an abstract encounter with random events; (2) it represents individual differences along four independent attribute dimensions rather than a single talent score; (3) it incorporates dynamic social network formation that mediates access to career-relevant opportunities; and (4) it implements the Peter Principle mechanism through which promoted agents must acquire competence appropriate to their new role.

…

Displaying 10 of 231 results population 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