원시데이터 수집 시스템
선정목록으로

Inclusion of tank configurations as a variable in the cost optimization of branched piped-water networks

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Nikhil Hooda — Department of Computer Science and Engineering, Indian Institute of Technology Bombay, Mumbai, India
  2. Om Damani — Department of Computer Science and Engineering, Indian Institute of Technology Bombay, Mumbai, India
DOI
10.5194/dwes-10-39-2017
저널
Drinking water engineering and science
발행년도
2017
발행기관
Copernicus Publications on behalf of the TU Delft
피인용수
4
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.5194/dwes-10-39-2017
토픽
Membrane Separation Technologies
OpenAlex ID
W2596717077

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract. The classic problem of the capital cost optimization of branched piped networks consists of choosing pipe diameters for each pipe in the network from a discrete set of commercially available pipe diameters. Each pipe in the network can consist of multiple segments of differing diameters. Water networks also consist of intermediate tanks that act as buffers between incoming flow from the primary source and the outgoing flow to the demand nodes. The network from the primary source to the tanks is called the primary network, and the network from the tanks to the demand nodes is called the secondary network. During the design stage, the primary and secondary networks are optimized separately, with the tanks acting as demand nodes for the primary network. Typically the choice of tank locations, their elevations, and the set of demand nodes to be served by different tanks is manually made in an ad hoc fashion before any optimization is done. It is desirable therefore to include this tank configuration choice in the cost optimization process itself. In this work, we explain why the choice of tank configuration is important to the design of a network and describe an integer linear program model that integrates the tank configuration to the standard pipe diameter selection problem. In order to aid the designers of piped-water networks, the improved cost optimization formulation is incorporated into our existing network design system called JalTantra.

본문 23,130자

본문 펼치기
Drink. Water Eng. Sci., 10, 39–44, 2017 https://doi.org/10.5194/dwes-10-39-2017 © Author(s) 2017. This work is distributed under the Creative Commons Attribution 3.0 License. # Inclusion of tank configurations as a variable in the cost optimization of branched piped-water networks Nikhil Hooda and Om Damani Department of Computer Science and Engineering, Indian Institute of Technology Bombay, Mumbai, India _Correspondence to:_ Om Damani (damani@cse.iitb.ac.in) Received: 23 February 2017 – Discussion started: 13 March 2017 Accepted: 1 May 2017 – Published: 9 June 2017 Abstract. The classic problem of the capital cost optimization of branched piped networks consists of choosing pipe diameters for each pipe in the network from a discrete set of commercially available pipe diameters. Each pipe in the network can consist of multiple segments of differing diameters. Water networks also consist of intermediate tanks that act as buffers between incoming flow from the primary source and the outgoing flow to the demand nodes. The network from the primary source to the tanks is called the primary network, and the network from the tanks to the demand nodes is called the secondary network. During the design stage, the primary and secondary networks are optimized separately, with the tanks acting as demand nodes for the primary network. Typically the choice of tank locations, their elevations, and the set of demand nodes to be served by different tanks is manually made in an ad hoc fashion before any optimization is done. It is desirable therefore to include this tank configuration choice in the cost optimization process itself. In this work, we explain why the choice of tank configuration is important to the design of a network and describe an integer linear program model that integrates the tank configuration to the standard pipe diameter selection problem. In order to aid the designers of piped-water networks, the improved cost optimization formulation is incorporated into our existing network design system called JalTantra. 1 Introduction The total capital cost of a water distribution network consists of several components such as pipes, tanks, and water treatment plants. Various cost optimization models have been proposed over the past few decades using various techniques such as linear programming (Alperovits and Shamir, 1977; Samani and Mottaghi, 2006), nonlinear programming (Bragalli et al., 2008), and genetic algorithms (Savic and Walters, 1997). In Hooda and Damani (2016) we presented a linear program formulation for the pipe cost optimization of gravity-fed branched piped-water networks that was optimal and fast. The solution was implemented in a water network design system called JalTantra. In this work, the scope of optimization is extended by also making the tank configuration a variable in the model. Thus our optimization metric changes from the pipe cost alone to the combined cost of pipes and tanks. This extension is also incorporated in JalTantra. Note that the networks considered are gravity-fed branched networks, as is typical in rural parts of developing countries. Heuristic or approximate techniques are usually employed for more complex networks, since the search space for the possible solutions is very large and the equations involved are non-convex. Since we restrict ourselves to gravity-fed branched networks, we effectively solve the problem using an integer linear program (ILP) model. 1.1 The tank configuration problem The tank configuration problem is to do with the determination of the tank locations, heights, and capacities, as well as the downstream demand nodes that each tank will service. Introduction of tanks divides the network into a primary network and secondary networks. A primary network distributes the water from the source to the tanks. Each tank then distributes water to the demand nodes for which it is responsible. In developing countries where most of the rural population gets insufficient water per capita (as little as 40 L Published by Copernicus Publications on behalf of the Delft University of Technology 40 N. Hooda and O. Damani: Inclusion of tank configurations as a variable Figure 1. Alternate tank configurations for a sample network. per person per day), in the absence of tanks, households at tail end of the network will not get even this meagre amount when those near the head of the network keep their taps open. Tanks thus help in providing a more equitable distribution of the limited supply of water. Typically this choice of tank configuration is made in an ad hoc manner, dependent on the intuition and experience of the designer. In the present work, this choice is integrated in our capital cost optimization formulation, which is implemented in the water network design software JalTantra. Tank allocation in a network can be done in several ways. The choice can be a tank for each demand node or a single tank for the entire network or any other configuration in between these two extremes. This allocation then determines the tank capacity. Figure 1 depicts the two extreme configurations as well as the “optimal” one for a sample network with 6 demand nodes. Note how the choice affects the primary and secondary networks. 1.2 The two sources of capital cost considered: pipes and tanks Individual nodes in the network have water demands and minimum pressure requirements. Diameters have to be selected for the pipes connecting the nodes, such that these requirements are met. The lower the diameter, the lower is the cost of the pipes, but the higher the friction losses (usually referred to as head loss). If there is too much head loss in the pipes, it may lead to insufficient pressures at the demand nodes. Therefore the goal is to reduce pipe cost under the constraint of minimum pressure requirements at the demand nodes. The choice of diameter is to be made from a discrete set of commercial pipe diameters that are available. The capital cost for tanks depends on the size of the tanks to be built. However, note that the cost of a tank rises sublinearly, i.e. doubling the tank capacity changes the cost to less than double the original cost. 1.3 The push and pull of pipes and tanks on the total capital cost The distribution of head loss in the network dictates whether the node pressure requirements are being satisfied or not. Head loss in a pipe depends on the length and diameter of the pipe used, as well as the flow through the pipe. For the branched networks, the flow in a pipe depends on whether the pipe is part of a primary network or a secondary network, which in turn depends on the choice of tank configurations. Typically the primary network runs for the entire day whereas secondary networks are scheduled to run for a few hours every day in order to manage the distribution of water. Thus flow rate in a secondary network is higher than that in a primary network. Therefore, for the same head loss across a pipe, higher diameters are required in the case of a secondary network. This means that the total pipe cost is minimized when the entire network is a primary network, that is, there is a tank installed at each demand node, and there are no secondary networks (as is the case in the second configuration shown in Fig. 1). The total tank capacity required for the network is the same regardless of the tank configuration, that is, the number, locations, and the allocation of demand nodes to the tanks. The cost for various configurations, however, would be different, since, as mentioned earlier, individual tank cost rises sublinearly with its capacity. Therefore the total tank cost is minimized when a single tank serves the entire network (as is the case in the first configuration shown in Fig. 1). Drink Water Eng Sci 10 39–44 2017 www drink-water-eng-sci net/10/39/2017/ N. Hooda and O. Damani: Inclusion of tank configurations as a variable 41 For the “tank at each demand node” configuration, the pipe cost is minimum but the tank cost is maximum compared to any alternative configuration. In the case of a single tank, the tank cost is minimum but the pipe cost is maximum. The optimum-cost tank configuration therefore depends on the network topology and can lie anywhere between these two extremes. For example in the sample network shown in Fig. 1, the capital cost is minimized if three tanks are built. In summary, the choice of tank configuration, i.e. the location, height and capacity of the tanks, and the set of demand nodes that each tank serves, is a non-trivial decision that has a direct impact on the capital-cost optimization of piped-water networks. The rest of the paper is structured as follows. Section 2 describes in brief the problem formulation for the pipe diameter selection only. Section 3 provides details on the extension of the formulation to include tanks. Section 4 is a brief description of the environment used to build the JalTantra system. Conclusions and future work directions are presented in Sect. 5. 2 The pipe cost optimization problem Typical rural networks are branched (acyclic). Since the network is acyclic, flow in each pipe can be computed easily from the node demands. For such a system, the following optimization problem was solved in Hooda and Damani (2016): – input: source node (head), nodes (elevation, water de mand, minimum pressure requirement), pipe (start/end node, length), Commercial pipe diameter (cost per unit length, roughness); – output: length and diameter of segments for each pipe; – objective: minimize total pipe cost; – constraints: – pressure at each node must exceed minimum pres sure specified – water demand must be met at each node – pipe diameters can only take values from provided commercial pipe diameters. 2.1 The objective function The objective function ( _O_ ) to be minimized is the total cost of the pipe diameters (NP – available pipe diameters) chosen for the pipes (NL – total pipes) in the network. The diameters _Dij_ can only be chosen from the set of available commercial pipe diameters. This restriction is represented via continuous variables _lij_ which represents the length of the _j_ th pipe diameter in the _i_ th pipe. The objective function therefore is: 2.2 Pipe constraint For each pipe the sum of the lengths of the various pipe diameters must equal the total pipe length _Li_ : NP _j_ =1 _lij_ = _Li._ (2) 2.3 Node constraint At each node _n_, a minimum amount of pressure _Pn_ needs to be maintained. The pressure at any node is calculated from subtracting the elevation of the node _En_ and the head loss in the pipes connecting the node to the reference node ( _Sn_ ), i.e. the source for the network from the head provided by the reference node _H_ R. The Hazen–Williams formula is used for head loss. Here _f li_ is the flow in link _i_ and _rj_ and _dj_ are the roughness and diameter of _j_ th pipe diameter, respectively. Therefore the pressure constraint for each node _n_ is as follows: _Pn_ ≤ _H_ R − _En_ - <sup>�</sup> _i_ ∈ _Sn_ NP _j_ =1 _HL_ <sup>′</sup> _ij_ _lij_ (3) 1 _._ 852 where _HL_ <sup>′</sup> _ij_ = 10 _._ 68 × <sup>_<u>f li</u>_</sup> _rj_ _dj_ <sup>4</sup> <sup>_._</sup> <sup>87</sup> _._ 3 Extension of the formulation to include tank configuration In order to include tank configuration as a variable in the model, tank cost is now included in the cost optimization. Tank cost is a piecewise linear function that is implemented using a lookup table. A binary variable _eij_ is introduced to represent the choice of row _j_ of the cost table for each tank _i_ . Several constraints are introduced to include tanks as well as to capture the simultaneous modelling of both the primary and secondary networks. Note that these constraints are in addition to the already described constraints of our previous model. 3.1 Objective cost The additional objective cost term is the tank cost at each node (NN - total number of nodes). For each tank, cost is computed using each row of the tank cost table (NE - total number of rows in cost table). Here _Bj_ is the base cost, Unit _j_ is the unit cost, Lo _j_ is the lower capacity, and Up _j_ is the upper capacity of row _j_ in the tank cost table. Only one of the rows is then chosen for actual cost contribution using the binary variable _eij_ . NP _Cij_ ( _Dij_ ) _lij_ _j_ =1 NP _j_ =1 NL ∈ _S_ ∼ _E_ O _._ ( <sup>q</sup> ) = NL _i_ =1 _Cij_ - _lij_ _._ (1) Opt( <sup>q</sup> ) = - _Dij_ www drink-water-eng-sci net/10/39/2017/ Drink Water Eng Sci 10 39–44 2017 42 N. Hooda and O. Damani: Inclusion of tank configurations as a variable Table 1. Several variables are added to the model to capture the choice of tank configuration. Binary _fi_ flow in pipe _i_ is primary (= 1) or secondary (= 0) _ksi_ 1 if node _s_ is the source for secondary link _i_ _sij_ 1 if the tank at _i_ th node serves the _j_ th node _enj_ 1 if the cost of tank at _n_ th node is calculated by the _j_ th row in the tank table Continuous _hei_ head loss in pipe _i_ _dn_ total demand served by the tank at _n_ th node _hn_ total head at _n_ th node _thn_ height of the tank at _n_ th node NE _j_ =1 The total demand _di_ served by node _i_ (DO _j_ - set of all downstream nodes for node _j_ ) is the sum of the demands of the downstream nodes that it serves. + NN _n_ =1 _enj_ × ( _Bj_ + Unit _j_ × ( _dn_ - _Loj_ )) (4) Note that the tank-cost term is nonlinear since it contains a product of two variables _enj_ and _dn_ . But this term is linearizable since _enj_ is a binary variable. The term _znj_ is introduced to represent _enj_ × _dn_ and the following constraints are added: Lo _j_ × _enj_ ≤ _znj_ ≤ Up _j_ × _enj_ _di_ = _j_ ∈DO _j_ _sij_ × Demand _j_ (11) NN _n_ =1 NN _n_ =1 _enj_ = 1 _znj_ = _dn._ (5) For a node _e_, its incoming pipe will have primary flow only if the node serves itself. _fi_ = _see_ (12) If _sij_ is 1 then by definition, node _i_ serves node _j_ . Therefore each pipe _k_ in the path from _i_ to _j_ belongs to a secondary network, i.e. _fk_ = 0. _sij_ = 1 = _> fk_ = 0 ∀ _k_ : _k_ is a pipe in the path between _i_ and _j_ (13) 3.3 Head-loss constraints Next, the head loss is computed for each pipe. Note that head loss for the same pipe will be different depending on whether it is part of the primary network or secondary network. The additional flow depends on the number of supply hours in the two types of networks. _f l_ secondary = _f l_ primary × SecondaryFlowFactor 3.2 Tank constraints The first tank constraint is to ensure that every tank height is bounded. _T H_ min ≤ _thn_ ≤ _T H_ max (6) Next, the head constraint at each node is modified to include the tank height term _Pn_ ≤ _hn_ - _thn_ - _En._ (7) Next, are the constraints that deal with allocation of demand nodes to tanks. If a node _i_ does not serve its own demand, i.e. it is part of a secondary network, then all its downstream nodes will also be part of a secondary network. _sii_ = 0 = _> sjj_ = 0 _,_ ∀ _j_ downstream of _i_ (8) If a node _i_ does not serve its own demand, then it cannot serve the demand of its downstream nodes. _sii_ = 0 = _> sij_ = 0 _,_ ∀ _j_ downstream of _i_ (9) For every node _j_, only one upstream node _i_ (UP _j_ - set of all upstream nodes for node _j_ ) can serve its demand. (14) (15) where SecondaryFlowFactor = SupplyHoursprimary SupplyHourssecondary _HLij_ = _HL_ primary_ _ij_ × _fi_ + _HL_ secondary _ij_ × (1 − _fi_ ) 1 _._ 852 where _HL_ primary_ _ij_ = 10 _._ 68 × <sup>_<u>f l</u>_</sup> <sup><u>primary_</u></sup> <sup>_<u>i</u>_</sup> _rj_ _dj_ <sup>4</sup> <sup>_._</sup> <sup>87</sup> 1 _._ 852 _i_ ∈UP _j_ _sij_ = 1 (10) _HL_ secondary_ _ij_ = 10 _._ 68 × <sup>_<u>f l</u>_</sup> <sup><u>secondary_</u></sup> <sup>_<u>i</u>_</sup> _rj_ _dj_ <sup>4</sup> <sup>_._</sup> <sup>87</sup> Drink Water Eng Sci 10 39–44 2017 www drink-water-eng-sci net/10/39/2017/ N. Hooda and O. Damani: Inclusion of tank configurations as a variable 43 Table 2. Cost of different tank configurations. Configuration No. of tanks Tank cost Piping cost Total cost (10 <sup>3</sup> Rs) (10 <sup>3</sup> Rs) (10 <sup>3</sup> Rs) Single tank 1 3703 20 214 23 917 Tank at every node 6 7644 14 642 22 286 Optimal 3 5694 16 041 21 735 Figure 2. Sample network marked in JalTantra. linearize these constraints. The linearization is omitted here for brevity. 3.4 Results for the sample network Capital cost for the sample network shown in Fig. 2 was optimized using the extended model. In Table 2, apart from the optimal configuration, the cost breakup of the two extreme configurations, namely a single tank and tanks at each demand point, are also presented. The results are in line with expectations. The single tank configuration has the minimum tank cost and the tank at every node configuration has the minimum piping cost. The overall optimal configuration, however, has both tank and piping cost in the middle but an overall lower cost. 4 JalTantra system The initial model used for the JalTantra system was the one laid out in Hooda and Damani (2016). It has now been extended with the tank configuration as described in the previous section. The implementation of the model includes variables and constraints dealing with parallel pipes, user-defined _hei_ = NP _j_ =1 _HLij_ _lij_ (16) Before the introduction of tanks, the “source” node provided head to the entire network. Therefore the head at each node was computed as the head provided by the source minus the sum of all head losses along the path from the source to the node. But now each tank serves the roll of the source to the secondary network it is responsible for. The source remains responsible for the primary network. Therefore for each pipe _i_ with a start node _s_ and end node _e_, the following applies: _he_ = _h_ <sup>′</sup> _si_ - _hei,_ (17) _h_ <sup>′</sup> _si_ = ( _esrs_ + _Es_ ) × _ksi_ + _hs_ × (1 − _ksi_ ) _,_ (18) _ksi_ = _sss_ × (1 − _fi_ ) _,_ (19) where _ksi_ represents whether the secondary source of pipe _i_ is its start node _s_ . It is 1 only if node _s_ serves itself and if the flow in pipe _i_ is secondary. If _ksi_ is 1 then the effective head served by node _s_ is the sum of its elevation and the tank height. Otherwise it is simply the head provided by the upstream source. Here, note that again we have product of variables. As before, since one of the terms is binary we can www drink-water-eng-sci net/10/39/2017/ Drink Water Eng Sci 10 39–44 2017 44 N. Hooda and O. Damani: Inclusion of tank configurations as a variable pipe diameters and tank locations, etc. For brevity’s sake their details have been omitted from this paper. The implementation is done using Java 7 and GLPK (GNU Linear Programming Kit) 4.55 Linear Program Solver. Java ILP 1.2a is used as the Java interface to the GLPK library. It also uses Google Maps API (2016) for GIS (geographic information system) functionality which allows the user to easily mark the network details as well as extract information such as node elevation and pipe lengths. A sample use case is shown in Fig. 2. The system is freely available at [http:](http://www.cse.iitb.ac.in/jaltantra) [//www.cse.iitb.ac.in/jaltantra .](http://www.cse.iitb.ac.in/jaltantra) 5 Conclusions and future work The general cost optimization model of gravity-fed branched piped-water networks was extended by including tank configuration. The tank cost is added to the objective function along with several constraints to simultaneously capture both the primary and secondary networks created as a result of the introduction of tanks. Since we created an ILP to capture the problem, we solve the problem optimally. We have incorporated our extended solution in an update of the water network design system JalTantra, available publicly at [http://www.cse.iitb.ac.in/jaltantra .](http://www.cse.iitb.ac.in/jaltantra) Future work would lie in incorporating more pipe-waternetwork design components such as valves and pumps. So far only a one-time capital cost of the network has been considered. The addition of pumps will bring in the aspect of operational cost as well, which will have to be incorporated into the objective cost. Data availability. The network information can be accessed at [https://www.cse.iitb.ac.in/~nikhilh/Sample_Files/Sample_ESR.](https://www.cse.iitb.ac.in/~nikhilh/Sample_Files/Sample_ESR.xml) [xml.](https://www.cse.iitb.ac.in/~nikhilh/Sample_Files/Sample_ESR.xml) Competing interests. The authors declare that they have no conflict of interest. Acknowledgements. The development of JalTantra would not have been possible without the help of several government engineers. We would particularly like to thank S. S. Gawankar and Mahesh Patil from the Maharashtra Jeevan Pradhikaran (MJP). They helped us understand the ins and outs of designing a real-world rural drinking-water supply scheme. This helped us design JalTantra, keeping in mind the needs of the designer of such schemes. We would also like to thank the Centre for Technological Alternatives for Rural Areas (CTARA), IIT Bombay and Technology Development Solution Cell (TDSC), IIT Bombay for their constant guidance and feedback. In particular, we would like to thank Raj Desai for being the ever-present and helpful link between the theoretical and the practical. Edited by: E. Abraham Reviewed by: two anonymous referees References Alperovits, E. and Shamir, U.: Design of optimal water distribution systems, Water Resour. Res., 13, 885–900, 1977. Bragalli, C., D’Ambrosio, C., Lee, J., Lodi, A., and Toth, P.: On the optimal design of water distribution networks: a practical MINLP approach, Optim. Eng., 13, 219–246, 2012. GLPK: GNU Linear Programming Kit [https://www.gnu.org/](https://www.gnu.org/software/glpk/) [software/glpk/ (last access: 1 May 2016), 2017.](https://www.gnu.org/software/glpk/) Google Maps API Reference: Google Maps JavaScript API V3 Reference, [https://developers.google.com/maps/documentation/](https://developers.google.com/maps/documentation/javascript/reference) [javascript/reference, last access: 1 May 2016.](https://developers.google.com/maps/documentation/javascript/reference) Hooda, N., and Damani, O.: A System for Optimal Design of Pres sure Constrained Branched Piped Water Networks, 18th Conference on Water Distribution System Analysis, WDSA, 2016. [Java 7: https://java.com/en/download/index.jsp (1 September 2014),](https://java.com/en/download/index.jsp) 2017. Java ILP: Java interface to ILP solvers, [http://javailp.sourceforge.](http://javailp.sourceforge.net/) [net/ (1 May 2016), 2017.](http://javailp.sourceforge.net/) Samani, H. M. V. and Mottaghi, A.: Optimization of water distri bution networks using integer linear programming, J. Hydraul. Eng.-ASCE, 132, 501–509, 2006. Savic, D. A. and Walters, G. A.: Genetic algorithms for least cost design of water distribution networks, J. Water Res. Pl.ASCE, 123, 67–77, 1997. Drink Water Eng Sci 10 39–44 2017 www drink-water-eng-sci net/10/39/2017/

섹션 본문 54문단 · 16,480자

(제목 없음)

1The classic problem of the capital cost optimization of branched piped networks consists of choosing pipe diameters for each pipe in the network from a discrete set of commercially available pipe diameters.Each pipe in the network can consist of multiple segments of differing diameters.Water networks also consist of intermediate tanks that act as buffers between incoming flow from the primary source and the outgoing flow to the demand nodes.The network from the primary source to the tanks is called the primary network, and the network from the tanks to the demand nodes is called the secondary network.During the design stage, the primary and secondary networks are optimized separately, with the tanks acting as demand nodes for the primary network.Typically the choice of tank locations, their elevations, and the set of demand nodes to be served by different tanks is manually made in an ad hoc fashion before any optimization is done.It is desirable therefore to include this tank configuration choice in the cost optimization process itself.In this work, we explain why the choice of tank configuration is important to the design of a network and describe an integer linear program model that integrates the tank configuration to the standard pipe diameter selection problem.In order to aid the designers of piped-water networks, the improved cost optimization formulation is incorporated into our existing network design system called JalTantra.

Introduction

2The total capital cost of a water distribution network consists of several components such as pipes, tanks, and water treatment plants.Various cost optimization models have been proposed over the past few decades using various techniques such as linear programming (Alperovits and Shamir, 1977;Samani and Mottaghi, 2006), nonlinear programming (Bragalli et al., 2008), and genetic algorithms (Savic and Walters, 1997).In Hooda and Damani (2016) we presented a linear program formulation for the pipe cost optimization of gravity-fed branched piped-water networks that was optimal and fast.The solution was implemented in a water network design system called JalTantra.In this work, the scope of optimization is extended by also making the tank configuration a variable in the model.Thus our optimization metric changes from the pipe cost alone to the combined cost of pipes and tanks.This extension is also incorporated in JalTantra.Note that the networks considered are gravity-fed branched networks, as is typical in rural parts of developing countries.Heuristic or approximate techniques are usually employed for more complex networks, since the search space for the possible solutions is very large and the equations involved are non-convex.Since we restrict ourselves to gravity-fed branched networks, we effectively solve the problem using an integer linear program (ILP) model.

The tank configuration problem

3The tank configuration problem is to do with the determination of the tank locations, heights, and capacities, as well as the downstream demand nodes that each tank will service.Introduction of tanks divides the network into a primary network and secondary networks.A primary network distributes the water from the source to the tanks.Each tank then distributes water to the demand nodes for which it is responsible.In developing countries where most of the rural population gets insufficient water per capita (as little as 40 L

4Published by Copernicus Publications on behalf of the Delft University of Technology.per person per day), in the absence of tanks, households at tail end of the network will not get even this meagre amount when those near the head of the network keep their taps open.Tanks thus help in providing a more equitable distribution of the limited supply of water.Typically this choice of tank configuration is made in an ad hoc manner, dependent on the intuition and experience of the designer.In the present work, this choice is integrated in our capital cost optimization formulation, which is implemented in the water network design software JalTantra.

5Tank allocation in a network can be done in several ways.The choice can be a tank for each demand node or a single tank for the entire network or any other configuration in between these two extremes.This allocation then determines the tank capacity. Figure 1 depicts the two extreme configurations as well as the "optimal" one for a sample network with 6 demand nodes.Note how the choice affects the primary and secondary networks.

The two sources of capital cost considered: pipes and tanks

6Individual nodes in the network have water demands and minimum pressure requirements.Diameters have to be selected for the pipes connecting the nodes, such that these requirements are met.The lower the diameter, the lower is the cost of the pipes, but the higher the friction losses (usually referred to as head loss).If there is too much head loss in the pipes, it may lead to insufficient pressures at the demand nodes.Therefore the goal is to reduce pipe cost under the constraint of minimum pressure requirements at the demand nodes.The choice of diameter is to be made from a discrete set of commercial pipe diameters that are available.

7The capital cost for tanks depends on the size of the tanks to be built.However, note that the cost of a tank rises sublinearly, i.e. doubling the tank capacity changes the cost to less than double the original cost.

The push and pull of pipes and tanks on the total capital cost

8The distribution of head loss in the network dictates whether the node pressure requirements are being satisfied or not.Head loss in a pipe depends on the length and diameter of the pipe used, as well as the flow through the pipe.For the branched networks, the flow in a pipe depends on whether the pipe is part of a primary network or a secondary network, which in turn depends on the choice of tank configurations.Typically the primary network runs for the entire day whereas secondary networks are scheduled to run for a few hours every day in order to manage the distribution of water.Thus flow rate in a secondary network is higher than that in a primary network.Therefore, for the same head loss across a pipe, higher diameters are required in the case of a secondary network.This means that the total pipe cost is minimized when the entire network is a primary network, that is, there is a tank installed at each demand node, and there are no secondary networks (as is the case in the second configuration shown in Fig. 1).The total tank capacity required for the network is the same regardless of the tank configuration, that is, the number, locations, and the allocation of demand nodes to the tanks.The cost for various configurations, however, would be different, since, as mentioned earlier, individual tank cost rises sublinearly with its capacity.Therefore the total tank cost is minimized when a single tank serves the entire network (as is the case in the first configuration shown in Fig. 1).

9Drink.Water Eng.Sci., 10, 39-44, 2017

10www.drink-water-eng-sci.net/10/39/2017/ For the "tank at each demand node" configuration, the pipe cost is minimum but the tank cost is maximum compared to any alternative configuration.In the case of a single tank, the tank cost is minimum but the pipe cost is maximum.The optimum-cost tank configuration therefore depends on the network topology and can lie anywhere between these two extremes.For example in the sample network shown in Fig. 1, the capital cost is minimized if three tanks are built.

11In summary, the choice of tank configuration, i.e. the location, height and capacity of the tanks, and the set of demand nodes that each tank serves, is a non-trivial decision that has a direct impact on the capital-cost optimization of piped-water networks.

12The rest of the paper is structured as follows.Section 2 describes in brief the problem formulation for the pipe diameter selection only.Section 3 provides details on the extension of the formulation to include tanks.Section 4 is a brief description of the environment used to build the JalTantra system.Conclusions and future work directions are presented in Sect. 5.

The pipe cost optimization problem

13Typical rural networks are branched (acyclic).Since the network is acyclic, flow in each pipe can be computed easily from the node demands.For such a system, the following optimization problem was solved in Hooda and Damani (2016):

14input: source node (head), nodes (elevation, water demand, minimum pressure requirement), pipe (start/end node, length), Commercial pipe diameter (cost per unit length, roughness);

15output: length and diameter of segments for each pipe;

16objective: minimize total pipe cost;

17constraints:

18pressure at each node must exceed minimum pressure specified water demand must be met at each node pipe diameters can only take values from provided commercial pipe diameters.

The objective function

19The objective function (O) to be minimized is the total cost of the pipe diameters (NP -available pipe diameters) chosen for the pipes (NL -total pipes) in the network.The diameters D ij can only be chosen from the set of available commercial pipe diameters.This restriction is represented via continuous variables l ij which represents the length of the j th pipe diameter in the ith pipe.The objective function therefore is:

20(1)

Pipe constraint

21For each pipe the sum of the lengths of the various pipe diameters must equal the total pipe length L i :

22(2)

Node constraint

23At each node n, a minimum amount of pressure P n needs to be maintained.The pressure at any node is calculated from subtracting the elevation of the node E n and the head loss in the pipes connecting the node to the reference node (S n ), i.e. the source for the network from the head provided by the reference node H R .The Hazen-Williams formula is used for head loss.Here f l i is the flow in link i and r j and d j are the roughness and diameter of j th pipe diameter, respectively.Therefore the pressure constraint for each node n is as follows:

24(3)

Extension of the formulation to include tank configuration

25In order to include tank configuration as a variable in the model, tank cost is now included in the cost optimization.Tank cost is a piecewise linear function that is implemented using a lookup table .A binary variable e ij is introduced to represent the choice of row j of the cost table for each tank i.Several constraints are introduced to include tanks as well as to capture the simultaneous modelling of both the primary and secondary networks.Note that these constraints are in addition to the already described constraints of our previous model.

Objective cost

26The additional objective cost term is the tank cost at each node (NN -total number of nodes).For each tank, cost is computed using each row of the tank cost table (NE -total number of rows in cost table).Here B j is the base cost, Unit j is the unit cost, Lo j is the lower capacity, and Up j is the upper capacity of row j in the tank cost table.Only one of the rows is then chosen for actual cost contribution using the binary variable e ij .

27www.drink-water-eng-sci.net/10/39/2017/ Drink.Water Eng.Sci., 10, 39-44, 2017

28Note that the tank-cost term is nonlinear since it contains a product of two variables e nj and d n .But this term is linearizable since e nj is a binary variable.The term z nj is introduced to represent e nj × d n and the following constraints are added:

29(5)

Tank constraints

30The first tank constraint is to ensure that every tank height is bounded.

31Next, the head constraint at each node is modified to include the tank height term

32Next, are the constraints that deal with allocation of demand nodes to tanks.

33If a node i does not serve its own demand, i.e. it is part of a secondary network, then all its downstream nodes will also be part of a secondary network.

34If a node i does not serve its own demand, then it cannot serve the demand of its downstream nodes.

35For every node j , only one upstream node i (UP j -set of all upstream nodes for node j ) can serve its demand.

36The total demand d i served by node i (DO j -set of all downstream nodes for node j ) is the sum of the demands of the downstream nodes that it serves.

37For a node e, its incoming pipe will have primary flow only if the node serves itself.

38If s ij is 1 then by definition, node i serves node j .Therefore each pipe k in the path from i to j belongs to a secondary network, i.e. f k = 0.

39∀k : k is a pipe in the path between i and j (13)

Head-loss constraints

40Next, the head loss is computed for each pipe.Note that head loss for the same pipe will be different depending on whether it is part of the primary network or secondary network.The additional flow depends on the number of supply hours in the two types of networks.

41f l secondary = f l primary × SecondaryFlowFactor where SecondaryFlowFactor = SupplyHours primary SupplyHours secondary ( 14)

42where

43Before the introduction of tanks, the "source" node provided head to the entire network.Therefore the head at each node was computed as the head provided by the source minus the sum of all head losses along the path from the source to the node.But now each tank serves the roll of the source to the secondary network it is responsible for.The source remains responsible for the primary network.Therefore for each pipe i with a start node s and end node e, the following applies:

44where k si represents whether the secondary source of pipe i is its start node s.It is 1 only if node s serves itself and if the flow in pipe i is secondary.If k si is 1 then the effective head served by node s is the sum of its elevation and the tank height.Otherwise it is simply the head provided by the upstream source.Here, note that again we have product of variables.As before, since one of the terms is binary we can linearize these constraints.The linearization is omitted here for brevity.

Results for the sample network

45Capital cost for the sample network shown in Fig. 2 was optimized using the extended model.In Table 2, apart from the optimal configuration, the cost breakup of the two extreme configurations, namely a single tank and tanks at each demand point, are also presented.The results are in line with expectations.The single tank configuration has the minimum tank cost and the tank at every node configuration has the minimum piping cost.The overall optimal configuration, however, has both tank and piping cost in the middle but an overall lower cost.

JalTantra system

46The initial model used for the JalTantra system was the one laid out in Hooda and Damani (2016).It has now been extended with the tank configuration as described in the previous section.The implementation of the model includes variables and constraints dealing with parallel pipes, user-defined www.drink-water-eng-sci.net/10/39/2017/ Drink.Water Eng.Sci., 10, 39-44, 2017

47pipe diameters and tank locations, etc.For brevity's sake their details have been omitted from this paper.The implementation is done using Java 7 and GLPK (GNU Linear Programming Kit) 4.55 Linear Program Solver.Java ILP 1.2a is used as the Java interface to the GLPK library.It also uses Google Maps API (2016) for GIS (geographic information system) functionality which allows the user to easily mark the network details as well as extract information such as node elevation and pipe lengths.A sample use case is shown in Fig. 2. The system is freely available at http: //www.cse.iitb.ac.in/jaltantra .

Conclusions and future work

48The general cost optimization model of gravity-fed branched piped-water networks was extended by including tank configuration.The tank cost is added to the objective function along with several constraints to simultaneously capture both the primary and secondary networks created as a result of the introduction of tanks.Since we created an ILP to capture the problem, we solve the problem optimally.We have incorporated our extended solution in an update of the water network design system JalTantra, available publicly at http://www.cse.iitb.ac.in/jaltantra .

49Future work would lie in incorporating more pipe-waternetwork design components such as valves and pumps.So far only a one-time capital cost of the network has been considered.The addition of pumps will bring in the aspect of operational cost as well, which will have to be incorporated into the objective cost.

50Data availability.The network information can be accessed at https://www.cse.iitb.ac.in/~nikhilh/Sample_Files/Sample_ESR.xml.

51Competing interests.The authors declare that they have no conflict of interest.

Figure 1 .

52Figure 1.Alternate tank configurations for a sample network.

Table 1 .

53Several variables are added to the model to capture the choice of tank configuration. is the source for secondary link i s ij 1 if the tank at ith node serves the j th node e nj 1 if the cost of tank at nth node is calculated by the j th row in the tank table

Table 2 .

54Cost of different tank configurations.Sample network marked in JalTantra.

참고문헌 5건

  1. Genetic Algorithms for Least-Cost Design of Water Distribution Networks Journal of Water Resources Planning and Management · American Society of Civil Engineers · 1997 10.1061/(asce)0733-9496(1997)123:2(67)
  2. Optimization of Water Distribution Networks Using Integer Linear Programming Journal of Hydraulic Engineering · American Society of Civil Engineers · 2006 10.1061/(asce)0733-9429(2006)132:5(501)
  3. Design of optimal water distribution systems Water Resources Research · Wiley · 1977 10.1029/wr013i006p00885
  4. On the optimal design of water distribution networks: a practical MINLP approach Optimization and Engineering · Springer Science+Business Media · 2011 10.1007/s11081-011-9141-7
  5. A System for Optimal Design of Pressure Constrained Branched Piped Water Networks Procedia Engineering · Elsevier BV · 2017 10.1016/j.proeng.2017.03.211