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.
We also maintain a curated database of over 7500 publications of agent-based and individual based models with detailed metadata on availability of code and bibliometric information on the landscape of ABM/IBM publications that we welcome you to explore.
Displaying 10 of 118 results for "Alistair Law" clear search
The model is based on the influence function of the Leviathan model (Deffuant, Carletti, Huet 2013 and Huet and Deffuant 2017) with the addition of group idenetity. We aim at better explaining some patterns generated by this model, using a derived mathematical approximation of the evolution of the opinions averaged.
We consider agents having an opinion/esteem about each other and about themselves. During dyadic meetings, agents change their respective opinion about each other, and possibly about other agents they gossip about, with a noisy perception of the opinions of their interlocutor. Highly valued agents are more influential in such encounters. Moreover, each agent belongs to a single group and the opinions within the group are attracted to their average.
We show that a group hierarchy can emerges from this model, and that the inequality of reputations among groups have a negative effect on the opinions about the groups of low status. The mathematical analysis of the opinion dynamic shows that the lower the status of the group, the more detrimental the interactions with the agents of other groups are for the opinions about this group, especially when gossip is activated. However, the interactions between agents of the same group tend to have a positive effect on the opinions about this group.
What is stable: the large but coordinated change during a diffusion or the small but constant and uncoordinated changes during a dynamic equilibrium? This agent-based model of a diffusion creates output that reveal insights for system stability.
This model examines the potential impact of market collapse on the economy and demography of fishing households in the Logone Floodplain, Cameroon.
What is it?
This model demonstrates a very simple bidding market where buyers try to acquire a desired item at the best price in a competitive environment
…
Flibs’NLogo is an agent-based simulation implemented in NetLogo that models the evolution of perfect predictors through a genetic algorithm. The agents, called flibs (finite living blobs), are finite‑state automata whose behaviour is encoded in circular chromosomes. They inhabit a “primordial computer soup” and are tasked with anticipating a user‑defined periodic binary sequence. Each generation consists of 100 evaluation cycles, during which a flib’s fitness is incremented each time its output correctly matches the next environmental signal.
Reproduction follows an elitist scheme: a donor (current fittest individual) replaces a randomly chosen recipient either by cloning (complete genome substitution) or by bacterial‑like conjugation (unidirectional horizontal transfer of a random chromosome segment). A stochastic mutagenesis operator introduces point mutations in genes, while the reproductive strategy gene can also switch under a mixed-reproduction regime. Population dynamics are monitored via genomic diversity indices (Shannon‑Wiener, Simpson), a phenotypic simpleness metric that distinguishes the low number of states actually used from the genomic potential.
The model serves as a digital evolutionary laboratory for exploring the interplay among bounded rationality, collective adaptation, and the emergence of anticipatory behaviour. By linking evolutionary computation with cognitive concepts, Flibs’NLogo investigates fundamental transitions from reactive to predictive systems and allows for testing whether populations evolve toward minimal necessary complexity or exhibit an intrinsic drift toward structural elaboration.
The fight against poverty is an urgent global challenge. Microinsurance is promoted as a valuable instrument for buffering income losses due to health or climate-related risks of low-income households in developing countries. However, apart from direct positive effects they can have unintended side effects when insured households lower their contribution to traditional arrangements where risk is shared through private monetary support.
RiskNetABM is an agent-based model that captures dynamics between income losses, insurance payments and informal risk-sharing. The model explicitly includes decisions about informal transfers. It can be used to assess the impact of insurance products and informal risk-sharing arrangements on the resilience of smallholders. Specifically, it allows to analyze whether and how economic needs (i.e. level of living costs) and characteristics of extreme events (i.e. frequency, intensity and type of shock) influence the ability of insurance and informal risk-sharing to buffer income shocks. Two types of behavior with regard to private monetary transfers are explicitly distinguished: (1) all households provide transfers whenever they can afford it and (2) insured households do not show solidarity with their uninsured peers.
The model is stylized and is not used to analyze a particular case study, but represents conditions from several regions with different risk contexts where informal risk-sharing networks between smallholder farmers are prevalent.
…
The Land Use Competition in Drylands (LUCID) model is a stylized agent-based model of a smallholder farming system. Its main purpose is to illustrate how competition between pastoralism and crop cultivation can affect livelihoods of households, specifically their food security. In particular, the model analyzes whether the expansion of crop cultivation may contribute to a vicious circle where an increase in cultivated area leads to higher grazing pressure on the remaining pastureland, which in turn may cause forage shortages and livestock loss for households which are then forced to further expand their cultivated area in order to increase their food security. The model does not attempt to replicate a particular case study but to generate a general understanding of mechanisms and drivers of such vicious circles and to identify possible scenarios under which such circles may be prevented.
The model is inspired by observations of the Borana land use system in Southern Ethiopia. The climatic and ecological conditions of the Borana zone favor pastoralism, and traditionally livelihoods have been based mainly on livestock keeping. Recent years, however, have seen an advancement of crop cultivation as a coping strategy, e.g., to compensate the loss of livestock, even though crop yields are low on average and successful harvests are infrequent.
In the model, it is possible to evaluate patterns of individual (single household) as well as overall (across all households) consumption and food security, depending on a range of ecological, climatic and management parameters.
This agent-based model simulates the lifecycle, movement, and satisfaction of teachers within an urban educational system composed of multiple universities and schools. Each teacher agent transitions through several possible roles: newcomer, university student, unemployed graduate, and employed teacher. Teachers’ pathways are shaped by spatial configuration, institutional capacities, individual characteristics, and dynamic interactions with schools and universities. Universities are assigned spatial locations with a controllable level of centralization and are characterized by academic ratings, capacity, and alumni records. Schools are distributed throughout the city, each with a limited number of vacancies, hiring requirements, and offered salaries. Teachers apply to universities based on the alignment of their personal academic profiles with institutional ratings, pursue studies, and upon graduation become candidates for employment at schools.
The employment process is driven by a decentralized matching of teacher expectations and school offers, taking into account factors such as salary, proximity, and peer similarity. Teachers’ satisfaction evolves over time, reflecting both institutional characteristics and the composition of their colleagues; low satisfaction may prompt teachers to transfer between schools within their mobility radius. Mortality and teacher attrition further shape workforce dynamics, leading to continuous recruitment of newcomers to maintain a stable population. The model tracks university reputation through the academic performance and number of alumni, and visualizes key metrics including teacher status distribution, school staffing, university alumni counts, and overall satisfaction. This structure enables the exploration of policy interventions, hiring and training strategies, and the impact of spatial and institutional design on the allocation, retention, and happiness of urban educational staff.
The natural selection of foresight, an accuracy at assess the environment, under degrees of environmental heterogeneity. The model is designed to connect local scale mobility, from foraging, with the global scale phenomenon of population dispersal.
Food trade networks represent a complex system where food is periodically produced in different regions of the world. Food is continuously stocked and traded. Food security in a globalised world is vulnerable to shocks. We present DARTS, a new agent based model that models monthly dynamics of food production, trade, stocking, consumption and food security for different interconnected world regions and a city state. Agents in different regions differ in their harvest seasons, wealth (rich and poor), degree of urbanisation and connection to domestic and global markets. DARTS was specifically designed to model direct and indirect effects of shocks in the food system. We introduce a new typology of 6 distinct shock types and analyse their impact on food security, modelling local and global effects and short term and longer term effects. An second important scientific novelty of the model is that DARTS can also model indirect effects of shocks (cascading in space and in time, lag effects due to trade and food stock buffering). A third important scientific novelty of the model is its’ capability of modelling food security at different scales, in which the rural/urban divide and differences in (intra-annually varying) production and trade connections play a key role. At the time of writing DARTS is yet insufficiently parameterised for accurate prediction for real world regions and cities. Simulations for a hypothetical in silico world with 3 regions and a city state show that DARTS can reproduce rich and complex dynamics with analogues in the real world. The scientific interest is more on deepening insight in process dynamics and chains of events that lead to ultimate shock effects on food security.
Displaying 10 of 118 results for "Alistair Law" clear search