Next Article in Journal
AI-Assisted Pump Operation for Energy-Efficient Water Distribution Systems
Previous Article in Journal
Station Passenger Barrier Systems and Their Impact on Metro Transport Services
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

An Analytical Solution for the Hydraulics of Looped Pipe Networks †

1
Faculty of Civil Engineering and Architecture, Shahid Chamran University of Ahvaz, Ahvaz 61357-83151, Iran
2
Department of Urban Water Management, RPTU in Kaiserslautern, Paul-Ehrlich-Straße 14, D-67663 Kaiserslautern, Germany
3
Sustainable Water Infrastructure Solutions (SWIS) GmbH, 67663 Kaiserslautern, Germany
4
Dipartimento di Ingegneria Civile e Architettura, Università degli Studi di Pavia, Via Ferrata 3, 27100 Pavia, Italy
*
Author to whom correspondence should be addressed.
Presented at the 3rd International Joint Conference on Water Distribution Systems Analysis & Computing and Control for the Water Industry (WDSA/CCWI 2024), Ferrara, Italy, 1–4 July 2024.
Eng. Proc. 2024, 69(1), 4; https://doi.org/10.3390/engproc2024069004
Published: 28 August 2024

Abstract

:
This study introduces an analytical solution for the hydraulic analysis of looped water distribution networks (WDNs). Conventional approaches to solving ∆Q equations for looped water discharge correction entail iterative hydraulic analysis to compute the system pipe flows, velocities, and nodal pressures. In contrast, using the proposed analytical approach, the ∆Q equation is solved with the exact flow directions determined, consolidating known flow directions into a single unknown variable (∆Q) for each loop. Comparative analyses prove that this approach can precisely compute the hydraulic properties of WDNs. Finally, a Z-test hypothesis test is applied to assess the efficacy of the modified shortest-path algorithm. The results show that this algorithm attains an average accuracy of 90% in predicting exact flow directions, with a confidence level of 99%.

1. Introduction

Fast and accurate water distribution network (WDN) hydraulic analysis is essential for the system’s planning, management, and operation. Depending on the type of unknown parameters selected in a pair of energy and continuity equations, four WDN governing equations can be developed [1]. The governing equations are nonlinear and implicit, requiring numerical and iterative methods, as introduced by Hardy Cross, a pioneering researcher, in 1936 [2]. Since then, numerous scientists have contributed to developing further methods [3,4,5,6]. WDNs can be represented as undirected, unweighted graphs, allowing for graph-based algorithms [7]. One commonly used graph-based method in the analysis of WDNs is the shortest-path algorithm [8,9,10].
In contrast to previous studies, this paper presents an analytical method using the shortest-path concept. This study introduces a novel shortest-path algorithm for identifying critical flow paths in the first step. The discovered shortest paths are then utilized as prior knowledge to solve the governing equations of WDNs analytically.

2. Materials and Methods

2.1. Modified Shortest-Path Algorithm

The shortest-path algorithm is a graph-based algorithm with different applications in WDNs. This algorithm detects the path that has the least cost ( C s t ) from a source node (s) to a target node (t). The traditional approach considers the length of each link as its weight. In this work, we consider other geometric/hydraulic properties, like nodal demands and pipe friction coefficients, to increase the accuracy of the approach. To this end, the weight of each link is calculated as follows:
C i j = R p i j k = j t d k 2
where R p i j and d k are the resistance coefficient of the pipe connected to nodes i and j and the nodal demand, respectively.

2.2. Analytical Method

The WDN governing equations consist of the continuity equation in each node and the energy equation in each closed loop. Equations (2) and (3) present the continuity and energy equations, respectively:
Q P i + q N j = 0
P i l o o p ( j ) R P i Q P i n = 0
where Q P i and R P i are the discharge and resistance of pipe P i connected to node N j , and q N j is the withdrawal from node N j . R P i and n in Equation (3) are defined as follows:
R P i = 8 f P i L P i g π 2 D P i 5   ,   n = 2
where L P i and D P i are the length and diameter of pipe P i , respectively, and f P i is the Darcy–Weisbach coefficient.
In the flow loop method (known as the Q method), the initial discharges are assumed to satisfy the continuity equation and then inputted into the energy equation. The energy equation for each loop can be rewritten as follows:
P j l o o p ( i ) x P i R P i x P i Q P i + P j l o o p ( i ) Q l o o p ( i ) 2 = 0
where Q l o o p ( i ) is the corrective discharge of l o o p i , and x P i is the flow direction in pipe P i . As indicated in Equation (5), the number of unknowns equals the number of pipes (directions) in the loop plus one (corrective discharge). Employing the modified shortest-path algorithm reduces the number of unknowns to just one, which is the corrective discharge. Also, the output discharges of the modified shortest-path algorithm are taken as the initial assumptions for discharges. By solving Equation (5) for one loop at a time, two solutions are obtained, with only one being physically feasible since the other clashes against the initial flow directions, which are assumed to be exact.

3. Results and Discussion

3.1. Single-Looped WDNs

The pre-processing step involves detecting the flow directions in pipes before solving the WDN analytically. To this end, the modified shortest-path algorithm is employed to discover the flow directions in 500 single-looped WDNs with different geometric/hydraulic properties. The modified shortest-path algorithm correctly detected all flow directions. Subsequently, the obtained flow directions are incorporated as prior knowledge into the governing equation for the analytical solution. The discharge and head in all pipes and nodes are obtained by solving the equation analytically. Figure 1 compares the results of the analytical and numerical methods. The discharge in secondary pipes and the average head on both sides of secondary pipes in both methods are compared. As seen in Figure 1, the coefficient of determination is 1, indicating that the analytical method accurately determines the discharge and head.

3.2. Benchmark WDNs

The number of secondary pipes in a WDN reflects its complexity. The following complexity criterion ( f s ) represents the complexity of a WDN by counting the number of secondary pipes:
f s = 1 1 N l N n + 1
where N l and N n are the number of pipes and nodes in a WDN, respectively. Using the above criterion, which ranges from 0 to 1, the complexity of a WDN can be determined. Table 1 presents the properties of three benchmark WDNs. From this table, it can be noticed that the complexity criterion ( f s ) of the Alperovits WDN is 0.5, which is less complexity in comparison to the other WDNs, while the Fossolo WDN has the highest complexity ( f s = 0.95).
The modified shortest-path algorithm was applied to the three above WDNs. The last column of Table 1 presents the accuracy percentage of flow direction detection. The flow directions of the first two WDNs, Alperovits and Hanoi, were detected correctly. However, for the Fossolo WDN, due to its complexity, only 88% of the flow directions were obtained correctly. This finding indicates that as the number of secondary pipes increases, the algorithm efficiency decreases. It is worth mentioning that the analytical method can only be executed if all directions are discovered correctly. Therefore, the analytical method was utilized for the first two WDNs. By incorporating the exact flow direction into the governing equation, the precise analytical solutions (discharge and head) were obtained, R 2 = 1 , for Alprovits and Hanoi.

3.3. Randomly Generated WDNs

For further evaluation of the modified shortest path algorithm, 1000 WDNs were randomly generated with different geometric/hydraulic properties. The proposed algorithm was applied to all WDNs, and the outputs are compiled in Table 2, in which the WDNs are categorized according to their complexity criterion ( f s ). The third column of this table ( N n e t w o r k ) represents the number of WDNs in each category.
It is found that increasing the complexity of the WDN reduces the algorithm’s accuracy. Furthermore, flow directions are identified only in the first two categories with 100% accuracy for some WDNs. The z-test is employed for each category to verify the results and expand the outcome to a population. The confidence level is set at 99%. The z-test indicates that the algorithm can determine the flow direction in each group based on the average accuracy presented in the fourth column of Table 2 with a 99% confidence level.

4. Conclusions

This research proposed an analytical method to solve WDN hydraulics. The initial step involves determining the exact flow directions using a modified shortest-path algorithm. The next step involves solving the governing equation analytically. The efficiency of the analytical method and the modified shortest path algorithm were validated using three WDN categories: single-looped, literature benchmark, and randomly generated WDNs. The results indicate that if the first step is taken successfully, the analytical method can predict the head and discharge exactly like the numerical method. The effects of the growing WDN complexity will be further investigated in future works.

Author Contributions

Conceptualization, M.M.R. and A.H.; methodology, M.M.R. and A.H.; validation, M.M.R.; investigation, M.M.R., A.E.B. and A.H.; resources, M.M.R., C.G. and E.C.; writing—original draft preparation, M.M.R., A.E.B. and C.G.; writing—review and editing, C.G., U.D., A.H. and E.C.; visualization, M.M.R.; supervision, U.D., A.H. and E.C.; project administration, A.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data supporting this study’s findings are available from the corresponding author upon reasonable request.

Conflicts of Interest

Amin E. Bakhshipour, Ulrich Dittmer, and Ali Haghighi were employed by the company Sustainable Water Infrastructure Solutions (SWIS) GmbH. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Todini, E.; Rossman, L.A. Unified framework for deriving simultaneous equation algorithms for water distribution networks. J. Hydraul. Eng. 2013, 139, 511–526. [Google Scholar] [CrossRef]
  2. Cross, H. Analysis of Flow in Networks of Conduits or Conductors; Engineering Experiment Station. Bulletin No. 286; University of Illinois: Champaign, IL, USA, 1936. [Google Scholar]
  3. Zhang, H.; Cheng, X.; Huang, T.; Cong, H.; Xu, J. Hydraulic analysis of water distribution systems based on fixed point iteration method. Water Resour. Manag. 2017, 31, 1605–1618. [Google Scholar] [CrossRef]
  4. Bazrafshan, M.; Gatsis, N.; Giacomoni, M.; Taha, A. A fixed-point iteration for steady-state analysis of water distribution networks. In Proceedings of the 2018 IEEE Global Conference on Signal and Information Processing (GlobalSIP), Anaheim, CA, USA, 26–29 November 2018. [Google Scholar]
  5. Wang, S.; Taha, A.F.; Sela, L.; Giacomoni, M.H.; Gatsis, N. A New Derivative-Free Linear Approximation for Solving the Network Water Flow Problem With Convergence Guarantees. Water Resour. Res. 2020, 56, e2019WR025694. [Google Scholar] [CrossRef]
  6. Vasilic, Z.; Stanic, M.; Kapelan, Z.; Ivetic, D.; Prodanovic, D. Improved loop-flow method for hydraulic analysis of water distribution systems. J. Water Resour. Plan. Manag. 2018, 144, 04018012. [Google Scholar] [CrossRef]
  7. Giudicianni, C.; Herrera, M.; Di Nardo, A.; Greco, R.; Creaco, E.; Scala, A. Topological placement of quality sensors in water-distribution networks without the recourse to hydraulic modeling. J. Water Resour. Plan. Manag. 2020, 146, 04020030. [Google Scholar] [CrossRef]
  8. Kadu, M.S.; Gupta, R.; Bhave, P.R. Optimal design of water networks using a modified genetic algorithm with reduction in search space. J. Water Resour. Plan. Manag. 2008, 134, 147–160. [Google Scholar] [CrossRef]
  9. Riyahi, M.M.; Bakhshipour, A.E.; Haghighi, A. Probabilistic warm solutions-based multi-objective optimization algorithm, application in optimal design of water distribution networks. Sustain. Cities Soc. 2023, 91, 104424. [Google Scholar] [CrossRef]
  10. Giudicianni, C.; Herrera, M.; Di Nardo, A.; Oliva, G.; Scala, A. The faster the better: On the shortest paths role for near real-time decision making of water utilities. Reliab. Eng. Syst. Saf. 2021, 212, 107589. [Google Scholar] [CrossRef]
Figure 1. Comparison between analytical and numerical outputs: (a) head and (b) discharge.
Figure 1. Comparison between analytical and numerical outputs: (a) head and (b) discharge.
Engproc 69 00004 g001
Table 1. Properties and flow direction accuracy of benchmark WDNs.
Table 1. Properties and flow direction accuracy of benchmark WDNs.
WDNs N n N l f s Accuracy of Directions (%)
Alprovits780.5100
Hanoi32340.67100
Fossolo37580.9588.0
Table 2. Flow direction detection results for randomly generated WDNs.
Table 2. Flow direction detection results for randomly generated WDNs.
GroupfsNnetworkAverage Accuracy of Directions (%)Range of Direction Accuracy (%)
10.50–0.9022594.4078.8–100
20.91–0.9522190.6080.8–100
30.95–0.9718988.4180.0–95.9
40.97–0.9816487.0477.6–96.1
50.97–0.9814885.6775.4–93.5
60.980–0.9835384.8578.0–88.6
Summary0.50–0.983100089.4275.40–100
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Riyahi, M.M.; Bakhshipour, A.E.; Giudicianni, C.; Dittmer, U.; Haghighi, A.; Creaco, E. An Analytical Solution for the Hydraulics of Looped Pipe Networks. Eng. Proc. 2024, 69, 4. https://doi.org/10.3390/engproc2024069004

AMA Style

Riyahi MM, Bakhshipour AE, Giudicianni C, Dittmer U, Haghighi A, Creaco E. An Analytical Solution for the Hydraulics of Looped Pipe Networks. Engineering Proceedings. 2024; 69(1):4. https://doi.org/10.3390/engproc2024069004

Chicago/Turabian Style

Riyahi, Mohammad Mehdi, Amin E. Bakhshipour, Carlo Giudicianni, Ulrich Dittmer, Ali Haghighi, and Enrico Creaco. 2024. "An Analytical Solution for the Hydraulics of Looped Pipe Networks" Engineering Proceedings 69, no. 1: 4. https://doi.org/10.3390/engproc2024069004

Article Metrics

Back to TopTop