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 1348 results Sort by: Recently modified clear search

Viking Sailing is a spatially explicit agent-based simulation for conditional exploration of how rasterized coastlines, wind, and
surface-current conditions interact with simplified ship movement, sailing, rowing, navigation, and land-avoidance rules. The
model compares simulated route trajectories and terminal outcomes for hypothetical Viking-era small-ship voyages. It includes an example dataset representing sea surface winds and currents from June 1000 CE. Additional data can are downloaded from Zenodo: https://zenodo.org/records/23213147.

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.

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

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

Diversity has become a defining feature of most Western societies, where boundaries of membership extend beyond ethnicity to encompass multiple intersecting categories, increasing the complexity of social integration. The aim of this model is to adapt the classical Schelling model of spatial segregation to this context and to identify mechanisms that may generate the hybrid segregation patterns where individuals are segregated from out-groups along one dimension while remaining integrated along others.

We extend the Schelling model using a discrete choice framework that incorporates dominant and secondary preferences among agents from two ethnic groups. Liberal agents prioritize cross-ethnic shared values over ethnicity, whereas conservative agents prioritize ethnic membership over shared values, although both retain some preference for the secondary dimension. The model is designed to explore how heterogeneous preferences and intersecting group memberships interact under different group compositions and initial distributions.

Anthill: A harvester ant colony built from the published science

Adrian Diez Cuadrado | Published Thursday, September 17, 2026 | Last modified Thursday, September 24, 2026

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.

…

An Agent Based Model that explores the deployment of hydrogen among a regional industrial cluster in the Netherlands, consisting of 15 companies. The companies seek to decarbonize by replacing their natural gas by hydrogen.
The model integrates technical characteristics as well as company motivations to transition to hydrogen. The baseline model only considers individual investments where company can locally produce hydrogen. If they reach the backbone threshold, companies can also consider buying hydrogen through a connection to the national hydrogen network. The second scenario considers that companies can participate in a joint investment to get an electrolyzer to locally produce the hydrogen.
Two experiments look at the impact of the sectoral configuration and at the impact of subsidy conditions on the region’s hydrogen transition

The influence of cognitive diversity on networked search and coordination

César García-Díaz | Published Wednesday, April 03, 2024 | Last modified Tuesday, September 22, 2026

Agent-based models of organizational search have long investigated how exploitative and exploratory behaviors shape and affect performance on complex landscapes. To explore this further, we build a series of models where agents have different levels of expertise and cognitive capabilities, so they must rely on each other’s knowledge to navigate the landscape. Model A investigates performance results for efficient and inefficient networks. Building on Model B, it adds individual-level cognitive diversity and interaction based on knowledge similarity. Model C then explores the performance implications of coordination spaces. Results show that totally connected networks outperform both hierarchical and clustered network structures when there are clear signals to detect neighbor performance. However, this pattern is reversed when agents must rely on experiential search and follow a path-dependent exploration pattern.

A simulation model for Dublin city

umesh7lowe | Published Friday, April 10, 2026

An agent-based model of urban travel behaviour in Dublin, Ireland, built in NetLogo and empirically grounded in 2016 travel survey data. Each agent represents a Dublin resident initialised with real socio-demographic attributes — including age, gender, household size and car ownership, income, driving licence status, and access to local amenities — alongside observed trip characteristics such as distance, travel time, and trip type (work, shopping, leisure).
At each time step, agents choose between four transport modes (car, public transport, cycling, and walking) across short, medium, and long trips. Mode choice is governed by a preference vector that weighs personal need satisfaction against social influence from neighbouring agents reflecting consumat framework. Satisfaction evolves dynamically based on cost (incorporating Irish motor tax bands and per-km operating rates), travel time, and trip-type suitability, with an uncertainty parameter capturing variability in perceived utility over time.
The model tracks aggregate modal shares and total CO2 emission at each tick, enabling exploration of how policy interventions — such as fuel taxation, public transport pricing, or active travel incentives — might shift the city’s travel demand profile over 100 simulated days.

Displaying 10 of 1348 results Sort by: Recently modified 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