1 Introduction

Amid global warming and rapid urbanization, changes in urban rainfall and runoff patterns, a continual decline in soil infiltration capacity, and the lagging development of drainage infrastructure have increased the risk of urban flooding, resulting in significant economic losses (Zhao et al. 2023). China is also one of the regions where heavy rainfall and flooding occur frequently with 70% of its cities having suffered severe flood disasters, including 33% of its megacities (Chikhi et al. 2024). Urban flooding is primarily caused by overflow from the drainage network due to extreme rainfall and from rivers at high water levels (Ahmad and Simonovic 2013; Yao et al. 2023). Thus, it is crucial to consider the affect river runoff in urban flood simulation models.

Numerical simulation plays a crucial role in exploring the internal dynamics and developmental processes of urban flooding (XU Zongxue and Chenlei 2021). Among the various numerical simulation tools, the Urban Stormwater Management Model (SWMM) is the most widely used. However, since this model cannot provide important information such as the extent of inundation, depth of flooding, and water flow velocity (Liu et al. 2023; Zhuang et al. 2023), researchers have coupled the SWMM with other two-dimensional modeling software to compensate for this shortcoming like LISFLOOD-FP, WCA2D and CCHE2D (Wu et al. 2018, 2017; Zeng et al. 2022; Zhang et al. 2021), and evaluate the city’s flood defense capabilities and flood risk under different scenarios. The city is not a simple and flat catchment area, the underlying surface inside the city is complex, with irregularly shaped and arranged buildings, and numerous channels and rivers (Ouyang et al. 2022). The use of uniform grid sizes for simulating complex urban terrain often yields poor results. Theoretically, using irregular grids to solve the full or simplified two-dimensional shallow water equations for two-dimensional simulation can achieve more accurate inundation results.

The TELEMAC-2D model features stable two-dimensional hydrodynamic computation capabilities and is also suitable for further development. It is widely used to simulate hydrodynamic processes in rivers, estuaries, coastal areas, and floodplains, consistently providing dependable results (Kumar et al. 2021). Currently, the use of TELEMAC-2D in flood modeling is also becoming increasingly widespread, (Yang et al. 2023) developed a SWTM model to assess the flood impacts around Beijing's Fangzhuang subway station; (Chen et al. 2017) used coupled models to analysis flood inundation scenarios for coastal nuclear power plants under storm surge conditions. Similarly, (Guoyi and Jiahong 2022) established TELEMAC-2D model to assess flood risks in Shenzhen city and discussed inundation situation under different designed rainfall; (Rui et al. 2022) analyzed urban emergency response times under different flood scenarios with TELEMAC-2D model. However, the above studies have not considered the issue of river overflow under extreme rainfall conditions. The process of urban flood simulation is essentially a hydrological or hydrodynamic model, if without the factor of river runoff, the simulation accuracy of whole model will be affected.

This study proposes an improved model that considers the impact of river runoff within cities under extreme rainfall conditions based on hydrodynamic coupling of one-dimensional pipe network with SWMM model and TELEMAC-2D model. Taking the Tongzhou District of Beijing as example, a coupled urban flood model was constructed, and its reliability verified with over-standard design rainfall conditions and river levels as the initial conditions. In addition, we build a comparative coupled model by reducing the pipelines and nodes, distribution of flooding and surface inundation were uses as indicators to assess the urban flood risk under two different pipe network conditions. This works provides foundational support for the priority of subsequent sponge city theoretical transformations in various cities.

2 Methods

In this work, simulation was performed by hydrological-hydrodynamic model, where SWMM model and TELEMAC-2D model are used independently to simulate the processes of pipeline networks, surface and river runoff. Additionally, this model is unidirectionally coupled to facilitate flow exchange in three dimensions including vertical, lateral and longitudinal to ensure accuracy of the urban flood simulation.

2.1 SWMM Model

The SWMM (Storm Water Management Model) is a distributed hydrological and hydrodynamic modeling tool developed by the U.S. Environmental Protection Agency (EPA). It is widely utilized for urban flood management (Tan et al. 2024). However, the calibration of the SWMM model remains a key challenge. The fundamental working principle of SWMM model involves using the Horton formula for runoff production and confluence calculations (Gironas et al. 2010), while the computation of pipeline flows is calculated using the dynamic wave method (Hashemi and Mahjouri 2022; Li et al. 2022b), which is based on solving the one-dimensional Saint–Venant equations (Voevodin and Nikiforovskaya 2011).

Runoff calculation:

$$R_{s} = \int_{{i > f_{p} }} {(i - f_{p} )dt}$$
(1)
$$f_{p} = f_{c} + (f_{0} - f_{c} )e^{ - kt}$$
(2)

where, Rs is the surface runoff in mm; i is rainfall intensity in mm/h; fp is infiltration capacity in mm/h; f0 is the infiltration capacity corresponding to the initial soil water content in mm/h; fc is the stable infiltration rate; k is the decay coefficient; t is the time in h.

Pipe confluence calculation:

$$\frac{\partial Q}{{\partial x}} + \frac{\partial A}{{\partial t}} = q$$
(3)
$$\frac{\partial Q}{{\partial x}} + \frac{\partial }{\partial x}\left( {\frac{{Q^{2} }}{A}} \right) + gA\frac{\partial h}{{\partial x}} + gAS_{f} = 0$$
(4)

Where Q is the discharge in m3/s, A is the area of the cross section in m2, H is water depth in m, g is the acceleration of gravity in m/s2, \({S}_{f}\) is the friction gradient, which is calculated by manning formula.

2.2 TELEMAC-2D Model

TELEMAC-MASCARET is an open-source hydraulic modeling system for rivers, estuaries, and coasts, featuring one-dimensional, two-dimensional, and three-dimensional models, developed by the National Laboratory of Hydraulics and Environment in France (Moulinec et al. 2011), it is primarily managed by a consortium of consulting and research institutions. TELEMAC-2D used in this paper is one of the two-dimensional hydrodynamic calculation modules. This module is primarily used for solving two-dimensional shallow water equations, calculating water depths and flow velocities at each node. It is widely applied in extensive storm surge and flood simulations along coasts, although its specific application for urban flood inundation simulations is relatively less common (Godara et al. 2023). In this study, the finite volume method in TELEMAC-2D is adopted to solve the two-dimensional shallow water dynamic equation in non-conservation form (Malcherek 2000). The basic equation is as follows:

$$\frac{\partial h}{{\partial t}} + \frac{\partial (hu)}{{\partial x}} + \frac{\partial (hv)}{{\partial y}} = 0$$
(5)
$$\frac{\partial u}{{\partial t}} + u\frac{\partial u}{{\partial x}} + v\frac{\partial u}{{\partial y}} = - g\frac{\partial Z}{{\partial x}} + F_{x} + \frac{1}{h}div\left( {hv_{e} \nabla u} \right)$$
(6)
$$\frac{\partial v}{{\partial t}} + u\frac{\partial v}{{\partial x}} + v\frac{\partial v}{{\partial y}} = - g\frac{\partial Z}{{\partial x}} + F_{y} + \frac{1}{h}div(hv_{e} \nabla v)$$
(7)

Where, u and v are depth integrated velocity components in the x and y directions, respectively; h is flow depth; Z is water surface elevation; t is time; g is gravity; ve is the effective diffusion for turbulent viscosity and dispersion; and Fx and Fy are source terms that ignore the Coriolis force and the influence of wind.

$$F_{x} = - \frac{1}{\cos \alpha }\frac{{gm^{2} }}{{h^{4/3} }}u\sqrt {u^{2} + v^{2} }$$
(8)
$$F_{y} = - \frac{1}{\cos \alpha }\frac{{gm^{2} }}{{h^{4/3} }}v\sqrt {u^{2} + v^{2} }$$
(9)

Where, \(\alpha\) is bottom slope dip angle. Equations (5)-(7) are solved for three unknowns h, u, and v, and the boundary conditions and meshes are set by the user in the BlueKenue software (https://nrc.canda.ca/en). In this study, TELEMAC-2D version of V8P4 was used for simulation, and unstructured grid was used to segment the grid region.

2.3 1D-2D Coupled Model

In this research, we have incorporated the calculation of river runoff into our coupled SWMM and TELEMAC-2D model. The steps are as follows:

  • Step1: Basic data processing. The data of the study area is generalized based on ArcGIS pro platform, including the information of inspection wells, pipeline networks, outfalls, rain measuring station and river monitoring station.

  • Step2: Pipeline correction and sub-catchment area division. The reality pipe network data must have problems such as crossing, reverse slopes, leaks and incorrect connections. Therefore, we adjusted incorrect pipes by removing unnecessary short pipelines and appropriately modifying the elevations of the nodes on both sides of the pipelines with reverse slope. The check rules with the following verification rules: (1) The direction of pipelines must flow from the upstream node to the downstream node. (2) The bottom elevation of the upstream node must higher than that of the downstream node. (3) The flow direction of water in any node or pipe within the area must flow into only one outlet. Sub-catchment areas were manually divided based on these corrections and actual road network.

  • Step3: Parameter calibration and verification. Parameter calibration in the SWMM model is a crucial step that determines the overall accuracy of the simulation. Using the pyswmm library combined with the genetic algorithm (GA), sensitive parameters are calibrated by directly reading simulated depths at monitoring nodes or flow velocities in pipes. When the fitness > 0.9, the calculation is terminated, and the parameter values are obtained.

  • Step4: Point source parameter file. The overflow point time series and the position of the inspection well nodes were extracted and written into the parameter file of TELEMAC-2D.

  • Step5: River level’s file. During river simulation, it is necessary to set water levels to ensure river flow continuity. In the process of extreme rainfall, simulations are conducted using water levels that exceed standard levels as specified in planning, and these levels’ data are then written into the parameter files.

  • Step6-7: Geometry file and boundary file. In this study, BlueKenue software was used to pre-process geometry files and boundary files in TELEMAC-2D. The geometry files, which includes elevation data and surface manning coefficients, are assigned to the mesh file using 2D interpolators. The setup of boundary file designates the upstream of the river as the mesh entrance, where the water level or flow velocity is specified, and the downstream of the river is set as the exit boundary of the mesh.

  • Step8: Analyze the urban flood simulation based on inundation position、depth、area and duration.

The methodology and process of this research are illustrated in Fig. 1.

Fig. 1
figure 1

Flowchart of urban flood simulation coupled model

2.4 Model Evaluation Indicator Selection

The absolute error represents total value of the difference between the measured value and the actual value. Here, it refers to the total value of the difference between the simulated water depth or outfall volume of the model and the actual measured water depth/outfall volume (Hu et al. 2018). The mathematical expression is as follows:

$$AE = \left| {T_{s} - T_{o} } \right|$$
(10)

where, Ts and To are the simulated and observed flow rate at the i th number.

The relative error is calculated by multiplying the ratio of the absolute error from the measurement by the actual measured value by 100% and is expressed as a percentage. Typically, relatively error provides a more reliable indicator of measurement accuracy. It is commonly used to assess urban rainfall and flood models, particularly to verify the accuracy of simulated peak flood discharge values (Indrawati et al. 2018). It is described as follows:

$$RE = \frac{{\left| {R_{s} - R_{o} } \right|}}{{R_{o} }} \times 100\%$$
(11)

where, Rs and Ro are the simulated and observed flow rate at the i th number.

The Nash–Sutcliffe Efficiency mathematical expression of this matric can be described as follows:

$$NSE = 1 - \frac{{\sum\nolimits_{i = 1}^{n} {(Q_{s} - Q_{{\text{o}}} )^{2} } }}{{\sum\nolimits_{i = 1}^{n} {(Q_{s} - \overline{{Q_{{\text{o}}} }} )^{2} } }}$$
(12)

where, Qo (m3/s) and Qs (m3/s) represent the discharge of the observed and simulated hydrography, respectively; \(\overline{{Q_{o} }}\) is the mean value of the observed discharge, and n is the data points number. NSE measures the ability of the model to predict variables different from the mean, gives the proportion of the initial variance accounted for by the model, and ranges from 1 (prefect fit) to\(-\infty\). Values closer to 1 provide more accurate predictions (Nash and Sutcliffe 1970).

3 Study Area and Materials

3.1 Study Site

In this study, we have selected the sponge city planning pilot area of Beijing's Tongzhou district urban sub-center which covered a total area of 19.36 km2 and encircled by the Yunchaojian River and the North Canal. The average slope of study area is approximately 1.38%, the annual average rainfall surpasses 500 mm, with about 85% of it concentrated between June and September. The implementation of sponge city infrastructure transformations has been successfully completed in this study area, establishing flood prevention standards of 50-year return period for general areas and 100-year return period for the administrative office zone (Yajun et al. 2021).

3.2 One-Dimensional Pipeline Network Model Build Processing

3.2.1 Data Preparation

Topographic inputs are crucial in the process of constructing urban rainstorm and flood model, which includes digital elevation data and land use data. We utilize the STRM 12.5 × 12.5 m digital elevation model (DEM) is drawn from the NASA (https://search.earthdata.nasa/). Remote sensing data is from Globeland 30 (http://www.globallandcover.com/), which provides “Gaofen-1” satellite imagery with a spatial resolution of 16 m. These data all correspond to the surface characteristics of the study area (Fig. 2).

Fig. 2
figure 2

Study area

Drainage system data were provided by the Tongzhou District Water Bureau of Beijing. These data primarily include the geographical and geometric information of pipelines, inspection wells, and outfalls. The diameters of the pipes within the drainage system range from 0.6 to 2.6 m, and the depths of inspection wells range from 0.5 to 6.4 m. The study area contains two rivers, the North Canal and the Yunchaojian river, which have been artificially modified and considered as rectangular open channels, as shown in Fig. 3. The original model comprises 78 sub-catchment areas, 632 pipelines, 619 inspection wells, and 12 outfalls. In the contrast model, we reduced the number of pipelines and nodes under main roads and interchanges, resulting in 496 pipelines, 491 inspection wells, and 9 outfalls, with specific differences shown in Fig. 3c-d.

Fig. 3
figure 3

The difference of pipeline distribution map with two models

Furthermore, we adopted the rainstorm intensity formula provided by the Beijing Water Bureau to calculate surface rainfall. The Chicago rainstorm model (Su et al. 2021) was selected as the design rain pattern for this research, with a peak rainfall coefficient set at 0.4. This approach facilitated the computation of rainfall data for of 120 min across eight different return periods, serving as the input for our modeling efforts. The design rainstorm formula as followed:

$$q = \frac{1602(1 + 1.037\lg P)}{{(t + 11.593)^{0.681} }}$$
(13)

where, q is the rainfall intensity mm/hr; P is the return period of rainstorm in yr; t is the rainstorm duration in min.

3.2.2 Parameters of SWMM Model

The deterministic parameters of SWMM model include characteristics such as the width of sub-catchments, average slope and the proportion of impervious areas (Li et al. 2017). The characteristic length of a sub-catchment is obtained by dividing its area by the perimeter of its drainage area. The average slope is calculated from digital elevation data. The proportion of impervious areas is calculated based on the hardened area divided by the total area within land use data.

In this research, sensitive parameters within uncertain parameters were calibration based on measured data (Liao et al. 2023), including the roughness coefficients for pervious and impervious areas, depression storage for pervious and impervious areas, the maximum and minimum infiltration formula, and Manning’s coefficient in the pipeline. The range and results of parameter calibration are as follows (Table 1).

Table 1 Main parameter calibration results of SWMM

3.3 Two-Dimensional Pipeline Surface and River Model Build Processing

In this study, TELEMAC-2D version of V8P4 was used for simulation, and unstructured grid was used to segment the grid region. The DEM data generally omits specific elevation details of buildings and bottom elevation of rivers. To account for the water-blocking effect of buildings, the building outlines are utilized as internal soft boundaries to create meshless islands within the study area. When constructing the grid with these soft boundaries, BlueKenue automatically resamples the building outline to maintain the continuity of the construction grid. The maximum side length throughout the research area is 20 m, with refinements made in areas with dense construction. For accurate representation of the riverbed elevation, we reduced the existing river elevation data by 10 m, establish boundaries along the river’s sides, and ensured they connect with the surface grid to maintain overall grid connectivity.

There are 279,501 nodes and 540,501 grids after processing surface grid. The obtained digital elevation information and Manning coefficients for different land use types are interpolated into the grid as the initial processing step for the simulation calculations. TELEMAC-2D river confluence simulation was adopted in this study, and the upper and lower reaches of the river were used as the boundary of the model. Due to the lack of measured flow change data of the river and the insignificant change of river level within 120 min in the measured data, the river level of is set at 20 m for the Yunchaojian River, and 18 m for the North Canal. The river levels have been set to exceed the planning standards for 20-year recurrence interval, to ensure the rationality of the water level difference and the flow of the river, and at the same time, the impact of the river overflow can be analyzed.

4 Results

4.1 Coupled Model Calibration and Evaluation

We selected No.20220629 and No.20220728 two historical measured rainfall data to calibrate and verify two coupled models, the results show in Table 2. Rainfall data mainly provided by Beijing Tongzhou District Water Bureau, is recorded every 5 min. Figure 4 shows that the simulated data of S3 and S6 monitoring points are closely align with the observed data, and the original model is higher accuracy with NSE value above 0.8. In the contrast model, where the number of pipelines and nodes was reduced, the NSE value remained above 0.7. The simulated flow rates increased, and the peak flow occurred 20 min earlier compared to the original model, with longer recession times.

Table 2 Calibration evaluation parameter
Fig. 4
figure 4

Comparison of model calibration

4.2 Analysis of Inundation Result Under Eight Different Rainstorm Patterns

In the case of eight designed rainstorms, the original model and the contrast model were respectively carried out to reproduce rainfall, the location of flooding points and the depth of water were statistically analyzed. The results show that as the recurrence interval of rainfall increases, the volume of ware and inundation at internal flooding points gradually. The number of overflow points in both models approached similar counts, but in original model, the number of overflow points was closed to 20% of the total nodes, while in the contrast model it was closer to 28% (Table 3). Approximately 40% to 50% of the inundation points are distributed under the primary roads and overpasses with heavy traffic, and the undeveloped building land, while about 20% to 30% occur around riverbanks in green belts. This high consistency with actual flood prone areas further substantiates the credibility of the model.

Table 3 Comparison table of number of overflow points

Table 4 indicated the poor drainage along main road causes the depth and area of inundation in the contrast model to far exceed those in the original model, with a significant difference in the inundation area for a 100-year rainstorm returun period event (Fig. 5), greatly impacting nearby traffic and residents. However, the overall inundation depth of both models did not exceed 0.5 m, suggesting that this area complies with the planning standards for resisting a 100-year extreme rainfall event. This study utilized four monitoring points to analyze the simulation results of the two models (Fig. 6). In residential areas and parks adjacent to rivers, the water level rises slowly under lower recurrence intervals of rainfall, but increases rapidly as the recurrence interval grows. The depth of water on primary and secondary roads is more closely related to the recurrence interval of rainfall. In the contrast model, the peak of the overall inundation depth occurs 20 min earlier, and the duration of inundation is longer, which has a more serious impact on traffic.

Table 4 Changes in maximum inundation depth and area
Fig. 5
figure 5

Comparison of inundation between the two models

Fig. 6
figure 6

Variation of inundation depth at observation point

5 Discussion

It is well known that cities are not isolated from rivers. Many scholars choose to not to consider the influence of internal river flow when constructing urban flood simulation models due to the short duration of the simulation events (Liu et al. 2024; Ouyang et al. 2022; Xu et al. 2023; Yao et al. 2021). For this reason, (Chen et al. 2023) utilized the MIKE FLOOD model in Zhoukou City of Henan Province, setting an exceedingly high standard ware level as river’s based level to analyze the impact of river levels on outlets. (Li et al. 2022a) treated the river as a huge drainage pipe in the urban flood simulation process in Luoyang City, analyzed the correlation between rainfall duration and inundation time. This research constructs the urban flood model is similar to above studies, regarding the river as a rectangular open channel with an ultrahigh standard river level as the basic condition for simulations. However, this study is distinctive in that it exclusively uses open-source urban flooding, integrating post-processing tools to precisely analyze the internal water accumulation and the impact of river overflow.

Furthermore, in the result of the contrast model, it was found that in cities with high traffic volume, using just a single pipeline to generalize the number and location for overflow points does not cause significant changes. Therefore, it does alter the water collection situation in sub-catchment areas, and the flow rate, velocity, and the duration of inundation at overflow points increase greatly with the recurrence interval increases. This suggests that in situations where data is lacking, pipelines and nodes can be appropriately increased or decreased based on road levels and traffic volume to ensure the accuracy of the simulation.

Finally, this improved coupled hydrologic-hydrodynamic model based on SWMM and TELEMAC-2D, which considers the complexity of urban substrates and various factors affecting urban flooding, can be extended to urban areas with different terrain, including cities that have been transformed by sponge city projects. This provides insights for future large-city sponge city planning transformations. It is recommended to prioritize the renovation of pipelines under heavy traffic areas such as major roads and overpasses to reduce congestion in main pipelines, thereby preventing overflow and inundation in surrounding residential areas and effectively mitigating urban flooding to arrive planning objectives and flood protection standards.

6 Conclusion

This study has improved the coupled hydrologic-hydrodynamic model, considering an integrated urban flood coupled model that encompasses network overflow, surface runoff, and river flow. The main conclusions are as follows:

This model can simulate urban flooding with high precision. During the validation process, both the original and contrast models showed NSE value greater than 0.7, AE value less than 1 h, and RE value less than 10%. Additionally, within the study area, as the recurrence interval of rainfall increases, overflow points gradually shift towards main roads, and both overflow volume and duration increase, leading to severe road inundation. This work based on open-source software, enhances the general applicability of the improved model and the diversity of post-processing methods. However, this paper still has limitations: the coupling model requires foundational data supported by actual measurements, and the urban internal river channels are uniform, which ensures high completeness and accuracy in the simulation process. Therefore, this coupling model is not suitable for areas with insufficient data or complex inland water system river shapes.

The results of our study can provide reference ideas for subsequent urban flood simulations after sponge city planning and suggest that in the transformation of sponge cities, main pipelines under major roads and overpasses with heavy traffic should be renovated first. This would reduce the extent of the disaster, casualties, and property loss, providing foundational support for subsequent planning processes.