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 66 results food clear search
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.
This models simulate how people choose their food buyings based on a limited budget and a food quality index. In order to make the choice the agents call a genetic algorithm who optimizes the buying. The agents are distributed randomly and there are 5 store options where agents can buy meat, fruits and vegetables, bread, ultraprocessed and medications. Agents need all of them, each of one has a different price and a different quality index. The genetic algorithm perform an optimization procedure in order to clasiffy what food set is the best for each agent. The agents are coloured based on their budget if the’ve got less than 100, then they are pink otherwise they are white.
The purpose of this model is to analyze different configurations and scenarios of ecological corridors to simulate the movement of three avoider bird species at a local scale: Chondrohierax uncinatus (Accipitridae), a large carnivorous bird; Ampelion rubrocristatus (Cotingidae), a species that seeks areas with substantial land cover for refuge and rest; and Coeligena bonapartei (Trochilidae), a large hummingbird that prefers areas with a rich and diverse food supply. The model focusses on juvenile bird individuals seeking refuge and food, taking into account the mobility parameters of each species and the existing land cover types within the study area.
Specifically, the model aims to:
• Simulate the movement of 45 avoiders birds which are considered umbrella species sensitive to urban changes (which were chosen based on their specific biological and ecological requirements and parameters relevant to urban conservation efforts), 15 avoiders birds per specie to cross a two-dimensional world predominant urban.
• To be able to select which corridor scenario would be the most beneficial, in order to help the mobility of other species affected by urban fragmentation.
• Contribute to urban ecology research and support decision-making processes by relevant stakeholders.
This model simulates a simple aquatic ecosystem containing fish and food. It explores how individual interactions such as movement, feeding, and reproduction shape the population dynamics of fish over time.
This model is an agent-based simulation designed to explore how climate-induced environmental degradation can contribute to the emergence of social violence in coastal communities that depend heavily on ecosystem services for their livelihoods. The model represents a coupled social–ecological system in which environmental shocks—such as sea level rise and marine ecosystem decline—affect local economic conditions, food security, and community stability.
Agents in the model represent individuals whose livelihoods depend on coastal ecosystems. Environmental degradation reduces ecosystem productivity and increases economic hardship, which can lead to the formation of grievances among agents. The model incorporates behavioral thresholds that determine how individuals respond to hardship and perceived injustice. Under certain conditions—particularly when institutional capacity and law enforcement effectiveness are limited—these grievances may escalate into violent behavior.
The simulation allows users to explore how different climate scenarios, levels of ecosystem degradation, livelihood dependence, and institutional responses influence the probability of social instability and violence. By modeling the interactions between environmental stress, socio-economic vulnerability, and governance capacity, the model provides a computational framework for examining potential pathways linking climate change and conflict in coastal social–ecological systems.
…
This agent-based model simulates the interactions between smallholder farming households, land-use dynamics, and ecosystem services in a rural landscape of Eastern Madagascar. It explores how alternative agricultural practices —shifting agriculture, rice cultivation, and agroforestry—combined with varying levels of forest protection, influence food production, food security, dietary diversity, and forest biodiversity over time. The landscape is represented as a grid of spatially explicit patches characterized by land use, ecological attributes, and regeneration dynamics. Agents make yearly decisions on land management based on demographic pressures, agricultural returns, and institutional constraints. Crop yields are affected by stochastic biotic and abiotic disruptions, modulated by local ecosystem regulation functions. The model additionally represents foraging as a secondary food source and pressure on biodiversity. The model supports the analysis of long-term trade-offs between agricultural productivity, human nutrition, and conservation under different policy and land-use scenarios.
The SAFIRe model (Simulation of Agents for Fertility, Integrated Energy, Food Security, and Reforestation) is an agent-based model co-developed with rural communities in Senegal’s Groundnut Basin. Its purpose is to explore how local farming and pastoral practices affect the regeneration of Faidherbia albida trees, which are essential for maintaining soil fertility and supporting food security through improved millet production. The model supports collective reflection on how different social and ecological factors interact, particularly around firewood demand, livestock pressure, and agricultural intensification.
The model simulates a 100-hectare agricultural landscape where agents (farmers, shepherds, woodcutters, and supervisors) interact with trees, land parcels, and each other. It incorporates seasonality, crop rotation, tree growth and cutting, livestock feeding behaviors, and farmers’ engagement in sapling protection through Assisted Natural Regeneration (ANR). Two types of surveillance strategies are compared: community-led monitoring and delegated surveillance by forestry authorities. Farmer engagement evolves over time based on peer influence, meeting participation, and the success of visible tree regeneration efforts.
SAFIRe integrates participatory modeling (ComMod and ComExp) and a backcasting approach (ACARDI) to co-produce scenarios rooted in local aspirations. It was explored using the OpenMole platform, allowing stakeholders to test a wide range of future trajectories and analyze the sensitivity of key parameters (e.g., discussion frequency, time in fields). The model’s outcomes not only revealed unexpected insights—such as the hidden role of farmers in tree loss—but also led to real-world actions, including community nursery creation and behavioral shifts toward tree care. SAFIRe illustrates how agent-based modeling can become a tool for social learning and collective action in socio-ecological systems.
Protein 2.0 is a systems model of the Norwegian protein sector designed to explore the potential impacts of carbon taxation and the emergence of cultivated meat and dairy technologies. The model simulates production, pricing, and consumption dynamics across conventional and cultivated protein sources, accounting for emissions intensity, technological learning, economies of scale, and agent behaviour. It assesses how carbon pricing could alter the competitiveness of conventional beef, lamb, pork, chicken, milk, and egg production relative to emerging cultivated alternatives, and evaluates the implications for domestic production, emissions, and food system resilience. The model provides a flexible platform for exploring policy scenarios and transition pathways in protein supply. Further details can be found in the associated publication.
3spire is an ABM where farming households make management decisions aimed at satisficing along the aspirational dimensions: food self-sufficiency, income, and leisure. Households decision outcomes depend on their social networks, knowledge, assets, household needs, past management, and climate/market trends
The MeReDiem model aims to simulate the effect of socio-agricultural practices of farmers and pastors on the food sustainability and soil fertility of a serrer village, in Senegal. The model is a central part of a companion modeling and exploration approach, described in a paper, currently under review)
The village population is composed of families (kitchens). Kitchens cultivate their land parcels to feed their members, aiming for food security at the family level. On a global level , the village tries to preserve the community fallow land as long as possible.
Kitchens sizes vary depending on the kitchens food production, births and migration when food is insufficient.
…
Displaying 10 of 66 results food clear search