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

This model couples a two-asset heterogeneous-agent New Keynesian macroeconomy with a household layer that can be driven in two ways. One is a conventional calibration. The other is a set of large-language-model persona agents built from real survey households in Korea (NaSTaB), the United States (PSID) and Italy (SHIW). Each persona is given its balance sheet, income and prices, and reports consumption, saving and labour supply. A feasibility layer enforces the budget constraint. A conditional-mean surrogate then turns these decisions into a propensity surface. That surface reaches the macroeconomic block through a single channel, the intertemporal marginal propensity to consume matrix. Because of this, a calibrated “twin” can be aligned with the generative layer exactly, and the two can be compared policy by policy.

Both layers are then scored against the held-out consumption of the same households. The model’s role is to serve as a benchmark: it tests whether generative agents add information beyond the balance sheet, and whether that information matches real behaviour.

The deposit contains:

…

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.

Netlogo Aquaponic Simulation

Derrick | Published Tuesday, October 06, 2026 | Last modified Wednesday, October 07, 2026

This agent-based aquaponics simulation models the biological resilience and complex dynamics of a closed-loop agricultural system. Designed for educational use and agricultural research, the model helps aquaponic designers, farmers, and hobbyists understand systemic dynamics and stress-test species configurations prior to a physical build. The simulation dynamically models the nitrogen cycle by tracking aquatic bio-loads, bacterial filtration, and plant nutrient uptake. Utilizing real-world biological metrics from the Loyola Global Aquatic Excrement Dataset, the model calculates species-specific ammonia excretion rates (toxicity) for various aquatic life, including Trout, Tilapia, and Goldfish. Nitrifying bacteria agents convert this toxicity into usable nitrates, which are then absorbed by specific crop agents—such as Tomatoes, Swiss Chard, or Lettuce—at variable rates. Key features include dynamic stochastic harvesting, measurable agent health, vermaculture and crawdad integration, and reactive biological mitigators like emergency duckweed buffering. The system also introduces chaotic environmental variables, allowing users to test the agricultural setup’s resilience against random shocks like bio-filter pump failures and temperature crashes. This model is released under the GNU General Public License v3.0 (GPL-3.0) to encourage collaborative improvement within the academic and farming communities.

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

Aquaponics & Multitrophic System Simulation

derrickatasu | Published Friday, September 25, 2026 | Last modified Thursday, October 08, 2026

An agent-based model built in NetLogo that simulates a closed-loop recirculating aquaponics and integrated multitrophic aquaculture (IMTA) ecosystem, modeling the complex dynamics between aquatic species, vermaculture, and hydroponic plant beds. This model captures the operational mechanics of a complex, sustainable production network. It tracks nutrient flows, water recirculation pathways, biological growth stages, and environmental feedback penalties (such as nutrient toxicity or starvation) across multiple specialized tanks and grow beds. Model Architecture & HabitatsAquatic Subsystem: Duckweed Tank, Breeding Tank, Fry Tank, Fingerling Tank, Adult Tank, and a Holding Tank for harvested fish. Benthic & Waste Management: Crawdad Tank 1 & 2 for bottom-feeding and waste processing, alongside a Vermaculture node populated by composting worms. Hydroponic Subsystem: Five sequential Grow Beds and a recirculating loop feeding back into the system. Key Agent DynamicsWater Flow Visualization: Active links between tanks spawn animated droplet agents that visually simulate recirculating water dynamics across the network. Biological Growth & Aging: Fish and plants progress through age-based development thresholds governed by species-specific parameters. Feedback Loops:Toxicity Penalty: Excess nutrients (nutrient-per-day > 80) slow fish growth rates by 50%. Starvation Penalty: Insufficient nutrient levels (nutrient-per-day < 30) delay plant maturation by 50%. Interface Controlsfish-type Chooser: Selects the primary aquatic species (Tilapia, Channel Catfish, Trout, Goldfish), altering base growth thresholds. plant-type Chooser: Selects the cultivated crop (Lettuce, Basil, Tomatoes, Mint). nutrient-per-day Slider: Manages daily nutrient input to balance system load and avoid toxicity or starvation thresholds. Dashboard Plot: Real-time tracking of total-fish-harvested and total-plants-harvested.

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.

…

Displaying 10 of 1327 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