Computational Model Library

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 849 results NetLogo clear search

This code is for an agent-based model of collective problem solving in which agents with different behavior strategies, explore the NK landscape while they communicate with their peers agents. This model is based on the famous work of Lazer, D., & Friedman, A. (2007), The network structure of exploration and exploitation.

Netlogo model that shows how the cooling process determines the quality of a solution in simulated annealing using Metropolis algorithm.

The simulation is a variant of the “ToRealSim OD variants - base v2.7” base model, which is based on the standard DW opinion dynamics model (but with the differences that rather than one agent per tick randomly influencing another, all agents randomly influence one other per tick - this seems to make no difference to the outcomes other than to scale simulation time). Influence can be made one-way by turning off the two-way? switch

Various additional variations and sources of noise are possible to test robustness of outcomes to these (compared to DW model).
In this version agent opinions change following the empirical data collected in some experiments (Takács et al 2016).

Such an algorithm leaves no role for the uncertainties in other OD models. [Indeed the data from (Takács et al 2016) indicates that there can be influence even when opinion differences are large - which violates a core assumption of these]. However to allow better comparison with other such models there is a with-un? switch which allows uncertainties to come into play. If this is on, then influence (according to above algorithm) is only calculated if the opinion difference is less than the uncertainty. If an agent is influenced uncertainties are modified in the same way as standard DW models.

Peer reviewed agent-based model studying money

Juan Ocampo | Published Thursday, March 04, 2021 | Last modified Monday, March 15, 2021

1.7 billion people appear to be financially excluded. Due to the relevance of the problem, special purpose monies known as Complementary Currencies (CC) seem to be a potential solution. This doctoral project inquiries into the organising of money and its performative effects. It does so by following the communities designing CC and engineering their markets.

Peer reviewed An agent-based model for brain drain

Furkan Gürsoy Bertan Badur | Published Wednesday, March 03, 2021 | Last modified Friday, March 12, 2021

An agent-based model for the emigration of highly-skilled labour.

We hypothesise that there are two main factors that impact the decision and ability to move abroad: desire to maximise individual utility and network effects. Accordingly, several factors play role in brain drain such as the overall economic and social differences between the home and host countries, people’s ability and capacity to obtain good jobs and start a life abroad, the barriers of moving abroad, and people’s social network who are already working abroad.

Peer reviewed Minding Norms in an Epidemic Does Matter

Klaus G. Troitzsch | Published Saturday, February 27, 2021 | Last modified Monday, September 13, 2021

This paper tries to shed some light on the mutual influence of citizen behaviour and the spread of a virus in an epidemic. While the spread of a virus from infectious to susceptible persons and the outbreak of an infection leading to more or less severe illness and, finally, to recovery and immunity or death has been modelled with different kinds of models in the past, the influence of certain behaviours to keep the epidemic low and to follow recommendations of others to apply these behaviours has rarely been modelled. The model introduced here uses a theory of the effect of norm invocations among persons to find out the effect of spreading norms interacts with the progress of an epidemic. Results show that norm invocations matter. The model replicates the histories of the COVID-19 epidemic in various region, including “second waves” (but only until the end of 2021 as afterwards the official statistics ceased to be reliable as many infected persons did not report their positive test results after countermeasures were relieved), and shows that the calculation of the reproduction numbers from current reported infections usually overestimates the “real” but in practice unobservable reproduction number.

Peer reviewed AMRO_CULEX_WNV

Aniruddha Belsare Jennifer Owen | Published Saturday, February 27, 2021 | Last modified Thursday, March 11, 2021

An agent-based model simulating West Nile Virus dynamics in a one host (American robin)-one vector (Culex spp. mosquito) system. ODD improved and code cleaned.

FeedUS - A global food trade model

Jiaqi Ge | Published Thursday, February 25, 2021 | Last modified Friday, February 26, 2021

The purpose of the model is to study the impact of global food trade on food and nutrition security in countries around the world. It will incorporate three main aspects of trade between countries, including a country’s wealth, geographic location, and its trade relationships with other countries (past and ongoing), and can be used to study food and nutrition security across countries in various scenarios, such as climate change, sustainable intensification, waste reduction and dietary change.

In recent years we have seen multiple incidents with a large number of people injured and killed by one or more armed attackers. Since this type of violence is difficult to predict, detecting threats as early as possible allows to generate early warnings and reduce response time. In this context, any tool to check and compare different action protocols can be a further step in the direction of saving lives. Our proposal combines features from continuous and discrete models to obtain the best of both worlds in order to simulate large and crowded spaces where complex behavior individuals interact. With this proposal we aim to provide a tool for testing different security protocols under several emergency scenarios, where spaces, hazards, and population can be customized. Finally, we use a proof of concept implementation of this model to test specific security protocols under emergency situations for real spaces. Specifically, we test how providing some users of a university college with an app that informs about the type and characteristics of the ongoing hazard, affects in the safety performance.

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 849 results NetLogo clear search

This website uses cookies and Google Analytics to help us track user engagement and improve our site. If you'd like to know more information about what data we collect and why, please see our data privacy policy. If you continue to use this site, you consent to our use of cookies.
Accept