1 Introduction

With the increasing urbanization of the world’s population (United Nations 2015) and the ever higher resolution of weather and climate models, there is a need to improve the fidelity with which urban areas are represented in such models. This is a pre-requisite for better prediction of the urban-heat-island effect and its impact on both city inhabitants at street level and the atmosphere downstream (e.g. Grimmond et al. 2010). The complexity and variety of urban structure, with streets of different widths, intersections, parking areas and parks, presents a challenge for modelling both the exchange of solar and thermal-infrared radiation, and the turbulent transport of heat, momentum and pollutants. Inevitably the geometry must be simplified in order that processes can be represented efficiently, and the complexity needs to be commensurate with the small number of parameters that are typically available to describe variations in urban geometry within regional and global models.

In the case of urban radiation schemes, a common simplification is to consider an infinitely long street of fixed width with random azimuthal orientation relative to the sun (e.g. Masson 2000; Harman et al. 2004; Li et al. 2016). In the horizontal plane, the geometry of this ‘infinite-street model’ can be described by just two parameters: the fraction of built-up area occupied by buildings, \(\lambda _P\), and the street width, W. These are accompanied by the building height, H, which is typically assumed constant. From these parameters, several radiative exchange factors (called shape factors by Harman et al. 2004) can be computed such as the fraction of direct (i.e. unscattered) solar radiation that penetrates down to street level, and the fraction of diffuse radiation emitted or scattered by the walls that then intercepts another wall. Somewhat more sophisticated descriptions of horizontal urban geometry have been proposed, such as a regular array of square-based blocks with intersections at regular intervals (Kondo et al. 2005), but in the intercomparison of urban models by Grimmond et al. (2010), only six of the 33 models described horizontal urban geometry by anything more sophisticated than an infinite-street canyon. A number of models now incorporate radiative interaction with buildings of different height (e.g. Martilli et al. 2002; Schubert et al. 2012) and street trees (Krayenhoff et al. 2014; Redon et al. 2017), but they are still typically underpinned by the infinite-street assumption. Clearly there is a need to test and if necessary improve this assumption.

In this paper an alternative ‘exponential model’ for characterizing horizontal urban geometry is proposed and evaluated. It uses the same number of parameters as the infinite-street model, yet has the potential to describe the much more complex geometry of real cities. Section 2 demonstrates that for the purposes of radiation, horizontal building layout may be described uniquely by the probability distribution of wall-to-wall separation distances, and it is shown how the radiative exchange factors may be derived from this function. Section 3 describes how the infinite-street model may be posed in terms of this probability distribution, and confirms that the resulting formulae for the radiative exchange factors match those in the literature. Section 4 introduces the exponential model, and derives alternative formulae for these factors. Then in Sect. 5, probability distributions are derived from real building distributions in residential and commercial parts of London and Los Angeles, and used to evaluate the accuracy of the infinite-street and exponential models in terms of how well they predict the ‘true’ radiative exchange factors. It is important to stress that radiative exchange factors provide a convenient way of evaluating the validity of the two assumptions for radiative transfer, but do not themselves represent the important effects of street trees, buildings of different heights, or absorption by air in the urban canopy. In Sect. 6 we discuss how the exponential model could be incorporated into more sophisticated schemes that do capture these effects.

2 Urban Geometry in Terms of Probability Distributions

We here consider how best to describe the horizontal distribution of buildings, so for simplicity we assume that all buildings are the same height (H) with flat roofs and vertical walls. Consider diffuse radiation emitted or scattered from a thin vertical strip of wall in a particular azimuthal direction. Since radiation travels in straight lines, the probability of it being intercepted by another wall, rather than escaping to the atmosphere above or striking the ground, is a function of the distance between the two walls and their height. To determine the fraction of diffuse radiation emitted isotropically from all the walls in the neighbourhood that intercept another wall, we need to consider \(p_{ww}(x)\), the probability distribution of wall-to-wall horizontal separation distances, x, considering all possible azimuth angles. Thus, a pedestrian walking away from a randomly selected point on a wall in a random direction has a probability \(p_{ww}(x)\mathrm {d}x\) of encountering another wall after walking a distance between x and \(x+\mathrm {d}x\). This is illustrated in Fig. 1a, where the variable thickness of the red lines highlights that the probability of radiation being emitted or scattered from the strip in a particular azimuthal direction \(\phi \) varies as the cosine of the angle between \(\phi \) and the wall normal.

Fig. 1
figure 1

Plan view of a small section of an urban canopy illustrating the definitions of the probability distributions \(p_{ww}\) and \(p_{gw}\): a the red lines depict wall-to-wall distances x originating from a small vertical strip of wall (in blue); the probability distribution of x from all such strips is denoted \(p_{ww}(x)\). The thickness of each line is proportional to the angle subtended by the strip in that particular direction. b The green lines depict the ground-to-wall distances x from a small facet of the ground (depicted by the blue square); the probability distribution of x from all such facets is denoted \(p_{gw}(x)\). c Illustration of the property that a single wall-to-wall distance \(x'\) (the red line) is associated with ground-to-wall distances x in the range \(0<x<x'\) (shown by the four green lines), leading to the relationship between the two probability distributions given by (1). In each panel the buildings are shown in light grey and the ground in black

For computing radiative exchanges between the ground (or street) and the walls, we need instead \(p_{gw}(x)\), the probability distribution of ground-to-wall horizontal distances within the urban canopy at all possible azimuth angles. In this case, a pedestrian walking in a random direction from a randomly selected point at ground level has a probability \(p_{gw}(x)\mathrm {d}x\) of encountering a wall after walking a distance between x and \(x+\mathrm {d}x\), as illustrated in Fig. 1b.

There is a unique relationship between \(p_{ww}\) and \(p_{gw}\), since as shown in Fig. 1c, any single wall-to-wall distance \(x'\) can be split into many ground-to-wall distances x, where \(x<x'\). Therefore, the probability density \(p_{gw}(x)\) of a particular ground-to-wall distance x is proportional to the probability of \(x'>x\), i.e.

$$\begin{aligned} p_{gw}'(x)&= \int _x^\infty p_{ww}(x')\mathrm {d}x', \end{aligned}$$
(1a)
$$\begin{aligned} p_{gw}(x)&= p_{gw}'(x)\Big /\int _0^\infty p_{gw}'(x)\mathrm {d}x, \end{aligned}$$
(1b)

where (1b) normalizes the ‘raw’ distribution \(p_{gw}'\) such that the normalized distribution \(p_{gw}\) integrates to unity.

From these two probability distributions, and assuming a vacuum, we may compute radiative exchange factors, \(F_{ij}\), which denote the fraction of radiation originating from source i that illuminates destination j, where we assign the ground, wall and ‘sky’ facets the subscripts \(g\), w and \(s\), respectively. We add an additional possible source subscript ‘0’ denoting direct solar radiation from the sky facet, whereas all other sources are diffuse. Some authors (e.g. Masson 2000; Li et al. 2016) refer to \(F_{ij}\) as ‘sky view factors’, but we avoid this term as it is more commonly used in the literature to refer to the sky fraction viewed by an observer at a specific point on a facet (e.g. Johnson and Watson 1984), rather than integrated over all points on a facet as signified by \(F_{ij}\). All the equations for the \(F_{ij}\) exchange factors that follow involve integration over one of the two probability distributions above, and may be applied either analytically to parametric models for the probability distributions (as in Sects. 3 and 4), or numerically to probability distributions derived from real building layouts (as in Sect. 5).

Consider first direct solar radiation, which travels horizontally a distance \(x_0\) between the top and bottom of the urban canopy given by

$$\begin{aligned} x_0=H\tan \theta _0, \end{aligned}$$
(2)

where \(\theta _0\) is the solar zenith angle. This means that direct radiation entering the top of the canopy at a particular point only penetrates to ground level if the nearest wall in the azimuthal direction of the radiation is at least a distance \(x_0\) away. Therefore, the fraction \(F_{0g}\) of direct radiation just below canopy top that penetrates down to ground level without being intercepted by a wall is

$$\begin{aligned} F_{0g}=\int _{x_0}^\infty p_{gw}(x)\mathrm {d}x. \end{aligned}$$
(3)

Any direct radiation just below canopy top that does not reach the ground must be intercepted by a wall, so \(F_{0w}=1-F_{0g}\).

The fraction of diffuse radiation emitted or scattered from ground level that is intercepted by a wall is

$$\begin{aligned} F_{gw}=\int _0^\infty p_{gw}(x)f_{gw}(H/x)\mathrm {d}x, \end{aligned}$$
(4)

where \(f_{gw}(H/x)\) is the fraction of diffuse radiation emitted from a small horizontal area at ground level into the quadrant towards a wall of height H a distance x away, which is intercepted by the wall. To derive an expression for \(f_{gw}\), consider the beam of radiation emitted from point A in Fig. 2a that intercepts the wall at point B. If the emission is isotropic then the radiative power in this infinitesimally narrow beam is proportional to the solid angle \(\mathrm {d}\lambda \,\mathrm {d}\theta \), multiplied by \(\cos \theta \) to account for the dependence on \(\theta \) of the angle subtended by the small horizontal area at A to an observer at B. From geometry we have \(\mathrm {d}\lambda =\sin \theta \,\mathrm {d}y/x\), so the radiative power is proportional to \(\sin \theta \cos \theta \,\mathrm {d}\theta \,\mathrm {d}y/x\). The fraction of radiative power emitted into the quadrant \(0<\theta <{\uppi }/2\) that intercepts the wall is therefore given by

$$\begin{aligned} f_{gw}(H/x) = \frac{\int _{\theta _c}^{\pi /2}\sin \theta \cos \theta \,\mathrm {d}\theta }{\int _0^{\pi /2}\sin \theta \cos \theta \,\mathrm {d}\theta }, \end{aligned}$$
(5)

where the \(\mathrm {d}y/x\) term is not a function of \(\theta \) so cancels between numerator and denominator. The critical zenith angle beyond which the beam starts to intersect the building is \(\theta _c=\tan ^{-1}(H/x)\), so (5) simplifies to

$$\begin{aligned} f_{gw}(H/x) = \frac{1}{1+(x/H)^2}. \end{aligned}$$
(6)

The fraction of diffuse radiation emanating from the ground that escapes to the sky is simply the fraction not intercepted by the walls, so we can write \(F_{gs}=1-F_{gw}\), or equivalently

$$\begin{aligned} F_{gs}=\int _0^\infty p_{gw}(x)f_{gs}(H/x)\mathrm {d}x, \end{aligned}$$
(7)

where

$$\begin{aligned} f_{gs}(H/x) = 1-f_{gw}=\frac{1}{1+(H/x)^2}. \end{aligned}$$
(8)

Moreover, the symmetry of the problem with respect to the sky and the ground implies that for diffuse radiation emanating from the sky we can write \(F_{sg}=F_{gs}\) and \(F_{sw}=F_{gw}\).

Fig. 2
figure 2

Schematic of thin slices through an urban area illustrating the geometry used in Sect. 2 to compute the fraction of diffuse radiation emitted or scattered from a the ground and b a wall, which subsequently intercepts a wall. If the wall at B has an azimuthal orientation such that the light beam strikes it at an oblique azimuthal angle, then note that elemental length \(\mathrm {d}y\) is the horizontal width of the beam, not the horizontal length of the wall at B that is illuminated by the beam (which could be larger)

The fraction of diffuse radiation emitted or scattered from a wall that then encounters another wall is a function of the wall-to-wall probability distribution,

$$\begin{aligned} F_{ww}=\int _0^\infty p_{ww}(x)f_{ww}(H/x)\mathrm {d}x, \end{aligned}$$
(9)

where \(f_{ww}(H/x)\) is the fraction of diffuse radiation emitted from a small width of wall (but all heights up the wall) that intercepts another wall at distance x given that the buildings are of height H. This calculation is more involved as we need to integrate over all emission heights. We define \(g_{ww}(z/x)\) as the fraction of diffuse radiation emitted into the downward quadrant from a small area of wall at height z that intercepts the other wall at distance x, rather than the ground. Consider the infinitesimally narrow beam of radiation emitted from point A in Fig. 2b that arrives at point B. The radiative power in the beam is again proportional to \(\cos \theta \,\mathrm {d}\lambda \,\mathrm {d}\theta \), where \(\theta \) is now the angle relative a horizontal line emanating from the wall in the direction of B (not necessarily the normal to the wall since the wall elements at A and B need not be azimuthally parallel to each other). This time \(\mathrm {d}\lambda =\cos \theta \,\mathrm {d}y/x\), so the radiative power is proportional to \(\cos ^2\theta \,\mathrm {d}\theta \,\mathrm {d}y/x\), leading to

$$\begin{aligned} g_{ww}(z/x)&=\frac{\int _0^{\theta _c}\cos ^2\theta \,\mathrm {d}\theta }{\int _0^{\pi /2}\cos ^2\theta \,\mathrm {d}\theta } =\frac{2}{\uppi }\left[ \tan ^{-1}\frac{z}{x}+\left( 2+\frac{z^2}{x^2}+\frac{x^2}{z^2}\right) ^{-1/2}\right] , \end{aligned}$$
(10)

where the critical angle is \(\theta _c=\tan ^{-1}(z/x)\). Integrating \(g_{ww}\) over all heights up the wall yields

$$\begin{aligned} f_{ww} =\frac{1}{H}\int _0^H g_{ww}\,\mathrm {d}z =\frac{2}{\uppi }\tan ^{-1}\frac{H}{x}. \end{aligned}$$
(11)

Note that here we have considered only radiation emitted into the downward quadrant (\(0<\theta <\uppi /2\) in Fig. 2b), but the symmetry of the problem means that the fraction of diffuse radiation emitted from a wall into the equivalent upward quadrant that intercepts another wall is the same, so (11) is valid for radiation emitted into either quadrant.

In assessing different models for urban geometry, we shall use the equations in this section to evaluate how well the models predict the exchange factors \(F_{0g}\), \(F_{gs}\) and \(F_{ww}\). The other exchange factors are unique functions of these three; we have already seen that \(F_{0w}=1-F_{0g}\), \(F_{gw}=1-F_{gs}\), \(F_{sg}=F_{gs}\) and \(F_{sw}=F_{gw}\). Furthermore, the diffuse radiation emanating from a wall that does not hit another wall must be evenly divided between the sky and the ground, so \(F_{wg}=F_{ws}=(1-F_{ww})/2\).

3 The Infinite Street Canyon Model

To demonstrate how the general approach in terms of probability distributions may be applied to a specific geometry, we consider the case of infinitely long street canyons of width W, a common assumption as discussed in Sect. 1. The wall-to-wall distance in the horizontal plane is then given by

$$\begin{aligned} x=W/\cos \phi , \end{aligned}$$
(12)

where \(\phi \) is the azimuthal direction from the wall normal such that \(\phi =0\) is the direction of shortest distance across the street, and \(\phi =\uppi /2\) is directed along the street. If the fraction of the urban area occupied by buildings is \(\lambda _p\) then the distance between adjacent streets in direction \(\phi \) is \(S=W/\left[ (1-\lambda _p)\cos \phi \right] \). The probability of wall-to-wall separation distances lying in the range x to \(x+\mathrm {d}x\) is then equal to the probability of azimuthal angles lying in the range \(\phi \) to \(\phi +\mathrm {d}\phi \), i.e.

$$\begin{aligned} p_{ww}(x)\mathrm {d}x=p(\phi )\mathrm {d}\phi . \end{aligned}$$
(13)

Each azimuthal street orientation is equally likely, implying that \(p(\phi )\) should be constant, but from the definition of S we see that the distance between streets in direction \(\phi \) is proportional to \(1/\cos \phi \), implying that the probability density of streets in direction \(\phi \) is actually \(p(\phi )=\cos \phi \). Differentiating (12) and substituting into (13) yields \(p_{ww}=\cos ^3\phi /\left( W\sin \phi \right) \). Using (12) to express this in terms of W and x, and recognizing that this expression is only valid for distances larger than the street width, yields

$$\begin{aligned} p_{ww}(x,W)=\left\{ \begin{array}{ll} 0: &{}\quad x\le W, \\ \frac{W^2}{x^2}\left( x^2-W^2\right) ^{-1/2}: &{}\quad x>W. \end{array} \right. \end{aligned}$$
(14)

The probability distribution of ground-to-wall distances is found by applying (1) to (14), to obtain

$$\begin{aligned} p_{gw}(x,W)&=\frac{2}{\uppi W}\left( 1-\sqrt{1-\frac{\mathrm {min}(W,x)^2}{x^2}}\right) . \end{aligned}$$
(15)

The radiative exchange factors may now be derived. Applying (3) to (15) we obtain

$$\begin{aligned} F_{0g}=\frac{2}{\uppi }&\left[ \frac{Y-x_0}{W}+\tan ^{-1}\frac{W}{Y} \right] , \end{aligned}$$
(16)

where \(Y=\max (x_0^2-W^2,0)^{1/2}\). This is mathematically equivalent to Eq. 13 of Masson (2000). Similarly we apply (7) and (8) to (15), and (9) and (11) to (14), to obtain (after considerable manipulation)

$$\begin{aligned} F_{gs}&=\sqrt{\frac{H^2}{W^2}+1}-\frac{H}{W}; \end{aligned}$$
(17)
$$\begin{aligned} F_{ww}&=\sqrt{\frac{W^2}{H^2}+1}-\frac{W}{H}, \end{aligned}$$
(18)

which match the relations found previously (e.g. Sparrow and Cess 1970; Noilhan 1981; Masson 2000; Harman et al. 2004).

4 The Exponential Model

In this section an alternative model for horizontal urban geometry is proposed in which the two probability distributions are assumed to follow an exponential distribution,

$$\begin{aligned} p_{ww}(x)=p_{gw}(x)=\exp (-x/X)/X, \end{aligned}$$
(19)

which satisfies the relationship between the two distributions given by (1). This distribution was assumed for the separation of trees in the forest radiative-transfer scheme of Hogan et al. (2018). The validity of the exponential model for urban areas is evaluated using real building layouts in the next section. As with the infinite-street model, only one parameter is used to characterize the distribution, in this case the ‘e-folding’ building separation X. Since X is also the mean value of the exponential distribution, it can be interpreted physically as the mean wall-to-wall distance considering all directions (i.e. the mean length of the red lines in Fig. 1a) or the mean ground-to-wall distance (i.e. the mean length of the green lines in Fig. 1b). However, when fitting an exponential distribution to the geometry of real cities, the method described in Sect. 5 should be used rather than simply setting X to the observed mean wall-to-wall separation distance.

The radiative exchange factors may again be derived by applying the integrals in Sect. 2. The penetration of direct radiation to ground level also has an exponential form,

$$\begin{aligned} F_{0g}=\exp (-x_0/X), \end{aligned}$$
(20)

where \(x_0\) is given by (2). This is essentially the Beer-Lambert law, and indicates that the penetration of direct radiation through an urban scene obeying the exponential model is the same as the penetration of direct radiation through a turbid medium with an extinction coefficient that does not vary with height.

The radiative exchange factors for diffuse radiation have a more complex form,

$$\begin{aligned} F_{gs}&=1+\zeta \left[ \cos \zeta \left( \mathrm {Si}\,\zeta -\frac{\uppi }{2}\right) -\sin \zeta \,\mathrm {Ci}\,\zeta \right] ; \end{aligned}$$
(21)
$$\begin{aligned} F_{ww}&=1+\frac{2}{\uppi }\left[ \cos \zeta \left( \mathrm {Si}\,\zeta -\frac{\uppi }{2}\right) -\sin \zeta \,\mathrm {Ci}\,\zeta \right] =1+\frac{2}{\uppi \zeta }\left( F_{gs}-1\right) , \end{aligned}$$
(22)

where \(\zeta =H/X\), \(\mathrm {Si}(\cdot )\) is the sine integral and \(\mathrm {Ci}(\cdot )\) is the cosine integral. In an operational model, these exchange factors could be implemented efficiently as one-dimensional look-up tables or Padé approximants.

Fig. 3
figure 3

Comparison of radiative exchange factors between the infinite-street model and the exponential model. The wall/ground area ratio, \(A_w/A_g\), is defined in terms of the parameters of the two models by (23) and (25), and varies in the range 0.26–1.4 for the scenes analyzed in Sect. 5. Panel b shows \(F_{0g}\) for the three different solar zenith angles indicated in the legend

Figure 3 compares the radiative exchange factors between the infinite-street model and the exponential model, as a function of the ratio of total wall area \(A_w\) to total ground area \(A_g\). In the case of the infinite street, the ratio is

$$\begin{aligned} A_w/A_g=2H/W, \end{aligned}$$
(23)

since there are two walls for every street. For the exponential model, we apply energy conservation principles: if each surface of the urban area is at the same temperature (including the sky) and has an emissivity of unity then the energy emitted from a surface equals the energy received. For the walls this leads to

$$\begin{aligned} A_wB=2A_gF_{gw}B+A_w F_{ww}B, \end{aligned}$$
(24)

where B is the power emitted per unit area (in W m\(^{-2}\)), the term on the left-hand side is the total power emitted from the walls, the first term on the right is the power received at the walls from the ground and sky (which is the same) and the second term on the right is the power received from other walls. Combining with (22), and noting again that \(F_{gw}=1-F_{gs}\), we obtain

$$\begin{aligned} A_w/A_g=\uppi H/X. \end{aligned}$$
(25)

Equations 23 and 25 enable the two models to be plotted on the same axes in Fig. 3. These equations imply that the parameters W and X could be fitted to real cities from measurements of \(A_w/A_g\), but in practice the wall area \(A_w\) is a somewhat ill-defined quantity in that it depends on the resolution of the measurements, and some buildings have fine-scale details that are not important for radiative exchange. Therefore we prefer the approach taken below, where W and X are fitted such that one of the radiative exchange factors is predicted exactly, and the validity of the model is assessed by how well the other factors are predicted.

5 Analysis of Real Cities

Here, the wall-to-wall and ground-to-wall probability distribution functions are computed for real cities, from which the radiative exchange factors are calculated numerically. This enables us to evaluate the different approximations to urban geometry described in Sects. 3 and 4. Building outlines and heights have been obtained for two cities, London and Los Angeles, and Fig. 4 depicts four 3 km \(\times \) 3 km scenes in which the buildings have been rendered on a grid with a horizontal resolution of \(\Delta x=2\) m. The scenes have been chosen to be very contrasting: the streets in Central London have an irregular layout and a range of different widths, the Residential London scene consists of a patchwork of rows of terraced housing, Downtown Los Angeles consists of a grid layout with large buildings in each block, and the Residential Los Angeles scene consists of a grid layout but with many small detached houses in each block. In the case of Central London, the location of the River Thames has been added manually using Google Maps imagery. The choice of 3 km \(\times \) 3 km domains is a compromise between the need for a scene to be large enough to sample streets of different orientation and to minimize sampling noise in the probability distributions, but small enough that the ‘character’ of the building layout is similar everywhere in a scene. The datasets do not contain information about the location of trees, which are known to be important for urban radiative transfer (Grimmond et al. 2010), but in Sect. 6 we discuss how our results could be incorporated into a more sophisticated urban radiation scheme that includes urban vegetation.

Fig. 4
figure 4

Building layouts for four contrasting neighbourhoods of London and Los Angeles. The axes in the top two panels are indicated relative to a point 51.45\(^\circ \)N, 0\(^\circ \)E. The axes in the bottom two panels are indicated relative to a point 34\(^\circ \)N, 118.25\(^\circ \)W. Panel b shows the Palmers Green area of north London, while Panel d shows the Panorama City area of Los Angeles

Before analyzing the building spacings, a question arises as to how to treat large open areas such as rivers and parks. Most global weather and climate models treat each gridbox of the surface by a number of tiles of different types, including open water, grassland and forest, in addition to urban. When green areas are small, such as gardens and small parks, their associated radiative and turbulent fluxes are significantly affected by nearby buildings and they are best treated as part of the urban tile. When they are large and most of their area is a long distance from the nearest building, it is more appropriate to treat them as a separate tile. However, there is no consensus on the size of the green space at which the transition should take place. We do not attempt to answer this question herein, but rather examine its effect on the probability distributions.

Contiguous regions of the domain that are at least 0.5 hectares in area and at least 20 m from the nearest building or river pixel have been identified automatically. Google Maps was then used to manually determine whether each such region is a parking area or plaza, a park, or a built-up surface not frequented by pedestrians (such as a railway or major highway). Parking areas and plazas are assigned to the same category as streets, while the other two are treated separately as shown in Fig. 4. The rationale of keeping major highways separate is that one of the main purposes of an urban model is to predict the conditions experienced by pedestrians at street level, but the impact of this decision is investigated below. The first three rows of Table 1 list some basic properties of the four scenes.

Table 1 Numerical properties of the four scenes depicted in Fig.  4
Fig. 5
figure 5

Illustration of how the wall-to-wall probability distribution, \(p_{ww}(x)\), is computed numerically from a digitized building layout, in this case considering an 80 \(\times \) 80-m subset of Fig. 4a at a resolution of 2 m. The scene is analyzed in four directions: a north–south, b east–west, c north-east–south-west and d north-west–south-east, and \(p_{ww}(x)\) is constructed from the valid wall-to-wall distances x depicted by the red lines in each panel. The dark grey triangles in panels c and d are excluded from consideration since they are too small to contain the larger x values so could skew the distribution towards small x

Each gridded scene has been analyzed in four azimuthal directions, as illustrated in Fig. 5. Considering first the north–south and east–west directions in Fig. 5a and b, the scene is analyzed in one-dimensional strips of width \(\Delta x\), and in each strip the transitions from building-to-street and street-to-building are identified. From these the contiguous spans of the street category are identified, shown by the red lines. Note that in the first analysis any spans that include rivers, parks, railways or major highways are excluded, but in the second analysis towards the end of this section only those including rivers are excluded. Thus we may build up the probability distribution of wall-to-wall separation distances, \(p_{ww}\), at the resolution of the grid (in this case 2 m). A similar analysis of the diagonal strips (Fig. 5c and d) produces a probability distribution with a grid spacing \(\sqrt{2}\) times larger. This is interpolated back on to the 2-m grid and averaged with the first \(p_{ww}\) estimate, using a weighting that accounts for the fact that each diagonal strip is a factor of \(\sqrt{2}\) times narrower. The probability distribution of ground-to-wall separation distances, \(p_{gw}\), is computed by applying (1) numerically to \(p_{ww}\). A small fraction of the street pixels in the scene, particularly in the corners and at the borders of parks, are not sampled by this analysis in any of the four directions due to them not lying between two buildings in the directions considered; these are shown in dark grey in Fig. 4.

Care should be taken in applying the strip method of Fig. 5 to parts of some North American cities if all the streets are preferentially aligned along two of the strip directions. One approach to mitigate potential biases would be to rotate the building polygon data by several different angles before discretizing to a grid and performing the strip analysis. There is some preference for north-west–south-east and north-east–south-west street orientation in the Residential Los Angeles scene (Fig. 4d), but we find below that the results for this scene are very similar to those from the Residential London scene (Fig. 4b), which has a much more random street orientation.

Fig. 6
figure 6

ad In black, the wall-to-wall probability distributions, \(p_{ww}\), derived from the locations of the ‘street, plaza, parking area or garden’ category for the four scenes shown in Fig. 4. In red and blue, the fitted infinite-street and exponential models. eh The corresponding ground-to-wall probability distributions, \(p_{gw}\). il The corresponding direct penetration fraction \(F_{0g}\) as a function of the cosine of solar zenith angle

The black lines in Fig. 6a–h depict the probability distributions derived from the four scenes. From these the various radiative exchange factors have been calculated numerically. The black lines in Fig. 6i–k depict \(F_{0g}\) as a function of \(\cos \theta _0\), while the diffuse factors \(F_{gs}\) and \(F_{ww}\) are shown in Table 1. Building height appears to be the dominant factor controlling radiative exchange, with the two downtown scenes having much lower penetrations of direct and diffuse radiation between sky and ground than the two residential areas.

We next investigate how well these distributions are fitted by the infinite-street and exponential models. The question arises of how best to fit the characteristic lengths for the two models, W and X. We have chosen to select these lengths such that the diffuse ground-to-sky exchange factor, \(F_{gs}\), is predicted exactly. This is achieved by numerically inverting (17) and (21) to obtain the values of W and X from the observed values of \(F_{gs}\) and H; the values obtained by this method are shown in Table 1. The associated analytical probability distributions for the two models (Eqs. 14, 15 and 19) are shown by the red and blue lines in Fig. 6a–h. For all scenes, and for both \(p_{ww}\) and \(p_{gw}\), the exponential distribution fits much better than the infinite-street model for building separations between 0 and at least 200 m. The infinite street is a particularly poor fit for \(p_{ww}(x)\), predicting \(p_{ww}=0\) for \(x<W\), a delta function at \(x=W\), and an underestimation by around a factor of two at \(x\approx 200\) m. For larger building separations there is more variability between scenes, but arguably the infinite-street model fits a little better.

The red and blue lines in Fig. 6i–l depict the predicted direct sky-to-ground exchange factor, \(F_{0g}\), revealing that the exponential model provides a better match to the values calculated from the real building distributions for all solar zenith angles. This is because the probability distribution of building separations in the 0–200 m range, where the exponential model performs best, is more important for radiative exchange than larger building separations; indeed, only 1.0–3.9% of \(p_{ww}\) and 1.6–6.6% of \(p_{gw}\) is contained in building separations greater than 200 m.

Fig. 7
figure 7

Relationship between the diffuse wall-to-wall exchange factor \(F_{ww}\) and ground-to-sky exchange factor \(F_{gs}\) for the two analytic models (red and blue lines) and the four scenes depicted in Fig. 4 (black symbols). The green symbols depict the results from an alternative analysis of the four scenes in which parks, railways and major highways are added to the ‘street’ category

In the case of diffuse exchange factors, the two models have already been fitted to ensure that \(F_{gs}\) is predicted exactly, but \(F_{ww}\) provides an independent point of evaluation. The lowest two rows of Table 1 show that the infinite-street model underpredicts \(F_{ww}\) by on average 46%, whereas the exponential model tends to overpredict \(F_{ww}\) but by only 15% on average. This is analyzed in more detail in Fig. 7, which depicts the unique relationships between \(F_{gs}\) and \(F_{ww}\) predicted by the two analytical models. The black symbols show the corresponding values for the four real scenes. The poorer performance of the infinite-street model is due to \(F_{ww}\) being particularly sensitive to \(p_{ww}(x)\) for small x, where the two models are most different. Figure  3c also shows much lower \(F_{ww}\) for the infinite-street than the exponential model for wall/ground area ratios in the range found in these four scenes (\(0.26< A_w/A_g < 1.4\)).

Fig. 8
figure 8

As Fig. 6, but with parks, railways and major highways added to streets before performing the analysis

We now examine the impact of an alternative analysis of the four scenes, in which parks, railways and major highways are included in the ‘street’ category when deriving wall-to-wall and ground-to-wall probability distributions. The results are shown in Fig. 8, revealing that the probability distributions show somewhat higher tails for the larger building separations, but the fitted exponential model still fits better for separations of less than 200 m, and also for the direct exchange factor shown in Fig. 8i–l. The green symbols in Fig. 7 show the \(F_{gs}\) and \(F_{ww}\) values for this alternative analysis, and again it is clear that the exponential model fits better.

If an urban radiation scheme using the exponential model were to be deployed in a weather or climate model then naturally the e-folding length X would first need to be estimated from the building layouts of a much larger number of cities. The strip method illustrated in Fig. 5 could of course be used to derive \(p_{ww}\) and \(p_{gw}\), but the inversion of the rather complex relation (21) to find the value of X that predicts \(F_{gs}\) (and hence \(F_{gw}=1-F_{gs}\)) exactly could be regarded as cumbersome. A simpler approach is to instead find the value of X that predicts an approximate form of \(F_{gw}\) in which \(f_{gw}\) in (4) is replaced by an exponential of the form \(f_{gw}\approx \exp (-x/Z)\), where Z is a length scale to be defined. This leads to the following formula for estimating X from an observed ground-to-wall probability distribution \(p_{gw}\):

$$\begin{aligned} X\approx Z\left[ \left( \int _0^\infty p_{gw}\mathrm {e}^{-x/Z}\,\mathrm {d}x\right) ^{-1}-1\right] . \end{aligned}$$
(26)

When used with a length scale of \(Z=1.5H\), the estimated values of X agree with those in Table 1 to within 1%. Mean building height H can be a somewhat ill-defined quantity in real cities, but we have found that using a fixed length scale of \(Z=10\) m also leads to acceptable results, with X estimates then agreeing with those in Table 1 to within 1.2%.

6 Discussion and Conclusions

In this paper it has been demonstrated that treating urban areas as streets of infinite length and constant width, as done in many weather and climate models, leads to significant errors in modelling the mean rates of exchange of solar and thermal-infrared radiation between the sky, walls and ground. Analysis of the probability distributions of wall-to-wall separation distances from real cities reveals that an exponential distribution is a good fit, and leads to a significantly better prediction of radiative exchange factors. Naturally, if this ‘exponential model’ of urban radiation were combined with an existing treatment of turbulent fluxes to create a full urban exchange scheme, care would need to be taken to ensure a consistent assumption about the areas of walls and ground. The exponential model for urban geometry could also be useful for other applications sensitive to building layout, such as blockage of mobile telephone signals (Bai et al. 2014).

While the radiative exchange formulae presented are a straightforward replacement for those in ‘simple’ existing urban radiation schemes (such as that described by Harman et al. 2004), an important question is how to incorporate the exponential model into more sophisticated schemes (e.g. Schubert et al. 2012; Krayenhoff et al. 2014; Redon et al. 2017) that represent vegetation and buildings of different height, yet are still underpinned by the infinite-street assumption. One approach could be to explore a useful property of the exponential model, which is that streams of radiation with a particular zenith angle in an urban canopy are attenuated according to the Beer-Lambert law, in the same way as light propagating through a turbid atmosphere. Equation 20 demonstrates this for direct solar radiation, but it is applicable to the entire radiation field if diffuse radiation is represented by a set of discrete zenith angles (e.g. Stamnes et al. 1988), an approach that underpins almost all one-dimensional multi-layer atmospheric radiative transfer schemes. This suggests that the infrastructure of such schemes could be adapted to the urban problem, enabling the prediction of the vertical profile of radiation within an urban canopy containing buildings of different heights, as well as the treatment of atmospheric absorption, emission and scattering. Note that it is ubiquitous for current urban radiation schemes to treat the space between buildings as a vacuum, but this is a dubious assumption in the thermal infrared.

In terms of vegetation, Hogan et al. (2018) used ideas from one-dimensional atmospheric radiation schemes to develop an accurate multi-layer model for treating radiation in forest canopies, embedded within which is the assumption that the horizontal separation of obstacles (which could be trees or buildings) follows an exponential distribution. This would therefore be an appropriate starting point for a more comprehensive urban radiation scheme that could accommodate street trees, atmospheric effects and multiple building heights. Naturally a crucial step is to evaluate any new urban radiation scheme using calculations on real urban geometry by explicit three-dimensional radiation models (e.g. Krayenhoff and Voogt 2007; Gastellu-Etchegorry 2008; Lindberg et al. 2008).