All cities and regions change both by growth and decline. The previous simulations were designed to study how established groups participate in constructing the city’s social-spatial pattern. The following model adds a extra layer of dynamics to the more traditional Schelling-type model, through the addition and removal of agents. The ability to add and remove agents is not discussed in Schelling’s original work or is not a topic greatly researched, as most Schelling-like models operate in cellular space where only a finite number of agents are possible depending on the size of the grid used. However, within the model developed here agents are not restricted to one agent per cell. This variation of the segregation model therefore allows one to explore how an area’s social-spatial pattern might change through adding and removing agents, especially how new agents affect the composition of the area. This could be considered as immigration and aging and the death of populations in urban areas. This is similar to the work of Portugali (2000) who simulated how agents could be added to the system and how neighbourhood patterns change due to the additions.
The model (see segregationModeAddRemove model for further information) itself varies from the basic segregation model in a number of ways. Firstly all the agents are given a new attribute: ‘age’ (see getAge method in Resident Agent Class). This age is determined randomly between 1 and 50 using a random number generator when the agent is first created at the beginning of the simulation (see randomAge method in Resident Agent Class).. At the end of each step of the simulation, the agents age increases by one (see agePopulation method in Resident Agent Class). In the previous version of the model, agents’ were only removed from the system if they could not find a suitable neighbourhood. In this version, agents are also removed from the system when their age reaches 50 (see removeResidents method in SegGISModel). The second variation to the model is the addition of new agents. Any number of new agents can be added at the end of each step. These new agents are first created, given a random social class and an age of 0 and placed randomly in the urban area (see addNewResidentAgent method in SegGISModel). The new agent then evaluates its neighbourhood (see Neighbourhood Calculations) and if dissatisfied, it moves to an area where its preferences are met. This new agent uses the same searching and movement criteria as in the basic segregation model (see Movement) and if the new agent cannot become satisfied with the area, it is removed from the system.
Two tests were carried out: 1) agents are only added and only removed from the system if they became dissatisfied. 2) agents are both added and removed from the system either because they are dissatisfied or die. In both instances, the same area was used where the initial population was 700 agents (390 of type red (55.7%) and 310 of type blue (44.3%)). These agents were spread over several polygons as highlighted in Figure 1. Within the area, there were 3 areas where the predominant social group was red (i.e. 70% of the population was red), 1 area where the predominant social group was blue (70%) and 3 areas were classified as mixed (population composed of 50% of both groups). In both tests, 100 new agents are added to the system at the end of each step. As in previous models, each agent wanted to be in an area where 50% or more of its neighbours are of the same type. Neighbourhoods were defined as 100m radius.
Figure 1: Initial starting conditions for the simulations with agents distributed randomly within their areas.
In both simulations, no agents were removed because they could not find a neighbourhood where they were satisfied. Table 1 shows the aggregate results of a selection of model runs where agents were only added. During the course of the simulation, the percentage of each colour making up of the total population is roughly equal. However, the number of areas where one group is predominant varies. Table 1 additionally highlights that with the addition of new agents, exiting agents which would have been satisfied with their neighbourhoods become dissatisfied. Figure 2 shows the screen captures of the initial configuration, at time step 50 and at time step 100. It is clear that clusters that appear at time step 50 are reinforced as the simulation advances and the clusters become more concentrated at the same time expanding and reinforcing the pattern of segregation. Additionally Figure 2 highlights how clusters of groups do not stop at boundaries of areas. So while the aggregate data suggests that the area is predominantly of one type, clusters of distinct groups appear throughout the area and cross the boundaries between areas. These clusters would have been lost by purely using aggregate information. Even in the case where one area contains equal numbers of red and blue agents, distinct patterns of segregation are noticeable. Animations of these simulation runs where agents where added and not removed can be seen below.
Table 1: Results from simulations where agents where only added.
Figure 2: The effect of adding agents and the resulting pattern of segregation.
While the first experiment allows one to see the effect of how the placement of new agents within an area affects the outcome of the simulation, the second experiment allows one too see the effects of both adding and removing agents. Specifically we investigate how the system changes if agents are removed when they reach a certain age and the effects of how new agents are added.
For each simulation, agents are both added (100 new agents at the end of each iteration) and removed (when they reach the age of 50) over 100 iterations of the model. The percentage of the population is roughly equal (see Table 2) and mirrors that of the previous experiment. Similar to the previous model, we explore the degree to which the predominant group in one area varies over the course of several simulations. Thus the addition and removal of agents affects the composition of the area. Figure 3 traces the resulting degree of segregation from these same simulations as presented in Table 2, from the initial starting condition, and the pattern at 50 iterations, to the pattern at the end of the simulation. As agents are added and removed from the system, the predominant social groups of the areas change as can be seen from the underlying polygon colour in Figure 3. Red represents an area where its population is 51% red, blue areas are areas where 51% or more of the population are blue and grey represents equal numbers of red and blue agents. Animations of these simulation runs where agents were added and removed can be seen below.
Table 2: Results from simulations where agents where both added and removed.
Figure 3: The effect of adding and removing agents to the system and the resulting patterns of segregation.
Download zip file of images from model runs.
Portugali, J. (2000), Self-Organization and the City, Springer-Verlag, Berlin, Germany