1 Introduction

The urban drainage system is one of the important infrastructures for a modern city. How to optimize the design of urban drainage systems economically and technically is a crucial research topic. Previously, a summary of the main layout optimization processes was provided by Bakhshipour et al. (2019) and Duque et al. (2020). A variety of optimization methods have been proposed for pipe hydraulic design: simulated annealing (Yeh et al. 2013); modified particle swarm optimization algorithm (Navin and Mathur 2016); a Storm Water Management Model (SWMM)-based algorithm (Shao et al. 2017); and ant colony optimization (Moeini and Afshar 2017). Sustainable urban drainage systems (SUDS) are promising options that can facilitate flood management, while enhancing the quality of stormwater runoff (La Rosa and Pappalardo 2019; Chen et al. 2021). However, SUDS also have some restrictions. For example, SUDS reduce the runoff, according to Mentens et al. (2006), Carter and Jackson (2007), and Mora-Melià et al. (2018). But these strategies are ineffective during extreme rain events. Implementation of mitigation measures such as Low Impact Development (LID) in urban areas to reduce flood volume has benefits that are more apparent when there is a shorter return period of heavy rainfall (Sun et al. 2021).

Climate change has led to an increase in the number and severity of extreme precipitation events in many parts of the world, and the resulting rainstorms and flood disasters have had a significant negative impact on communities and assets (Cheng et al. 2020). As flood volumes increase, urban drainage networks encounter more difficulties, raising the possibility of infrastructure failure. In order to reduce the magnitude and duration of flood hazards, the concept of resilience has been applied to numerous urban infrastructures (Hu et al. 2020; Fu et al. 2021; Sen et al. 2021). The adaptability of cities could be considerably increased by building a resilient drainage system. The analysis on the resilience of a system focuses on identifying and quantifying the system’s reaction to extreme stress. Research on the resilience of urban drainage systems can help mitigate urban flood hazards (Wang et al. 2019). Redundancy is an important feature of urban water system resilience (Mugume, Diao, et al. 2015; Mugume, Gomez, et al. 2015). Redundancy implies having multiple components that provide similar functions or having alternative elements to reduce the likelihood of a system failure overall (Hesarkazzazi et al. 2020; Farahmand et al. 2021).

In urban drainage systems, resilience is defined as the degree of stability and recoverability of the system under extreme conditions that exceed the design standard (Butler et al. 2018). Improving urban drainage system resilience through redundancy (Ke et al. 2016) can be accomplished in three ways by: (1) implementing best management practices, such as building storage facilities like reservoirs and rainwater tanks; (2) replacing critical pipes; and (3) optimizing the rainwater network topology, such as the introduction of parallel pipes or loops to increase redundancy (Mugume, Diao, et al. 2015; Mugume, Gomez, et al. 2015; Hesarkazzazi et al. 2020). Numerous investigations have been conducted on the first and the second methods (Tao et al.

  • (1)

    Objective function

    The problem of optimization of an urban drainage system may be expressed as:

    $${\text{Minimize}}\,{\text{F}} = \mathop \sum \limits_{i = 1}^{N} C_{i} \left( {D_{i} ,H_{i} } \right) \times L_{i}$$
    (1)

    where F is the objective function; N is the total number of pipes; Ci is the construction cost of pipe i; Di is the diameter; Hi is the buried depth; and Li is the length of the pipe.

  • (2)

    Design constraints

    The hydraulic design of the urban drainage system needs to meet the corresponding pipe diameter constraints, flow velocity constraints, and buried depth constraints:

    $$D_{\min } \le D \le D_{\max }$$
    (2)
    $$D_{{{\text{down}}}} \ge D_{{{\text{up}}}}$$
    (3)
    $$D \in D_{s} = \left\{ {D_{1} ,D_{2} ,D_{3} , \ldots ,D_{Z} } \right\}$$
    (4)
    $$v_{\min } \le v \le v_{\max }$$
    (5)
    $$dh_{\min } \le H \le dh_{\max }$$
    (6)

    where Dmin is the minimum pipe diameter; D is the pipe diameter; Dmax is the maximum pipe diameter; Ddown is the downstream pipe diameter; Dup is the upstream pipe diameter; Ds is an optional set of pipe diameters; v is the flow velocity; vmin is the minimum flow velocity; vmax is the maximum flow velocity; dhmin is the minimum buried depth; H is the buried depth; and dhmax is the maximum buried depth.

  • (3)

    Adaptive genetic algorithm for optimization

    Genetic algorithm was originally proposed by Holland (1975), and it is often used to solve combinatorial optimization problems with particularly large solution space after development. Genetic algorithm originated from Darwin’s theory of biological evolution. It searches for optimal solutions by simulating the process of natural selection and biological evolution. Genetic algorithms are used for optimal hydraulic design optimization (Palumbo et al. 2013; Hassan et al. 2018). Figure 3 illustrates the steps of adaptive genetic algorithm for hydraulic optimization.

    • Integer coding. Integer encoding can improve computational efficiency.

    • Generate initial population. The initial population is the initial solution generated according to the coding rules. The individuals in the initial population are the parameters of the pipes.

    • Decoding. The related parameters are decoded for the hydraulic calculation of the pipes.

    • Fitness evaluation. The selection of the fitness function directly affects the convergence speed of the genetic algorithm and whether the optimal solution can be found. Every time fitness is calculated, it will be sorted from largest to smallest. In this study, the reciprocal of the cost of the network is selected as the objective function. The fitness function is expressed as:

      $$f = \frac{a}{F\left( x \right) + G}$$
      (7)
      $$G = P_{i} \times \, N \, \times \, C_{\max } \times \, L_{\max }$$
      (8)

      where f is the fitness; G is the penalty function, when the constraints are not met, Pi = 1, and the penalty function is executed on the fitness; a is the coefficient (mainly because the construction cost of the drainage pipe network is relatively high, to avoid the reduction of the optimization potential due to inadequate adaptation to obtain a local optimum).

    • Crossover. Adaptively adjust the crossover probability. The crossover probability calculation formula is:

      $$P_{c} = \left\{ \begin{gathered} P_{c\max } - \frac{{\left( {P_{c\max } - P_{c\min } } \right)\left( {f - f_{\min } } \right)}}{{f_{\max } - f_{\min } }},\quad f \ge f_{{{\text{avg}}}} \hfill \\ P_{c\max } , \quad f < f_{{{\text{avg}}}} \hfill \\ \end{gathered} \right.$$
      (9)

      where Pc is the crossover probability; Pcmax is the maximum crossover rate; Pcmin is the minimum crossover rate; fmax is the maximum fitness; fmin is the minimum fitness; and favg is the average fitness.

    • Mutation. Adaptively adjust the mutation probability. The probability of mutation is calculated as:

      $$P_{m} = \left\{ \begin{gathered} P_{m\max } - \frac{{\left( {P_{m\max } - P_{m\min } } \right)\left( {f - f_{\min } } \right)}}{{f_{\max } - f_{\min } }},\quad f \ge f_{{{\text{avg}}}} \hfill \\ P_{m\max } ,\quad f < f_{{{\text{avg}}}} \hfill \\ \end{gathered} \right.$$
      (10)

      where Pm is the probability of mutation; Pmmax is the maximum rate of mutation; and Pmmin is the minimum rate of mutation.

    Fig. 3
    figure 3

    Flowchart of adaptive genetic algorithm

  • The termination criterion of the algorithm is to achieve the preset number of iterations.

    2.2.3 Complex Network Analysis

    Two-layer complex network analysis is developed, consisting of a global network analysis for all nodes and a local network analysis applied individually for each node (Fig. 4).

    Fig. 4
    figure 4

    Relationship between the global network analysis and the local network analysis


    (1) Global network analysis

    Global network analysis is applied to find the crucial nodes in the urban drainage system. The role of particular nodes in the graph and their effects on the network may be determined using centrality, which can aid in the identification of significant nodes. Betweenness centrality and closeness centrality are essential in network analysis (Freeman 1977; Brandes 2001). In a big water distribution system, demand was indicated by the betweenness centrality (Sitzenfrei 2021). The edge betweenness centrality for sewage systems was adjusted by Hesarkazzazi et al. (2020) to reflect how frequently an edge is included in the shortest path from the source vertices to the outlet. In this study, customized modifications are introduced: betweenness centrality refers to the frequency at which a node appears on the shortest path in the network; closeness centrality represents the average distance from a node to the outlet:

    $$C_{B} (v) = \sum\limits_{s \ne t \ne v \in V} {\frac{{\sigma_{st} (v)}}{{\sigma_{st} }}}$$
    (11)
    $$C_{C} (v) = \frac{1}{{\sum\limits_{t \in G} {d_{G} (v,t)} }}$$
    (12)
    $$I = w_{1} \times C_{B} \left( v \right) + w_{2} \times C_{C} \left( v \right)$$
    (13)

    where CB(v) is the betweenness centrality; s, v, t are nodes; V is node set; \({\sigma }_{st}(v)\) is the number of shortest paths from s to t through v; \({\sigma }_{st}\) is the number of shortest paths from s to t; Cc(v) is the closeness centrality; G is the graph; \({d}_{G}(v,t)\) is the minimum length of any path connecting nodes v and t in G; I is node value; and w1 and w2 are weights determined by the Analytic Hierarchy Process. In this study w1 is 0.2, w2 is 0.8. The Analytic Hierarchy Process analysis was done according to Zhang et al. (2022).


    (2) Local network analysis

    Local network analysis, which includes degree (d), in-degree (din), out-degree (dout), and maximum degree (dm), is a focused investigation of nodes with higher values derived from global network analysis. Degree describes how many edges are connected to a node; in-degree describes how many edges enter the node; out-degree describes how many edges leave the node; and maximum degree describes how many edges can connect to the node:

    $$d = d_{{{\text{in}}}} + d_{{{\text{out}}}}$$
    (14)

    If d < dm, the redundancy can be increased, and if d = dm, the redundancy cannot be increased. Take node c in Fig. 4 as an example, where its maximum degree is 3; the current in-degree is 1; the out-degree is 1; there is room to increase redundancy. There is no room to add redundancy at node b because it can only have a maximum degree of 4, while the in-degree and out-degree are already 3 and 1, respectively.

    2.3 Study Area and Datasets

    The study area is located in the eastern part of the Dongying City center, Shandong Province, China, with an area of 8.916 km2 (Fig. 5). The Storm Water Management Model (SWMM) was used for hydraulic simulation (Rossman 2015). The characteristics of the subcatchment and original stormwater engineering were obtained through a digital elevation model dataset and current status. The elevation of the study area is high in the south and low in the north. The impervious coverage rate is 90.9%. We used elevation data with a resolution of 30 m × 30 m, and land use data with a resolution of 10 m × 10 m (Fig. 6). The total length of the original drainage pipe is 25,142 m, and the pipe density is 2.82 km/km2. The pipe diameter ranges from 300 to 2000 mm. The research area has monitoring equipment for ponding points as well as a rain gauge station nearby. The rainfall data were recorded by the rain-gauge station from 18 to 20 August 2018, and the data of the three waterlogging points’ flooding depth are used to calibrate the parameters (Fig. 7a). The model is acceptable because all errors are within 10% (Table 1). The final calibration parameter values of SWMM are shown in Table 2.

    Fig. 5
    figure 5

    Location of the study area in Dongying City, Shandong Province, China. a China; b Dongying City;  Base graph of the study area

    Fig. 6
    figure 6

    Overview of the study area. a Ground elevation; b land use

    Fig. 7
    figure 7

    Rainfall data used in the study. a Rainfall event used for calibration; b design storm under different return periods (5-year, 10-year, and 20-year): 2-h design hyetograph

    Table 1 Flooding depth of the three waterlogging points
    Table 2 Calibrated values of the parameters for the storm water management model (SWMM)

    The verification results show that the coefficient Re is greater than 0.9, indicating that the validity and accuracy of the model are acceptable (Table 1). The calibrated values of the parameters for SWMM are shown in Table 2.

    There is a strong correlation between street networks and urban water infrastructures—around 80% of total sewer networks correlate with 50% of the street networks (Mair et al. 2017). Subcatchments are divided according to the distribution of buildings and streets in the study area. The digital elevation model is subjected to a spatial analysis to ascertain the flow direction. The design return period of drainage pipes in important areas is 3–5 years. The study area belongs to the northern residential area of Dongying City, which is a relatively densely populated residential area. The return period for design pipes is fixed at 5 years for safety concerns. For the hydraulic assessment of the urban drainage system, rainfall with 10-year and 20-year return periods is used (see Fig. 7b). The rainfall of 10-year and 20-year return periods is 80.7 mm and 92.3 mm, respectively. According to the rainstorm intensity formula of Dongying City (Di et al. 2017), the rainfall design is shown in Fig. 7b.

    3 Results

    The local drainage system’s layout is first obtained using the methods and datasets described in Sect. 2; then, the hydraulic performance of the drainage system is assessed before and after optimization; and lastly, the system performance with or without redundancy is examined.

    3.1 Layout of the Urban Drainage System

    The base graph is a fully looped system in which all possible conduits are connected. The initial optimized layout obtained by applying the graph theory algorithm (see Sect. 2.2.1) and the adaptive optimization algorithm (see Sect. 2.2.2) is shown in Fig. 8b. The total length of the optimized network is 23,527 m, with one drainage outlet. The maximum diameter of the pipe used is 2000 mm, and the minimum diameter is 300 mm. The minimum buried depth and maximum buried depth of the manholes are 1.0 m and 6.0 m, respectively. The layout of the urban drainage system before optimization is shown in Fig. 8a.

    Fig. 8
    figure 8

    Urban drainage network of Dongying City center. a Urban drainage network before optimization; b urban drainage network after preliminary optimization

    3.2 Hydraulic Performance Assessment

    A comparison of the hydraulic performance of the optimized urban drainage network with the original drainage network in the study area shows that the total overflow volume (TOV) of the optimized network has a reduction of 65.7% and 59.6%, respectively, under the 10-year and 20-year rainfall scenarios. The mean flood duration (MFD) of the optimized drainage network is lower than that of the original network (Table 3).

    Table 3 The performance of the original urban drainage network and the designed network

    Under the 20-year rainfall scenario, the pipes’ surcharge rate is higher than it is under the 10-year rainfall scenario (Fig. 9). Most of the surcharged pipes of the two networks are distributed downstream. This is due to the fact that the flow through the pipe increases when water flow is focused downstream, which causes the pipes to be surcharged. As a result, it is conceivable to think about adding pipes downstream to improve redundancy and lower the downstream pipelines’ drainage pressure.

    Fig. 9
    figure 9

    Distribution of surcharged pipes. Pipe surcharge rate is the ratio of the length of the surcharged pipe to the total length of the pipe

    3.3 Redundancy and Optimization

    The software Gephi is used to show the data and perform complex network analysis of the urban drainage system (Bastian et al. 2009). Gephi is free and open source software for graphics and network visualization.Footnote 1 The nodes’ color shade represents the betweenness centrality, and the size of the nodes denotes the closeness centrality (Fig. 10). Through global network analysis, nodes with higher index values are obtained. To facilitate comparison, the values are normalized, and the calculation results of the index value of each node are shown in Table 4. Local network analysis is applied to nodes with higher index values to determine the locations where pipeline redundancies can be increased. Figure 11a and b present the introduction of pipes with higher node values and lower node values, respectively.

    Fig. 10
    figure 10

    Complex network analysis results (node attribute value visualization)

    Table 4 Complex network analysis results (index values of nodes)
    Fig. 11
    figure 11

    Optimized structure considering pipeline redundancies. Network a introduces pipes where the node value is higher; Network b introduces pipes where the node value is lower. PN represents the pipeline node, and GQ indicates the pipe

    According to the results of the complex network analysis, the network structure of the existing drainage system is optimized. To prove the effectiveness of the complex network analysis method, the position with lower node value is selected to increase the redundancy (Fig. 11).

    In Table 5, the parameters of the introduced pipes are summarized. Network (a) adds a total length of 3245 m and a maximum pipe diameter of 1500 mm. Network (b) adds a total length of 3317 m and a maximum pipe diameter of 1200 mm. The performance of network (a) and network (b) are simulated under different rainfall scenarios.

    Table 5 Parameters of the introduced pipes

    In Fig. 12, the TOV of network (a) under the 10-year and 20-year rainfall scenarios is 12,610 m3 and 20,910 m3, respectively, which is 31.6% and 20.2% less than the preliminary optimized network. The TOV of network (b) is 16,690 m3 and 25,500 m3 under the 10-year and 20-year rainfall scenarios, respectively, which decreased by 9.5% and 2.7% compared with the network. In comparison to the preliminary optimized network, the mean and maximum flood duration of network (a) are both decreased, with the maximum flood duration decreasing more noticeably. The mean and maximum flood duration both drop in network (b), however the decrease is smaller than in network (a). It shows that the network that introduces pipes at higher node values has better resilience.

    Fig. 12
    figure 12

    Drainage performance comparison between the preliminary optimized network and the optimized networks for 10- and 20-year return periods

    4 Discussion

    Through the use of hydraulic design and layout selection, the preliminary optimum urban design network is created. The TOV and MFD of the preliminary optimized urban drainage network are reduced. The TOV of the urban drainage network after optimization is reduced by more than 50% compared with the urban drainage network before optimization. However, in conjunction with the surcharge position of the pipes in Fig. 9, it can be seen that, although the optimized drainage system performs better, its downstream pipes still bear great drainage pressure when faced with rainfall exceeding the design standard. Current urban drainage systems typically have dendritic layouts (Haghighi 2013; Steele et al. 2016; Kwon et al. 2021). The drainage pressure on the main pipes and downstream will certainly increase as the water collects. As a result, the surcharge of the pipes frequently happens in these locations (Lu et al. 2021).

    As shown in Fig. 12, when the rainfall exceeds the design standard, the stormwater pipe network (a) and network (b) perform better in terms of drainage than the network without taking redundancy into account. Some studies define redundancy as meshness (the number of pipes connected to the node in addition to the source node and the outlet node) (Reyes-Silva et al. 2020). A network with a higher meshness value has shorter flood duration and smaller node flood volume than a predominantly branched network. This is in line with the current findings.

    Network (a) and network (b) both increase redundancy and provide additional water flow paths and storage capacity. The difference is that network (a) shows higher resilience than network (b). If there are not many differences between the two networks’ storage capacities, it is presumed that the improved resilience results from better flow distribution. Yang et al. (2019) mentioned in their study of stormwater drainage systems that the number of deteriorating pipes is not the decisive factor for node flooding, and the topological location has a considerable impact on performance. The introduction of parallel pipes at reaches with bottleneck problems to increase the loop has higher efficiency in terms of flood prevention (Yazdi 2017). In this study, introducing pipes at locations with higher node values can reduce TOV by 31.6% and 20.2%, respectively, under the 10-year and 20-year rainfall scenarios. This finding suggests that the topological position of the pipes, as opposed to their quantity or length, is more crucial to the drainage system’s performance. This also suggests that adding extra pipes in the right place can improve system resilience. The performance of an urban drainage system depends on the properties of the fundamental components (such as pipes) and the interdependence between the functions of these various components, which is a system-level phenomenon. Complex network analysis identifies components that need to be prioritized to improve network performance from a system perspective.

    5 Conclusion

    Urban floods are becoming increasingly common as a result of urbanization and climate change, and the capacity of urban drainage systems to handle heavy precipitation is crucial for flood management and catastrophe mitigation. How to optimize the network structure of urban drainage systems to have better performance and resilience is a fundamental scientific issue of urban hydrology. This study proposes an optimization method for the network structure of urban drainage systems, which combines graph theory algorithm, adaptive genetic algorithm, and complex network analysis. This method enables the identification of where to increase the pipeline redundancies accurately to optimize the network structure of urban drainage systems.

    The initial optimum hydraulic design and layout can be obtained using graph theory and adaptive genetic algorithms. Complex network analysis is used to identify key nodes in the network and improve the resilience of the system by increasing the structural redundancy at locations with higher node values. The case study of an urban area demonstrates that increasing pipeline redundancies in the network can improve drainage performance. When compared to a structure that does not take redundancies into account, the one that does can cut TOV by 20–30% and the maximum flood duration by 2–3 h. According to the findings, a network with more pipeline redundancies is more effective at preventing flooding and has more potential to improve resilience.

    Urban drainage systems are often very complex because pipe networks have different spatial and temporal behaviors through structure and interaction of edges and nodes. The complex network analysis enables the identification of the crucial nodes in the drainage network and then locates the location of additional pipes, which solves the problem of determining where to increase the loop. The developed network structure optimization method offers a way to increase pipeline redundancies and provides new opportunities for improving the resilience of urban stormwater systems. Future research should investigate the cost-effectiveness of increasing redundancy in improving the drainage efficiency of urban drainage systems. Additionally, resilience indices to evaluate the impact of redundancy on system resilience are recommended for future studies.