1 Introduction

Flooding in coastal zones is one of the most devastating natural hazards, accounting for approximately one-third of all global disaster losses and over half of total casualties (Wolff et al. 2020; Tellman et al. 2021). In 2012 Hurricane Sandy, for example, caused the most destructive flooding over New York City by generating the highest storm tide in the city’s history, resulting in considerable casualties (45 deaths), damages, and extensive indirect impacts (for example, the city’s infrastructure and public services were disrupted) (NYC OEM 2014). Hurricane Katrina in 2005 had a devastating impact on residents of the Gulf Coast, killing at least 1833 people (Gallagher and Hartley 2017). In the context of climate change, sea level rise, land subsidence, and rapid urban growth, flood risk in coastal cities may increase significantly (Fang et al. 2021; Fang et al. 2022). According to the research by Kirezci et al. (2020), under the RCP8.5 emission scenarioFootnote 1 (Hausfather and Peters 2020), 176–287 million people may suffer from coastal floods in 2100, and the total assets exposed could reach up to USD 14,178 billion, accounting for 20% of global GDP. Many coastal cities, especially Shanghai in Asia, are highly populated and will face increasing flood risks due to future sea level rise and socioeconomic development (Liang et al. 2017; Cheng 2020; Du et al. 2020). Vulnerable groups such as the elderly, children, and people with poor health are disproportionately affected by floods (Yu et al. 2020). Therefore, special attention needs to be addressed to open questions about how to estimate the exposure and vulnerability of vulnerable populations during floods. This is important to accurately inform decision makers and the public about the public safety consequences of higher flood risks.

Risk is a function of hazard, exposure, and vulnerability (Kron 2005). In the context of flood risk to people, exposure is used to indicate the population situated in the area of the potential flood hazard. Vulnerability here indicates the extent to which people are negatively affected by the occurrence of the hazard. A main determinant of vulnerability of people is their age. Several studies have found that the elderly populations in flooded areas are more negatively impacted. The elderly often have limited mobility, greater healthcare access needs, and therefore significantly higher mortality rates during disasters (Bukvic et al. 2018; Lome-Hurtado et al. 2021; Sawangnate et al. 2022). For these reasons, flooding from Hurricane Katrina caused a disproportionately high death rate among the elderly population, with 64% of deaths occurring in the population over the age of 65 (Zoraster 2010). Almost half of the casualties from Hurricane Sandy were also over the age of 65 (Kan and Lejano 2023). Liang et al. (2017) analyzed population exposure in rainstorm hazard areas in China and found that, from 1990 to 2010, the population exposed increased by 110 million, corresponding to 14.6%, indicating that the total exposed population in 2030 will be 1,000 million, and the exposed elderly population will reach 139 million.

This phenomenon is all the more cogent given the worldwide aging of populations caused by low birth rates and growing life spans (Gill et al. 2012; Wang and Yarnal 2012; Chien and Chen 2017; Bai and Lei 2020), especially in China, where the total fertility rate fell sharply between 1960 and 2017 from 5.8 to 2.3, below the sustainable level. By 2049, China’s population over the age of 65 is projected to reach 399 million, accounting for more than a quarter (29%) of the total population. What should be done with increased future exposure and risks for the elderly population, under scenarios of climate change and demographic development, in order to rationally plan future medical and emergency services? To answer this question, we need to gain knowledge about future flood extent, demographics of exposure, and medical and emergency resource supply-demand ratios, using rigorous analytical models.

Centralized service providers, such as emergency medical services or emergency response services, play a crucial role in rescue and relief efforts during natural hazard and disaster events (Coles et al. 2017; Liu et al. 2019; Li et al. 2021). The effectiveness of these services is often evaluated in terms of accessibility (Coles et al. 2017; Yang and Mao 2018; Rizeei et al. 2019; Xia et al. 2019; Kiran et al. 2020; Yang et al. 2020; Yu et al. 2020). The reduced average mobility of the elderly population is an accessibility disadvantage (Crimmins 2016) that is amplified by the interruption of transportation and the demise of emergency response centers during flooding (Yin, Yu, et al. 2020). Coles et al. (2017) assessed the accessibility of emergency services during two flood events in the city of York, U.K., by combining a hydrodynamic model with a geographic analysis of accessibility. Another case study in the city of Leicester, U.K. by Green et al. (2017) studied the accessibility of ambulance and fire and rescue services during floods with different return periods.

However, explicit analysis of the flood emergency situation of the elderly population is rare, and does not include analysis of the supply-demand ratio of medical resources for the elderly. Furthermore, there is rare consideration of low-likelihood, high-magnitude floods, and of future developments. For this reason, we developed a multidisciplinary analysis framework that consists of a coastal flood model, a population growth model, and a medical resource supply-demand and emergency medical center accessibility analysis model. We then applied the framework to the city of Shanghai. We addressed two questions:

  1. (1)

    How will the supply-demand ratio of medical services change in the future, due to sea level rise and changes in demographics? and

  2. (2)

    How will the elderly’s accessibility to emergency medical centers during coastal floods change in the future, and when a flood occurs, can the number of medical services meet the needs of rescuing the elderly in the future?

The framework is easily generalizable to other cities, and we provide guidelines on the datasets necessary for the scope of such an analysis. This in turn can provide the scientific basis for policies aimed at reducing the flood vulnerability of the elderly.

2 Methods

We integrated three analysis modules: (1) a population projection module (PPM); (2) a flood scenario analysis module (FSAM); and (3) a supply-demand and accessibility module (SDAM) (Fig. 1). The total population was projected by the PPM for the years 2030 and 2050, using historical and current population census data as input. To project the spatial distribution of the elderly population, we combined the changes of the elderly population in Shanghai in the past 30 years with the proportion of the elderly population in each administrative unit. The FSAM models flood inundation maps for 2030 and 2050, with consideration of different scenarios of climate and sea level rise, and land subsidence. The SDAM evaluates the supply-demand ratio of medical resources and the accessibility of emergency medical centers for the elderly population, by superimposing the new flood maps, the new population projection maps, and existing maps of transportation infrastructure and medical services.

Fig. 1
figure 1

The methodology framework of the healthcare accessibility study in Shanghai

2.1 Population Projection Module (PPM)

Coastal cities are densely populated, and future population projections based on coarse spatial resolution analysis may cause significant bias in extreme flood risk analysis (Tang et al. 2021). In this step, we refined future projections of population. We adopted the method of Qiu et al. (2014) and Song et al. (1981), which considers birth and death rates, constraints such as the capacity of a place to accommodate the population and population-related governmental policies, and migration, as shown in the following equations. At any given moment in time, the population of a defined age is calculated as:

$$x_{i} \left( t \right) = \int_{i}^{i + 1} {p(r,t){\rm{d}}r,i = 0,1,2,\ldots m},$$
(1)

where xi(t) represents the number of people in the age interval [i, i+1] in year t, while p(r, t) represents the population age density function, r represents age, and i is an integer with a value from 0 to m, with m representing maximum life span. The population state vector x(t), representing the population age composition, is:

$$x\left( t \right) = \{ {x_0}(t),{x_1}(t), \ldots ,{x_m}(t)\},$$
(2)
$$y\left( t \right) = \beta \left( t \right)\sum\limits_{{i = r_{1} }}^{{r_{2} }} {k_{i} \left( t \right)h_{i} \left( t \right)x_{i} \left( t \right)},$$
(3)

where y(t) is the absolute birth rate, β(t) is the average fertility rate of women, ki(t)is the sex ratio function, ki(t)xi(t) is the total number of women aged i in the t generation, hi(t) is the reproductive pattern of women, and β(t) hi(t) represents the average number of babies born to a woman aged i in 1 year from t-1 to t. Therefore, β(t) hi(t) ki(t) xi(t) is the number of babies born to all women whose age is i in the t generation. When i changes from r1 to r2, adding them up is the number of babies born to all women in the childbearing age interval [r1, r2] in the t generation, that is, y(t).

Not all of these babies survived to the statistical moment of the t generation, and some of them died due to diseases and other reasons. The number of babies who survive to the statistical moment of the t generation is x0(t), calculated by Eq. 4. Accordingly, y(t)−x0(t) is the number of babies who do not survive from t-1 to the t generation, defined as the baby mortality rate μ00(t), calculated by Eq. 5:

$$x_{0} (t) = \left( {1 - \mu_{00} \left( t \right)} \right)y\left( t \right).$$
(4)
$$\mu_{00} \left( t \right) = \frac{{y\left( t \right) - x_{0} \left( t \right)}}{y\left( t \right)}.$$
(5)

Then, we introduced vector and matrix notation, i = r1,r1+1,…,r2, expressed as Eq. 6:

$$b_{i} \left( t \right) = \left( {1 - \mu_{00} \left( t \right)} \right)\left( {1 - \mu_{0} (t)} \right)k_{i} (t)h_{i} (t),$$
(6)
$$H(t) = \left[ {\begin{array}{*{20}c} 0 & 0 & 0 & \cdots & 0 \\ {1 - \mu_{1} \left( t \right)} & 0 & 0 & \cdots & 0 \\ 0 & {1 - \mu_{2} \left( t \right)} & 0 & {} & 0 \\ {} & {} & \vdots & {} & \vdots \\ 0 & 0 & {} & {1 - \mu_{m - 1} \left( t \right)} & 0 \\ \end{array} } \right],$$
(7)
$$f\left( t \right) = \left\{ {f_{1} \left( t \right),f_{2} \left( t \right),f3\left( t \right),\dots ,f_{m} \left( t \right)} \right\},$$
(8)

where H(t) is the population state transition matrix from t to t+1, B(t) is the fertility matrix, μ(t) is a function of the mortality rate, f(t) is the population migration vector, and b is a constant. Equation 9 is thus written in vector form:

$$\left\{ \begin{gathered} x(t + 1) = H(t)x(t) + \beta (t)B(t)x(t) + f(t), \hfill \\ x(0) = \{ x_{1} (0),x_{2} (0),x_{3} (0),\dots,x_{m} (0)\} \hfill \\ \sum\nolimits_{{a = x_{0} (t)}}^{{x_{i} (t)}} {x(a) \le b} \hfill \\ \end{gathered} \right.$$
(9)

where b is the total population in year t. The possible future population capacity can be determined according to urban development planning and previous research. In this study, we considered two factors:

  • (1) The population forecast for Shanghai in 2035. Shanghai’s urban master plan (2017–2035) proposes that the resident population will be limited to around 25 million; and

  • (2) The historical trend of Asian population agglomeration areas such as Tokyo (Wang 2003) and the research of Wang et al. (2014) predicts that in 2050, considering migration factors, the total population of Shanghai will be about 34.3 million. Therefore, we assumed that the total population of Shanghai will not exceed 35 million before 2050.

The PPM cannot predict the change of the elderly population, so we used an additional method for this. A polynomial curve was fitted on 30 years of data on the number of Shanghai’s elderly population, published by the Shanghai Statistical Yearbook (1990–2020), which was then extrapolated to obtain the total elderly population in the future. The spatial distribution of the future elderly population was obtained by assuming that the proportion of the elderly population in each administrative unit remains stable.

2.2 Flood Scenario Analysis Module (FSAM)

The FloodMap-Inertial 2D model (Yu and Coulthard 2015) was used to construct a 50 m high-resolution coastal flood simulation model. The hazards include sea level rise, the impact of extreme water levels caused by storm surges, and riverine floods. The flood modeling and estimation was based on a reliability analysis, using the actual seawall and floodwall heights to calculate the compound effect of overflow and dike breach to derive dike failure. Hydrostatic hydrographs recorded along the coast and along the Huangpu River and boundary measurement stations were used to generate dynamic boundary conditions for the flood model (that is, time series of water levels) for 10-year, 100-year, and 1,000-year flood return periods (Yin, Jonkman, et al. 2020), which is done by scaling the stage hydrographs recorded by boundary gauge stations during 1997 Typhoon Winnie (historically worst case). Relative sea level rise was estimated by combining the climate-driven absolute sea level rise predicted by the Lvsi station in theYangtze River Delta with a linear approximation of the future subsidence rate (6 ± 1 mm/year) in Shanghai (Yin et al. 2013). The relative sea level projections for 2100 were all based on 2010. The local or relative sea level rise projections for Shanghai were based on the research by Yin, Jonkman, et al. (2020). The city-scale and street-level modeling framework has been verified in multiple cases, including New York (Yin et al. 2016) and Shanghai (Yin, Jonkman, et al. 2020), and can perform high-level prediction of inland flooding.

2.3 Supply-Demand and Accessibility Module (SDAM)

We used three categories of points of interest (POIs). The supply-demand ratio was evaluated for the first and second types of medical facilities, and the accessibility analysis was performed for the third type of emergency medical centers.

The supply of a certain type of medical service denotes the number of the corresponding medical facilities weighted by a distinctive capacity. Two categories of medical facilities were considered: (1) pharmacies, health products stores, clinics, and centers for disease control; and (2) general hospitals and specialist hospitals. Each type of medical facilities (for example, pharmacies) were counted by their POIs. The supply to demand ratio in a neighborhood committeeFootnote 2 (NC) during a flood is computed by Eq. 10:

$$SDR_{i} = \frac{{S_{1i} \times W_{1} + S_{2i} \times W_{2} }}{{P_{ield} }},$$
(10)

where SDRi represents the supply-demand ratio of NCi, Pield is the projected elderly population in NCi, S1i is the number of medical facilities of the first category (that is, pharmacies, health products stores, clinics, and centers for disease control), while S2i is the number of medical facilities of the second category (that is, general hospitals and specialist hospitals). Wj (j = 1, 2) is the average capacity of facilities in the j-th category, which is calculated as Wj = Pb/Sj, where Pb and Sj, respectively, denote the total population and the total number of medical facilities belonging to the j-th category in the entire study area.

Note that Pb is the population in 2010. China has conducted a national census every 10 years since 1990. The latest official census data from 2020, that is, those of the Seventh Census, were released in 2021, but some data are not accessible to the public and researchers yet. Lacking the latest subdistrict/township-level population data in Shanghai, we used the Sixth Census data (that is, population in 2010) as an alternative. We assumed that W1 and W2 remain the same as 2010 in the future scenarios. Additionally, a facility located in a flooded area with water depth over 0.35 m will be considered not operational and excluded from facilities counted for estimating service supply (Yin et al. 2011).

For elderly people, also critical during floods are the emergency medical centers, which provide essential life-saving services during disasters, such as medical stabilization on site and transportation to hospitals. When flood water depth in Shanghai exceeds 30 cm—a general threshold for road closures in many cities of the world (Arrighi et al. 2019; Yin, Yu, et al. 2020; Yu et al. 2020)—emergency medical centers cannot be accessed. Affected roads in NCs were first identified by overlapping roads with defined flood areas, but viaducts and bridges were excluded. A schematic diagram of the spatial accessibility of the emergency medical centers is shown in Fig. 2.

Fig. 2
figure 2

Schematic diagram of the spatial accessibility of emergency medical centers in Shanghai. Note: In the blue area water depth exceeds 30 cm. NC neighborhood committee, NCj represents the j-th neighborhood committee.

We set the average intervention radius of emergency medical centers to 4 km (Li et al. 2022). Therefore, the emergency accessibility analysis was performed only for destinations within a 4 km radius of the emergency medical centers. We used the generalized two-step floating catchment area (G2SFCA) method to measure emergency medical center accessibility (Li et al. 2022). The distance decay behavior was described by a continuous function (Wang 2015). We did not consider constraints from urban road traffic rules such as traffic lights. Route distance was used in the G2SFCA algorithm to calculate the accessibility in NCi. The level of accessibility, Ai, was calculated according to Eq. 11:

$$A_{i} = \sum\limits_{k = 1}^{n} {\left( {\frac{{S_{k} f_{{d\left( {ik} \right)}} }}{{\sum\limits_{j = 1}^{m} {P_{j} f_{d(jk)} } }}} \right)},$$
(11)

where Sk is the capacity of emergency medical center k. We used ambulance and rescue vehicles to characterize emergency center’s capabilities. We cannot estimate how supply may vary from center to center. Thus, all Sk capacity was assumed to be 1 (unit). Pj is the population of NCj. n is the demand point, defined here as the centroid of the NC polygon. m is the number of demand locations that are accessible in NCj within a threshold distance, d0. fd(ik) is the travel impedance, which is determined by road connectivity and affected by road closures caused by extreme floods. With road closures, the shortest distance routes will be researched through the network until another route is found, or the route will be marked as “non-available” if no solution can be found. The fd(ik) takes the form of a modified Gaussian function e−d(ik)2, where d(ik) is the shortest route distance between station k (Sk) and NCj, and the parameter α determines the function’s rate of decline and the point where it approaches zero. fd(ik) has the same meaning as fd(jk). We assumed that fd(ik) equals 0 when d(ik) equals d0, based on which α was computed. Here, we assumed that d0 equals 4 km. That is, the emergency access routes with a Euclidian distance over 4 km were initially removed from the routing calculation, and more than 30,000 routes are available in the transportation network (see Sect. 3.3 for detailed data sources).

3 Study Area and Data Processing

Shanghai, the largest port city in the world, located at the mouth of the Yangtze River, had an area of 6,340 km2 and 24.88 million residents as of 2020. The city is built on a low-lying coastal plain tilting from east to west with an average elevation of about 4 m. The eastern tip and the northeastern and southeastern parts of the area stretch into the East China Sea, with the Huangpu River and the Suzhou River running through the center (Fig. 3).

Fig. 3
figure 3

Shanghai’s location and elevation (a) and the city center (b)

Shanghai is heavily prone to compound impacts of storm surges, high astronomic tides, heavy rains, and fluvial floods (Wang et al. 2012; Wang et al. 2018). According to the statistics, Shanghai is hit by typhoon storms twice a year on average, up to 6 to 7 times a year (Chen and Wang 2000). Severe typhoon storms occurred, for example, during Typhoon Winnie in 1997, Typhoon Matsa in 2005, Typhoon Fitow in 2013, Typhoon Lekima in 2019, and Typhoon In-fa in 2021. One of the deadliest storm surge events killed more than 29,000 people in Shanghai in 1905; Typhoon Winnie killed seven people and flooded more than 5000 residences in 1997. During typhoon Winnie, Shanghai suffered the first so-called “four encounters” disaster of wind, storm, tide, and flood since 1949. The tidal levels along the Yangtze River Estuary and the Huangpu River exceeded historical records, and the resulting floods overflowed the urban flood control walls in nearly 20 places and breached the walls in three places. Considering the superimposed effects of sea level rise, land subsidence, and socioeconomic development, the risk of Shanghai suffering from compound extreme flood disasters may further increase in the future (Xian et al. 2018).

3.1 Population Data

Population data include total population and elderly population. Administrative units in Shanghai are divided into the hierarchical levels of districts, subdistricts/townships, and neighborhood committees (NCs). In our study area, there are 5432 NCs that function as demand locations. The total population distribution in 1990–2010 was disaggregated from Shanghai subdistrict/township-level census data—derived from the fourth, fifth, and sixth population censuses of China—which cover more than 100 factors such as age, fertility, mortality, life expectancy, and sex ratio at birth. People over the age of 65 are considered the elderly population.

3.2 Flood Modeling Data

Data input for flood modeling for this study included: (1) Digital elevation data constructed from 0.5-m interval contour lines, with a resolution of 50 m and a vertical accuracy of 0.1–0.2 m, and a higher-resolution (5 m) digital elevation dataset for the financial center (Yin, Jonkman, et al. 2020); (2) Station-based tide levels of Shanghai Water Authority in the last decade (Yin, Jonkman, et al. 2020); (3) The localized sea level rise projections at Lvsi gauge station located in the Yangtze River Delta, under the RCP2.6Footnote 3 (Hausfather and Peters 2020) and RCP8.5 emission scenarios (Kopp et al. 2014); (4) Land subsidence data of the whole city since 2000 (Yin, Jonkman, et al. 2020); and (5) Floodplain topography (Yin, Jonkman, et al. 2020).

3.3 Point of Interest (POI) and Transportation Network Data

Data of POIs in 2020 were extracted through a web crawling program from Amap.Footnote 4 The POIs were classified into three categories based on the type of services (Fig. 4a, b, c), which include the first category of pharmacies, health products stores, clinics, and centers for disease control (Fig. 4a), the second category of general hospitals and specialist hospitals (Fig. 4b), and the third category of emergency medical centers (Fig. 4c). The extracted information includes name and coordinates. In particular, there were 199 emergency medical centers in the third category, which were used for accessibility analysis. The transportation network was obtained using a Python program to convert the transportation lines from AutoNavi open platformFootnote 5 into a shapefile format, including 4320 access routes (Fig. 4c).

Fig. 4
figure 4

Spatial distribution of two types of point of interest (POI) (a), (b) and emergency medical centers and total routes at the neighborhood committee level (c) in Shanghai

4 Results

This section presents the main results of this study, which include flood inundation maps; projected population and exposure to floods; the supply-demand ratio of medical resources; and the elderly’s accessibility to emergency response services.

4.1 Flood Inundation Maps

Under the present conditions and the two future scenarios, the 1/100-year and 1/1,000-year flood inundation maps in 2010, 2030, and 2050 show the greatest risk of extreme floods for the southwest and northeast of Chongming Island, the Qingpu and Songjiang low-lying areas in the west, and both banks of the Huangpu River.

Under the current situation (2010 year), the floodwall can withstand a 1/100-year flood, and the left bank of the middle reaches of the Huangpu River would be slightly submerged. For the 1/1000-year flood, the upstream area and right bank of the Huangpu River were seriously flooded, with additional failures scattered throughout the middle reaches (Fig. 5). If a 1/1000-year flood were to occur in year 2030 and 2050 under the RCP2.6 scenario, the floodwall in the upstream area of the Huangpu River could not withstand, while the downstream area is far safer.

Fig. 5
figure 5

Inundation maps of extreme floods at different return periods under the 2010 and RCP2.6 scenarios (years 2030 and 2050) in Shanghai

However, under the RCP8.5 scenario, in the event of a 1/1000-year flood, the inundated area will be 2169 km2, which is 135 km2 larger than that under the RCP2.6 scenario. In particular, the downstream of the Huangpu River will be almost completely inundated. This is due to the lower level of protection in the upper reaches (protection level of 1 in 50 years). In the middle reaches of the Huangpu River, including the city center, structures such as large-scale high-rise buildings and underground space development engineering projects are causing land subsidence and deformation of the floodwall.

4.2 Projected Population and Exposure to Floods

The future population projection results show that Shanghai’s population in 2030 and 2050 will be 31.46 million and 32.18 million, respectively, compared to 23.03 million in 2010. As time passes, the population of the central city and the three islands of Chongming gradually decreases, and the population of the suburbs gradually increases (Fig. 6).

Fig. 6
figure 6

Spatial distribution of population in Shanghai in 2010, and predictions for 2030 and 2050

The predicted numbers of Shanghai’s elderly population under three situations (median estimate, lower bound at 5%, and upper bound at 95%) for 2030 and 2050 are shown in Fig. 7 and Table 1. We used the root mean square error (RMSE) to measure the average difference between the predicted values and the true values. We calculated that the RMSE is 8.60, which means that the prediction error is small and can meet the research needs. We performed model fitting on the existing elderly population data from 1990 to 2019, and chose the coefficient of determination R-squared to characterize the fitting degree of the model, which can well reflect the accuracy of the prediction model. When the coefficient of determination R-squared is close to 1, it indicates that the model fitting effect is good. Finally, we used a quadratic polynomial model and obtained the coefficient of determination R-squared of 0.99, close to 1, which can well explain the variation of the dependent variable. We provide confidence intervals, with the lower and upper bounds indicating values corresponding to the 5th and 95th percentiles of the probability distribution, respectively.

Fig. 7
figure 7

Prediction of the elderly population in Shanghai. The dots indicate the actual elderly population per year; the dashed line indicates the projected elderly population per year (median values, prediction 2); and the shading indicates the 5% and 95% bounds (predictions 1 and 3).

Table 1 Projected number of Shanghai’s elderly population (millions) in 2030 and 2050

Combined with the flood map, we obtained the spatial distribution of the affected total population and the elderly population exposed (Fig. 8). Under the RCP2.6 and RCP8.5 emission scenarios, the patterns of the three population exposure predictions are similar. The exposure of the elderly population in 2030 and 2050 is distributed along the Huangpu River, in the low-lying areas of the city center, and on Chongming Island, and the latter is the area with the highest exposure density of the elderly population (Fig. 8). Under the RCP2.6 scenario, the exposure proportion of the elderly population in 2030 will increase from 28.7 to 38.3% for a 1/100-year flood to 30.7 to 41.4% for a 1/1000-year flood under the three predictions of the elderly population. Except for the 1/100-year flood, under all other predictions in 2050, more than 50% of the elderly population will be exposed to the 1/100-year and 1/1000-year floods, and the highest exposure rate will be 69.1% (Table 2). Under the RCP8.5 scenario, the exposure rate of the elderly population can reach as high as 75.7% by 2050 (Table 3).

Fig. 8
figure 8

Elderly population in Shanghai per unit area under the RCP2.6 scenario. Prediction 1 lower bound, prediction 2 median estimate, prediction 3 upper bound. 2030_1/100-year means a 1/100-year flood in 2030, and so on.

Table 2 Exposure of the elderly population in Shanghai to extreme floods under the RCP2.6 scenario (persons)
Table 3 Exposure of the elderly population in Shanghai to extreme floods under the RCP8.5 scenario (persons)

4.3 Supply-Demand Ratio of Medical Resources

The spatial pattern of the supply-demand ratio shows that this ratio of the two types of POIs will be sufficient for the city center and the outer ring, except sporadic areas with extremely low supply-demand ratios that indicate a lack of medical resources (Fig. 9).

Fig. 9
figure 9

Supply-demand ratio of the two types of point of interest (POI) for the elderly population in Shanghai in 2010, 2030, and 2050 for 1/100-year and 1/1000-year floods under the RCP2.6 scenario

The medical resources on both sides of the Huangpu River will be severely scarce for 1/100-year and 1/1000-year floods in 2030 and 2050, and these areas are also high exposure areas of the elderly population. In 2010, when a 1/100-year flood occurs, the supply-demand ratio of 15 or more is 32.7 %, and the supply-demand ratio of 15 or more drops to 23.5% for a 1/1000-year flood. However, when the elderly population grows, according to prediction 2 (see Fig. 7), under the RCP2.6 and RCP8.5 scenarios, the supply-demand ratios of 15 or more will account for 9.5–10.0% of the total in 2030 and 3.0–3.2% in 2050 for a 1/1000-year flood.

The supply-demand ratio of medical resources of less than 5 accounts for 71.5–82.3% of the total in 2030 and 84.4–85.3% in 2050 for a 1/1000-year flood under the RCP2.6 and RCP8.5 scenarios. The supply-demand ratio of 15 or more in 2030 and 2050 will account for 10.4–11.3% and 3.7–3.8% of the total for a 1/100-year flood, respectively. The supply-demand ratio of medical resources of less than 5 accounts for 63.2–64.4% in 2030 and 81.2–82.2% in 2050 for a 1/100-year flood under the RCP2.6 and RCP8.5 emission scenarios. The results show that in the future, as the return period of extreme floods increases and the elderly population grows, the supply of medical services will need to increase to maintain the supply-demand ratio (see Fig. 9). Under the two emission scenarios and three predictions of elderly population, as the years and return periods increase, the difference between the supply-demand ratios of future medical resources and the 2010 values will become larger. Especially in 2050, when there is a 1/1000-year flood, the supply-demand ratio of medical resources declines significantly from the 2010 level to 30.2–36.8 (Fig. 10).

Fig. 10
figure 10

Difference between the supply-demand ratio of the two types of point of interest (POI) in Shanghai in 2030/2050 and the 2010 values under the RCP2.6 scenario (a) and the RCP8.5 scenario (b)

4.4 Accessibility to the Emergency Response Services

Routes to emergency medical services (with submerged water depth less than 30 cm) under extreme flood scenarios in different years and return periods were used to compute the accessibility of the flood-affected sites (neighborhood committees) by distance (Fig. 11). We divided the accessibility into 5 levels: 0–0.5, 05–1.0, 1.0–1.5, 1.5–2, > 2, which represent very low, low, medium, high, and extremely high accessibility. Areas with accessibility exceeding 1 account for 25.4% and 10.2%, respectively, for the 1/100-year and 1/1000-year return periods in 2010.

Fig. 11
figure 11

Accessibility to the emergency medical centers of the neighborhood committees in Shanghai under the RCP2.6 scenario

Under the RCP2.6 scenario, these numbers change to 8.4% for a 1/100-year flood and 3.6% for a 1/1000-year flood in 2030. Under the RCP8.5 scenario, the proportion of areas with accessibility exceeding 1 is 5.2% for a 1/100-year flood and 2.5% for a 1/1000-year flood in 2030. Under the RCP2.6 and RCP8.5 emission scenarios, the proportion of areas with accessibility exceeding 1 falls below 0.3% in 2050. For a 1/100-year flood, some parts of the road network along the Huangpu River and in Xuhui and Pudong New Area (Shanghai’s city center waterfront along the Huangpu River) will be impassable, and individual emergency response centers will almost lose their emergency service function due to their location in the inundation area. For a 1/1000-year flood, the entire central urban area near the Huangpu River is affected by flooding, resulting in traffic interruptions. The number of hospitals located in the flooded area is also significantly higher than that in a 1/100-year flood event, which seriously affects the urban emergency medical service function on both sides of the Huangpu River. Under extreme flood scenarios, some social welfare agencies cannot reach emergency medical centers due to partial road blockage, and the emergency accessibility of some rescue points is insufficient. In addition, although the area affected by floods does not account for a high proportion of the total area of the central city, the places affected by floods are mainly concentrated in the important central business district, administrative district, and high-end residential areas on both sides of the Huangpu River, which are critical areas for urban public emergency services. Therefore, the impact of flood disasters on the overall level of urban public medical emergency services is still very significant.

5 Discussion

This section discusses the supply-demand of medical resources for the elderly in the future, several recommendations to improve emergency response services, and the limitations of this study.

5.1 Insufficient Medical Resources for the Elderly Population in the Future

Shanghai is a top financial center and has one of the best flood protection systems in China. The floodwalls along the Huangpu River are designed for a 1/1000 storm surge in the city center and against a 1/50-year flood in the upstream area (Wang et al. 2012). These engineering works were constructed following the devastating flooding in Shanghai that resulted from Typhoon Winnie in 1997. This study confirms the findings of Du et al. (2020) that in the future flood risk will face a significant increase.

As the years and return periods increase, especially in 2050, when a 1/1000-year flood occurs, the supply-demand ratio of medical resources declines significantly from the 2010 level. It shows that in the future extreme floods will have a strong impact on the supply-demand ratio of medical resources for Shanghai’s elderly population. Although Shanghai has better medical resources compared to other cities in China, with the growth of the elderly population in the future, it is necessary for policymakers to consider increasing medical resources in areas with high elderly population exposure. Spatial distribution maps can provide clear information and references for decision makers to make robust decisions. In the 1/100-year and 1/1000 year flood scenarios in 2030 and 2050, in some parts of the low-lying city center and the areas on both sides of the Huangpu River, the supply and demand ratio of medical resources will be seriously low. These are also exposure areas for the elderly population. Therefore, the relevant government departments in Shanghai need to add medical services in specific neighborhood committees to meet the future medical resource needs of the elderly population in dealing with extreme floods, and to better respond to flood risks.

5.2 Improve Emergency Response Services

The results of this study show that as the return period increases, the flooded area continues to increase, the routes for emergency medical centers to reach the neighborhood committees decrease, and the area with accessibility exceeding 1 declines. Emergency responders should plan not only for the implementation of their current services, but also for more frequent floods in the future. Such plan adjustments might include using updated flood and traffic condition information to guide route selection when dispatching response vehicles.

Based on our findings, we also propose the following recommendations to the decision makers. First, in view of the significant impact of floods on the emergency response capabilities of urban public services, the urban emergency management departments need to adopt response measures to ensure the accessibility of key nodes and sections of the road network and emergency public services. Second, early warning systems and real-time flood forecasting may provide timely information for emergency responders. Finally, a real-time route navigation option could allow vehicles to safely pass (or avoid) flooded areas, ensuring spatial accessibility of urban emergency public services.

5.3 Other Response and Adaptation Measures and Limitations of this Research

It is necessary to increase other rescue equipment (for example, helicopters) for urban emergency rescue to improve rescue capabilities (Shi et al. 2020; Li et al. 2021). The municipal and local governments should attach great importance to disseminating disaster prevention knowledge to the communities, strengthen the effective integration of elderly care and disaster prevention policies, as well as to developing community flood early warning systems and disaster management training courses (Liang et al. 2017).

There are also some limitations to our study. First, we did not characterize the dependence between flood drivers for this location. In the future, we need to capture the multivariate joint distribution of flood drivers (Couasnon et al. 2022; Wang et al. 2023). Second, there are uncertainties in vehicle speed changes due to flooding and changes in real-time traffic flow distribution on the road network. In future research, urban traffic big data (for example, taxi trajectory data) should be introduced to provide more realistic spatiotemporal observation and simulation data for urban road network traffic (vehicle speed).

5.4 Generalization of the Approach

The proposed framework can be generalized and applied to other areas for the accessibility analysis of the elderly population to the healthcare services during coastal floods. To apply the population projection module, flood scenario analysis module, and supply-demand and accessibility module to other cities, the following data are needed:

  1. 1)

    Time series data of total and elderly populations, ideally at the resolution of district, subdistrict/township, or the smallest administrative unit; the duration should be several decades, and the variables should include age, fertility, mortality, life expectancy, sex ratio at birth, and constraints such as the capacity to accommodate the population, population-related governmental policies, and migration.

  2. 2)

    Digital elevation data.

  3. 3)

    Station-based tide levels in the last decade, sea level rise, land subsidence data, and floodplain topography.

  4. 4)

    POIs data of medically-relevant locations.

6 Conclusion

This study used a combination of exposure analysis, supply-demand ratio analysis, and emergency response analysis to evaluate the current and future (2030 and 2050) exposed elderly population, medical resources, and accessibility of emergency services when impacted by predicted extreme floods with various return periods to identify potential threats for the elderly population in the future. The main conclusions are:

  1. 1)

    Under the RCP2.6 and RCP8.5 emission scenarios, the spatial patterns of predicted population exposure are similar. Exposure will be the highest along the Huangpu River, in the low-lying areas of the city center, and on Chongming Island in Shanghai.

  2. 2)

    As the years and return periods increase, the difference between the supply and demand ratios of medical resources in the future and that in 2010 becomes larger, indicating that extreme floods will have major impacts on the supply-demand ratio of medical resources for Shanghai’s elderly population, assuming no adaptation to the new reality of demography and flood hazard.

  3. 3)

    With the future growth of the elderly population, the accessibility of emergency services will decrease, and most neighborhood committees will have poor accessibility to emergency response centers in the city of Shanghai.

The results of this study provide some references for policymakers in Shanghai, and the proposed framework can be applied to other areas for evaluating the accessibility of the elderly population to medical services during future extreme floods.