Abstract
In the paper, a new method is introduced for optimally solve the problem of the layout and component size determination of sewer network. Simultaneously Layout and component size optimization of sewer network problem consists of many hydraulic constraints which are generally nonlinear and discrete; which creates a challenge even to the modern heuristic search methods. An algorithm generation of a predefined number of spanning trees is introduced to generate a predefined number of sewer layouts of a base sewer network in order of increasing length. These generated layouts are sorted in ascending order of total cumulative flow and sorted layouts are individually optimized for sewer components sizing. It has been found that the optimal sewer layout for total system optimization is one where the total cumulative flow has the minimal value. The modified particle swarm optimization (MPSO) algorithm has been used to optimally determine the component sizes of the selected layouts. The proposed method is applied to the Sudarshanpura sewer network (situated in Jaipur, India) design problem. The results are presented for optimal cost vs cumulative flow of the layouts. Further results of MPSO has been compared with the original PSO algorithm.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
A sewer network has a tree-like structure which collects wastewater from industrial, commercial and residential areas and transports to wastewater treatment plant. A Huge amount of investment is required for construction and maintenance of large scale sewerage networks. Thus, reduction by a few percent of the cost of a network may result in substantial reduction in the project cost. Design optimization of sewer network problem includes two sub problems (i) optimal sewer network layout determination and (ii) optimal design of sewer network components. These two sub problems are strongly coupled and should be solved simultaneously for an optimal solution to the whole problem. Simultaneous sewer network layout and its component size optimization problem consist of many constraints which are generally nonlinear, discrete and sequential. Due to the complex nature of the problem, most of the researchers have focused on only the component size optimization of sewer network (Walsh and Brown 1973; Dajani and Hasit 1974; Price 1978; Walters and Templeman 1979; Kulkarni and Khanna 1985; Elimam et al. 1989; Swamee 2001; Afshar 2006, 2007, 2010; Guo et al. 2007, 2008; Izquierdo et al. 2008; Pan and Kao 2009; Haghighi and Bakhshipour 2012; Karovic and Mays 2014). Only a few researchers have addressed the problem of layout and the combined layout and component size optimization of sewer network (Argaman et al. 1973; Tekeli and Belkaya 1986; Li and Matthew 1990; Walters and Lohbeck 1993; Walters and Smith 1995; Diogo and Graveto 2006; Moeini and Afshar 2012; Haghighi 2013; Steele et al. 2016).
The present work describes a method to optimally solve the problem of the layout and component size determination of sewer networks. The optimization has been done in four steps: (1) An algorithm is applied to find a predetermined number of sewer layouts of a base sewer network in order of increasing length of sewer line; (2) For all layouts total cumulative flow (CQ) is obtained by adding flows in each sewer; (3) These layouts are sequenced in ascending order of total cumulative flow; (4) The modified PSO is then applied to get optimal sewer component sizes of each of these sequenced sewer layout. The optimal cost of the sewer system with modified PSO is compared with original PSO.
2 Optimal Sewer Layout Selection Method
The sewer network layout is a graph with specific properties. Therefore, it is necessary to review some basic definitions and principles of the graphs (Clark and Holton 1995; Deo 2005):
-
Graph: An undirected graph G = (V, E) consists of a set of vertices V (V = v1, v2, . .,vn) and another set of edges E (E = e1, e2, . ., em), such that each edge eij is identified with an unordered pair (vi, vj) of vertices.
-
Tree: A graph G is called a tree if it is a connected acyclic graph. In acyclic graph, one and only one path between any pair of vertices.
-
Weighted Graph: A weighted graph is a graph G in which each edge e is assigned a real number w(e) called the weight of e.
-
Spanning Tree: A spanning tree of a graph G is a tree containing all vertices of a graph G.
-
Minimum spanning tree (MST): A spanning tree with the minimum weight in a weighted graph is called a minimum spanning tree.
The layout of the sewer system is a sub graph extracted from a predefined base graph of city or town drainage system. In a base graph, all possible locations of manholes (vertices) and sewer lines (edges or links) are identified and this graph is a connected cyclic graph. With respect to the urban street configurations, topology, barriers, locations of the outlets, an undirected base graph can be drawn. Nevertheless, for generating a feasible layout from a base graph two basic constraints to be satisfied are: (i) graph should be acyclic and (ii) all manholes (vertices) must be included in the layout (spanning tree).
There are number of greedy algorithms for finding the minimum spanning tree (MST) of an undirected weighted graph G, Kruskal’s and Prim’s algorithms are well known (Clark and Holton 1995). Each sewer line constitutes the edge with weight equal to its length. MST represents minimum length layout of a base sewer network (graph). The MST does not guarantee an optimal solution of the sewer system.
2.1 Algorithm – Generation of a Predefined Number of Spanning Trees
The algorithm is based on the assumption that a base sewer network (graph) including all possible edges of the network is given i.e. locations of manholes have been identified. The flow chart shown in Fig. 1 presents the simplified representation of the ‘generation of a predetermined spanning trees’ algorithm:
2.2 Optimal Layout Selection
All constraints of the layout problem are systematically satisfied during the generation of layouts. A large number of alternative layouts are available, and it is very difficult to identify which layout should be selected first for component size optimization. Therefore, a strategy to sequence these alternatives needs to be developed. The Eq. 1 is used to calculate total cumulative flow (CQ j ) of ith layout.
Where, N = the total number of links (edges) in the layout, q ij = flow in the ith link of the jth layout, and CQ j is the sum of cumulative flows in all links of the jth layout.
The total cumulative flow (CQ) is calculated for all generated layouts, and then these layouts are sequenced in ascending order of CQ. Each layout is optimized for component size optimization in this sequence.
The applicability of the proposed algorithm is tested against a benchmark example in the literature. The first example (network 1) to be considered is a simple network illustrated in Fig. 2. The network 1 consists of 9 manholes (vertices), 12 links (edges) and an outlet located at manhole number 9. This example has been considered as a test example by Afshar and Mariño (2006) to test the performance of ant algorithms for layout optimization of tree network. The wastewater contribution at each node of the network is given in table 1.
By applying the proposed approach, all alternative layouts are sequenced in ascending order of CQ. The top 4 solutions (minimum CQ) of the network 1 are shown in Fig. 3 .
3 Formulation of Optimal Sewer Design Problem for Component Sizing
3.1 Sewer Hydraulics
In circular sewer Steady-state flow is described by the continuity principle (Q = VA) and Manning’s equation which is:
where Q = discharge in sewer, V = velocity of sewage flow, A = flow cross-sectional area, n = Manning’s coefficient, R = hydraulic mean depth and S = sewer slope.
Common partially full parameters for circular sewer sections are also determined from the following equations:
where K = constant, D = sewer diameter, (d/D) = proportional sewage depth, r = hydraulic mean depth, and θ = the central angle from the center of the section to the sewage surface (in radian). Equation 4 is applicable for K values less than (1/π) = 0.318 (Saatci 1990).
3.2 Design Constraints
For a given layout, a feasible sewer design is defined as a set of sewer diameters, slopes and excavation depths which satisfies all the constraints. Typical constraints of sewer network design are:
-
(1)
Sewer cover depth: It is necessary to provide minimum cover depth (CDmin) to avoid damage to the sewer line and also to provide adequate fall for house sewer connections. Further in order to reduce the excavation, manhole cost and pumping cost, cover depth should be less than prescribed maximum cover depth (CDmax).
$$ \begin{array}{cc}\hfill {\mathrm{CD}}_{\min}\le {\mathrm{CD}}_{\mathrm{i}}\le {\mathrm{CD}}_{\max}\hfill & \hfill \mathrm{i}=1,\dots,\ \mathrm{N}\hfill \end{array} $$(7)Where CDi = average cover depth of the ith sewer link, and N = total number of links. The minimum cover depth of 0.9 m and maximum cover depth of 5.0 m has been adopted in the present paper.
-
(2)
Sewer flow velocity: For each sewer, flow velocity must be greater than the minimum permissible velocity (Vmin) to prevent the deposit of solids in the sewers and less than the maximum permissible velocity (Vmax) to prevent sewer scouring.
$$ \begin{array}{cc}\hfill {\mathrm{V}}_{\min}\le\ {\mathrm{V}}_{\mathrm{i}}\le\ {\mathrm{V}}_{\max}\hfill & \hfill \mathrm{i}=1,\dots,\ \mathrm{N}\hfill \end{array} $$(8)Minimum permissible velocity of 0.6 m/s and maximum velocity of 3.0 m/s has been adopted in the present paper.
-
(3)
Flow depth ratio: wastewater depth ratio of the sewer should be less than 0.8.
$$ \begin{array}{cc}\hfill \frac{d_i}{D_i}\le 0.8\hfill & \hfill \mathrm{i}=1, \dots, \mathrm{N}\hfill \end{array} $$(9)Where Di = diameter of ith sewer and di = sewage flow depth in ith sewer.
-
(4)
Sewer diameters: The diameter of a sewer should not be less than the minimum prescribed size (Dmin). The minimum diameter of 0.2 m has been adopted in the present paper.
$$ \begin{array}{cc}\hfill {\mathrm{D}}_{\min }-{\mathrm{D}}_{\mathrm{i}}\le 0\hfill & \hfill \mathrm{i} = 1,\ .\ .\ .,\ \mathrm{N}\hfill \end{array} $$(10) -
(5)
Progressive sewer diameters: The diameter of ith sewer (Di) should not be less than diameter of immediately preceding sewer (Dp)
$$ \begin{array}{cc}\hfill {\mathrm{D}}_{\mathrm{p}}-{\mathrm{D}}_{\mathrm{i}}\le 0\hfill & \hfill \mathrm{i}=1,\ .\ .\ .,\ \mathrm{N}\hfill \end{array} $$(11)
Constraints (Eqs. 9, 10 & 11) are satisfied while selecting pipe diameters and as such not included for penalty cost.
The optimal design of a sewer system for a given layout is to determine the feasible sewer diameters, excavation depths and sewer slopes in order to minimize the total cost of the sewerage system. The cost of the sewerage systems mainly depends upon sewer diameters, excavation depths, and manhole construction.
Total Cost: The total cost (TCi) of ith link would be
The problem of optimization of a sewer network with N number of links may be expressed as
where C = cost function of sewer network, TCi = total cost of a sewer network for the ith link, and PCi = penalty cost for the ith link.
Where (PD) i is penalty due to maximum depth, (PV min ) i is penalty due to minimum velocity, and (PV max ) i is penalty due to maximum depth for the ith link. Penalty for violation of minimum velocity constraints has not been applied for discharge less than 0.0014 m3/s.
These penalties are applied by multiplying a very large number (such as Rs. 108) to the violated constraint and are added to the total cost (TC) if the maximum cover depth constraint, minimum, and maximum velocity constraints are violated.
4 Modified Particle Swarm Optimization (MPSO)
An evolutionary algorithm, Particle swarm optimization was introduced by Kennedy and Eberhart (1995). In PSO, each problem solution is a bird of the flock and is referred to as a particle. In PSO algorithm, the birds having individual and social behaviour and mutually coordinate their movement towards a destination (Izquierdo et al. 2008; Shi and Eberhart 1998). PSO has some common evolutionary computation features, such as (a) initialization with a population (swarm) of random solutions, (b) updating positions in search of optima and (c) with some specific strategy particles evolution through the problem space (Izquierdo et al. 2008).
An initial group of particles starts their movement in the first iteration randomly. Then they try to determine the optimum solutions through the method described below.
The current position of the ith particle in the d-dimensional space at tth iteration is denoted as:
Its best position reached so far,
Its velocity,
Individual particle’s position in the search space is updated by
Where the new velocity
Where, I = 1, 2, . . ., P (P = total number of particles in a swarm); t = 1, 2,. ., T (T = total number of iterations or time intervals). In each time interval, the particle’s velocity v i (t) changes the position of the particle. The best position of each particle up to time t is xi_best(t) and the best position of a particle among all particles (from 1 to P) up to time t is xg_best(t). The previous velocity v i(t) is biased with inertia (ω), and the other parts are biased with two acceleration coefficients c1 and c2, with the random numbers (r1 and r2) which are uniformly distributed between 0 to 1 (Ostadrahimi et al. 2012).
The inertia weights ω(t) and acceleration coefficients (c1 and c2) are updated in each time interval with the following equations:
where ωmax is the maximum and ωmin is the minimum inertia weight and their values have been taken as 0.7 and 0.2, respectively in the present problem. c1, max and c2, max are the maximum accelerations, and their values have been taken as 2. c1,min and c2,min are the minimum accelerations, and their values have been taken as 0.5.
Particle’s velocity in each dimension is limited to minimum and maximum velocities:
Particle velocity is a very important parameter. The value of v max and v min must be in limit otherwise the search space may not be explored fully. v max is generally set to about 10-20% of the range of the variable in each dimension (Eberhart and Shi 1998). v min is generally considered to avoid stagnancy of the particles in exploration of a new solution space. The above adjustable parameters (vmax, ωmax, ωmin, c1, and c2) must be fixed. These adjustable parameters should be adjusted by trial and error, according to the sensitivity of the problem and the model performance. Moreover, these adjustable parameters, the number of iteration and number of particles affect the final solution. Generally, the searching process is terminated after a specified number of iterations or when the best result of the objective function remains unchanged for a specific number of consecutive iterations. In the modified PSO methodology adjustable parameters change in each time interval, whereas in original PSO they remain fixed throughout the optimization process. The modified PSO methodology is as follows:
-
Step 1
Initialize the particle swarm by randomly assigning initial velocity and position of each particle.
-
Step 2
Calculate the fitness function for each particle.
-
Step 3
For each particle, update its best position so far x i_best(t), if its current position is better than its earlier best one.
-
Step 4
Update the globally best particle of the swarm that has the swarm’s best fitness value and set its index as g and its position at x g_best(t) .
-
Step 5
Calculate velocities of all the particles using equation (19).
-
Step 6
Update the new position of each particle using equation (18).
-
Step 7
If the problem involves discrete variables, the new position needs to be changed to discrete position in each dimension by selecting the nearest discrete position in that dimension
-
Step 8
If the stopping criterion is met stop else repeat steps 2–7
-
Step 9
Show the result given by the best particle (xg_best)
Above mentioned modified PSO methodology deals with both continuous and discrete variables, as requisite for the design of sewer networks.
5 Optimization of Sewer System
The second example network 2 (Sudarshanpura sewer network) as shown in Fig. 4 has been considered to for application of the proposed ‘generation of a predefined number of spanning trees’, their sequencing and MPSO algorithm. The Sudarshanpura sewer network (network 2) collects only domestic wastewater from the Sudarshanpura residential colony, Jaipur, India through gravity. It consists of 105 nodes (manholes), 116 links (sewer pipes), and STP is located at node number 0. The Link number, nodal connectivity, link length and nodal wastewater contribution are given as input.
The network 2 is solved in two phases. In the first phase, the ‘generation of a predefined number of spanning trees’ algorithm is applied to finds a predetermined number of layouts of the network in order of increasing length of sewer line; after this, by using Eq. 1 these alternative layouts are sequenced in ascending order of CQ. In the second phase, the proposed MPSO methodology is applied to the sequenced sewer layouts for component size optimization. The following steps have been followed to optimize the sewer system for component sizing:
-
1.
Start with the first iteration (t = 1).
-
2.
Select particle i = 1 (consisting of all sewer link diameters and slopes)
-
3.
Calculate sewer hydraulis for complete sewer system.
-
4.
Calculate invert levels of upstream and downstream node of a link
-
5.
Calculate cost of sewers, cost of manholes and cost of earthwork
-
6.
Calculate total cost of sewer network (TC)
-
7.
Add the respective penalty costs in TC where contraints (maximum depth, maximum velocity, and minimum velocity) are violated.
-
8.
Calculate fitness value of the particle and update pbest.
-
9.
Increase the value of i by one. If it exceeds maximum number of particles go to step 10 else go to step 3
-
10.
Calculate gbest among all particles for all time steps.
-
11.
Calulate new particle velocities and their positions. Increase t by one. If t value exceeds maximum number of iterations go to step 12 else set i =1 and go to step 3.
-
12.
Output the gbest and stop.
Table 2 shows the cost of NP4 class RCC sewer pipes (including the cost of their transportation, lowering & laying in trenches, aligning & jointing of pipes), cost of manholes (it depends on the depth of excavation and the diameter of the manhole and material of construction), and cost of earthworks (it includes the cost of trench excavation, dressing of sides, ramming of bottoms, getting out the excavated material, refilling after laying pipe and disposal of surplus excavated material). The cost of pipe (RCC NP4 class), manhole and earth work have been taken from Schedule of Rates (2013).
6 Results
The performance of the proposed generation of a predefined number of spanning tree and MPSO algorithm is tested in this section by applying the both algorithms to find optimal design of network 2.
Table 3 clearly shows that the layout having minimum CQ has the minimum total cost. The total cost of sewer layout is generally increasing with the CQ of a layout. The cost of optimal layout (CQ = 3639.13 l/s) is Rs. 8.371 × 106 with modified PSO as compared to the cost of original PSO Rs. 8.473 × 106. Further the 2nd alternative layout (CQ = 3642.34 l/s) thses cost are Rs. 8.477 × 106 and Rs. 8.547 × 106 respectively, for 90 iterations. Figure 5 shows the Optimal sewer layouts of a base network 2.
Results of MPSO are compared with original PSO in order to compare the efficiency of the proposed algorithm. The original PSO parameter values of c1 and c2 have been taken as 2 and ω has been taken as 0.8. The results are obtained using swarm size 1000 and 30, 60 and 90 iterations respectively for each sewer layout. Table 3 compares the results of the proposed MPSO with original PSO. It is clearly seen that the proposed MPSO algorithm was able to obtain a better solution as compared to an original PSO algorithm in all the layouts.
Optimal sewer layout of a base network 2 as shown in Fig. 5a is selected for the detailed design. Figure 6 a, b, c and d show that the minimum solution cost obtained by the modified and original PSO algorithm against the swarm sizes for different iterations. The minimum cost obtained by the original PSO in 90 iterations for 1000 swarm size is Rs. 8.473 × 106, whereas the cost obtained by the MPSO is reduced to Rs. 8.371 × 106.
It is seen that the solution obtained by MPSO algorithm is better than the solution of the original PSO algorithm when the swarm size is 1000. Figure 7 shows the solution cost obtained with modified particle swarm optimization, the best solution produced when the swarm size is 1000. Table 4 shows the details of the optimal design of sewer component sizing of a layout Fig. 5a with 1000 swarm size and 90 iterations.
7 Conclusions
This paper presents the generation of a predefined number of spanning trees with their sequencing and modified PSO algorithm to optimally solve the problem of the layout and component size determination of sewer networks. An algorithm ‘generation of a predefined number of spanning tree’ is applied to generate a predetermined number of alternative layouts of a base network in order of increasing length. These layouts are sequenced in ascending order of total cumulative flows. After the layouts are sequenced, a modified PSO algorithm is applied to optimaly size sewer components of the sewer system. The proposed methods for optimal layout and component size determination were applied to a problem of Sudarshanpura sewer network design.
The results indicated that the layout having minimum CQ has the minimum total cost and the total cost of sewer layout generally increases with the CQ of a layout. It is also seen that the proposed modified PSO algorithm solution was better as compared to an original PSO algorithm in all the layouts for swarm size 1000. The minimum cost obtained by the original PSO is Rs. 8.473 × 106, whereas the cost obtained by the Modified PSO is reduced to Rs. 8.371 × 106. The results showed that the ability of the proposed methods to optimally solve the problem of the layout and component size determination of sewer networks.
References
Afshar MH (2006) Application of a genetic algorithm to storm sewer network optimization. Sci Iran 13:234–244
Afshar MH (2007) Partially constrained ant colony optimization algorithm for the solution of constrained optimization problems: application to storm water network design. Adv Water Resour 30:954–965
Afshar MH (2010) A parameter free continuous ant colony optimization algorithm for the optimal design of storm sewer networks: constrained and unconstrained approach. Adv Eng Softw 41:188–195
Afshar MH, Mariño MA (2006) Application of an ant algorithm for layout optimization of tree networks. Eng Optim 38:353–369
Argaman Y, Shamir U, Spivak E (1973) Design of optimal sewerage systems. J Environ Eng Div 99:703–716
Clark J, Holton DA (1995) A first look at graph theory. Allied Publishers Ltd
Dajani JS, Hasit Y (1974) Capital cost minimization of drainage networks. J Environ Eng Div 100:325–337
Deo N (2005) Graph theory with applications to engineering and computer science. Prentice Hall of India Pvt. Ltd., New Delhi
Diogo AF, Graveto VM (2006) Optimal layout of sewer systems: a deterministic versus a stochastic model. J Hydraul Eng 132:927–943
Eberhart RC, Shi Y (1998) Comparison between genetic algorithms and particle swarm optimization. In Evolutionary Programming VII. Springer Berlin Heidelberg, pp 611–616
Elimam AA, Charalambous C, Ghobrial FH (1989) Optimum design of large sewer networks. J Environ Eng 115:1171–1190
Guo Y, Walters GA, Khu ST, Keedwell E (2007) A novel cellular automata based approach to storm sewer design. Eng Optim 39:345–364
Guo YF, Walters GA, Khu ST, Keedwell EC (2008) Efficient multiobjective storm sewer design using cellular automata and genetic algorithm hybrid. J Water Resour Plan Manag 134:511–515
Haghighi A (2013) Loop-by-loop cutting algorithm to generate layouts for urban drainage systems. J Water Resour Plan Manag 139:693–703
Haghighi A, Bakhshipour AE (2012) Optimization of sewer networks using an adaptive genetic algorithm. Water Resour Manag 26:3441–3456
Izquierdo J, Montalvo I, Pérez R, Fuertes VS (2008) Design optimization of wastewater collection networks by PSO. Comput Math Appl 56:777–784
Karovic O, Mays LW (2014) Sewer system design using simulated annealing in excel. Water Resour Manag 28:4551–4565
Kennedy J, Eberhart R (1995) Particle swarm optimization. IEEE International Conference on Neural Networks (Perth, Australia), IEEE Service Center, Piscataway, NJ, IV. pp 1942–1948
Kulkarni VS, Khanna P (1985) Pumped wastewater collection systems optimization. J Environ Eng 111:589–601
Li G, Matthew RGS (1990) New approach for optimization of urban drainage systems. J Environ Eng 116:927–944
Moeini R, Afshar MH (2012) Layout and size optimization of sanitary sewer network using intelligent ants. Adv Eng Softw 51:49–62
Ostadrahimi L, Mariño MA, Afshar A (2012) Multi-reservoir operation rules: Multi-swarm PSO-based optimization approach. Water Resour Manag 26:407–427
Pan T-C, Kao J-J (2009) GA-QP model to optimize sewer system design. J Environ Eng 135:17–24
Price RK (1978) Design of storm water sewers for minimum construction cost. 1st International Conference on Urban Strom Drainage. Southampton, United Kingdom, pp 636–647
Saatci A (1990) Velocity and depth of flow calculations in partially filled pipes. J Environ Eng 116:1202–1208
Schedule of Rates (2013) Rajasthan Urban Infrastructure Development Project (RUIDP), Government of Rajasthan
Shi Y, Eberhart R (1998) A modified particle swarm optimizer. IEEE International Conference on Evolutionary Computation. IEEE, Anchorage, AK, pp 69–73
Steele JC, Mahoney K, Karovic O, Mays LW (2016) Heuristic optimization model for the optimal layout and pipe design of sewer systems. Water Resour Manag 30:1605–1620
Swamee PK (2001) Design of sewer line. J Environ Eng 127:776–781
Tekeli S, Belkaya H (1986) Computerized layout generation for sanitary sewers. J Water Resour Plan Manag 112:500–515
Walsh S, Brown LC (1973) Least cost method for sewer design. J Environ Eng Div 99:333–345
Walters GA, Lohbeck T (1993) Optimal layout of tree networks using genetic algorithms. Eng Optim 22:27–48
Walters GA, Smith DK (1995) Evolutionary design algorithm for optimal layout of tree networks. Eng Optim 24:261–281
Walters GA, Templeman AB (1979) Non-optimal dynamic programming algorithms in the design of minimum cost drainage systems. Eng Optim 4:139–148
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Navin, P.K., Mathur, Y.P. Layout and Component Size Optimization of Sewer Network Using Spanning Tree and Modified PSO Algorithm. Water Resour Manage 30, 3627–3643 (2016). https://doi.org/10.1007/s11269-016-1378-7
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11269-016-1378-7