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 norms that facilitate software citation, archival, interoperability, and reuse. Model authors can also request that their model code be peer reviewed 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 archive tutorial or 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 46 results agent based model (abm) clear
This documentation provides an overview and explanation of the NetLogo simulation code for modeling skilled workers’ migration in Iran. The simulation aims to explore the dynamics of skilled workers’ migration and their transition through various states, including training, employment, and immigration.
The flow of elite and talent migration, or “brain drain,” is a complex issue with far-reaching implications for developing countries. The decision to migrate is made due to various factors including economic opportunities, political stability, social factors and personal circumstances.
Measuring individual interests in the field of immigration is a complex task that requires careful consideration of various factors. The agent-based model is a useful tool for understanding the complex factors that are involved in talent migration. By considering the various social, economic, and personal factors that influence migration decisions, policymakers can provide more effective strategies to retain skilled and talented labor and promote sustainable growth in developing countries. One of the main challenges in studying the flow of elite migration is the complexity of the decision-making process and a set of factors that lead to migration decisions. Agent-based modeling is a useful tool for understanding how individual decisions can lead to large-scale migration patterns.
The targeted subsidies plan model is based on the economic concept of targeted subsidies.
The targeted subsidies plan model simulates the distribution of subsidies among households in a community over several years. The model assumes that the government allocates a fixed amount of money each year for the purpose of distributing cash subsidies to eligible households. The eligible households are identified by dividing families into 10 groups based on their income, property, and wealth. The subsidy is distributed to the first four groups, with the first group receiving the highest subsidy amount. The model simulates the impact of the subsidy distribution process on the income and property of households in the community over time.
The model simulates a community of 230 households, each with a household income and wealth that follows a power-law distribution. The number of household members is modeled by a normal distribution. The model allocates a fixed amount of money each year for the purpose of distributing cash subsidies among eligible households. The eligible households are identified by dividing families into 10 groups based on their income, property, and wealth. The subsidy is distributed to the first four groups, with the first group receiving the highest subsidy amount.
The model runs for a period of 10 years, with the subsidy distribution process occurring every month. The subsidy received by each household is assumed to be spent, and a small portion may be saved and added to the household’s property. At the end of each year, the grouping of households based on income and assets is redone, and a number of families may be moved from one group to another based on changes in their income and property.
…
This is an extension of the original RAGE model (Dressler et al. 2018), where we add learning capabilities to agents, specifically learning-by-doing and social learning (two processes central to adaptive (co-)management).
The extension module is applied to smallholder farmers’ decision-making - here, a pasture (patch) is the private property of the household (agent) placed on it and there is no movement of the households. Households observe the state of the pasture and their neighrbours to make decisions on how many livestock to place on their pasture every year. Three new behavioural types are created (which cannot be combined with the original ones): E-RO (baseline behaviour), E-LBD (learning-by-doing) and E-RO-SL1 (social learning). Similarly to the original model, these three types can be compared regarding long-term social-ecological performance. In addition, a global strategy switching option (corresponding to double-loop learning) allows users to study how behavioural strategies diffuse in a heterogeneous population of learning and non-learning agents.
An important modification of the original model is that extension agents are heterogeneous in how they deal with uncertainty. This is represented by an agent property, called the r-parameter (household-risk-att in the code). The r-parameter is catch-all for various factors that form an agent’s disposition to act in a certain way, such as: uncertainty in the sensing (partial observability of the resource system), noise in the information received, or an inherent characteristic of the agent, for instance, their risk attitude.
Municipal waste management (MWM) is essential for urban development. Efficient waste management is essential for providing a healthy and clean environment, for reducing GHGs and for increasing the amount of material recycled. Waste separation at source is perceived as an effective MWM strategy that relays on the behaviour of citizens to separate their waste in different fractions. The strategy is straightforward, and many cities have adopted the strategy or are working to implement it. However, the success of such strategy depends on adequate understanding of the drivers of the behaviour of proper waste sorting. The Theory of Planned Behaviour (TPB) has been extensively applied to explain the behaviour of waste sorting and contributes to determining the importance of different psychological constructs. Although, evidence shows its validity in different contexts, without exploring how urban policies and the built environment affect the TPB, its application to urban challenges remains unlocked. To date, limited research has focused in exposing how different urban situations such as: distance to waste bins, conditions of recycling facilities or information campaigns affect the planned behaviour of waste separation. To fill this gap, an agent-based model (ABM) of residents capable of planning the behaviour of waste separation is developed. The study is a proof of concept that shows how the TPB can be combined with simulations to provide useful insights to evaluate different urban planning situations. In this paper we depart from a survey to capture TPB constructs, then Structural Equation Modelling (SEM) is used to validate the TPB hypothesis and extract the drivers of the behaviour of waste sorting. Finally, the development of the ABM is detailed and the drivers of the TPB are used to determine how the residents behave. A low-density and a high-density urban scenario are used to extract policy insights. In conclusion, the integration between the TPB into ABMs can help to bridge the knowledge gap between can provide a useful insight to analysing and evaluating waste management scenarios in urban areas. By better understanding individual waste sorting behaviour, we can develop more effective policies and interventions to promote sustainable waste management practices.
The first simple movement models used unbiased and uncorrelated random walks (RW). In such models of movement, the direction of the movement is totally independent of the previous movement direction. In other words, at each time step the direction, in which an individual is moving is completely random. This process is referred to as a Brownian motion.
On the other hand, in correlated random walks (CRW) the choice of the movement directions depends on the direction of the previous movement. At each time step, the movement direction has a tendency to point in the same direction as the previous one. This movement model fits well observational movement data for many animal species.
The presented agent based model simulated the movement of the agents as a correlated random walk (CRW). The turning angle at each time step follows the Von Mises distribution with a ϰ of 10. The closer ϰ gets to zero, the closer the Von Mises distribution becomes uniform. The larger ϰ gets, the more the Von Mises distribution approaches a normal distribution concentrated around the mean (0°).
In this script the turning angles (following the Von Mises distribution) are generated based on the the instructions from N. I. Fisher 2011.
This model is implemented in Javascript and can be used as a building block for more complex agent based models that would rely on describing the movement of individuals with CRW.
The model constructs a complex network of traffic based on the main urban area of Zhengzhou, China, and simulates the urban rainfall process using the ABM model to analyse the real-time risk of flooding hazards in the nodes of the complex network.
An Agent-Based Model to simulate agent reactions to threatening information based on the anxiety-to-approach framework of Jonas et al. (2014).
The model showcases the framework of BIS/BAS (inhibitory and approach motivated behavior) for the case of climate information, including parameters for anxiety, environmental awareness, climate scepticism and pro-environmental behavior intention.
Agents receive external information according to threat-level and information frequency. The population dynamic is based on the learning from that information as well as social contagion mechanisms through a scale-free network topology.
The model uses Netlogo 6.2 and the network extension.
…
Risk assessments are designed to measure cumulative risk and promotive factors for delinquency and recidivism, and are used by criminal and juvenile justice systems to inform sanctions and interventions. Yet, these risk assessments tend to focus on individual risk and often fail to capture each individual’s environmental risk. This agent-based model (ABM) explores the interaction of individual and environmental risk on the youth. The ABM is based on an interactional theory of delinquency and moves beyond more traditional statistical approaches used to study delinquency that tend to rely on point-in-time measures, and to focus on exploring the dynamics and processes that evolve from interactions between agents (i.e., youths) and their environments. Our ABM simulates a youth’s day, where they spend time in schools, their neighborhoods, and families. The youth has proclivities for engaging in prosocial or antisocial behaviors, and their environments have likelihoods of presenting prosocial or antisocial opportunities.
The model explores food distribution patterns that emerge in artificial small-scale human groups when agents follow a set of spatially explicit sharing interaction rules derived from a theory on the evolution of the egalitarian social instinct.
Chicago’s demographic, neighborhood, sex risk behaviors, sexual network data, and HIV prevention and treatment cascade information from 2015 were integrated as input to a new agent-based model (ABM) called the Levers-of-HIV-Model (LHM). This LHM, written in NetLogo, forms patterns of sexual relations among Men who have Sex with Men (MSM) based on static traits (race/ethnicity, and age) and dynamic states (sexual relations and practices) that are found in Chicago. LHM’s five modules simulate and count new infections at the two marker years of 2023 and 2030 for a wide range of distinct scenarios or levers, in which the levels of PrEP and ART linkage to care, retention, and adherence or viral load are increased over time from the 2015 baseline levels.
Displaying 10 of 46 results agent based model (abm) clear