Computational Model Library

This is a Netlogo model which simulates car and bus/tram traffic in Augsburg, specifically between the districts Stadtbergen, Göggingen and the Königsplatz. People either use their cars or public transport to travel to one of their random destinations (Stadtbergen or Göggingen), performing some activity and then returning to their home. Attributes such as travel and waiting time as well as their happiness upon arriving are stored and have an impact on individuals on whether they would consider changing their mode of transport or not.

Holmestrand School Model

Jessica Dimka | Published Fri Jun 18 20:09:15 2021

The Holmestrand model is an epidemiological agent-based model. Its aim is to test hypotheses related to how the social and physical environment of a residential school for children with disabilities might influence the spread of an infectious disease epidemic among students and staff. Annual reports for the Holmestrand School for the Deaf (Norway) are the primary sources of inspiration for the modeled school, with additional insights drawn from other archival records for schools for children with disabilities in early 20th century Norway and data sources for the 1918 influenza pandemic. The model environment consists of a simplified boarding school that includes residential spaces for students and staff, classrooms, a dining room, common room, and an outdoor area. Students and staff engage in activities reflecting hourly schedules suggested by school reports. By default, a random staff member is selected as the first case and is infected with disease. Subsequent transmission is determined by agent movement and interactions between susceptible and infectious pairs.

This code can be used to analyze the sensitivity of the Deffuant model to different measurement errors. Specifically to:
- Intrinsic stochastic error
- Binning of the measurement scale
- Random measurement noise
- Psychometric distortions

Studies on the fundamental role of diverse media in the evolution of public opinion can protect us from the spreading brainwashing, extremism, and terrorism. Many fear the information cocoon may result in polarization of the public opinion. The model of opinion dynamics that considers different influences and horizons for every individual, and the simulations are based on a real-world social network.

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 Lethal Geometry

Kristin Crouse | Published Fri Feb 21 11:27:16 2020

LethalGeometry was developed to examine whether territory size influences the mortality risk for individuals within that territory. For animals who live in territoral groups and are lethally aggressive, we can expect that most aggression occurs along the periphery (or border) between two adjacent territories. For territories that are relatively large, the periphery makes up a proportionately small amount of the of the total territory size, suggesting that individuals in these territories might be less likely to die from these territorial skirmishes. LethalGeometry examines this geometric relationship between territory size and mortality risk under realistic assumptions of variable territory size and shape, variable border width, and stochastic interactions and movement.

The individuals (agents) are programmed to walk randomly about their environment, search for and eat food to obtain energy, reproduce if they can, and act aggressively toward individuals of other groups. During each simulation step, individuals analyze their environment and internal state to determine which actions to take. The actions available to individuals include moving, fighting, and giving birth.

The integrated and spatially-explicit ABM, called DIReC (Demography, Industry and Residential Choice), has been developed for Aberdeen City and the surrounding Aberdeenshire (Ge, Polhill, Craig, & Liu, 2018). The model includes demographic (individual and household) models, housing infrastructure and occupancy, neighbourhood quality and evolution, employment and labour market, business relocation, industrial structure, income distribution and macroeconomic indicators. DIReC includes a detailed spatial housing model, basing preference models on house attributes and multi-dimensional neighbourhood qualities (education, crime, employment etc.).
The dynamic ABM simulates the interactions between individuals, households, the labour market, businesses and services, neighbourhoods and economic structures. It is empirically grounded using multiple data sources, such as income and gender-age distribution across industries, neighbourhood attributes, business locations, and housing transactions. It has been used to study the impact of economic shocks and structural changes, such as the crash of oil price in 2014 (the Aberdeen economy heavily relies on the gas and oil sector) and the city’s transition from resource-based to a green economy (Ge, Polhill, Craig, & Liu, 2018).

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 [forthcoming]). 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.

The SimPioN model aims to abstractly reproduce and experiment with the conditions under which a path-dependent process may lead to a (structural) network lock-in in interorganisational networks.

Path dependence theory is constructed around a process argumentation regarding three main elements: a situation of (at least) initially non-ergodic (unpredictable with regard to outcome) starting conditions in a social setting; these become reinforced by the workings of (at least) one positive feedback mechanism that increasingly reduces the scope of conceivable alternative choices; and that process finally results in a situation of lock-in, where any alternatives outside the already adopted options become essentially impossible or too costly to pursue despite (ostensibly) better options theoretically being available.

The purpose of SimPioN is to advance our understanding of lock-ins arising in interorganisational networks based on the network dynamics involving the mechanism of social capital. This mechanism and the lock-ins it may drive have been shown above to produce problematic consequences for firms in terms of a loss of organisational autonomy and strategic flexibility, especially in high-tech knowledge-intensive industries that rely heavily on network organising.

Schelling and Sakoda prominently proposed computational models suggesting that strong ethnic residential segregation can be the unintended outcome of a self-reinforcing dynamic driven by choices of individuals with rather tolerant ethnic preferences. There are only few attempts to apply this view to school choice, another important arena in which ethnic segregation occurs. In the current paper, we explore with an agent-based theoretical model similar to those proposed for residential segregation, how ethnic tolerance among parents can affect the level of school segregation. More specifically, we ask whether and under which conditions school segregation could be reduced if more parents hold tolerant ethnic preferences. We move beyond earlier models of school segregation in three ways. First, we model individual school choices using a random utility discrete choice approach. Second, we vary the pattern of ethnic segregation in the residential context of school choices systematically, comparing residential maps in which segregation is unrelated to parents’ level of tolerance to residential maps reflecting their ethnic preferences. Third, we introduce heterogeneity in tolerance levels among parents belonging to the same group. Our simulation experiments suggest that ethnic school segregation can be a very robust phenomenon, occurring even when about half of the population prefers mixed to segregated schools. However, we also identify a “sweet spot” in the parameter space in which a larger proportion of tolerant parents makes the biggest difference. This is the case when parents have moderate preferences for nearby schools and there is only little residential segregation. Further experiments are presented that unravel the underlying mechanisms.

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.