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 730 results agent based clear search
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[cite: 1, 3]. 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.
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:
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
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.
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.
…
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:
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.
Displaying 10 of 730 results agent based clear search