1 Introduction

It is estimated that 54% of the world’s population resided in urban areas in 2014, and this percentage is projected to reach 66% by 2050 (UN 2014). As fast-growing and densely populated areas, cities are very sensitive and vulnerable to a variety of natural and human-made hazards (Blaikie et al. 2004; Dilley et al. 2005), such as earthquakes, floods, terrorist attachs, and chemical accidents. Urban emergency shelters are vital public places that can provide temporary space for residents when facing a disaster. Sound and effective planning of urban emergency shelters not only can strengthen the ability of governments to deal with disasters, but can also guarantee public security in cities (Johnson 2000). Existing studies on emergency shelter planning (Li et al. 2012; Chen et al. 2013; Zhao et al. 2017) mainly focused on the evaluation and location selection of shelters by considering multiple factors: for example, traffic conditions, distances to shelters, population density, types of disasters, and capacity of shelters.

Various methods have been developed to evaluate the distribution of shelters. For instance, the Analytic Hierarchy Process (AHP) that is practical to multicriteria evaluation (Fan et al. 2011; Cheng and Yang 2012; Tong et al. 2012; Yu and Wen 2016), the weighted Voronoi diagram model (Tai et al. 2010; Dou et al. 2012) that considers the coverage of shelters, and the two-step floating catchment area algorithm (SFCA) model (Ye et al. 2008), all were proposed to evaluate the suitability of the existing emergency shelters. Location selection of shelters is also a significant task in urban emergency shelter planning. Sherali et al. (1991) proposed a restrictive condition model based on a nonlinear mixed-integer programming model to determine shelter locations. Other mathematical models were also applied to the location selection of shelters, for example, multi-objects models (Alçada-Almeida et al. 2009; Xu et al. 2018), bilevel-programming models (Kongsomsaksakul et al. 2005; Li et al. 2012; Xu et al. 2017), the max-covering model (Pan 2010), the SFCA model (Zhu et al. 2018), and the mathematical program with complementarity constraints model (Kulshrestha et al. 2011). Moreover, the AHP (Cheng and Yang 2011; Choi et al. 2012; Chu and Su 2012; Cetinkaya et al. 2016) and fuzzy method (Tsai et al. 2008; Trivedi and Singh 2017) were also used in location decision studies of emergency shelters.

Capacity of shelters and potential evacuation population are the two most important factors that have been considered in these studies. For instance, Kulshrestha et al. (2011) discussed demand uncertainty, which means the uncertainty of the number of evacuees using the emergency shelters during an evacuation, and adopted a robust optimization approach to address the demand uncertainty. Chu and Su (2012) calculated the per capita effective sheltering area as a significant evaluation indicator in the AHP analysis, which simply considers the relationship of capacity of shelter and evacuation population. Ye et al. (2008) took the parks in Shanghai Municipality, China, as emergency shelters and calculated the ratio of shelter capacity to residential population to estimate the accessibility of shelters. They also used inverse distance weighted (IDW) interpolation to estimate the accessibility of the whole study area. Zhu et al. (2018) calculated the supply–demand ratio by calculating the quotient of shelter population capacity and the sum of evacuee population. Yu and Wen (2016) also took the supply–demand ratio of each subdistrict in the Jing’an District, Shanghai as an important criterion in the AHP and carried out a weight sensitivity analysis of the evaluation for urban shelters. These studies considered evacuation population as “demand” and the capacity of shelters as “supply” to analyze the supply–demand relationship. However, these models only conducted the supply–demand analysis at the district or community scale, which did not discuss the supply–demand relationship from a microcosmic perspective and cannot reflect the satisfaction of a sheltering service at a fine spatial scale. Furthermore, spatiotemporal population change should be considered to cope with disaster threats (Freire et al. 2013), due to the activities and mobility of people, especially in urban areas (Aubrecht et al. 2012). Zhao et al. (2017) proposed an emergency shelter location model that minimizes the total setup cost of locating the shelters to satisfy time-varying shelter demand in a given urban area. However, the time-varying demand population estimation was only calculated at the community scale. Accurate population distribution estimation is significant to the supply–demand analysis for decision support in shelter planning.

In previous studies, many researchers conducted population distribution estimation by using various models, such as land use, population distribution, building volume, nightlight data, and agent-based models. The land use model is based on the linear relationship of land use and population, which depends on the high accuracy of land use classification (Choi et al. 2014; Lloyd and Nejad 2014; Shiode et al. 2014). These studies show that population distribution has a strong correlation with the land-use types. At nighttime, most people are in residential areas, while during the daytime, people are gathered in business areas, educational or medical facilities, and so on. High-resolution population distribution information can be extracted by combining the land use data with building data. The population distribution model estimates population distribution according to a distribution function, such as normal distribution (Sherratt 1960) and negative exponential distribution (Smeed 1964). However, the distribution function would be complex for big cities. The building volume model estimates population according to the relationship of population and building volume using, for example, Light Detection and Ranging (LIDAR)-based building volume data (Qiu et al. 2010; Lwin and Murayama 2011) and building footprint-based volume data (Yu and Wen 2016). The nightlight data model uses Defense Meteorological Program Operational Line-Scan System (DMSP/OLS) and National Polar-orbiting Partnership Visible Infrared Imaging Radiometer Suite (NPP/VIIRS) satellite products to estimate the population density distribution in the lighting areas (Yu et al. 2018). Although useful in some contexts, the method is not suitable for population estimation at a fine scale. Therefore, a population estimation method that combines land use with building volume data would be feasible and effective for supporting supply–demand analysis of shelters in this study.

Considering the time-dependence of population distribution, we propose a new supply–demand analysis method for urban emergency shelters. The main objective of this article is: (1) to investigate population estimation in the daytime and the nighttime at a fine scale that can provide the spatiotemporal population distribution data for further analysisFootnote 1; and (2) to conduct the supply–demand analysis based on the spatial probability density estimation method. The advantage of the method presented in this study lies in two aspects: (1) the spatiotemporal supply–demand difference of emergency shelters can be revealed by population estimation in the daytime and at night; and (2) the supply–demand analysis can be conducted from a microcosmic perspective, which makes the satisfaction evaluation for the capacity of the emergency shelters more accurate. In the following text: Sect. 2 introduces the study area; Sect. 3 presents the data used in this study; Sect. 4 proposes the methodology; Sect. 5 presents the results of supply–demand analysis and discussion; and in Sect. 6, we offer conclusions and an outlook to the future.

2 Study Area

Pudong New Area (Pudong) (Fig. 1) is a district in Shanghai Municipality, China, which is located to the east of the Huangpu River. It has 44 subdistricts, covering an area of 1210.41 km2. The northwestern part of Pudong is part of the central urban area of Shanghai, which is more developed in terms of the economy and society. Pudong is also one of the areas with the fastest population growth in China. With the rapid development of the area from 1990, a large number of people moved to Pudong mainly for business and other types of employment (Ding et al. 2003). In 1990, the population of Pudong was 1.38 million. The population rose to 2.40 million in 2000 and the growth rate was 73.1% in a decade. In 2009, Nanhui District was merged into Pudong District. At the end of 2015, 5.475 million permanent residents lived in Pudong (China 2016a). This great population growth may lead to increasing risks of population exposure to disasters or emergency events. A supply–demand analysis of urban emergency shelters in the area is critical to identify the areas where the need for disaster prevention cannot be satisfied. The supply–demand analysis results also can be used as a key criterion in generating optimal location selection decisions about new emergency shelters.

Fig. 1
figure 1

Location of Pudong New Area within Shanghai Municipality, China

3 Data

We integrated multisource spatial data of the study area that mainly includes four different types as follows.

3.1 Land Use Data and Residential Building Data

The land use data in 2015 were interpreted from high-resolution remote sensing images (0.5 m resolution) provided by the Google Map. By referring to the land use classification standard (NO. [2001]255) released by the Ministry of Land and Resources of China in 2002 (China 2002), we classified the land use of the study area into 12 land use types. We employed points of interest (POIs) data to refine the subdivision of parcels based on the classification information of POIs and reference to relevant studies (Long and Liu 2013). Figure 2 shows the land use of Pudong in 2015. The land use distribution shows that residential lands are mainly located in the northwestern area of Pudong (central urban area). Agricultural lands are distributed outside the central urban area (in the suburbs) of Pudong.

Fig. 2
figure 2

Land use of Pudong New Area, Shanghai Municipality, China (interpreted by the faculty members and students in the School of Environmental and Geographical Sciences, Shanghai Normal University)

The footprints of the residential buildings were also interpreted based on the high-resolution remote sensing images in 2015. In the study area, more than 62,000 residential buildings were interpreted, of which 55.4% were 0–6 story buildings, 19.2% were 7–12 story buildings, 21.6% were 13–24 story buildings, and 3.8% were buildings that have more than 25 floors. Meanwhile, the number of floor levels of each residential building was also assigned to conduct the estimation of population in a fine spatial scale, which are introduced in the subsequent sections.

3.2 Population Data

The population data were obtained from the Sixth National Census of Shanghai in 2010 (China 2011a) and the Bulletins of the Third Economic Census of Pudong (China 2015a). The data obtained from the population census include residential population in different ages of each residential committee in the study area. The data obtained from the economic census include the total working population of each subdistrict. In this study, we estimated the population distribution in 2017. Because the residential population data are from 2010, the residential population change was estimated based on the natural population growth rate from 2010 to 2017. The detailed estimation method will be introduced in Sect. 4.1.

3.3 Tencent User Density Data

Tencent user density (TUD) big data is another important data source that was used to estimate population distribution in the study areas. The TUD, which is released by TencentFootnote 2 hourly, reflects the density of the users who were using Tencent applications such as QQ, WeChat, and Tencent Map that provide Tencent Location Based Service (LBS) for users. According to recent reports,Footnote 3 Tencent users account for more than 70% of the total population in China. This number is more than 90% in China’s first-tier cities, that is, Beijing, Shanghai, Guangzhou, and Shenzhen. The Tencent LBS receives more than 50 billion requests every day and the huge amounts of requests ensure the reliability of the data. Tencent records the locations of users and processes the number of users in each pixel unit into density weights, which result in a real-time density measure. The value of the density weight in a location has a positive correlation with the number of Tencent LBS users in this location at a certain time. The TUD is shown as a population heat map at a spatial resolution of 25 m.

The TUD has been proved to be effective to reflect the spatiotemporal population distribution accurately and has been applied in many recent studies. Yao et al. (2017) estimated urban population distribution by integrating multisource geospatial big data including TUD, and claimed that the method had the best accuracy (Pearson R = 0.8615, p < 0.0001) compared with the results of previous population mapping methods. Chen et al. (2017) proposed a novel method for delineating urban functional areas based on TUD and building data, and applied a dynamic time warping distance based k-medoids method to group buildings with similar social media activities into functional areas; Niu et al. (2017) integrated multisource big data, including TUD data, to infer the functions of urban buildings and the overall detection rate was 72.22%; Chen, Liu et al. (2018a) used TUD to analyze the spatiotemporal distribution of urban park users, and the method proved to be suitable for measuring urban green space use at a city-level or even larger scale.

Based on the above studies, the TUD big data are suitable to be used in the research field of population activity distribution. We used TUD to conduct supplementary estimation of population distribution in the areas where the detailed census data are not available, which mainly includes the daytime working population distribution in business and industrial areas. To obtain the TUD data, we developed a web crawler to fetch the TUD big data of the study area from the “Easygo” website.Footnote 4 For this study, we accessed the TUD in the afternoon (about 3 p.m.) on weekdays from January to April 2018, which can represent the daytime population distribution well in the study area.

3.4 Shelter Data

The planning of emergency shelters in the central area of Shanghai was published by the local government in 2008. Although many emergency shelters have been planned and constructed in Shanghai in many years, they still cannot satisfy the demand of disaster prevention and emergency management because of the imbalance of the distribution and capacities of urban shelters and the spatial sheltering demand (Dai et al. 2013). At the end of 2017, there was only one large emergency shelter in Pudong. Therefore, we selected all potentially available shelters as assumed shelter locations according to the land use types and the Design Standard for Emergency Shelter (DG/TJ 08-2188-2015), which was released by the government of Shanghai (China 2016b). In this design standard, there are three classes of emergency shelters (Table 1).

Table 1 Classes of emergency shelters in Shanghai based on the Design Standard for Emergency Shelter (DG/TJ 08-2188-2015)

Based on the practice in Shanghai, choosing large public spaces, such as green areas and parks, as shelters can better help to cope with natural or human-made hazards and disasters (Zhao et al. 2013). To avoid flood hazards, the emergency shelters should be located at least 500 m away from the shore (Jin 2013). We conducted the potential shelter selection work under the scenario of an earthquake disaster according to the design standard (DG/TJ 08-2188-2015) and other criteria for Shanghai from previous studies.

Referring to the Class I standard in Table 1, we selected 77 green areas, parks, and stadiums whose areas are over 20,000 m2 and these assumed (potential) shelters can cover the population within the distance of 5 km. As to the emergency shelters that are of Class II standard, we chose 55 green areas, parks, and stadiums whose areas are between 4000 m2 and 20,000 m2. These assumed shelters can cover the population within the distance of 1 km. Moreover, 540 sports grounds in schools were selected as assumed shelters of Class III standard and they can cover the population within the distance of 0.5 km.

The population capacity of a shelter can be calculated by the area of the shelter divided by the “effective area per capita” of its class (Table 1). All the shelter location information was collected from the land use data and verified by GaodeFootnote 5 POIs. The distributions of the assumed shelters are shown in Fig. 3.

Fig. 3
figure 3

Distribution of assumed (potential) shelters in Pudong New Area, Shanghai Municipality, China

4 Methodology

The supply–demand analysis framework of urban emergency shelters is presented in Fig. 4, which calculates and spatially expresses the difference between the demand of the evacuation population and spatial supply of shelters. In this procedure, we first estimate daytime and nighttime population in a fine scale, respectively. To analyze the spatial supply of shelters from a microcosmic perspective, an exponential function-based probability density estimation method is used to reflect the spatial heterogeneity of the supply to nearby areas. Supply–demand analysis is conducted and the results are presented in maps to facilitate further location selection. Finally, a preliminary location selection analysis of shelters is conducted based on the supply–demand analysis results to support the planning of emergency shelters in the future (Table 2).

Fig. 4
figure 4

Supply-demand analysis framework to match potential evacuation population with the available supply of urban emergency shelters

Table 2 Nomenclatures used in Sect. 4

4.1 Nighttime Population Distribution Estimation

At nighttime, people are in residential buildings in high probability. Therefore, we assume that the urban residents are all distributed in residential buildings and the floating population is not considered in this study because of its random distribution and small population size. Based on this assumption, the nighttime population can be estimated by using the volumetric method (Eqs. 1, 2, and 3) as follows:

$$V_{B\left( k \right)} = A_{B\left( k \right)} \cdot F_{B\left( k \right)} \cdot H$$
(1)
$$P_{{B(n)}} = {{P_{{C(m)}} \cdot V_{{B(n)}} } \mathord{\left/ {\vphantom {{P_{{C(m)}} \cdot V_{{B(n)}} } {\left( {\sum\limits_{{k = 1}}^{K} {V_{{B(k)}} } } \right)}}} \right. \kern-\nulldelimiterspace} {\left( {\sum\limits_{{k = 1}}^{K} {V_{{B(k)}} } } \right)}}$$
(2)
$$P_{nighttime} = \mathop \sum \limits_{m = 1}^{M} P_{c\left( m \right)} = \mathop \sum \limits_{n = 1}^{N} P_{B\left( n \right)}$$
(3)

where the VB(k) is the volume of the k-th residential building; PB(n) is the population of the n-th residential building; Pnighttime is the total population at night in the study area; AB(k) is the footprint area of the k-th building; FB(k) is the number of floors of the k-th building; H is the height of each floor of the buildings (we consider H as a constant for all the residential buildings); Pc(m) is the population of the m-th community in which the building is located; K is the total number of residential buildings in the m-th community; M is the total number of communities; N is the total number of residential buildings in the study area.

The community population was acquired from the Sixth National Census of Shanghai, carried out in 2010 (China 2011a). To map the population distribution in 2017, population change needs to be considered to extrapolate the population data from 2010 to 2017. The natural population growth rate method is considered as one of the main population prediction methods that has been adopted in current land-use planning in China (Tang and Zhao 2005). Using this method, we calculated the natural population growth rate of each community from the Shanghai Pudong New Area Statistical Yearbook of 2011 and of 2017 (China 2017, 2011b) and derived the community population in 2017.

4.2 Daytime Population Distribution Estimation

The daytime population has obvious differences in spatial distribution when compared with the nighttime population. People are distributed in different areas in the daytime instead of staying in residential buildings. Therefore, the daytime estimation work is more complicated than that at nighttime. Previous studies mainly divided the daytime population into several types and built population-land use-time models according to the relationship between different land use types and population types in daytime and nighttime (Qi et al. 2015). Referring to these previous studies, this study divided the daytime population into three types: (1) stay-at-home population, which represents the people who are at home in the daytime, and mainly includes the elderly and preschool children; (2) working population, which are the people who go to nonresidential workplaces regularly in the daytime, such as office staffs, industrial workers, and so on; (3) students; and (4) other populations, including tourists and hospital inpatients, and so on. This study used Eq. 4 to conduct the estimation of daytime population.

$$P_{daytime} = \mathop \sum \limits_{n = 1}^{N} P_{Bd\left( n \right)} + \mathop \sum \limits_{m = 1}^{M} P_{W\left( m \right)} + \mathop \sum \limits_{l = 1}^{L} P_{S\left( l \right)} + \mathop \sum \limits_{k = 1}^{K} P_{O\left( k \right)}$$
(4)

where Pdaytime is the population in the daytime, PBd(n) is the daytime population of the n-th residential building, PW(m) is the daytime population of the m-th commercial land. PS(l) is the daytime population of the k-th educational land. PO(k) is the daytime population of the k-th medical land.

Residential population in the daytime mainly includes the elderly and preschool children and these data can be obtained from the census. The population aged under 4 or above 60 is filtered and their data can be processed by the method similar to that for the nighttime residential population. PBd(n) in Eq. 4 can be estimated by Eq. 5:

$$P_{Bd\left( n \right)} = P_{Cd\left( m \right)} \cdot V_{B\left( n \right)} /\left( {\mathop \sum \limits_{k = 1}^{K} V_{B\left( k \right)} } \right)$$
(5)

where PCd(m) is the elderly and preschool children in the m-th community; VB(n) is the volume of the n-th residential building, K is the total number of residential buildings in the m-th community.

The method used to estimate the working population has some departures from those employed in previous studies. These studies (Qi et al. 2015; Yu and Wen 2016) have the following limitations: (1) The working population estimates were outdated because of the limitation of the data availability of enterprises and factories; and (2) It is difficult to estimate the spatial distribution of the working population in fine scale. Considering these limitations, TUD big data are applied to calculate the population weights of commercial and industrial land, respectively, which can help to calculate the population of the commercial and industrial areas. PW(m) in Eq. 4 can be estimated by Eqs. 6 and 7:

$$P_{W\left( m \right)} = P_{Sd\left( i \right)} \cdot w_{{\left( {i,j} \right)}}$$
(6)
$$w_{{i,j}} = {{TUD_{{(i,j)}} } \mathord{\left/ {\vphantom {{TUD_{{(i,j)}} } {\sum\limits_{{j = 1}}^{J} {TUD_{{(i,j)}} } }}} \right. \kern-\nulldelimiterspace} {\sum\limits_{{j = 1}}^{J} {TUD_{{(i,j)}} } }}$$
(7)

where PSd(i) is the working population of the i-th subdistrict. w(i,j) is the population weight of the j-th commercial land or industrial land in the i-th subdistrict. TUD(i,j) is the TUD of the j-th commercial land or industrial land in the i-th subdistrict. The working population of each subdistrict is acquired from the Bulletins of the Third Economic Census of Pudong, Shanghai (China 2015a). Population in educational lands or hospitals is calculated by the data from the Shanghai Pudong New Area Statistical Yearbook (China 2017).

To assess the accuracy of the working population estimation method, we collected official survey data of the working population while visiting the subdistrict offices and residential committee offices. We used the Pearson correlation coefficient and a coefficient of determination (R2) to compare the predicted working population with the statistical working population collected from the subdistrict governments in the field investigations.

4.3 Spatial Supply of Urban Emergency Shelters

As mentioned in the Introduction section, the supply–demand analysis of previous studies was limited at the regional or community scale. Therefore the ratio of supply–demand cannot be described from a microcosmic perspective. Considering this limitation, we developed a new method based on spatial probability density estimation to calculate the spatial supply at a fine scale. The method can be divided into the following steps:

  1. (1)

    Determine the spatial probability distribution of supply of each shelter within its service area; and

  2. (2)

    Calculate the spatial supply of a location obtained from an emergency shelter. The value of the spatial supply can be estimated by Eq. 8:

    $$SS = \mathop \sum \limits_{s = 1}^{S} p_{s} \cdot PC_{s}$$
    (8)

    where SS is the spatial supply of a location from the nearby emergency shelters; PCs is the population capacity of the s-th shelter; ps is the probability density of a grid in the spatial probability distribution of the s-th shelter. In the equation, the value of SS is sensitive to the estimation of ps.

We assumed the scenario of an earthquake disaster in this study. Given the characteristics of earthquake disasters that may be quite different from other hazards or disasters, when an earthquake occurs, it is very urgent for a large number of people to be evacuated to emergency shelters. Considering the timeliness of sheltering, the spatial supply of an emergency shelter is relative to the distance to the shelter. Therefore, we set the distance to shelter as an independent variable r. The ps and r have the relationship that ps decreases while the value of r increases. In previous studies of human mobility, it was proved that human spatial travel behaviors are in power-law distribution or negative exponential distribution at both population and individual levels (Brockmann et al. 2006; Gonzalez et al. 2008; Jiang et al. 2009; Song et al. 2010). Chen, Qiao et al. (2018b) demonstrated that human spatial travels were in a negative exponential distribution in Beijing, China, by using 3 months’ GPS data on taxis. Song et al. (2017) also demonstrated a similar distribution in Shanghai, by using two-week mobile phone data. The ps and exponential function can be calculated by Eqs. 9, 10, and 11:

$$p_{s} = {\text{p}}\left( r \right) = {\text{ae}}^{{ - {\text{b}}r}} , r \in \left[ {0, + \infty } \right)$$
(9)
$${\text{p}}\left( {\text{wa}} \right) = \mathop \smallint \limits_{0}^{ + \infty } {\text{ae}}^{{ - {\text{b}}r}} \left( {2\pi r} \right){\text{d}}r = 1$$
(10)
$${\text{E}}\left( r \right) = \mathop \smallint \limits_{0}^{ + \infty } {\text{ae}}^{{ - {\text{b}}r}} \left( {2\pi r^{2} } \right){\text{d}}r$$
(11)

where r is the Euclidean distance from a location to the shelter; p(r) is the probability of SS for a location whose travel distance to the shelter is r; p(wa) is the integration of p(r) in the whole area (three-dimensional space), whose value is 1; E(r) is the mathematical expectation of r; a and b are constants.

Song et al. (2017) calculated the negative exponential function of human spatial travel behaviors of Shanghai. In their study, the values of a and b were calculated by making the value of E(r) equal to the average population trip distance of Shanghai. The values of a and b are 0.000276 and 0.0417. We assumed that the probability of SS should be similar to the probability distribution of the actual population travel distances, which can make SS more in accordance with the actual situation. Therefore, we use the negative exponential function of human spatial travel behaviors of Shanghai to estimate the spatial probability density of SS in this study.

The spatial supply of a grid can be calculated by accumulating the spatial supplies of the nearby shelters (these shelters may be of different classes). The spatial supply of the grid can be calculated in Eqs. 12 and 13:

$$SS_{m,i, c} = PC_{i} \cdot \mathop \smallint \limits_{r - gs/2}^{r + gs/2} p\left( {r,i} \right) \cdot gs dr/\mathop \smallint \limits_{0}^{R\left( c \right)} p\left( r \right) \cdot \left( {2\pi r} \right)dr$$
(12)
$$SS_{m} = \mathop \sum \limits_{i = 1}^{I} SS_{m,i,c} , c \in \left\{ {{\text{Class I}}, {\text{Class II}}, {\text{Class III}}} \right\}$$
(13)

where SSm,i,c is the spatial supply of the m-th grid obtained from the i-th nearby shelter (the shelter is of c type); SSm is the total spatial supply of the m-th grid acquired from the nearby shelters; r is the distance from a location to the shelter and the location is in the center of a grid; gs is the grid size of the spatial grid data of the study area; PCi is the population capacity of the i-th shelter; p(r, i) is the probability density of a location whose distance to the i-th shelter is r; I is the total number of shelters from which the grid can acquire spatial supply; R(c) is the service distance of the c type shelter. In this study, R (Class I) = 5000 m, R (Class II) = 1000 m, and R (Class III) = 500 m.

4.4 Supply–Demand Analysis

The supply–demand analysis mainly calculates the differences of spatial supply and demand of sheltering service both in the daytime and at nighttime. Many factors affect the demand for sheltering, such as regional population, the intensity of a hazard, and residents’ willingness to be evacuated. Especially, the number of evacuees greatly depends on the type and intensity of a hazard or disaster. To predict the evacuation population and estimate the sheltering demand under an earthquake scenario, we took the study of Chen et al. (2016) as a starting point. These authors summarized the estimation method of the population loss rate in buildings of different architectural structures and in different areas in China from the previous study of Yin and Yang (2004) and simplified in a table the relationship between the evacuation ratio of different land uses and seismic intensity. Examination of this table reveals the evacuation rates of different land uses in this study area (Table 3). For example, when an earthquake of intensity 9 occurs, the population evacuation ratios in urban and rural residential land are 38.39% and 63.56%, respectively. Multiplying the population estimation results of different land uses with the relative evacuation ratios, the predicted evacuation population, or the demand of sheltering, can be generated. After comparing this predicted evacuation population and the spatial supply of shelters, the spatiotemporal heterogeneities of supply–demand of emergency shelters are mapped. The mapping results of daytime and nighttime can be compared to find the difference and changing trend of the supply–demand from nighttime to daytime.

Table 3 Population evacuation ratios under different seismic intensities in Shanghai Municipality, China

4.5 Preliminary Location Selection Analysis of Shelters Based on Supply–Demand Analysis

To demonstrate the feasibility and advantage of the daytime and nighttime supply–demand analysis results of shelters, our study conducted a preliminary location selection analysis on the basis of these results.

In previous studies, evaluation of location selection suitability by AHP is a commonly used method to solve shelter location selection problems (Yu and Wen 2016). Meanwhile, max-covering of the evacuation population is an important factor that has been widely considered in shelter location selection studies (Pan 2010). With reference to previous studies, we conducted the preliminary location selection steps as follows: (1) calculate the unsatisfied daytime and nighttime population spatially and integrate them by overlay calculation; (2) evaluate the location selection suitability for emergency shelters with consideration of multiple factors using the AHP method; (3) find the locations that can maximally cover the surrounding unsatisfied population in the suitable areas of shelter location selection using the focal statistics method, which can calculate a statistic on a raster over a specified neighborhood (ESRI 2017). First, the grids in the suitable areas were all selected as alternative locations. Second, if the sum area of unavailable lands (residential, commercial, medical, warehouse, and transportation areas) in a grid is above 50% of the total area of the grid, or the available lands are scattered, the grid was removed from the alternative locations because this location cannot provide sufficient space for building a shelter. In the third step, the focal sum statistics method was used to calculate the covered surrounding unsatisfied population for each alternative location. In the final procedure, the focal maximum statistics method was used to find the locations that can maximally cover the surrounding unsatisfied population in the searching regions. These locations are the shelter location selection results.

5 Results and Discussion

Analyzing the spatial supply and demand of urban emergency shelters in Pudong on the basis of the proposed method, the results were generated as follows.

5.1 Population Estimation Results

Using the population estimation method, it was estimated that the daytime population in the study area is about 3.4 million, which rises to 5.7 million at night. The gap between the total daytime population and nighttime population indicates the separation between the employment and residential locations of the residents. Many people leave their living place in the study area and work in other districts in the daytime. Compared with the statistical working population, the estimated working population in this study shows good accuracy (Pearson R = 0.78, R2 = 0.615, p < 0.0001, RMSE = 1198.326, MAE = 908.9479). The accuracy evaluation method was from Yao et al. (2017). The results demonstrate the accuracy of the TUD data and the good performance of the proposed estimation method of daytime working population.

Figure 5 presents the daytime and nighttime population distribution in the study area. It can be seen that both in the daytime and at night, people gathered in the central urban area (Fig. 1). In the daytime, three subdistricts of Pudong—Chuansha, Heqing, and Huinan (Fig. 1)—also gathered a large population.

Fig. 5
figure 5

Daytime (a) and nighttime population estimation results (b) in Pudong New Area, Shanghai, China (100 m resolution)

When the daytime population distribution is compared with the nighttime distribution (Fig. 6), it shows that in the daytime many people gathered in the northern region of Pudong, including Lujiazui Financial and Trade Zone, Zhangjiang Hi-Tech Park, and Waigaoqiao Free Trade Zone (Fig. 1). These subdistricts have large, densely-built commercial areas and attract many commuters from the working population. However, population density greatly decreases in these areas at night. For example, there is only about one-third of the population at nighttime in Lujiazui when compared with this subdistrict’s daytime population. At nighttime, there is a large residential population in the north of Pudong such as Yangjing, Jingyang, Sanlin, and Puxing subdistricts (Fig. 1). The population also significantly decreased in the daytime in these subdistricts. For example, daytime population in Sanlin subdistrict is less than one-third of population in the nighttime.

Fig. 6
figure 6

Comparison of daytime and nighttime population distribution in Pudong New Area, China. a Comparison at the subdistrict scale; b Population difference between daytime and nighttime at the fine scale (a positive number means there are more people in the daytime than at night, while negative number means there are more people at night than in the daytime)

The spatial analysis results indicate that Pudong is a typical district with a job-housing separation situation, which means that many people who live in Pudong work in other districts. This characteristic is related to the nature of urban land-use planning in Shanghai. Many commercial centers are located in the central area of Shanghai, which is in west Pudong. The housing prices in the central area are very high. Large areas of Pudong are urban expansion regions, and the housing prices are much lower. Therefore, Pudong attracts a large residential population to live in it, and the nighttime population is obviously bigger than the daytime population.

5.2 Supply–Demand Analysis Results

The supply–demand analysis in this study considers the spatial supply of emergency shelters and the demand for sheltering. The sheltering demand is greatly influenced by the type and intensity of a potential hazard. Pudong New Area is an industrial agglomeration district and has a large population. If a catastrophe happens, it will lead to serious consequences because of this high population and economic exposure. In this study, an earthquake that has the intensity of 9 was assumed as the disaster scenario. Although intensity 9 might be high for this area, according to the historical records and the latest zoning map (China 2015b), it is essential to consider extreme disaster scenarios in analyzing the sheltering demand to avoid an insufficiency of sheltering services in some extreme situations. The analysis of spatial supply is based on the assumption that the evacuees would have a behavioral tendency to go to a nearer shelter when an earthquake happens.

Using the result of the estimation method, the spatial supply (SS) of shelters is mapped in Fig. 7. This figure shows that the high SS areas are mainly distributed in the urban areas (the northern part) of Pudong. Some high SS areas are found in the central and southern areas of Pudong, due to the distribution of nearby green areas and parks (such as Nanhui Taohua Village and Shanghai Binhai Forest Park).

Fig. 7
figure 7

Spatial supply (SS) of urban emergency shelters in Pudong, China

Based on Table 3, the table of evacuation ratio of different land use types against earthquake damage, the evacuation ratios of different land uses under the earthquake scenario of seismic intensity 9 were obtained (Chen et al. 2016, p. 13). We multiplied the daytime and nighttime population estimation results (Fig. 5) with the relative evacuation ratios of different land uses and generated the predicted evacuation population in the daytime and at night.

Subtracting the SS from the daytime and nighttime predicted the evacuation population separately, the spatial supply–demand analysis results can be mapped (Fig. 8). We used the natural break classification method to classify the supply–demand analysis results into five classes: highly unsatisfied, medium–high unsatisfied, marginally satisfied, medium–high satisfied, and highly satisfied, according to the proportional relation between spatial supply and demand.

Fig. 8
figure 8

Daytime and nighttime supply–demand analysis results of urban emergency shelters in Pudong, China

In the daytime scenario, Fig. 8a shows that the urban emergency shelters can satisfy the sheltering demand of most regions in Pudong. The highly unsatisfied regions are mainly distributed in the western area of Pudong, including Lujiazui Financial and Trade Zone, Zhangjiang Hi-Tech Park, Heqing Industry Park, and Waigaoqiao Free Trade Zone (Fig. 1), where a large working population gathered.

In the nighttime scenario, Fig. 8b shows that the unsatisfied areas are wider distributed than the daytime scenario. The large unsatisfied areas appear in the northwestern and central residential regions of Pudong. The southern part of Pudong can be mostly satisfied by the emergency shelters because fewer people live there and large parks can be used as emergency shelters for evacuation in a disaster or emergency event.

Figure 9 is the spatial cross-analysis result of the highly unsatisfied areas in daytime and nighttime. The highly unsatisfied and medium–high unsatisfied areas in Fig. 8 are reclassified into one class—unsatisfied areas—and the study area is classified into four classes: (1) unsatisfied areas both in daytime and nighttime; (2) unsatisfied areas only in daytime; (3) unsatisfied areas only in nighttime; and (4) satisfied areas both in daytime and nighttime. Figures 8 and 9 indicate that the spatial distribution of the unsatisfied areas has great differences between the daytime and nighttime scenarios. Most of the unsatisfied areas in nighttime are distributed in residential regions, and the unsatisfied areas in daytime are mainly distributed in commercial areas and industrial parks. Only a small part of Lujiazui and Weifang are unsatisfied areas both in daytime and nighttime.

Fig. 9
figure 9

Cross-analysis of unsatisfied areas in daytime and nighttime in Pudong, China

When an earthquake of intensity 9 happens, even when all potentially available shelters are considered, sheltering supply still cannot satisfy the demand of population evacuation and sheltering both in the daytime and at night, especially in the northern region of Pudong where a large population lives. Because the northern region is a part of the central area of Shanghai, however, there is limited land that can be allocated to build extra shelters. This is the main contradiction between the supply of and demand for emergency shelters in Pudong.

5.3 Preliminary Location Selection Analysis of Urban Emergency Shelters

A preliminary location selection analysis of urban emergency shelters based on the supply–demand analysis results was conducted in the study area. Figure 10 shows that the distribution of unsatisfied areas has a strong correlation with time. Therefore, both daytime and nighttime scenarios were taken into consideration in the shelter location selection. We summed up the daytime and nighttime unsatisfied population and generated the integrated unsatisfied population distribution. This distribution was considered the basic population condition in shelter location selection.

Fig. 10
figure 10

The five criteria layers for Pudong, China

Several influencing factors are considered in the location selection analysis. First, an emergency shelter must be located within the functional region of an emergency medical service as well as emergency resource storage and supply facilities. The emergency medical service and resources can be provided by nearby hospitals and resource centers. The distances from these services to a emergency shelter have a remarkable impact on the location selection suitability of the shelter. Second, referring to the Design Standard for Emergency Shelter (DG/TJ 08-2188-2015) and previous studies, gas stations are potentially dangerous sites of explosion. New emergency shelters should avoid locating near gas stations. Third, nearby road condition and accessibility can affect the efficiency of evacuation. Therefore, to evaluate the location selection suitability of shelters, five criteria were selected: (1) distance to hospitals (DH); (2) distance to gas stations (DGS); (3) distance to resource centers (DRC); (4) distance to roads (DR); and (5) road density (RD). The distances of the first four criteria were all defined as Euclidean distance. The road density of a grid was calculated by the total road length within a buffer zone of the grid divided by the area of the buffer zone. We classified the suitability of these five criteria into three classes—suitable, marginally suitable, and unsuitable. The threshold values of the criteria are shown in Table 4. Several local experts were involved in discussing and determining the pairwise comparison matrix of the five criteria (Table 5) by evaluating the relative importance between each two criteria. Based on the matrix, the AHP method was applied to calculate the weights of the five criteria (Fig. 10). Different criteria layers were overlaid by the weighted overlaying method and this generated the shelter location selection suitability of the study area (Fig. 11).

Table 4 Suitability classification of five criteria in location selection suitability evaluation
Table 5 Pairwise comparison matrix of the five criteria
Fig. 11
figure 11

Shelter location selection suitability of Pudong, China

By applying the focal statistics for the integrated unsatisfied population in the suitable areas of Fig. 11f, the final location selection results were generated (Fig. 12). Figure 12 shows that there are 45 new shelters that have been spatially located. In Fig. 12, some sample regions have been enlarged, such as Lujiazui, Zhangjiang Hi-Tech Park, Industrial Park near Kangxin Highway, and Industrial Park near Fengfeng Highway. In these regions, new located shelters are all in the intersection areas of unsatisfied areas only in daytime and unsatisfied areas only in nighttime, that is, the location selection results consider the difference of population distribution in the daytime and at night. If new urban emergency shelters are built in these locations, it can enhance the satisfaction of emergency shelters for evacuating population both in daytime and nighttime.

Fig. 12
figure 12

Final location selection results for Pudong, China

5.4 Discussion

Based on the results of the supply–demand analysis of shelters, it is clear that the spatiotemporal imbalance between spatial supply and demand of urban emergency shelters in Pudong is serious and the problem is related to the limitation and scarcity of land resources in the process of urbanization. For the suburban area and central urban area of Pudong, the solutions discussed differ.

In the suburban areas, most regions can be satisfied by the proposed shelters. At nighttime, the regions in the urban–rural fringe, such as Sanlin, Chuansha, and Heqing, are unsatisfied mainly due to the high resident density. In the daytime, some industrial areas are unsatisfied due to the high working population density. However, considering that there are large vacant areas in the suburban area that can be converted to emergency shelters, the location-allocation schemes for emergency shelters are feasible and flexible.

In the central urban area, many places are unsatisfied by sheltering services because a large population lives in this area. At night, most residential communities in the northern part, such as Puxing, Weifang, Huamu, and Shanggang, are unsatisfied mainly because of the high resident density. In the daytime, Lujiazui, Zhangjiang, and Waigaoqiao are unsatisfied due to their big working population. In the central urban area, there is little vacant land that can be allocated to build new shelters due to the existing high land utilization rate. Only the green spaces, squares, stadiums, and schools can be transformed into emergency shelters. Therefore, local decision makers have to expand the existing urban emergency shelters to improve their capacity. Otherwise, it is necessary to allocate new emergency shelters in the highly unsatisfied regions in the central urban area with high cost. Whether expanding the existing urban shelters or allocating new emergency shelters, the daytime and nighttime supply–demand analysis of the urban emergency shelters in this study can provide more reasonable decision support than traditional supply–demand analytic methods.

The results of the preliminary location selection of urban emergency shelters show the advantages of the supply–demand analysis used in this study. We suggest that a more detailed location selection work, which considers the supply–demand difference of daytime and nighttime populations, should be undertaken soon for the Pudong New Area. This effort would better help evacuate population reasonably and efficiently when a disaster occurs.

6 Conclusion

In this study, we proposed a supply–demand analysis method of urban emergency shelters on the basis of daytime and nighttime population estimation at a fine scale. The daytime and nighttime population distributions were estimated by a series of equations based on the land use data, local population census and economic census data, high-precision building data, and Tencent User Density (TUD) big data acquired from the Internet. According to the design standards for emergency shelters in Shanghai, we selected all the potentially available lands as shelters and classified these shelters into different classes. We used a spatial probability density estimation method to calculate the spatial supply of each location acquired from shelters. Evacuation population (demand of sheltering) was predicted under an earthquake scenario. By calculating the difference between the spatial supply and the sheltering demand, supply–demand analysis was conducted to assess the satisfaction of sheltering service in daytime and nighttime, respectively. The advantages of this method lies in the fact that (1) the improved supply–demand analysis can map the spatial satisfaction of sheltering service from a microcosmic perspective on the basis of high precision population estimation; and (2) the supply–demand analysis can be conducted separately for the daytime and nighttime need for sheltering in support of more reasonable decision making for location-allocation and expansion of urban emergency shelters.

A case study in Pudong New Area, Shanghai, China was conducted to prove the feasibility and effectiveness of the proposed method. We also conducted a preliminary location selection analysis of shelters based on the supply–demand analysis results. The location selection results show the practicability of the analysis results. The supply–demand analysis results can evaluate the existing and potentially available urban emergency shelters and help to make better the urban planning work of new emergency shelters.

The limitations of this study are as follows: (1) Due to the data limitation, we used the volumetric method for population estimation. However, some urban apartments may have been bought for investment purposes and are not occupied. In the future we will conduct field surveys and use actual population data to rectify the population estimation results; and (2) We only considered the earthquake scenario for the supply–demand analysis. In future work we would improve the supply–demand analysis of emergency shelters, which takes different disaster scenarios into consideration.