Abstract
We propose an upgraded gravitational model which provides population counts beyond the binary (urban/non-urban) city simulations. Numerically studying the model output, we find that the radial population density gradients follow power-laws where the exponent is related to the preset gravity exponent γ. Similarly, the urban fraction decays exponentially, again determined by γ. The population density gradient can be related to radial fractality and it turns out that the typical exponents imply that cities are basically zero-dimensional. Increasing the gravity exponent leads to extreme compactness and the loss of radial symmetry. We study the shape of the major central cluster by means of another three fractal dimensions and find that overall its fractality is dominated by the size and the influence of γ is minor. The fundamental allometry, between population and area of the major central cluster, is related to the gravity exponent but restricted to the case of higher densities in large cities. We argue that cities are shaped by power-law proximity. We complement the numerical analysis by economics arguments employing travel costs as well as housing rent determined by supply and demand. Our work contributes to the understanding of gravitational effects, radial gradients, and urban morphology. The model allows to generate and investigate city structures under laboratory conditions.
Introduction
The large number of processes working in cities make them complex objects extending over a range of spatio-temporal scales (Barthelemy, 2016; White et al., 2015). As pointed out by Batty (2013), a city science that explains city growth, sprawl, etc. needs to be supported by theories about how people relate to each other. Despite ongoing digitalization and globalization, geographical proximity still matters (Morgan, 2004). The small distances within cities, as extreme agglomerations, attract urbanites and thereby enhance the proximity.
Certainly, ideas of geographical gravitation have a long tradition and can be traced back to the middle of the 20th century and beyond (Carrothers, 1956; Stewart, 1948; Zipf, 1946). In view of new empirical findings, we revisit and extend a probabilistic city model (Rybski et al., 2013) from two states (non-urban, urban) to population counts. Specifically, we validate it against recent findings of urban fraction and population density gradients (Lemoy and Caruso, 2020) as well as of building heights within cities (Schläpfer et al., 2015).
The model to a large extent reproduces the features described for real-world cities. The numerical simulations enable us to relate both works to each other as well as to other properties including four different measures of city fractality and the fundamental allometry, i.e. between population and area of cities. Interestingly, the population density gradient decaying with the radial distance to the power −2 as found in (Lemoy and Caruso, 2017) corresponds to a fractal dimension of 0, which supports the point character of cities, i.e. singularities in space. We complement the numerical analysis by economics arguments employing travel costs as well as housing rent determined by supply and demand.
Model
We consider a two dimensional square lattice of size N × N whose sites wj with coordinates
We start with an empty grid (wj = 0 for all j) and, without loss of generality, put one inhabitant on the single central site. In every iteration, a random number z is drawn (from a uniform distribution between 0 and 1) for each grid cell with coordinates j and if

Examples of city structures generated by the model, equation (1). For panels (a) and (b)
This version differs from the original model (Rybski et al., 2013) only by (i) the wj which originally were 0 or 1 and (ii) the g which originally was fixed to g = 1, so that the maximum probability was 1 (see Rybski et al., 2013, for details).
For some analyses, we extract the major cluster by applying the City Clustering Algorithm (CCA) (Fluschnik et al., 2016; Hoshen and Kopelman, 1976; Kriewald et al., 2016; Rozenfeld et al., 2008, 2011) with l = 1, i.e. only connecting nearest neighbors. The area
The cells of the grid can also be understood as plots for buildings and the wj as the height of the buildings. Assuming each floor corresponds to one apartment and each apartment is home to one person, then wj corresponds to the number of inhabitants. More apartments per floor or more persons per apartment only represent a factor. We assume homogeneity, i.e. living space per person is constant throughout the city.
Analysis
On a square lattice of size 1000 × 1000 we run 10 realizations for various γ-values. As with the same normalization constant g a larger γ requires more iterations to fill the lattice, we take different normalization constants g for different γ-values to balance between the need of enough iterations and the computational time. Specifically, we run simulations for
Radial gradients
First we want to study the gradients generated by the model and compare them with empirical results (Guérois and Pumain, 2008; Lemoy and Caruso, 2020; Peiravian et al., 2014). Following Lemoy and Caruso (2020) we define concentric rings around the initial central cell and calculate within them the population density and urban fraction. We also apply the rescaling proposed in Lemoy and Caruso (2020).
Population density gradient
The density is given by
We rescale the population density according to

Population density gradients. The rescaled population density is plotted as a function of the rescaled distance to the center, both according to equation (2), for (a)
Specifically, we find that the population density decays following a power-law
As can be seen in Figure 2, the density gradient exponent α depends on the gravity exponent γ. We find
Small γ-values lead to scattered/sprawled structures and large γ-values lead to compact patches. The value
Urban fraction gradient
Analogously to the population density, the urban fraction is given by
Similar to the population density, the rescaled curves of urban fraction collapse onto each other in Figure 3. For the urban fraction we find an exponential decay

Urban fraction gradients. The urban fraction is plotted as a function of the rescaled distance to the center according to equation (6), for (a) + (b)
Equation (7) seems to hold reasonably well (Makse et al., 1995), but overall Lemoy and Caruso (2020) find a slower than exponential decay.
Urban fractality
Next we want to argue that equation (4) is related to fractality (Batty and Longley, 1994; Encarnação et al., 2012; Frankhauser, 2008; Zhou et al., 2017). The fractal dimension d is commonly defined by
For
Area-perimeter relation
While so far we have studied the resulting w-values of the whole system, from now on we focus on the properties of the major central cluster. To be more specific, here we consider its shape. As introduced by Lovejoy (1982) we first investigate the area-perimeter relation (see also Batty and Longley, 1994: Ch. 6.2), according to which the area
Figure 4(a) shows an example of the correlations between area and perimeter. As expected there is a power-law relation. We have fitted the exponent in equation (9) based on the evolution of the major central cluster of each realization separately. In Figure 4(b), the resulting fractal dimensions of all realizations are plotted as a function of the various γ-values. There is considerable spreading among the realizations but a minor increase of the average values can be observed from

Area-perimeter relation. (a) The area and perimeter of the major central cluster are correlated according to a power-law equation (9), here shown for
Box-counting dimensions
Next we employ box-counting to characterize the structure of the major central cluster. The method consists of counting the number of non-overlapping square-shaped boxes necessary to cover an object (see Bunde and Havlin, 1995, and references therein). By varying the size of the box the dimension is quantified via
In Figure 5, we plot the resulting fractal dimensions as a function of the size of the major central cluster

Box-counting fractal dimensions of major central cluster and its envelope. The fractal dimensions are plotted vs. cluster size in (a)-(d) for the envelope,
In Zhou et al. (2017), based on 5000 clusters of urban land-cover in Europe, the fractal dimension of the envelope roughly varies between 1.3 and 1.5, while for the cluster itself it varies between 1.3 and 1.7. From our simulations we obtain
It needs to be noted that while
Fundamental allometry
Schläpfer et al. (2015) find a power-law between the average building height and city size. In our context the building height translates into population density so that their relation corresponds to
In Figure 6(a) one can see that the resulting populations and areas follow power-laws according to equation (11). The allometry exponent δ depends on the gravity exponent γ, approximately following a parabolic relationship, see Figure 6(b). Schläpfer et al. (2015) report

Fundamental allometry. The population of the major central cluster as a function of its area is plotted in panel (a) for various γ-values as indicated in the legend. The dotted line has slope 1. Values of all realizations and iterations are shown. The scaling exponent δ according to equation (11) is plotted in panel (b) together with a parabolic regression. The 10 realizations for each γ-value are represented by a box-plot. Larger values of γ lead to increased population density in big cities.
Economics reasoning
We want to motivate equation (4), i.e. propose a setting under which the density gradient goes as
We begin with the common approach according to which the commodity Z is given by the wages W minus the housing rent R and the transportation costs T (see e.g. Barthelemy, 2016: Ch. 3.3), i.e.
In the mono-centric case, it is common sense that the rents decrease further away from the city center but the transportation costs increase. We assume power-law relations
In order to find the optimal distance to the center, the derivative of R + T needs to be zero, i.e.
By summing R with T we are essentially comparing apples with oranges. However, the prefactors a and b determine the weights they have relative to each other. Certainly, for wealthy people, the rent becomes less of an issue and the weight should be smaller while transportation is similar for everyone (people spend 20% to 30% of their time commuting (Kahneman et al., 2006)). We assume

Illustration of the sum of housing rent and transportation costs as well as the influence of the weight a. The values ρ = 2, τ = 3, and b = 1 have been used exemplary. With decreasing a the minimum moves towards the center.
Wealthier people can afford living close to the city center while low income population is pushed outward.
Further, we take the power-law income or wealth distribution
If two quantities A and B follow power-law distributions with pdfs
The lhs is negative and since
As a critical remark, we need to add that it is not a surprise to obtain a power-law (or a relation between exponents) when the derivation itself is based on power-laws. However, in economics power-laws are theoretically understood and empirically established (Gabaix, 2016).
Housing rent
Here we want to motivate equation (16) and the exponent ρ. The housing rent is determined by supply and demand. We postulate that the number of people willing to pay rent larger than R decreases as a power-law with R
Analogously, the number of people willing to sell property or rent it out for a price lower than R decreases as a power-law with R
The market price is then given by the price where both curves cross each other
i.e.
Linearity should work if we consider the area. In case of living space/apartments another exponent might be necessary to take changes of density into account, i.e.
Summary and discussion
In summary, our simulations show that the gravitational approach – according to which the probability of incremental growth is proportional to
Our results add to the pioneering work by Batty and Sik Kim (1992) who described a power-law population density gradient – in contrast to an exponential one (Clark, 1951). However, the proposed range of α between 0 and 1 corresponds to γ between 1.5 and 2, which is below the range investigated here. For
Moreover, it needs to be mentioned that we study our model results in terms of mono-centric cities. If the main cluster merges with surrounding smaller ones, then sub-centers can appear, but overall the main center dominates, as illustrated in Figure 1. It remains to be studied what happens in the regime
We investigate additional three fractal dimensions characterizing the structure of the major central cluster, disregarding the population density. Overall we find that the fractality is dominated by the size of the cluster while the gravity exponent γ has a minor influence. This is consistent with various previous papers.
Our approach also leads to urban allometry between population and area, although the scaling seems to be restricted to
An alternative model that elegantly generates spatial complexity and radial gradients is diffusion-limited aggregation (DLA) (Batty, 2013; Batty and Longley, 1994; Batty et al., 1989; Fotheringham et al., 1989; Witten and Sander, 1981). Contrasting equation (7), DLA leads to a power-law gradient of the urban fraction (Fotheringham et al., 1989, equation (3)). A form of allometry, equation (11), is also obtained from DLA (Fotheringham et al., 1989, equation (5)). The fractal dimension of the DLA in its basic form is
In contrast to the correlated percolation model (CPM) proposed in (Makse et al., 1995, 1998), where the urban fraction gradient and the structure are introduced artificially, in the gravitational approach presented here they are emergent. Moreover, it is not straight forward to extend the CPM to also simulate population density. It would be interesting to analyze which gradients are generated by the spatial network model (SNM) (Frasco et al., 2014; Wickramasinghe et al., 2018).
The qj in equation (1) are often interpreted as potential of a gravitational force
We also would like to discuss some limitations of our gravitational model. (i) The maximum urban fraction reaches 1 which is higher than in real cities. Analogously, population shows unbounded growth in the core and not a plateau as in real cities (although in Figure 2 a plateau can be seen in the log-log scale, in lin-lin representation, it is negligible). (ii) The assumed proportionalities between the w-values, population density and building height do not affect the model interpretations but for the comparison with real-world cities they represent rough assumptions and might require refinements from follow-up studies (Biljecki et al., 2016). In particular, a central business district and similar features would require to distinguish residential from commercial and other uses. (iii) Real-world cities are rarely radial and many exhibit anisometry (Zhou et al., 2017), which in most cases results from landscape constraints (e.g. coast lines). Our model apparently does not reproduce such anisometry but was also not intended to do so. (iv) The growth is exogenous and the constant growth parameter g leads to idealized urban development trajectories.
In principle the model can be extended by another exponent ϵ, i.e.
Last but not least, we would like to discuss an outlook to future work. (i) Recently, Volpati and Barthelemy (2018) proposed a dispersion index to characterize the degree of localization in populous areas. A direction of future research could be to apply it to our model output and establish a relation. (ii) It could also be of interest to operationalize the gravitational approach in order to apply it to real-world data (Jones and O’Neill, 2016). More landscape features need to be taken into account for a realistic modeling. (iii) The described gradients could be related to other quantities, such as the Urban Heat Island (UHI) effect (Watkins et al., 2002: Figure 6; Zhou et al., 2017).
Footnotes
Acknowledgements
We would like to thank A. Brenner, Y. Liu, S. Thies, and B. Zhou for useful discussions. This work emerged from ideas discussed at the symposium Cities as Complex Systems (Hanover, July 13th-15th, 2016) which was generously founded by Volkswagen Foundation.
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: Y. Li thanks China Scholarship Council (CSC) for financial support. D. Rybski is grateful to the Leibniz Association (project IMPETUS) for financially supporting this research.
