Our mission is to help computational modelers at all levels engage in the establishment and adoption of community standards and good practices for developing and sharing computational models. Model authors can freely publish their model source code in the Computational Model Library alongside narrative documentation, open science metadata, and other emerging open science norms that facilitate software citation, reproducibility, interoperability, and reuse. Model authors can also request peer review of their computational models to receive a DOI.
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 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 additional 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 35 results city clear search
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.
Reusing existing material stocks in developed built environments can significantly reduce the environmental footprint of the construction and demolition sector. However, material reuse in urban areas presents technical, temporal, and geographical challenges. Although a better understanding of spatial and temporal changes in material stocks could improve city resource management, limited scientific contributions have addressed this challenge.
This study details the steps followed in developing a spatially explicit rule-based simulation of materials stock. The simulation provides a proof of concept by incorporating the spatial and temporal dimensions of construction and demolition activities to analyse how various urban parameters determine material flows and embodied carbon in urban areas. The model explores the effects of 1) re-using recycled materials, 2) demolitions, 3) renovations and 4) various building typologies.
To showcase the model’s capabilities, the residential building stock of Gothenburg City is used as a case study, and eight building materials are tracked. Environmental impacts (A1-A3) are calculated with embodied carbon factors. The main parameters are explored in a baseline scenario. Then, a second scenario focuses on a hypothetical policy that promotes improvements in building energy performance.
The simulation can be expanded to include more materials and built environment assets and allows for future explorations on, for example, the role of logistics, the implementation of recycling or reuse stations, and, in general, supporting sustainable and circular strategies from the construction sector.
This paper presents an agent-based model to study the dynamics of city-state systems in a constrained environment with limited space and resources. The model comprises three types of agents: city-states, villages, and battalions, where city-states, the primary decision-makers, can build villages for food production and recruit battalions for defense and aggression. In this setting, simulation results, generated through a multi-parameter grid sampling, suggest that risk-seeking strategies are more effective in high-cost scenarios, provided that the production rate is sufficiently high. Also, the model highlights the role of output productivity in defining which strategic preferences are successful in a long-term scenario, with higher outputs supporting more aggressive expansion and military actions, while resource limitations compel more conservative strategies focused on survival and resource conservation. Finally, the results suggest the existence of a non-linear effect of diminishing returns in strategic investments on successful strategies, emphasizing the need for careful resource allocation in a competitive environment.
The School Enrollment Model is a spatially-explicit computational model that depicts a city, with schools and students located within the space. The model represents the Chilean school system, a market-based educational system, where people are free to choose among public, private voucher, or private fee-paying schools. In the model, students become aware of some schools, apply to schools, switch schools, pass or fail grade levels, and eventually either graduate or dropout. Schools select students, update their tuition, test scores, and other characteristics.
The purpose of the model is to represent the Chilean school system and analyze the different mechanisms that affected the enrollment distribution between public, private voucher, and private fee-paying school sectors during the period 2004-2016.
Large outbreaks of Shigella sonnei among children in Haredi Jewish (ultra-Orthodox) communities in Brooklyn, New York have occurred every 3–5 years since at least the mid-1980s. These outbreaks are partially attributable to large numbers of young children in these communities, with transmission highest in child care and school settings, and secondary transmission within households. As these outbreaks have been prolonged and difficult to control, we developed an agent-based model of shigellosis transmission among children in these communities to support New York City Department of Health and Mental Hygiene staff. Simulated children were assigned an initial susceptible, infectious, or recovered (immune) status and interacted and moved between their home, child care program or school, and a community site. We calibrated the model according to observed case counts as reported to the Health Department. Our goal was to better understand the efficacy of existing interventions and whether limited outreach resources could be focused more effectively.
This model presents the simulation model of a city in the context of overtourism. The study area is the city of Santa Marta in Colombia. The purpose is to illustrate the spatial and temporal distribution of population and tourists in the city. The simulation analyzes emerging patterns that result from the interaction between critical components in the touristic urban system: residents, urban space, touristic sites, and tourists. The model is an Agent-Based Model (ABM) with the GAMA software. Also, it used public input data from statistical centers, geographical information systems, tourist websites, reports, and academic articles. The ABM includes assessing some measures used to address overtourism. This is a field of research with a low level of analysis for destinations with overtourism, but the ABM model allows it. The results indicate that the city has a high risk of overtourism, with spatial and temporal differences in the population distribution, and it illustrates the effects of two management measures of the phenomenon on different scales. Another interesting result is the proposed tourism intensity indicator (OVsm), taking into account that the tourism intensity indicators used by the literature on overtourism have an overestimation of tourism pressures.
We develop an agent-based model (U-TRANS) to simulate the transition of an abstract city under an industrial revolution. By coupling the labour and housing markets, we propose a holistic framework that incorporates the key interacting factors and micro processes during the transition. Using U-TRANS, we look at five urban transition scenarios: collapse, weak recovery, transition, enhanced training and global recruit, and find the model is able to generate patterns observed in the real world. For example, We find that poor neighbourhoods benefit the most from growth in the new industry, whereas the rich neighbourhoods do better than the rest when the growth is slow or the situation deteriorates. We also find a (subtle) trade-off between growth and equality. The strategy to recruit a large number of skilled workers globally will lead to higher growth in GDP, population and human capital, but it will also entail higher inequality and market volatility, and potentially create a divide between the local and international workers. The holistic framework developed in this paper will help us better understand urban transition and detect early signals in the process. It can also be used as a test-bed for policy and growth strategies to help a city during a major economic and technological revolution.
The purpose of the model is to better understand, how different factors for human residential choices affect the city’s segregation pattern. Therefore, a Schelling (1971) model was extended to include ethnicity, income, and affordability and applied to the city of Salzburg. So far, only a few studies have tried to explore the effect of multiple factors on the residential pattern (Sahasranaman & Jensen, 2016, 2018; Yin, 2009). Thereby, models using multiple factors can produce more realistic results (Benenson et al., 2002). This model and the corresponding thesis aim to fill that gap.
Digital-Twin model of Sejong City – Source model code & data
We only shared model codes, excluding private data and simulation engine codes.
The followings are brief reasons for the items we cannot share.
Schelling famously proposed an extremely simple but highly illustrative social mechanism to understand how strong ethnic segregation could arise in a world where individuals do not necessarily want it. Schelling’s simple computational model is the starting point for our extensions in which we build upon Wilensky’s original NetLogo implementation of this model. Our two NetLogo models can be best studied while reading our chapter “Agent-based Computational Models” (Flache and de Matos Fernandes, 2021). In the chapter, we propose 10 best practices to elucidate how agent-based models are a unique method for providing and analyzing formally precise, and empirically plausible mechanistic explanations of puzzling social phenomena, such as segregation, in the social world. Our chapter addresses in particular analytical sociologists who are new to ABMs.
In the first model (SegregationExtended), we build on Wilensky’s implementation of Schelling’s model which is available in NetLogo library (Wilensky, 1997). We considerably extend this model, allowing in particular to include larger neighborhoods and a population with four groups roughly resembling the ethnic composition of a contemporary large U.S. city. Further features added concern the possibility to include random noise, and the addition of a number of new outcome measures tuned to highlight macro-level implications of the segregation dynamics for different groups in the agent society.
In SegregationDiscreteChoice, we further modify the model incorporating in particular three new features: 1) heterogeneous preferences roughly based on empirical research categorizing agents into low, medium, and highly tolerant within each of the ethnic subgroups of the population, 2) we drop global thresholds (%-similar-wanted) and introduce instead a continuous individual-level single-peaked preference function for agents’ ideal neighborhood composition, and 3) we use a discrete choice model according to which agents probabilistically decide whether to move to a vacant spot or stay in the current spot by comparing the attractiveness of both locations based on the individual preference functions.
…
Displaying 10 of 35 results city clear search