1. Introduction
In recent years, China has made significant progress in addressing the supply–demand contradiction of water resources. For example, in long- and medium-distance pressurized water pipeline projects, the relatively low requirements of geological conditions and the external environment for pressurized water pipelines have led to their widespread application in practical engineering [
1]. However, when a pump station or hydropower station in a water conveyance system unexpectedly experiences a load drop due to failure, the energy within the pipeline system can cause oscillations in the form of water hammer waves after the valves are closed [
2,
3,
4]. The increase in pressure can result in pipe bursts. Moreover, the transient flow associated with the water hammer can create negative pressure within the pipeline, thereby jeopardizing the safe operation of the hydropower station. Therefore, the calculation and protection against water hammers in pipeline systems are common and critical aspects of water diversion engineering [
5,
6,
7,
8,
9].
With the continuous expansion of hydraulic engineering projects, the water hammer effect and its associated transient pressure issues in pipelines have gradually become an active area of research. In recent years, several studies have been conducted domestically and internationally in areas such as fluid forces, hydraulic circuit design, and water hammer protection [
10,
11,
12,
13]. For instance, Moreno et al. [
14] employed configurable hydraulic circuits to comprehensively measure flow and pressure under conditions of fixed and variable delivery heads, providing valuable experimental data for subsequent studies. However, this study lacked an in-depth exploration of the mechanisms underlying water hammer wave propagation. Similarly, Kumar [
15] demonstrated that water hammer pressure transients could cause severe damage to critical components of RCS supply pipelines, such as pressure sensors, and highlighted the potential risks and hazards of this phenomenon to water supply systems. Nevertheless, the study fell short in its computational analysis of the water hammer phenomena in multibranch pipelines. Wan et al. [
16] demonstrated that improving the single and double coefficients in the IAB friction model, along with increasing the rotational inertia and employing reasonable valve operation methods, helps to control transient pressure changes in the fluid. That approach can effectively reduce the severe impact of water hammer waves on valves and manage the water hammer without the need for additional protective devices. However, increasing the rotational inertia necessitates the introduction of more efficient turbines, which can lead to higher economic costs in practical engineering. Therefore, this study primarily focused on researching the effective control of water hammer through appropriate valve closure procedures.
Some scholars [
5,
17,
18,
19,
20,
21] have also investigated the use of guide vane closure to control a water hammer, which is regarded as a mainstream research method. However, in scenarios where hydraulic turbines experience load dumping, the effects of guide vane closure render this method less applicable. Consequently, this study focused on the closure procedure of the worm gear valve at the front end of the turbine to manage water hammer, as this approach is more conducive to addressing various conditions in practical engineering projects. Most research methods that utilize valve control to manage a water hammer involve calculations based on the method of characteristics (MOC), which effectively simulates the propagation process of a water hammer [
22]. This study employed a two-dimensional simulation software to model the water hammer phenomenon at the Longkou Hydropower Station under various load rejection conditions. Additionally, three-dimensional simulations were utilized to perform a detailed analysis of the flow pattern variations within the pipeline. Using two-dimensional vector field plots generated from three-dimensional simulations, this study further investigated the flow characteristics at specific cross sections of critical pipeline nodes.
In addition to two-dimensional water hammer calculations, numerous studies have utilized computational fluid dynamics (CFD) to analyze the water hammer phenomenon. Yan et al. demonstrated the advantages of combining the MOC and CFD for the dynamic analysis of pump station systems. The MOC effectively describes the fluid propagation characteristics within pipelines, whereas CFD can simulate the internal flow and cavitation phenomena within pumps. The integration of these methods allows for a more accurate analysis and prediction of the pump system performance under varying operational conditions [
23]. Similarly, Nikpour et al. described the accuracy and computational efficiency of using CFD for transient flow analysis [
24]. Although CFD provides precise flow predictions, its computational requirements are significant. Therefore, optimizing the computational process and algorithms is critical for engineering applications. This study adopted a combined two- and three-dimensional approach to analyze the water hammer phenomenon at the Xinlongkou Hydropower Station. The aforementioned studies cover analyses of water hammers in long-distance pipelines and localized water hammers under laboratory conditions. However, in practical engineering applications, it is essential to consider factors such as the project characteristics and construction conditions. Therefore, experimental or simulation-based evaluations are necessary to guide engineering construction.
In conclusion, the theoretical analyses and methodologies for local water hammer in pipelines under long-distance and laboratory conditions are well established. However, in practical engineering applications, it is crucial to consider various factors, such as the specific characteristics of the project and construction conditions, and conduct research tailored to the unique features of each case. For example, the Xinlongkou Power Station, which is part of the second-stage hydropower project of the Kuitun River diversion in Xinjiang, presents a pipeline layout with short distances and high drops. Additionally, the flow of the river is primarily sourced from snowmelt, which causes significant fluctuations in flow due to temperature changes. Consequently, turbine operation and shutdowns must be carefully managed to balance power generation with downstream agricultural water use. Therefore, valve closure methods and processes are of considerable importance. Moreover, because the plant design combines both large and small turbines, factors such as spacing, quantity, and diameter of valves play a significant role in influencing the water hammer effect during operation.
Kubrak [
25] developed a valve closure function to investigate the impact of V-shaped notches on valve flow control and water hammer suppression, thereby providing valuable insights into the linear throttling behavior of gate valves during the closing process. Toumi [
26] systematically analyzed the effects of progressive valve closure on water hammer pressure under various pipeline characteristics and operational conditions, offering useful guidance on optimal valve closing strategies. Han [
27] employed CFD methods to examine the variations in water hammer pressure under different closure times and patterns for ball valves, demonstrating the correlation between the closing speed and water hammer intensity, and highlighting that extending the closing time can effectively reduce the maximum water hammer pressure. Kodura [
28] combined physical experiments and computational methods and compared the water hammer processes for different pipe materials and valve types, emphasizing the critical influence of valve closure characteristics on the dynamic water hammer process. That study also pointed out the discrepancies in existing engineering calculations in certain scenarios, echoing the need for improved calculation methods or optimized closure strategies. Xin [
29] proposed a two-stage valve closure strategy, verifying its effectiveness in mitigating the maximum water hammer pressure for micro-hydropower systems, and further discussed the coordination between the closing angles and durations at each stage, providing a significant reference value for enhancing water hammer control.
Currently, a wide variety of water hammer simulation software packages is available. AFT Impulse excels in modeling water hammer and transient flow and is commonly used in complex systems such as nuclear power and petrochemical pipelines. Allevi offers strong computational and visualization capabilities in scenarios involving wave interference, multi-branch networks, and simultaneous valve operation at multiple points. Other software products, such as Flowmaster, WANDA Transient, and TSNet, also demonstrate good modeling and simulation capabilities in specific fields or under particular conditions [
30,
31,
32,
33,
34,
35]. Bentley Hammer was selected for this study because of its proven track record in hydraulic infrastructure projects and its alignment with the engineering constraints of our specific case study. This study employed two-dimensional simulation software to perform numerical modeling and water hammer analysis of the water supply pipeline of the New Longkou Hydropower Station and investigated the effects of valve closing time and closure methods on pipeline water hammer pressure. The study examined water hammer pressure variations at different branch-line valves, identified the optimal valve closure procedures under worst-case conditions, and used CFD simulations to analyze the dynamic behavior of water hammer across varying quantities, diameters, and distances of branch pipes. This research work clarified the impact mechanisms of valve closure procedures on water hammer pressures at both ends of the valve under different branch pipe characteristics, providing technical and theoretical support for similar forkpipe water transfer projects and helping to prevent excessive water hammer that could disrupt the normal operation of a project.
2. Project Overview
This study originated from the construction of the Kuitun River water diversion project, specifically the secondary hydropower station, the Xinlongkou Station. The water source was drawn from the upstream forebay of the station, and the pressure pipeline was designed in a one-pipe, four-machine configuration consisting of open pipe sections, vertical shafts, and branch pipe sections. The pressure water pipe was a single steel pipe, approximately 1450 m long with a diameter of 4.1 m, designed to divert a flow rate of 48.5 m3/s, with an internal flow velocity of 3.83 m/s, a design head of 342.304 m, and the design maximum water hammer pressure for this project is 4.2 MPa. Three branch pipes were arranged at the end of the pipeline, configured in a “T” shape, with branch diameters of 2.2 m (for large units) and 1.4 m (for small units). The branch pipelines were positioned parallel to each other on the same horizontal plane with valves installed at the end of each branch. The lengths of the branch pipelines X2, X1, D2, and D1 were 33.5, 29.5, 25.5, and 21 m, respectively. Reducer pipes were installed along the branches at distances of 18, 14, 10, and 5.5 m from the branch origins. The diameters of branch pipelines X1 and X2 were reduced to 1.1 m, whereas those of branch pipelines D1 and D2 were reduced to 1.9 m. The valve diameters matched those of the pipelines after the reductions. The actual layout of the onsite water diversion pipeline and the proposed model setup are illustrated in
Figure 1, which includes the direction of water flow, upstream and downstream positions, and installation sequence of the various units in the hydropower station.
Based on the actual pipeline layout, the longitudinal section of the pipeline (
Figure 2) illustrates the elevation changes along the pipeline. Combined with
Figure 1, it can be observed that this pipeline was arranged according to the gravitational drop, utilizing the gravitational potential energy to convert it into mechanical energy for electricity generation at the hydropower station.
3. Calculation Model
3.1. Calculation Model and Control Equations
AFT Impulse is widely used for water hammer and transient flow analysis, is suitable for a variety of pumps, valves, and ancillary equipment, and is commonly employed in engineering applications. Allevi, developed by the University of Valencia and other research institutions, has been applied in pipeline wave interference studies and can simulate complex scenarios such as simultaneous multi-valve operations and branched pipeline networks. Flowmaster is a commercial hydraulic simulation software widely used in high-demand industries such as nuclear power and petrochemicals and is capable of analyzing water hammers in large-scale pipeline networks. WANDA Transient is primarily designed for transient flow conditions in pipeline systems, allowing detailed simulations of various components, including valves, pumps, and pressure relief devices. TSNet, an open-source Python package, facilitates integration with other numerical analysis tools and is suitable for studying transient scenarios such as valve closure, pump shutdown, and pipeline leakage [
30,
31,
32,
33,
34,
35]. In this study, we focused on Bentley Hammer, a commercial software based on the MOC, to simulate the transient characteristics of multi-branch pipelines. The Bentley Hammer software is suitable for the design, analysis, and simulation of hydraulic systems across various water engineering fields, such as the design and optimization of water supply, drainage, and irrigation systems. It primarily focuses on water hammer simulations within hydraulic systems, including various hydraulic calculations related to components such as pipelines, pumps, and valves, and analyzes hydraulic shocks or water hammer phenomena within pipeline systems.
Calculating the water hammer pressure primarily involves solving the water hammer motion equations and setting the boundary conditions for the inlet and outlet air valves as follows:
In pressurized pipelines, the equations of motion and continuity of fluids must be adhered to. According to the elastic water hammer theory, the water hammer motion equation is as follows [
36]:
Considering the pipeline material and water as elastic bodies, the continuity equation is expressed as follows:
In the above three equations: H is the water head at a certain point in the pipeline, in meters (m); x is the position coordinate along the pipeline axis, in meters (m); g is the acceleration due to gravity, in meters per second squared (m/s2); v is the flow velocity within the pipeline, in meters per second (m/s); f is the friction coefficient of the pipeline; D is the diameter of the pipeline, in meters (m); t is the time, in seconds (s); α is the angle between the pipeline and the horizontal plane, in degrees (°); a is the speed of the pressure wave propagation, in meters per second (m/s). The friction factor f is not constant but is automatically updated at each time step in the software based on the current Reynolds number.
To simplify the mathematical model, this study adopts the quasi-steady friction assumption, which makes the model more suitable as a practical tool for pipeline design and operation. While unsteady friction models can enhance simulation accuracy, they require more experimental data and a more complex simulation process [
37]. Given that this paper primarily focuses on conventional water hammer calculations for the design and operation of the Xinlongkou Power Station, the quasi-steady friction assumption was chosen.
Equation (2) represents the governing motion equation for the water hammer and accounts for factors such as the gravitational component of the fluid along the pipeline direction, friction losses, and changes in flow velocity. Consequently, it includes the term sinα. Equation (3) corresponds to the continuity equation for a water hammer (based on the elastic water hammer theory) that describes the volumetric balance of the fluid. Unlike the motion equation, it does not explicitly incorporate gravity or the pipeline inclination.
The water hammer pressure was calculated using the water hammer motion equations, and the boundary conditions after the installation of the air valves were set in conjunction with the above formulas to perform water hammer calculations under the load-rejection conditions of the hydropower station.
3.2. Operating Condition Settings
Two operating conditions were set for the large and small units (
Figure 3) based on the actual layout of the turbines in the Xinlongkou Hydropower Station. In this figure, D1 and D2 represent large units, whereas X1 and X2 represent small units. Single- and two-stage linear valve closure methods were modeled to calculate the water hammer pressure.
The formula for calculating the water hammer wave speed in pipelines is as follows:
The meanings of the symbols are as follows: a represents the water hammer wave speed, measured in m/s; D is the pipeline diameter, in m; K denotes the bulk modulus of elasticity of the fluid, in Pa; ρ is the fluid density, in kg/m3; E refers to the elastic modulus of the pipeline material, in Pa; and e is the pipe wall thickness, in m.
In this study, the fluid in the pipeline is water, with a density of 1000 kg/m3 and a bulk modulus of elasticity of 2.2 × 109 Pa. The steel pipe has a wall thickness of 0.04 m and an elastic modulus of 2.1 × 1011 Pa, with a pipeline diameter of 4.1 m. Based on these parameters, the calculated wave speed in the pipeline is approximately 1000 m/s.
In practical engineering applications, to ensure that the initial wave reaches the opposite end of the pipeline and begins to reflect before the valve is fully closed, it is possible to reduce premature wave overlap and excessive reflection peaks. Therefore, some design standards or empirical guidelines often use half of the water hammer propagation time (i.e., 2
L/
a) as a conservative reference for the “minimum” valve closing duration. Given that the pipeline in this study is relatively short and the water hammer event occurs rapidly, we adopt the half-cycle of the water hammer as the reference for the minimum valve closing time.
In the equation, μ represents the wave phase; L is the length of the pipe segment, in meters (m); and a is the average wave speed in the pipe segment, in meters per second (m/s).
Based on the findings presented in Equation (4), the complete water hammer period for the pipeline is determined to be 2.9 s; consequently, the minimum valve closure time established for this study is set at 3 s, resulting in a total computational duration of 120 s. Building upon the research conducted by Wang et al. [
38], who explored the effects of continuous valve closure on water hammer pressure increases in multi-branch pipelines, as well as empirical evidence gathered from actual engineering practices, it was established that the maximum water hammer pressure occurs when all turbines simultaneously reject their loads; consequently, this study investigates the maximum and minimum pressure variation patterns of water hammer from the terminal valve to the main pipeline segment by implementing single- and two-stage linear valve closures. The single-stage linear closure times were set to 3, 6, 9, and 12 s for the large unit and 3, 4, 7, and 10 s for the small unit. For the two-stage linear valve closure, both the large and small units shared the same fast and slow closure times, specifically characterized by fast closure occurring at 80% in 3, 4.5, and 6 s for the large unit (with slow closure at 20%) and at 80% in 2, 3.5, and 5 s for the small unit (with slow closure at 20%), along with an additional setting for the large unit of fast closure at 60% in 3, 4.5, and 6 s (with slow closure at 40%) and for the small unit of fast closure at 60% in 2, 3.5, and 5 s (with slow closure at 40%). Thus, based on the differing closure times for the large and small units, combined operating conditions are established to study the maximum and minimum pressure variations of water hammer from the terminal valve to the main pipeline segment, with the specific operating conditions detailed in
Table 1.
5. Conclusions
This study primarily focused on the pressure pipeline system of the New Longkou Hydropower Station in the Kuitun River Diversion Project, utilizing the water hammer characteristic line method for calculations. The water hammer pressure and its variations were analyzed under different valve closing times and two-stage closure strategies while also considering potential load rejection scenarios. Furthermore, CFD simulations were employed to assess the impact of other factors on the flow patterns at the upstream end of the pipeline. Through a combination of two-dimensional and three-dimensional simulation methods, this study not only analyzed the overall pipeline water hammer but also investigated the changes in flow patterns at the pipeline valve locations. The main conclusions are as follows.
During the first-stage linear valve closure, the water hammer pressure increased progressively along the pipeline, with larger fluctuations occurring closer to the terminal units. Shorter valve closure times resulted in higher peak water hammer pressures, whereas extending the closure time effectively mitigated the negative pressure in the pipeline.
Extending the valve closure time reduced the peak water hammer pressure at the valve terminal and decreased the frequency of peak occurrences. For the same closure time, the smaller units experienced more frequent pressure fluctuations at the valve terminal.
Compared with the first-stage valve closure, the two-stage closure increased the water hammer pressure by 8% to 14.1%, potentially causing flow interruption, negative pressure, and exceeding the pipeline pressure limit. Based on the load-shedding conditions, it is recommended to implement a linear valve closure time greater than 9 s or to use a strategy of 60% fast closure and 40% slow closure.
The distance between the branch pipes at the Xinlongkou Hydropower Station had minimal impact on the maximum water hammer pressure, whereas the number of valves significantly influenced the pressure. The primary factors affecting the water hammer pressure, in order of significance, were valve closure time, valve quantity, valve diameter, and branch pipe distance.
The combination of two-dimensional and three-dimensional water hammer calculations offers advantages of both accuracy and efficiency. Compared with traditional one-dimensional or two-dimensional methods, it provides a more intuitive representation of the water hammer phenomenon within a pipeline, facilitating the analysis of flow field characteristics and the optimization of localized protection designs. This approach provides more comprehensive and reliable technical support for water hammer protection.
The combination of two-dimensional and three-dimensional water hammer calculation methods efficiently identified the key nodes. By using two-dimensional calculations for rapid system-wide simulation, followed by three-dimensional analysis for a detailed evaluation of high-risk areas, this approach allows for a comprehensive assessment of local flow fields and pressure distributions. This method balances computational efficiency with accuracy, optimizes protective designs, and enhances cost-effectiveness. It is applicable to complex conditions such as multibranch pipelines and pump station water transport, providing a reliable scientific tool for similar projects and contributing to improved design precision and operational safety.
It is worth noting that issues such as mutual coupling effects between valves in complex hydraulic circuit systems, fluid–structure interactions (FSI), and hydraulic vibrations require further in-depth investigation. In the future, we plan to conduct more comprehensive studies on these influencing factors by expanding the numerical simulation methods, for example, employing more advanced turbulence models and FSI algorithms, and performing field experiments for validation. In addition, we propose more systematic water hammer protection and control strategies tailored to water transport projects of varying scales and configurations. This study primarily relied on the elastic water hammer theory and a quasi-steady friction model. More complex hydraulic transient phenomena such as cavitation, unsteady friction, and viscoelastic pipeline lag strain effects have not been thoroughly investigated. Owing to the lack of sufficient field data for calibrating and verifying these phenomena under the current engineering design and operational conditions, higher-order water hammer analysis methods have not been introduced. Future research could further explore the conditions and mechanisms of cavitation in high-head pipelines, introduce unsteady friction models to improve the accuracy of the transient fluctuation amplitude and attenuation characterizations, and investigate the potential fluid–structure interaction effects in viscoelastic pipelines during large flow fluctuations. These efforts will provide more comprehensive and refined technical support for water hammer safety assessments and pipeline optimization designs.