a surge tank using particle swarm optimization

19
water Article Numerical Modeling and Hydraulic Optimization of a Surge Tank Using Particle Swarm Optimization Khem Prasad Bhattarai , Jianxu Zhou * , Sunit Palikhe , Kamal Prasad Pandey and Naresh Suwal College of Water Conservancy and Hydropower Engineering, Hohai University, Nanjing 210098, China; [email protected] (K.P.B.);[email protected] (S.P.); [email protected] (K.P.P.); [email protected] (N.S.) * Correspondence: [email protected] Received: 25 February 2019; Accepted: 4 April 2019; Published: 6 April 2019 Abstract: In a pressurized water conveyance system, such as a hydropower system, during hydraulic transients, maximum and minimum pressures at various controlling sections are of prime concern for designing a safe and ecient surge tank. Similarly, quick damping of surge waves is also very helpful for the sound functioning of the hydro-mechanical system. Several parameters like diameter of the surge tank, diameter of the orifice, operating discharge, working head, etc., influence the maximum/minimum surge, damping of surge waves in the surge tank, and the dierence of maximum pressure head at the bottom tunnel and maximum water level in the surge tank. These transient behaviors are highly conflicting in nature, especially for dierent diameters of orifices (D O ) and diameters of surge tanks (D S ). Hence, a proper optimization method is necessary to investigate the best values of D O and D S to enhance the safety and eciency of the surge tank. In this paper, these variables are accurately determined through numerical analysis of the system by the Method of Characteristics (MOC). Furthermore, the influence on the transient behavior with changing D O and D S is investigated and finally, optimum values of D O and D S are determined using Particle Swarm Optimization (PSO) to minimize the eects of hydraulic transients on the system without compromising the stability and eciency of the surge tank. The obtained results show significant improvements over the contemporary methods of finding D O and D S for surge tank design. Keywords: numerical analysis; method of characteristics; hydraulic transients; surge analysis; surge tank; particle swarm optimization 1. Introduction Hydraulic transients occur whenever there is a disturbance in the steady state condition of a system, causing variations in pressure and discharge in the system. The control of hydraulic transients in pressurized systems like water supply, wastewater, and hydropower systems, is a major concern for engineers regarding the safety and eective operation of the system throughout the life span of the project. Uncontrolled hydraulic transients in the system have led to several cases of accidents in hydropower stations in the past [13]. A number of methods and models have been developed for the analysis of hydraulic transients, like the graphical method, the algebraic method, the implicit method, the wave characteristic method, the Method of Characteristics (MOC), the Zielke model, the Brunone model, Surge2012, and much more commercial software [49]. Calamak et al. [10] developed a computer program using MOC, which accurately predicted pressures for various simulations in case studies having a Pelton and Francis turbine. Martin et al. [11] performed 3-D and 1-D simulations for various unsteady friction formulations and discovered that the convolution-based unsteady friction models, which consider a set of previous time steps in simulation, perform better than the instantaneous Water 2019, 11, 715; doi:10.3390/w11040715 www.mdpi.com/journal/water

Upload: others

Post on 16-Oct-2021

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: a Surge Tank Using Particle Swarm Optimization

water

Article

Numerical Modeling and Hydraulic Optimization ofa Surge Tank Using Particle Swarm Optimization

Khem Prasad Bhattarai , Jianxu Zhou * , Sunit Palikhe , Kamal Prasad Pandeyand Naresh Suwal

College of Water Conservancy and Hydropower Engineering, Hohai University, Nanjing 210098, China;[email protected] (K.P.B.); [email protected] (S.P.); [email protected] (K.P.P.);[email protected] (N.S.)* Correspondence: [email protected]

Received: 25 February 2019; Accepted: 4 April 2019; Published: 6 April 2019�����������������

Abstract: In a pressurized water conveyance system, such as a hydropower system, during hydraulictransients, maximum and minimum pressures at various controlling sections are of prime concernfor designing a safe and efficient surge tank. Similarly, quick damping of surge waves is also veryhelpful for the sound functioning of the hydro-mechanical system. Several parameters like diameterof the surge tank, diameter of the orifice, operating discharge, working head, etc., influence themaximum/minimum surge, damping of surge waves in the surge tank, and the difference of maximumpressure head at the bottom tunnel and maximum water level in the surge tank. These transientbehaviors are highly conflicting in nature, especially for different diameters of orifices (DO) anddiameters of surge tanks (DS). Hence, a proper optimization method is necessary to investigatethe best values of DO and DS to enhance the safety and efficiency of the surge tank. In this paper,these variables are accurately determined through numerical analysis of the system by the Methodof Characteristics (MOC). Furthermore, the influence on the transient behavior with changing DOand DS is investigated and finally, optimum values of DO and DS are determined using ParticleSwarm Optimization (PSO) to minimize the effects of hydraulic transients on the system withoutcompromising the stability and efficiency of the surge tank. The obtained results show significantimprovements over the contemporary methods of finding DO and DS for surge tank design.

Keywords: numerical analysis; method of characteristics; hydraulic transients; surge analysis; surgetank; particle swarm optimization

1. Introduction

Hydraulic transients occur whenever there is a disturbance in the steady state condition of asystem, causing variations in pressure and discharge in the system. The control of hydraulic transientsin pressurized systems like water supply, wastewater, and hydropower systems, is a major concernfor engineers regarding the safety and effective operation of the system throughout the life span ofthe project. Uncontrolled hydraulic transients in the system have led to several cases of accidents inhydropower stations in the past [1–3]. A number of methods and models have been developed for theanalysis of hydraulic transients, like the graphical method, the algebraic method, the implicit method,the wave characteristic method, the Method of Characteristics (MOC), the Zielke model, the Brunonemodel, Surge2012, and much more commercial software [4–9]. Calamak et al. [10] developed acomputer program using MOC, which accurately predicted pressures for various simulations in casestudies having a Pelton and Francis turbine. Martin et al. [11] performed 3-D and 1-D simulations forvarious unsteady friction formulations and discovered that the convolution-based unsteady frictionmodels, which consider a set of previous time steps in simulation, perform better than the instantaneous

Water 2019, 11, 715; doi:10.3390/w11040715 www.mdpi.com/journal/water

Page 2: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 2 of 19

acceleration-based models. Among these methods, MOC is a very popular method, as it gives accurateresults with a shorter computational time for analyzing the hydraulic transients in a pipeline system,and can be conveniently used in computer modeling [12,13]. In this study, MOC is used, consideringthe steady-state friction along the pipe, for numerical modeling and hydraulic transient analysis ofthe given generalized hydropower system, where the transient is generated by gradual closing andopening of the valve.

Researchers have extensively studied hydraulic behaviors of the pressurized system to discovermethods for improvements and successfully tackle hydraulic transient complications in the system.Yu et al. [14] performed 1-D analysis of a complex differential surge tank for a long diversion-typehydropower station using MOC and concluded that the high pressure difference produced betweentwo sides of breast wall during transient conditions can be effectively reduced by setting appropriatepressure reduction orifices. Guo et al. [15] reviewed transient processes and safety measures forhydropower stations with long headrace tunnels, and revealed that the maximum pressure inhydropower stations with long headrace tunnels depends on the maximum water level in the surgetank, rather than the closing mechanism of the guide vane. Zhou et al. [16] introduced the addition ofinterconnecting holes in a differential surge tank, which significantly reduced the pressure on the breastwall and made gate maneuver much easier and more effective. Covas and Ramos [17] used inversetransient analysis for the identification of the location of a leak in a water pipeline system througha transient generated by fast change in flow conditions. Balacco et al. [18] carried out laboratoryexperiments on an undulating pipeline consisting of an orifice for air venting, creating a complexair-water environment. They analyzed the pressure surge build during rapid filling of the pipeline andfound that the maximum pressure is reached during the mass oscillation phase. A plethora of researchcould be found on the sensitivity analysis of parameters like diameter of the orifice (DO), diameter ofthe surge tank (DS), working head, operating discharge, valve closure mechanism, pipe material anddiameter, etc., for various transient effects [19–23]

Hydraulic transients in pressurized systems are complex phenomena which are interdependentof several parameters, and also highly site-specific. Thus, designing an effective and well-optimizedhydraulic system is always a challenging work. Several attempts of optimizing the orifice in a surge tankhave been made using 1-D and 3-D simulations [24–27]. Similarly, different optimizing tools have beensuccessfully employed to obtain the most advantageous design of hydraulic systems. Afshar et al. [28]applied the NSGA-II optimization algorithm for developing an optimized closing-rule curve for valvesto control the effects of a water hammer in pressurized pipelines. Kim et al. [29] implemented thegenetic algorithm (GA) with the impulse response method, and then optimized the location anddimensions of a surge tank considering the safety and cost of the system. Fathi-Moghadam et al. [30]employed GA to optimize the diameters of a headrace tunnel, penstocks, and surge tank consideringthe benefit-cost ratio as the objective function. Their model successfully optimized the diameters in asystem consisting of branching tunnels and penstocks with a surge tank. Jung et al. [31] integratedboth GA and PSO simultaneously with hydraulic transient analysis to discover the best locationand combination of transient protection devices in a pipe network. Similarly, Moghaddas et al. [32]compared central force optimization (CFO) and GA for optimizing the pipeline protection cost of a watertransfer project considering hydraulic transients induced during pump maneuver. They optimizedthe volume of the air chamber along with the location and type of air-inlet valves with minimumcost as the objective function. Generally, researchers have performed the optimization of a surge tankconsidering the cost of the project as the objective function and including some hydraulic transientcharacteristics, while optimization dedicated to reducing the severe effects of the extreme transientconditions is very limited. This study solely emphasizes the hydraulic transient characteristics of thesystem and uses PSO for optimization of the diameter of the surge tank (DS) and diameter of theorifice (DO). Generally, researchers have used GA for optimization, while PSO has been proved tobe more convenient and effective. GA is more suitable for discrete optimization and has been morerigorously studied and applied in diverse fields due to its much earlier introduction (in 1989) than other

Page 3: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 3 of 19

modern optimization techniques, while PSO is a much more recent technique (in 1995) and suitable forcontinuous optimization problems and has a higher converging speed towards the solution [33–36].Hassan et al. [37] compared PSO and GA and discovered that the computational effort and efficiencyrequired for PSO to reach a high-quality solution is significantly less than that of GA to reach thesame high-quality solution. Similarly, Kecskes et al. [38] and Duan et al. [39] also compared PSO andGA on their respective models and discovered that PSO was better and has a high convergence ratiocompared to GA. On the other hand, every engineering problem has their own unique characteristicswhich demand certain alterations in general optimization procedures. In this study, we have attemptedto optimize the surge tank based on its hydraulic transient characteristics with a highly non-linearsolution and constrained variables. In these conditions, PSO is much easier to formulate and applyfor optimization and it acquires the global optimization value quickly and conveniently with fairlyagreeable results.

In this study, a generalized system of a high-head hydropower station is selected for analysisduring extreme cases of hydraulic transients. The system consists of a constant-head upstream reservoir,headrace tunnel, orifice surge tank, penstock pipe, and turbine at the end of the penstock. Because thisstudy mainly focuses on the surge analysis and hydraulic optimization of the surge tank, the downstreamturbine can be simplified into a valve boundary, as shown in Figure 1. First, 1-D numerical modelingand analysis of the hydraulic transients, occurring due to valve operation of the system, is carried outby using MOC. Gradual closing of the valve during the maximum water level in the reservoir andgradual opening of the valve during the minimum water level in the reservoir are considered as thetwo worst cases, which give the maximum and minimum water level in the surge tank, respectively.Secondly, major hydraulic transient behaviors in the system are studied and analyzed.

Water 2019, 11, 715 3 of 19

solution is significantly less than that of GA to reach the same high-quality solution. Similarly, Kecskes et al. [38] and Duan et al. [39] also compared PSO and GA on their respective models and discovered that PSO was better and has a high convergence ratio compared to GA. On the other hand, every engineering problem has their own unique characteristics which demand certain alterations in general optimization procedures. In this study, we have attempted to optimize the surge tank based on its hydraulic transient characteristics with a highly non-linear solution and constrained variables. In these conditions, PSO is much easier to formulate and apply for optimization and it acquires the global optimization value quickly and conveniently with fairly agreeable results.

In this study, a generalized system of a high-head hydropower station is selected for analysis during extreme cases of hydraulic transients. The system consists of a constant-head upstream reservoir, headrace tunnel, orifice surge tank, penstock pipe, and turbine at the end of the penstock. Because this study mainly focuses on the surge analysis and hydraulic optimization of the surge tank, the downstream turbine can be simplified into a valve boundary, as shown in Figure 1. First, 1-D numerical modeling and analysis of the hydraulic transients, occurring due to valve operation of the system, is carried out by using MOC. Gradual closing of the valve during the maximum water level in the reservoir and gradual opening of the valve during the minimum water level in the reservoir are considered as the two worst cases, which give the maximum and minimum water level in the surge tank, respectively. Secondly, major hydraulic transient behaviors in the system are studied and analyzed.

Figure 1. General layout of the hydropower system.

Finally, the necessary objective functions and constraints are developed regarding the transient behavior of the system, and optimization is performed using the Particle Swarm Optimization (PSO) method to find the optimum diameters of the surge tank (DS) and orifice (DO). The results obtained are compared with the contemporary methods of finding DO and DS, and discussions are presented.

2. Material and Methods

2.1. Governing Equations

The 1-D governing equations for the physics of hydraulic transients are the equations of motion and continuity, also called the Saint-Venant equations [12]. These are hyperbolic quasilinear partial differential equations, and, having no analytical solution, they are most accurately solved by MOC. 𝑔 𝜕𝐻𝜕𝑥 + 𝜕𝑉𝜕𝑡 + 𝑓𝑉ǀ𝑉ǀ2𝐷 = 0, (1) 𝑐𝑔 𝜕𝑉𝜕𝑥 + 𝜕𝐻𝜕𝑡 = 0, (2)

where H is the piezometric head; V is the mean flow velocity; f is the Darcy-Weisbach friction factor; D is the diameter of the pipe; g is the acceleration due to gravity; and c is the wave speed.

Figure 1. General layout of the hydropower system.

Finally, the necessary objective functions and constraints are developed regarding the transientbehavior of the system, and optimization is performed using the Particle Swarm Optimization (PSO)method to find the optimum diameters of the surge tank (DS) and orifice (DO). The results obtainedare compared with the contemporary methods of finding DO and DS, and discussions are presented.

2. Material and Methods

2.1. Governing Equations

The 1-D governing equations for the physics of hydraulic transients are the equations of motionand continuity, also called the Saint-Venant equations [12]. These are hyperbolic quasilinear partialdifferential equations, and, having no analytical solution, they are most accurately solved by MOC.

g∂H∂x

+∂V∂t

+f V

∣∣∣V∣∣∣2D

= 0, (1)

c2

g∂V∂x

+∂H∂t

= 0, (2)

Page 4: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 4 of 19

where H is the piezometric head; V is the mean flow velocity; f is the Darcy-Weisbach friction factor;D is the diameter of the pipe; g is the acceleration due to gravity; and c is the wave speed.

2.2. Method of Characteristics

For 1-D numerical modeling of the hydropower system, the most widely used method calledMethod of Characteristics (MOC) is applied, as proposed by Wylie et al. [12], which converts theequations of motion and continuity into two ordinary differential equations that are then solved as asimple form, Equations (3) and (4), by the finite-difference method.

C+ : HPi = CP − BQPi (3)

C− : HPi = CM + BQPi (4)

CP = Hi−1 + BQi−1 −RQi−1|Qi−1| (5)

CM = Hi+1 − BQi+1 + RQi+1∣∣∣Qi+1

∣∣∣ (6)

B =c

gA(7)

R =f ∆x

2gDA2 (8)

where Hi and Qi are the piezometric head and discharge, respectively, at any time and location; A isthe area of the pipe; and f is the coefficient of friction.

As shown in Figure 2, the characteristic lines C+ and C− intersect at point P. Thus, with the knowninitial values during a steady state condition, Equations (3)–(8) give the values of head and dischargeat a particular time and position in the x-t grid.

Water 2019, 11, 715 4 of 19

2.2. Method of Characteristics

For 1-D numerical modeling of the hydropower system, the most widely used method called Method of Characteristics (MOC) is applied, as proposed by Wylie et al. [12], which converts the equations of motion and continuity into two ordinary differential equations that are then solved as a simple form, Equations (3) and (4), by the finite-difference method. 𝐶 : 𝐻 = 𝐶 − 𝐵𝑄 (3) 𝐶 : 𝐻 = 𝐶 + 𝐵𝑄 (4) 𝐶 = 𝐻 + 𝐵𝑄 − 𝑅𝑄 |𝑄 | (5) 𝐶 = 𝐻 − 𝐵𝑄 + 𝑅𝑄 |𝑄 | (6) 𝐵 = 𝑐𝑔𝐴 (7)

𝑅 = 𝑓∆𝑥2𝑔𝐷𝐴 (8)

where Hi and Qi are the piezometric head and discharge, respectively, at any time and location; A is the area of the pipe; and f is the coefficient of friction.

As shown in Figure 2, the characteristic lines C+ and C− intersect at point P. Thus, with the known initial values during a steady state condition, Equations (3)–(8) give the values of head and discharge at a particular time and position in the x-t grid.

Figure 2. Characteristic lines in x-t grid.

2.3. Boundary Conditions

In this study, we considered a simple model of a high-head hydropower system for hydraulic transient analysis and optimization of its hydraulic characteristics. 1-D numerical analysis was carried out using MATLAB. Based on the layout of the hydropower system shown in Figure 1, the following boundary conditions were established, as described by Wylie et al. [12].

2.3.1. Reservoir

The system consists of an upstream reservoir and it is assumed that water level of the reservoir remains constant during transient evaluation. 𝐻 = 𝑍 (9)

where 𝐻 is the piezometric head at the reservoir and Zres is the water level of the reservoir.

2.3.2. In-Line Surge Tank

In the pressurized water conveyance system, the surge tank is a very important structure to effectively control the hazardous effects of hydraulic transients. In this study, the restricted orifice surge tank, as shown in Figure 3,is located at the end of the headrace tunnel. The equations defining the boundary conditions of the restricted orifice surge tank are presented below [12]:

Figure 2. Characteristic lines in x-t grid.

2.3. Boundary Conditions

In this study, we considered a simple model of a high-head hydropower system for hydraulictransient analysis and optimization of its hydraulic characteristics. 1-D numerical analysis was carriedout using MATLAB. Based on the layout of the hydropower system shown in Figure 1, the followingboundary conditions were established, as described by Wylie et al. [12].

2.3.1. Reservoir

The system consists of an upstream reservoir and it is assumed that water level of the reservoirremains constant during transient evaluation.

HP1 = Zres (9)

where HP1 is the piezometric head at the reservoir and Zres is the water level of the reservoir.

Page 5: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 5 of 19

2.3.2. In-Line Surge Tank

In the pressurized water conveyance system, the surge tank is a very important structure toeffectively control the hazardous effects of hydraulic transients. In this study, the restricted orificesurge tank, as shown in Figure 3, is located at the end of the headrace tunnel. The equations definingthe boundary conditions of the restricted orifice surge tank are presented below [12]:

HP = ZS + RS|QS|QS (10)

ZS = W(QS + QS0) + ZS0 (11)

Q1 = Q2 + QS (12)

RS =1

2gCd2AO2 (13)

W =∆t

2AS(14)

T = 2π

√LtASgAt

(15)

where Q1 and Q2 are the discharges in pipe 1 and pipe 2, respectively, at the point of surge tank; QS isthe discharge flowing into the surge tank; HP is the piezometric head in the pipe at the bottom of thesurge tank; ZS is the water level in the surge tank, also referred to as surge head in further sections;QS0 and ZS0 are the previous discharge and water level in the surge tank, respectively; AO and ASare the area of orifice and area of surge tank, respectively; Cd is the coefficient of discharge; ∆t is theiteration time period considered for simulation; T is the time period for mass oscillation in the surgetank; and Lt and At are the length and area of the headrace tunnel, respectively. Equations (3), (4),and (10)–(12) are solved together to get the values of the variables at the surge tank boundary.Water 2019, 11, 715 5 of 19

Figure 3. Restricted orifice surge tank.

𝐻 = 𝑍 + 𝑅 |𝑄 |𝑄 (10) 𝑍 = 𝑊(𝑄 + 𝑄 ) + 𝑍 (11) 𝑄 = 𝑄 + 𝑄 (12) 𝑅 = 12𝑔𝐶 𝐴 (13)

𝑊 = Δ𝑡2𝐴 (14)

𝑇 = 2𝜋 𝐿 𝐴𝑔𝐴 (15)

where Q1 and Q2 are the discharges in pipe 1 and pipe 2, respectively, at the point of surge tank; QS is the discharge flowing into the surge tank; HP is the piezometric head in the pipe at the bottom of the surge tank; ZS is the water level in the surge tank, also referred to as surge head in further sections; QS0 and ZS0 are the previous discharge and water level in the surge tank, respectively; AO and AS are the area of orifice and area of surge tank, respectively; Cd is the coefficient of discharge; Δt is the iteration time period considered for simulation; T is the time period for mass oscillation in the surge tank; and Lt and At are the length and area of the headrace tunnel, respectively. Equations (3), (4), and (10)–(12) are solved together to get the values of the variables at the surge tank boundary.

2.3.3. Free Discharge Valve at the End

In this model, linear gradual opening and closing of the valve causes transients. For gradual closure, the time period of closure of the valve is more than the pipe characteristic time, i.e., 𝑇 > . The time of closure/opening of the valve for general surge analysis and the optimization procedure is considered to be 10 s according to the practically used closing time of guide vanes in hydropower stations. In surge analysis, the closing/opening of valve is started at 5 s and the valve is completely closed/opened at 15 s in linear progression. Later, in Section 3.5, an elaborated analysis is conducted to demonstrate the transient changes for various closing/opening times of the valve, including both fast and gradual closure/opening. The equations determining the valve boundary conditions are as follows [12]. 𝑄 = −𝐵𝐶 + (𝐵𝐶 ) + 2𝐶 𝐶 (16) 𝐶 = (𝑄 𝜏)2𝐻 (17)

where 𝑄 is the discharge at the valve; τ is the valve opening; Q0 is the steady state flow; and H0 is the operating head across the valve, and for a free discharge valve, H0 is the piezometric head at the inlet of the valve.

Figure 3. Restricted orifice surge tank.

2.3.3. Free Discharge Valve at the End

In this model, linear gradual opening and closing of the valve causes transients. For gradualclosure, the time period of closure of the valve is more than the pipe characteristic time, i.e., Tc > 2L

c .The time of closure/opening of the valve for general surge analysis and the optimization procedureis considered to be 10 s according to the practically used closing time of guide vanes in hydropowerstations. In surge analysis, the closing/opening of valve is started at 5 s and the valve is completelyclosed/opened at 15 s in linear progression. Later, in Section 3.5, an elaborated analysis is conductedto demonstrate the transient changes for various closing/opening times of the valve, including both

Page 6: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 6 of 19

fast and gradual closure/opening. The equations determining the valve boundary conditions are asfollows [12].

QPN+1 = −BCV +

√(BCV)

2 + 2CVCP (16)

CV =(Q0τ)

2

2H0(17)

where QPN+1 is the discharge at the valve; τ is the valve opening; Q0 is the steady state flow; and H0 isthe operating head across the valve, and for a free discharge valve, H0 is the piezometric head at theinlet of the valve.

2.4. Stability Criteria

The hydraulic transient causes pressure and discharge fluctuations in the surge tank. Duringsuch conditions, the surge tank is vulnerable to various instabilities. For a surge tank to be stable andeffective, the following criteria must be fulfilled:

2.4.1. Minimum Area of Surge Tank

During hydraulic transients, fluctuation of the water level occurs in the surge tank, which mustbe dampened in a reasonably short time to ensure the stability of the system. In addition to this,the maximum and minimum water level in the surge tank should be properly analyzed so that thesystem stays safe in the worst condition. For this, Thoma derived an equation called the Thomaequation, which gives the minimum area of a stable surge tank [40]. However, Jaeger later provedthat this area is not sufficient for the stability of a surge tank and introduced a safety coefficient in theThoma equation [41].

Ath = eLtAt

2αgH1(18)

e = 1 + 0.482Zmax

Ho(19)

α =HwoAt

2

Q2 (20)

H1 = Ho −Hwo − 3Hwm (21)

where Ath is the Thoma area; e is the safety coefficient; Lt and At are the length and area of the headracetunnel, respectively; Ho is the gross head in the turbine; Hwo is the head loss in the headrace tunnel;Hwm is the head loss in the penstock; Zmax is the maximum water level in the surge tank; and Q is thedischarge in the tunnel.

2.4.2. Vortex Control

In the case of start-up of the pressurized water conveyance system, the surge tank acts as atemporary intake, supplying discharge to the system. This causes hydraulic transients in the systemand the water level in the surge tank falls down to its minimum level. During such conditions,if the water level falls below a certain elevation, there is a very high risk of vortex formation or airentrainment, which can have devastating effects on the system. The following steps were followed tocheck the vortex formation in the system after the optimized values of DO and DS were obtained:

1. The minimum possible down surge that can be created in the system is calculated, which isdefined as objective function 2 in Section 2.5.3;

2. From this minimum water surface elevation, the bottom surface elevation of the surge tank issubtracted to obtain the height of the minimum water column in the tank;

Page 7: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 7 of 19

3. Then, the critical submergence for the possible suction vortex is calculated using the Gordonequation [42]:

Scr = cV√

d (22)

where Scr is the critical submergence depth; c is an empirical coefficient whose value ranges from0.55 to 0.73 (c = 0.55 for symmetrical intake); V is the velocity at intake; and d is the diameter ofthe pipe at intake, and for this case, the velocity and the diameter of penstock pipe are consideredto check vortex formation in the surge tank.

The minimum water column depth in the surge tank must be greater than the critical submergencedepth (Scr) to prevent the formation of a harmful vortex in the system.

2.5. Optimization

First, 1-D numerical modeling and analysis of the hydropower system were conducted for lineargradual closing and gradual opening of the valve, respectively, using MATLAB and the values of thepiezometric head and discharge at the surge tank were obtained using MOC. From these obtainedvalues, the following objective functions and constraints were developed for optimizing the diameterof the surge tank (DS) and the diameter of the orifice (DO).

2.5.1. Objective Function 1

The maximum water level in the surge tank (Max1) is reached during full load rejection, as shownin Figure 4a, when the system is working with full capacity and the reservoir is at the highest waterlevel. This value is obtained in this study by 1-D numerical modeling of the system using MOC.This value gives the maximum possible water level in the surge tank and determines the height andperformance of the surge tank during the worst transient condition and hence, plays a vital role insurge tank design. Minimization of this maximum value is taken as the first objective function in thisstudy. Many researchers have derived empirical or stochastic equations for simplicity in the calculationof the maximum surge head in the surge tank [43–46], but MOC gives the most accurate results forsurge analysis from which the maximum value can be easily obtained.

Minimize: F1(x1, x2)where F1(x1, x2) is the function for the maximum water level for different diameters of the orifice

(x1) and diameters of the surge tank (x2).

2.5.2. Objective Function 2

The minimum water level in the surge tank (Min1) is reached during full load acceptance, as shownin Figure 4b, when the system is put into operation with minimum capacity and the reservoir isat the lowest water level. This gives the value of the lowest possible water level in the surge tank,or the lowest submergence depth, which essentially determines the safety of the system from harmfulvortices or air entrainments. This minimum value, obtained after surge analysis of the worst scenarioof transients for the lowest possible water level in the surge tank using MOC, is assigned as objectivefunction 2. The value of the lowest submergence depth should be increased to ensure effective workingof the system, even in severe hydraulic transients.

Minimize: −F2(x1, x2)where F2(x1, x2) is the function for minimum surge pressure for different diameters of the orifice

(x1) and diameters of the surge tank (x2) (negative sign is for minimization).

2.5.3. Objective Function 3

Whenever hydraulic transients occur in the system, oscillation of pressure and discharge isobserved, which is gradually dampened by friction and various surge controlling devices, like theair chamber, surge tank, pressure release valves, etc. Damping of surge waves is a very crucialcharacteristic of the surge tank and effective surge tanks are required to dampen the surge waves as

Page 8: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 8 of 19

quickly as possible. In this study, we performed surge analysis for the worst condition of transientsthat gives the maximum water level in the surge tank, as explained in Section 2.5.1, extracted twosuccessive values of maximum water level as shown in Figure 4a, and calculated the percentage ofdamping of surge waves using Equation (23).

D =Max1−Max2

Max1× 100% (23)

where D is the percentage of surge pressure damping; and Max1 and Max2 are the first and secondmaximum water level during full load rejection, respectively, as shown in Figure 4a.

Minimize: −F3(x1, x2)where F3(x1, x2) is the function for the percentage of damping obtained for different values of

diameter of the orifice (x1) and diameter of the surge tank (x2) (negative sign is for minimization).These three objective functions are combined into a single objective function using normalization.

Water 2019, 11, 715 8 of 19

These three objective functions are combined into a single objective function using normalization.

Figure 4. Water level vs time graph for a restricted orifice surge tank during linear gradual closure of the valve (a) and linear gradual opening of the valve (b).

2.6. Normalization

The nature of the three objective functions chosen in this study is highly conflicting and the range of their values is also very diverse, as shown in Section 3.2. Hence, normalization was done so that all objective functions fell into a similar range, and could be combined under a single objective function. The unity-based normalization was used, which brings all the values in the range of [0, 1]. 𝐹 (𝑥 , 𝑥 ) = 𝐹 (𝑥 , 𝑥 ) − 𝐹 ,𝐹 , − 𝐹 , (24) 𝐹(𝑥 , 𝑥 ) = ∑𝐹 (𝑥 , 𝑥 ) (25)

where F(x1,x2) is the normalized objective function; FiN(x1,x2) represents the individual objective functions; and Fi,max and Fi,min are the maximum and minimum values of each objective function within the given range, respectively.

2.7. Variables and Constraints

This study intends to find a well-optimized surge tank which effectively overcomes all the hydraulic transient complications. The diameter of the orifice (DO) and the diameter of the surge tank (DS) are considered as variables during the optimization. The lower and upper limits of these diameters are determined as follows:

According to the “Chinese design code for surge chamber of hydropower stations”, the minimum and maximum area of the orifice must be 25% and 45% of the area of the headrace tunnel, respectively, for optimum performance of the surge tank [19,47]. Hence, we obtained,

• 3.1 𝑚 ≤ 𝐷 ≤ 4.1 𝑚

For the diameter of surge tank (Ds), the minimum value is obtained by the Thoma area, as discussed in Section 2.4.1, and the maximum value is taken to be 12 m based on the preliminary observations, as presented in Section 2.8, and the results obtained during optimization. Thus, we have,

• 6.3 𝑚 ≤ 𝐷 ≤ 12 𝑚

Besides these, the difference between the maximum piezometric head at the bottom tunnel of the surge tank and the maximum water level of the surge tank plays a crucial role in designing an efficient surge tank. In this study, the DO and DS are accepted only when the difference between the maximum head at the bottom tunnel and the maximum water level in the surge tank is less than 1 m. When the difference is higher, the surge tank is not effective and the headrace tunnel becomes more vulnerable to transient effects [47].

• 𝑚𝑎𝑥(𝐻 ) − 𝑚𝑎𝑥(𝑍 ) ≤ 1 𝑚

Figure 4. Water level vs time graph for a restricted orifice surge tank during linear gradual closure ofthe valve (a) and linear gradual opening of the valve (b).

2.6. Normalization

The nature of the three objective functions chosen in this study is highly conflicting and the rangeof their values is also very diverse, as shown in Section 3.2. Hence, normalization was done so that allobjective functions fell into a similar range, and could be combined under a single objective function.The unity-based normalization was used, which brings all the values in the range of [0, 1].

FiN(x1, x2) =Fi(x1, x2) − Fi,min

Fi,max − Fi,min(24)

F(x1, x2) =∑

FiN(x1, x2) (25)

where F(x1,x2) is the normalized objective function; FiN(x1,x2) represents the individual objectivefunctions; and Fi,max and Fi,min are the maximum and minimum values of each objective functionwithin the given range, respectively.

2.7. Variables and Constraints

This study intends to find a well-optimized surge tank which effectively overcomes all thehydraulic transient complications. The diameter of the orifice (DO) and the diameter of the surgetank (DS) are considered as variables during the optimization. The lower and upper limits of thesediameters are determined as follows:

According to the “Chinese design code for surge chamber of hydropower stations”, the minimumand maximum area of the orifice must be 25% and 45% of the area of the headrace tunnel, respectively,for optimum performance of the surge tank [19,47]. Hence, we obtained,

Page 9: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 9 of 19

� 3.1 m ≤ DO ≤ 4.1 mFor the diameter of surge tank (Ds), the minimum value is obtained by the Thoma area, as discussed

in Section 2.4.1, and the maximum value is taken to be 12 m based on the preliminary observations, aspresented in Section 2.8, and the results obtained during optimization. Thus, we have,

� 6.3 m ≤ DS ≤ 12 mBesides these, the difference between the maximum piezometric head at the bottom tunnel of the

surge tank and the maximum water level of the surge tank plays a crucial role in designing an efficientsurge tank. In this study, the DO and DS are accepted only when the difference between the maximumhead at the bottom tunnel and the maximum water level in the surge tank is less than 1 m. When thedifference is higher, the surge tank is not effective and the headrace tunnel becomes more vulnerable totransient effects [47].

� max(HP) −max(ZS) ≤ 1 mwhere HP is the piezometric head at the bottom tunnel of the surge tank and ZS is the water level

in the surge tank.

2.8. Acceptance Region

The constraints described in Section 2.7 define the total population for optimization and alsodistinguish valid and invalid regions based on the difference of the maximum piezometric head atthe bottom tunnel of the surge tank and the maximum water level in the surge tank. Figure 5 showsvarious values of DO and DS within the range of optimization discussed earlier. The green area in thegraph shows the valid region, where the value of the difference of the maximum heads is less than 1 m,and the red area in the graph shows the invalid region, having the difference of the maximum heads ofmore than 1 m. This eventually makes the optimization problem highly non-linear and discontinuousand the individual objective functions are highly conflicting in nature.

Water 2019, 11, 715 9 of 19

where 𝐻 is the piezometric head at the bottom tunnel of the surge tank and 𝑍 is the water level in the surge tank.

2.8. Acceptance Region

The constraints described in Section 2.7 define the total population for optimization and also distinguish valid and invalid regions based on the difference of the maximum piezometric head at the bottom tunnel of the surge tank and the maximum water level in the surge tank. Figure 5 shows various values of DO and DS within the range of optimization discussed earlier. The green area in the graph shows the valid region, where the value of the difference of the maximum heads is less than 1 m, and the red area in the graph shows the invalid region, having the difference of the maximum heads of more than 1 m. This eventually makes the optimization problem highly non-linear and discontinuous and the individual objective functions are highly conflicting in nature.

Figure 5. Acceptable (green) and unacceptable (red) region in the total population.

2.9. Particle Swarm Optimization

The Particle Swarm Optimization (PSO) is a nature-inspired, metaheuristic stochastic optimization tool developed by Kennedy et al. [34]. PSO imitates the social behavior of swarm in which, initially, a random set of the population is selected, and then, in each iteration, each particle explores and moves to a new location based on the best solution of that individual particle, and the best solution of all the particles. A parameter called velocity is added to each particle’s position in each iteration, which moves it towards the global minimum or maximum. Due to its simplicity and robust nature, PSO can easily optimize complex problems and has been widely used in engineering optimization works. (𝑉 ) = 𝜃 × (𝑉 ) + 𝑐 𝑟 (𝑃 , ) − (𝑋 ) + 𝑐 𝑟 (𝐺 ) − (𝑋 ) (26) 𝜃 = 𝜃 − 𝜃 − 𝜃𝑁 𝑖 (27) (𝑋 ) = (𝑋 ) + (𝑉 ) (28) 𝑖 = 1, 2, . . . . , 𝑁; 𝑎𝑛𝑑 𝑗 = 1, 2, . . . . , 𝑀

where (Xj)i and (Vj)i are the position and velocity of the jth particle in the ith iteration; c1 and c2 are cognitive and social learning rates; r1 and r2 are random numbers in the range of 0 and 1; (Pbest,j)i is the best result obtained for the jth particle till the ith iteration; (Gbest)i is the best result among all particles till the ith iteration; θi is the inertia weight for the ith iteration, developed by Shi et al. [48], to dampen the velocities over each iterations for efficient optimization; θMax and θMin are the maximum and minimum values of inertia weight, respectively; and M and N are the total number of population and iterations used in PSO, respectively.

Figure 5. Acceptable (green) and unacceptable (red) region in the total population.

2.9. Particle Swarm Optimization

The Particle Swarm Optimization (PSO) is a nature-inspired, metaheuristic stochastic optimizationtool developed by Kennedy et al. [34]. PSO imitates the social behavior of swarm in which, initially,a random set of the population is selected, and then, in each iteration, each particle explores and movesto a new location based on the best solution of that individual particle, and the best solution of all theparticles. A parameter called velocity is added to each particle’s position in each iteration, which movesit towards the global minimum or maximum. Due to its simplicity and robust nature, PSO can easilyoptimize complex problems and has been widely used in engineering optimization works.

(V j)i = θi × (V j)i−1 + c1r1{(Pbest, j)i − (X j)i−1

}+ c2r2

{(Gbest)i − (X j)i−1

}(26)

Page 10: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 10 of 19

θi = θMax −

(θMax − θMin

N

)i (27)

(X j)i = (X j)i−1 + (V j)i (28)

i = 1, 2, . . . , N; and j = 1, 2, . . . , M

where (Xj)i and (Vj)i are the position and velocity of the jth particle in the ith iteration; c1 and c2 arecognitive and social learning rates; r1 and r2 are random numbers in the range of 0 and 1; (Pbest,j)i is thebest result obtained for the jth particle till the ith iteration; (Gbest)i is the best result among all particlestill the ith iteration; θi is the inertia weight for the ith iteration, developed by Shi et al. [48], to dampenthe velocities over each iterations for efficient optimization; θMax and θMin are the maximum andminimum values of inertia weight, respectively; and M and N are the total number of population anditerations used in PSO, respectively.

Figure 6 shows the flowchart for PSO used for the optimization of the hydraulic characteristics ofthe generalized hydropower system. In this study, when the difference of the maximum head at thebottom tunnel at the point of the surge tank and the maximum water level in the surge tank is lessthan or equal to 1 m (Hd ≤ 1 m), the solution and corresponding DO and DS are considered acceptable,while, when Hd is more than 1 m, they are considered unacceptable. If this head difference is smaller,it ensures efficient working of the surge tank [47]. During optimization, to avoid the solutions of theunacceptable region, a technique of reducing the position is applied, as shown in Figure 6. Wheneverthe new position of any particle is calculated using Equation (28), if the new position falls into theunacceptable region, then the average of the previous position and current position is taken as thenew position, and again, the region of the new position is checked. Every time, the velocity of the newposition is reduced by half until it falls into the acceptance region. If the new position does not lie in theacceptance region for 50 iterations, a random new position is assumed within the range of the variables.This reduction in new positions reduces the speed of acquiring the global minimum or maximum,but more importantly, it enables the program to stay in the acceptable region during all calculations.

Water 2019, 11, 715 10 of 19

Figure 6 shows the flowchart for PSO used for the optimization of the hydraulic characteristics of the generalized hydropower system. In this study, when the difference of the maximum head at the bottom tunnel at the point of the surge tank and the maximum water level in the surge tank is less than or equal to 1 m (𝐻 ≤ 1 m), the solution and corresponding DO and DS are considered acceptable, while, when 𝐻 is more than 1 m, they are considered unacceptable. If this head difference is smaller, it ensures efficient working of the surge tank [47]. During optimization, to avoid the solutions of the unacceptable region, a technique of reducing the position is applied, as shown in Figure 6. Whenever the new position of any particle is calculated using Equation (28), if the new position falls into the unacceptable region, then the average of the previous position and current position is taken as the new position, and again, the region of the new position is checked. Every time, the velocity of the new position is reduced by half until it falls into the acceptance region. If the new position does not lie in the acceptance region for 50 iterations, a random new position is assumed within the range of the variables. This reduction in new positions reduces the speed of acquiring the global minimum or maximum, but more importantly, it enables the program to stay in the acceptable region during all calculations.

Figure 6. Flowchart of particle swarm optimization.

3. Results and Discussions

3.1. Surge Analysis

The surge behavior in the surge tank reveals important characteristics of transients occurring in a pressurized water conveyance system. The given generalized hydropower system is first analyzed numerically for gradual closure and opening of the valve respectively using the MOC. This method has been experimentally validated by several researchers in real world problems [6,11,14,49–51]. In recent years, many model tests for the hydropower systems have been conducted in the laboratory, mainly including the hydraulic characteristics of the surge tank [49,50]. The models provided complete head loss coefficients for water flowing into or out of the surge tank, which revealed the complete hydraulic transient processes during load rejection or load acceptance, and also display

Figure 6. Flowchart of particle swarm optimization.

Page 11: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 11 of 19

3. Results and Discussions

3.1. Surge Analysis

The surge behavior in the surge tank reveals important characteristics of transients occurring in apressurized water conveyance system. The given generalized hydropower system is first analyzednumerically for gradual closure and opening of the valve respectively using the MOC. This method hasbeen experimentally validated by several researchers in real world problems [6,11,14,49–51]. In recentyears, many model tests for the hydropower systems have been conducted in the laboratory, mainlyincluding the hydraulic characteristics of the surge tank [49,50]. The models provided complete headloss coefficients for water flowing into or out of the surge tank, which revealed the complete hydraulictransient processes during load rejection or load acceptance, and also display great agreement withthe results obtained by MOC. Thus, MOC is widely accepted as a reliable tool for accurate numericalanalysis involving computer modeling, especially for surge analysis.

The system consists of a headrace pipe of length 570 m (head loss coefficient R = 6.81687 × 10−6)and a penstock pipe of length 1000 m (head loss coefficient R = 9.3451 × 10−6). It is divided into157 sections, each of a 10 m length, with 158 nodal points. Applying Courant’s condition, i.e., ∆t = L

cN ,the time step of analysis is taken to be 0.008 s. An upstream reservoir is located at node 1 in the system.The maximum and minimum operational water level of reservoir are 520 m and 500 m, respectively,and the valve discharge is 132.4 m3/s. The restricted orifice surge tank with DS = 9 m and DO = 4.3 mis at the end of the headrace tunnel at node 58 and a free discharge valve at the end of the penstock atnode 158. The time of closure and opening of the valve was 10 s and the total time of analysis was 200 s.Initially, a steady state condition was modeled, and then the closing/opening of valve was startedat 5 s and the valve was completely closed at 15 s in linear progression. Surge analysis was carriedout to reveal important hydraulic characteristics occurring due to gradual closure and opening of thevalve. Later, PSO was used to optimize the diameter of the orifice and the diameter of the surge tank toimprove the transient controlling capacity, and design a more efficient and effective surge tank.

Figure 7 depicts the most important characteristics of the hydraulic transient in the hydropowersystem due to valve maneuver, which plays a vital role in surge tank design. Figure 7a shows thewater level in the surge tank, during the maximum water level in the reservoir and full load rejectioncondition. Hence, the maximum value of surge head shown by the graph indicates the maximumpossible surge head reached for the given condition of valve closure. Initially, the water level is constantfor 5 s, which represents the steady state condition. After the start of valve closure at 5 s, the water levelgradually rises to its maximum value and starts oscillating to consecutive maximum and minimumvalues due to water hammer action. Damping of surge waves in this condition occurs gradually and itsvalue, as given by Equation (23), is calculated to be 1.378%. Similarly, Figure 7b shows the water levelin the surge tank during the minimum water level in the reservoir and full load acceptance conditionand hence it reveals the minimum possible water level for the given time of valve opening. The initialhorizontal line represents the steady state for 5 s, valve opening is started at 5 s, and the water leveldrops to its lowest value and then starts oscillating. Discharge is kept constant, regardless of the waterlevel in the reservoir. Damping of surge waves during the valve opening condition occurs very fast,while during valve closing, surge waves dampen gradually and hence, damping of surge waves duringthe valve closing condition should be properly analyzed. The theoretical value of the time period ofsurge waves, given by Equation (15), is calculated to be 69.524 s, and from this analysis, this value isfound to be 69.888 s. This shows that the modeling and analysis results are fairly accurate.

3.2. Effects of Changing Do and Ds

The maximum and minimum water level in the surge tank as shown in Figure 8 and damping ofsurge waves is the most important characteristic, which determines the efficient design and stabilityof the surge tank. The sensitivity of these three parameters is analyzed with varying diameters oforifice (Do) and diameters of surge tank (Ds), as shown in Figure 8. As the DO is increased, the value of

Page 12: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 12 of 19

maximum head gradually increases and minimum head gradually decreases. Thus, the lower value ofDO is more favorable, which was also concluded by Diao et al. [19]. Contrary to that, when the DSis increased, the maximum water level gradually decreases and the minimum water level graduallyincreases. Thus, it can be concluded that a higher value of DS is favorable to minimize hydraulictransient effects in the system. The percentage of damping of surge waves during gradual valve closurefirst increases, reaches a maximum, and then decreases with increasing DO, and damping graduallydecreases with an increase in DS. In addition to this, the difference of the maximum piezometric headat the bottom tunnel of the surge tank and the maximum water level in the surge tank is required tobe below 1 m for an effective surge tank. All these features make the system highly conflicting anddiscontinuous, and thus, a robust optimizing tool is required to obtain global optimum values of thevariables within the defined constraints.

Water 2019, 11, 715 11 of 19

great agreement with the results obtained by MOC. Thus, MOC is widely accepted as a reliable tool for accurate numerical analysis involving computer modeling, especially for surge analysis.

The system consists of a headrace pipe of length 570 m (head loss coefficient R = 6.81687 × 10−6) and a penstock pipe of length 1000 m (head loss coefficient R = 9.3451 × 10−6). It is divided into 157 sections, each of a 10 m length, with 158 nodal points. Applying Courant’s condition, i.e., ∆𝑡 = , the time step of analysis is taken to be 0.008 s. An upstream reservoir is located at node 1 in the system. The maximum and minimum operational water level of reservoir are 520 m and 500 m, respectively, and the valve discharge is 132.4 m3/s. The restricted orifice surge tank with DS = 9 m and DO = 4.3 m is at the end of the headrace tunnel at node 58 and a free discharge valve at the end of the penstock at node 158. The time of closure and opening of the valve was 10 s and the total time of analysis was 200 s. Initially, a steady state condition was modeled, and then the closing/opening of valve was started at 5 s and the valve was completely closed at 15 s in linear progression. Surge analysis was carried out to reveal important hydraulic characteristics occurring due to gradual closure and opening of the valve. Later, PSO was used to optimize the diameter of the orifice and the diameter of the surge tank to improve the transient controlling capacity, and design a more efficient and effective surge tank.

Figure 7 depicts the most important characteristics of the hydraulic transient in the hydropower system due to valve maneuver, which plays a vital role in surge tank design. Figure 7a shows the water level in the surge tank, during the maximum water level in the reservoir and full load rejection condition. Hence, the maximum value of surge head shown by the graph indicates the maximum possible surge head reached for the given condition of valve closure. Initially, the water level is constant for 5 s, which represents the steady state condition. After the start of valve closure at 5 s, the water level gradually rises to its maximum value and starts oscillating to consecutive maximum and minimum values due to water hammer action. Damping of surge waves in this condition occurs gradually and its value, as given by Equation (23), is calculated to be 1.378%. Similarly, Figure 7b shows the water level in the surge tank during the minimum water level in the reservoir and full load acceptance condition and hence it reveals the minimum possible water level for the given time of valve opening. The initial horizontal line represents the steady state for 5 s, valve opening is started at 5 s, and the water level drops to its lowest value and then starts oscillating. Discharge is kept constant, regardless of the water level in the reservoir. Damping of surge waves during the valve opening condition occurs very fast, while during valve closing, surge waves dampen gradually and hence, damping of surge waves during the valve closing condition should be properly analyzed. The theoretical value of the time period of surge waves, given by Equation (15), is calculated to be 69.524 s, and from this analysis, this value is found to be 69.888 s. This shows that the modeling and analysis results are fairly accurate.

Figure 7. Surge analysis in surge tank during transients caused by gradual closing (a) and opening (b) of valve.

Figure 7. Surge analysis in surge tank during transients caused by gradual closing (a) and opening (b)of valve.

Water 2019, 11, 715 12 of 19

3.2. Effects of Changing Do and Ds

The maximum and minimum water level in the surge tank as shown in Figure 8 and damping of surge waves is the most important characteristic, which determines the efficient design and stability of the surge tank. The sensitivity of these three parameters is analyzed with varying diameters of orifice (Do) and diameters of surge tank (Ds), as shown in Figure 8. As the DO is increased, the value of maximum head gradually increases and minimum head gradually decreases. Thus, the lower value of DO is more favorable, which was also concluded by Diao et al. [19]. Contrary to that, when the DS is increased, the maximum water level gradually decreases and the minimum water level gradually increases. Thus, it can be concluded that a higher value of DS is favorable to minimize hydraulic transient effects in the system. The percentage of damping of surge waves during gradual valve closure first increases, reaches a maximum, and then decreases with increasing DO, and damping gradually decreases with an increase in DS. In addition to this, the difference of the maximum piezometric head at the bottom tunnel of the surge tank and the maximum water level in the surge tank is required to be below 1 m for an effective surge tank. All these features make the system highly conflicting and discontinuous, and thus, a robust optimizing tool is required to obtain global optimum values of the variables within the defined constraints.

Figure 8. Maximum water level (a),(d); minimum water level (b),(e); and percentage of damping (c),(f) for different diameters of orifice (Do) and diameters of surge tank (Ds).

Three major characteristics of hydraulic transients in the given system, as discussed in Section 2.5, are taken as the objective functions for optimizing DO and DS. For normalizing the three individual objective functions into a single objective function, the maximum and minimum values of each individual function are required, which are calculated using the PSO in each objective function within the given range of variables. Table 1 shows the obtained minimum and maximum values, which can also be verified by analyzing the nature of graphs presented in Figure 8.

Table 1. Maximum and minimum values of each objective function.

Objective Functions

For maximum Values For Minimum Values Values of Functions Do (m) Ds (m) Values of Functions Do (m) Ds (m)

Function 1 541.550 m 4.1 6.3 524.594 m 3.1 12 Function 2 488.740 m 3.1 12 473.056 m 4.1 6.3 Function 3 2.038 % 3.552 6.3 0.562 % 3.1 12

Figure 8. Maximum water level (a,d); minimum water level (b,e); and percentage of damping (c,f) fordifferent diameters of orifice (Do) and diameters of surge tank (Ds).

Three major characteristics of hydraulic transients in the given system, as discussed in Section 2.5,are taken as the objective functions for optimizing DO and DS. For normalizing the three individual

Page 13: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 13 of 19

objective functions into a single objective function, the maximum and minimum values of eachindividual function are required, which are calculated using the PSO in each objective function withinthe given range of variables. Table 1 shows the obtained minimum and maximum values, which canalso be verified by analyzing the nature of graphs presented in Figure 8.

Table 1. Maximum and minimum values of each objective function.

ObjectiveFunctions

For Maximum Values For Minimum Values

Values of Functions Do (m) Ds (m) Values of Functions Do (m) Ds (m)

Function 1 541.550 m 4.1 6.3 524.594 m 3.1 12Function 2 488.740 m 3.1 12 473.056 m 4.1 6.3Function 3 2.038 % 3.552 6.3 0.562 % 3.1 12

3.3. Optimization with PSO

As described earlier, the maximum water level, the minimum water level, and damping are chosenas objective functions for optimization, with diameter of the orifice (DO) and diameter of the surgetank (DS) as variables. All three objective functions are reduced to minimization problem and a singleobjective function is designed by using normalization. The cognitive and social learning rates are takento be 1 (c1 = c2 = 1). Initially, random values of the variables are provided, and then, 500 iterationsare carried out with a population size of 10. Due to the small range of variation of variables, a smallpopulation is considered and the discontinuous nature of the problem, as discussed in Section 2.8,required a large number of iterations before the optimized values were obtained. The followinggraph in Figure 9 shows the convergence of the values towards the optimum minimal solution afteroptimization with PSO.

Water 2019, 11, 715 13 of 19

3.3. Optimization with PSO

As described earlier, the maximum water level, the minimum water level, and damping are chosen as objective functions for optimization, with diameter of the orifice (DO) and diameter of the surge tank (DS) as variables. All three objective functions are reduced to minimization problem and a single objective function is designed by using normalization. The cognitive and social learning rates are taken to be 1 (c1 = c2 = 1). Initially, random values of the variables are provided, and then, 500 iterations are carried out with a population size of 10. Due to the small range of variation of variables, a small population is considered and the discontinuous nature of the problem, as discussed in Section 2.8, required a large number of iterations before the optimized values were obtained. The following graph in Figure 9 shows the convergence of the values towards the optimum minimal solution after optimization with PSO.

Figure 9. Graph showing the minimization of results in each iteration using PSO.

After performing PSO for the given system, the optimized values of DO and DS were obtained to be 4.1 m and 11.362 m, respectively. These optimized dimensions of the surge tank produced significant improvements in the maximum and minimum water level in the surge tank, while the damping of surge waves was not improved, as shown in Table 2. In order to improve the damping of surge waves, a weighting factor of 0.25, 0.25, and 0.5 was multiplied in each objective function, respectively, and optimization was performed again. The optimized values were obtained as Do = 3.684 m and Ds = 6.434 m and better damping of surge waves was obtained, while the values of the maximum and minimum water level in the surge tank were worse than the original case. For these two optimization cases and the original case, surge analysis is carried out and the results are presented in Figure 10. The values of each objective function for all three cases are tabulated in Table 2 and improvements obtained are analyzed.

Table 2. Comparison and improvements in each objective function after optimization.

Objective Functions

Without Optimization

(Original) Normalized Optimization

Normalized Optimization with Weighting

Do = 4.3 m and Ds = 9 m

Do = 4.1 m and Ds = 11.362 m Do = 3.684 m and Ds = 6.434 m Obtained values Improvement Obtained values Improvement

Function 1 533.643 m 528.937 m 4.706 m 539.142 m −4.706 m Function 2 480.609 m 485.095 m 4.486 m 474.618 m −5.991 m Function 3 1.378% 0.973% −0.405% 2.009% 0.631%

Figure 9. Graph showing the minimization of results in each iteration using PSO.

After performing PSO for the given system, the optimized values of DO and DS were obtained tobe 4.1 m and 11.362 m, respectively. These optimized dimensions of the surge tank produced significantimprovements in the maximum and minimum water level in the surge tank, while the damping ofsurge waves was not improved, as shown in Table 2. In order to improve the damping of surgewaves, a weighting factor of 0.25, 0.25, and 0.5 was multiplied in each objective function, respectively,and optimization was performed again. The optimized values were obtained as Do = 3.684 m andDs = 6.434 m and better damping of surge waves was obtained, while the values of the maximum andminimum water level in the surge tank were worse than the original case. For these two optimizationcases and the original case, surge analysis is carried out and the results are presented in Figure 10.The values of each objective function for all three cases are tabulated in Table 2 and improvementsobtained are analyzed.

Page 14: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 14 of 19

Table 2. Comparison and improvements in each objective function after optimization.

ObjectiveFunctions

Without Optimization(Original) Normalized Optimization Normalized Optimization

with Weighting

Do = 4.3 m andDs = 9 m

Do = 4.1 m and Ds = 11.362 m Do = 3.684 m and Ds = 6.434 m

Obtained Values Improvement Obtained Values Improvement

Function 1 533.643 m 528.937 m 4.706 m 539.142 m −4.706 mFunction 2 480.609 m 485.095 m 4.486 m 474.618 m −5.991 mFunction 3 1.378% 0.973% −0.405% 2.009% 0.631%Water 2019, 11, 715 14 of 19

Figure 10. Comparison of surge analysis for different cases of valve closing (a) and opening (b).

After examining the results shown in Figure 10 and Table 2, the first case of optimization is concluded to be better than the other one. An improvement of 4.706 m and 4.486 m in maximum and minimum possible water levels in the surge tank, respectively, were obtained in this case for the given hydropower system. Hence, the optimized values are taken as Do = 4.1 m and Ds = 11.362 m and surge analysis is conducted showing piezometric head at the bottom tunnel of the surge tank and water level in the surge tank referring to these values, as shown in Figure 11. The difference of maximum head for these two cases during the valve closure condition is found to be 0.999 m and the graphs for these two heads are almost overlapping, which indicates sound functioning of the surge tank. Thus, in this optimization, both water level in the surge tank and piezometric head at the bottom tunnel are effectively controlled for the optimum performance of the surge tank.

Figure 11. Piezometric head at the bottom tunnel of surge tank and water level in surge tank during gradual closing (a) and opening (b) of valve.

3.4. Vortex Formation Check

The minimum possible surge head in the surge tank during hydraulic transients in the given system after optimization was found to be 485.095 m. Elevation of the bottom of the surge tank was 450.00 m and hence the minimum water column height in this system became 35.095 m. From Equation (22), the critical submergence depth of flow was calculated to be 6.638 m, which is way below the minimum water column height in the surge tank. Therefore, the optimized surge tank effectively prevents the formation of a vortex in the system during the worst hydraulic transient condition.

Figure 10. Comparison of surge analysis for different cases of valve closing (a) and opening (b).

After examining the results shown in Figure 10 and Table 2, the first case of optimization isconcluded to be better than the other one. An improvement of 4.706 m and 4.486 m in maximumand minimum possible water levels in the surge tank, respectively, were obtained in this case for thegiven hydropower system. Hence, the optimized values are taken as Do = 4.1 m and Ds = 11.362 mand surge analysis is conducted showing piezometric head at the bottom tunnel of the surge tankand water level in the surge tank referring to these values, as shown in Figure 11. The difference ofmaximum head for these two cases during the valve closure condition is found to be 0.999 m and thegraphs for these two heads are almost overlapping, which indicates sound functioning of the surgetank. Thus, in this optimization, both water level in the surge tank and piezometric head at the bottomtunnel are effectively controlled for the optimum performance of the surge tank.

Water 2019, 11, 715 14 of 19

Figure 10. Comparison of surge analysis for different cases of valve closing (a) and opening (b).

After examining the results shown in Figure 10 and Table 2, the first case of optimization is concluded to be better than the other one. An improvement of 4.706 m and 4.486 m in maximum and minimum possible water levels in the surge tank, respectively, were obtained in this case for the given hydropower system. Hence, the optimized values are taken as Do = 4.1 m and Ds = 11.362 m and surge analysis is conducted showing piezometric head at the bottom tunnel of the surge tank and water level in the surge tank referring to these values, as shown in Figure 11. The difference of maximum head for these two cases during the valve closure condition is found to be 0.999 m and the graphs for these two heads are almost overlapping, which indicates sound functioning of the surge tank. Thus, in this optimization, both water level in the surge tank and piezometric head at the bottom tunnel are effectively controlled for the optimum performance of the surge tank.

Figure 11. Piezometric head at the bottom tunnel of surge tank and water level in surge tank during gradual closing (a) and opening (b) of valve.

3.4. Vortex Formation Check

The minimum possible surge head in the surge tank during hydraulic transients in the given system after optimization was found to be 485.095 m. Elevation of the bottom of the surge tank was 450.00 m and hence the minimum water column height in this system became 35.095 m. From Equation (22), the critical submergence depth of flow was calculated to be 6.638 m, which is way below the minimum water column height in the surge tank. Therefore, the optimized surge tank effectively prevents the formation of a vortex in the system during the worst hydraulic transient condition.

Figure 11. Piezometric head at the bottom tunnel of surge tank and water level in surge tank duringgradual closing (a) and opening (b) of valve.

Page 15: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 15 of 19

3.4. Vortex Formation Check

The minimum possible surge head in the surge tank during hydraulic transients in the given systemafter optimization was found to be 485.095 m. Elevation of the bottom of the surge tank was 450.00 mand hence the minimum water column height in this system became 35.095 m. From Equation (22),the critical submergence depth of flow was calculated to be 6.638 m, which is way below the minimumwater column height in the surge tank. Therefore, the optimized surge tank effectively prevents theformation of a vortex in the system during the worst hydraulic transient condition.

3.5. Time of Closure and Opening of Valve

The closure and opening time of the valve can have significant effects on the transients occurringin the system [23–25,28]. Generally, in hydropower projects, gradual closure and opening of valveis adapted for adjusting the condition of flow in the system and power demands. In this study,all the analysis is conducted with linear closing and opening of the valve in 10 s. Figures 12 and 13show the sensitivity analysis for valve closing/opening time in linear progression for the optimizedvalues of DO and DS. The valve closing/opening time is changed from 10 s to 60 s at an intervalof 10 s. For time of closure from 10 s to 30 s, the maximum water level is almost the same and itgradually decreases for a further increase in closing time, as shown in Figure 12. Similarly, for thevalve opening case, the minimum water level gradually increases with an increase in valve openingtime, as shown in Figure 13. Hence, as valve maneuver time increases, the maximum water leveldecreases and the minimum water level increases, and thus the effects of transients are slightly reduced.Generally, the effect of changing gradual closing/opening time of the valve has negligible effect in surgeanalysis [15], but in this case, the effect is significant. Hence, valve or guide vanes’ closing/openingtime is also an important parameter for the hydraulic optimization of the surge tank for this study andshould be considered in future optimization cases. An elaborate study on the effects of changing closuretime for maximum piezometric head at the bottom tunnel of the surge tank and maximum water levelin the surge tank is performed, as shown in Figure 14. The pipe characteristic time for this case is 1.667 sand closing of the valve below this time indicates fast closure of the valve. The maximum pressurehead at the bottom tunnel of the surge tank is very high for fast closure and it quickly decreases as soonas gradual closure occurs and gradually becomes almost constant after the valve closing time reaches15 s. Contrary to that, the maximum water level in the surge tank during fast closure is lower and itincreases linearly till 2.5 s of valve closing time, and afterwards, the changes in the maximum waterlevel in the surge tank are very small. The difference of these two pressure heads for a closing time ofmore than 10 s is less than 1 m, which indicates effective functioning of the surge tank. The effectsof fast closing of the valve are more significant in tunnel pressure changes, while for the surge tank,they are comparatively less significant.

Water 2019, 11, 715 15 of 19

3.5. Time of Closure and Opening of Valve

The closure and opening time of the valve can have significant effects on the transients occurring in the system [23–25,28]. Generally, in hydropower projects, gradual closure and opening of valve is adapted for adjusting the condition of flow in the system and power demands. In this study, all the analysis is conducted with linear closing and opening of the valve in 10 s. Figures 12 and 13 show the sensitivity analysis for valve closing/opening time in linear progression for the optimized values of DO and DS. The valve closing/opening time is changed from 10 s to 60 s at an interval of 10 s. For time of closure from 10 s to 30 s, the maximum water level is almost the same and it gradually decreases for a further increase in closing time, as shown in Figure 12. Similarly, for the valve opening case, the minimum water level gradually increases with an increase in valve opening time, as shown in Figure 13. Hence, as valve maneuver time increases, the maximum water level decreases and the minimum water level increases, and thus the effects of transients are slightly reduced. Generally, the effect of changing gradual closing/opening time of the valve has negligible effect in surge analysis [15], but in this case, the effect is significant. Hence, valve or guide vanes’ closing/opening time is also an important parameter for the hydraulic optimization of the surge tank for this study and should be considered in future optimization cases. An elaborate study on the effects of changing closure time for maximum piezometric head at the bottom tunnel of the surge tank and maximum water level in the surge tank is performed, as shown in Figure 14. The pipe characteristic time for this case is 1.667 s and closing of the valve below this time indicates fast closure of the valve. The maximum pressure head at the bottom tunnel of the surge tank is very high for fast closure and it quickly decreases as soon as gradual closure occurs and gradually becomes almost constant after the valve closing time reaches 15 s. Contrary to that, the maximum water level in the surge tank during fast closure is lower and it increases linearly till 2.5 s of valve closing time, and afterwards, the changes in the maximum water level in the surge tank are very small. The difference of these two pressure heads for a closing time of more than 10 s is less than 1 m, which indicates effective functioning of the surge tank. The effects of fast closing of the valve are more significant in tunnel pressure changes, while for the surge tank, they are comparatively less significant.

Figure 12. Surge analysis for gradual closure of the valve with varying time of closure of the valve (τc). Figure 12. Surge analysis for gradual closure of the valve with varying time of closure of the valve (τc).

Page 16: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 16 of 19Water 2019, 11, 715 16 of 19

Figure 13. Surge analysis for gradual opening of the valve with varying time of opening of the valve (τo).

Figure 14. Maximum piezometric head at the bottom tunnel of the surge tank (HP.max) and maximum water level in the surge tank (ZS,max) for different times of closure of the valve.

4. Conclusions

Surge tanks are very important structures for a pressurized water conveyance system, which prevents the harmful effects of hydraulic transients in the system. Valve or guide vane operation is a very frequent phenomenon in a hydropower or other water conveyance system with a surge tank, which causes harmful transients and the system should be robust enough to cope with such hazardous conditions. The efficient design of a surge tank is vital to ensure maximum benefit and safety in the system. In this study, surge analysis is carried out to examine vital parameters of hydraulic transient caused by opening and closing of the valve. Further, optimization is done using PSO to investigate the best values of DO and DS and enhance the performance of the surge tank. Effects of various parameters during hydraulic transients are studied and favorable conditions are discussed. The following are the conclusions made in this study:

1. A model of a generalized hydropower system consisting of an upstream reservoir, an orifice surge tank, conduit pipes, and an outlet valve was designed and numerically analyzed using MOC in MATLAB. Surge analysis by MOC revealed the variation of water level in the surge tank in different conditions and assisted in defining and modeling the required hydraulic parameters for optimization of the surge tank;

Figure 13. Surge analysis for gradual opening of the valve with varying time of opening of thevalve (τo).

Water 2019, 11, 715 16 of 19

Figure 13. Surge analysis for gradual opening of the valve with varying time of opening of the valve (τo).

Figure 14. Maximum piezometric head at the bottom tunnel of the surge tank (HP.max) and maximum water level in the surge tank (ZS,max) for different times of closure of the valve.

4. Conclusions

Surge tanks are very important structures for a pressurized water conveyance system, which prevents the harmful effects of hydraulic transients in the system. Valve or guide vane operation is a very frequent phenomenon in a hydropower or other water conveyance system with a surge tank, which causes harmful transients and the system should be robust enough to cope with such hazardous conditions. The efficient design of a surge tank is vital to ensure maximum benefit and safety in the system. In this study, surge analysis is carried out to examine vital parameters of hydraulic transient caused by opening and closing of the valve. Further, optimization is done using PSO to investigate the best values of DO and DS and enhance the performance of the surge tank. Effects of various parameters during hydraulic transients are studied and favorable conditions are discussed. The following are the conclusions made in this study:

1. A model of a generalized hydropower system consisting of an upstream reservoir, an orifice surge tank, conduit pipes, and an outlet valve was designed and numerically analyzed using MOC in MATLAB. Surge analysis by MOC revealed the variation of water level in the surge tank in different conditions and assisted in defining and modeling the required hydraulic parameters for optimization of the surge tank;

Figure 14. Maximum piezometric head at the bottom tunnel of the surge tank (HP.max) and maximumwater level in the surge tank (ZS,max) for different times of closure of the valve.

4. Conclusions

Surge tanks are very important structures for a pressurized water conveyance system,which prevents the harmful effects of hydraulic transients in the system. Valve or guide vaneoperation is a very frequent phenomenon in a hydropower or other water conveyance system with asurge tank, which causes harmful transients and the system should be robust enough to cope withsuch hazardous conditions. The efficient design of a surge tank is vital to ensure maximum benefitand safety in the system. In this study, surge analysis is carried out to examine vital parameters ofhydraulic transient caused by opening and closing of the valve. Further, optimization is done usingPSO to investigate the best values of DO and DS and enhance the performance of the surge tank. Effectsof various parameters during hydraulic transients are studied and favorable conditions are discussed.The following are the conclusions made in this study:

1. A model of a generalized hydropower system consisting of an upstream reservoir, an orificesurge tank, conduit pipes, and an outlet valve was designed and numerically analyzed usingMOC in MATLAB. Surge analysis by MOC revealed the variation of water level in the surge tankin different conditions and assisted in defining and modeling the required hydraulic parametersfor optimization of the surge tank;

Page 17: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 17 of 19

2. The maximum and minimum possible water level in the surge tank and damping of surge waveswere considered as the important parameters for surge tank optimization. Analyses in this studyshow that these transient behaviors are highly conflicting in nature for different values of DOand DS. In addition, for certain values of DO and DS, the difference of maximum piezometrichead at the bottom tunnel of the surge tank and maximum water level in the surge tank becomesunacceptable. Hence, a proper optimization method is necessary to investigate the best values ofDO and DS to enhance the efficiency of the surge tank and minimize the effects of transients in theworst conditions;

3. The Particle Swarm Optimization successfully optimized the values of DO and DS with a significantimprovement in the maximum and minimum water level in the surge tank with reasonabledamping of surge waves and the recommended surge tank was free from vortex formation.The overall performance of the surge tank is better than the contemporary methods;

4. Based on the sensitivity analysis of the valve’s closing and opening time, significant changes wereobserved in surge analysis for different closing and opening times of the valve. This indicatesthat valve or guide vanes’ closing/opening time should also be considered during the hydraulicoptimization of the surge tank in further cases. The difference of maximum piezometric headat the bottom tunnel of the surge tank and maximum water level in the surge tank was studiedfor various times of closure of the valve and it is concluded that the closing time of the valveresults in more significant pressure changes in the penstock pipe and headrace tunnels, while inthe surge tank, the effect is comparatively lower.

This study establishes a foundation for the design of a hydraulically optimized restricted orificesurge tank using PSO. In future research, more parameters like location of the surge tank, valve closuretime and mechanism, bifurcation of penstocks, etc., could be included in optimization. In addition tothat, optimization of other types of orifices or other surge controlling devices could also be done.

Author Contributions: K.P.B. and J.Z. conceptualized the research. K.P.B. defined the methodology and carriedout the analysis and S.P. helped in numerical modeling. J.Z. supervised the work and K.P.P. and N.S. assisted inpreparing MATLAB codes. All the authors reviewed, edited, and approved the manuscript.

Funding: The paper was completed within the research projects funded by the National Natural ScienceFoundation of China (Grant Nos. 51079051 and 51479071, and also financially supported by the Priority AcademicProgram Development of Jiangsu Higher Education Institutions (PAPD, SYS1401).

Conflicts of Interest: The authors declare no conflict of interest.

References

1. Adamkowski, A. Case study: Lapino powerplant penstock failure. J. Hydraul. Eng. 2001, 127, 547–555.[CrossRef]

2. Bonin, C.C. Water-hammer damage to Oigawa power station. J. Eng. Power 1960, 82, 111–119. [CrossRef]3. Arrington, R.M. Failure of water-operated needle valves at Bartlett dam and Oneida station hydroelectric

plant. In Proceedings of the 3rd ASME/JSME Joint Fluids Engineering Conference; American Society of MechanicalEngineers: New York, NY, USA, 1999; pp. 18–22.

4. Boulos, P.; Karney, B.; Wood, D.; Lingireddy, S. Hydraulic Transient Guidelines. J. Am. Water Resour. Assoc.2005, 97, 111–124. [CrossRef]

5. Sam Ani, H.M.V.; Khayatzadeh, A. Transient flow in pipe networks. J. Hydraul. Res. 2002, 40, 637–644.[CrossRef]

6. Shani, T.; Gupta, T. Hydraulic transient flow analysis using method of characteristics. Int. J. Innov. Res. Sci.Eng. Technol. 2017, 6, 14812–14827.

7. Izquierdo, J.; Iglesias, P.L. Mathematical modelling of hydraulic transients in complex systems. Math. Comput.Model. 2004, 39, 529–540. [CrossRef]

8. Salmanzadeh, M. Numerical method for modeling transient flow in distribution systems. Int. J. Comput. Sci.Netw. Secur. 2013, 13, 72–78.

Page 18: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 18 of 19

9. Chaichan, M.T.; Al-Zubaidi, D.S.M. Control of hydraulic transients in the water piping system inBadra-Pumping Station No. 5. Al-Nahrain Univ. Coll. Eng. J. 2015, 18, 229–239.

10. Calamak, M.; Bozkus, Z. Comparison of performance of two run-of-river plants during transient conditions.J. Perform. Constr. Facil. 2012, 27, 624–632. [CrossRef]

11. Martins, N.M.C.; Brunone, B.; Meniconi, S.; Ramos, H.M.; Covas, D.I.C. CFD and 1D approaches for theunsteady friction analysis of low Reynolds number turbulent flows. J. Hydraul. Eng. 2017, 143, 4017050.[CrossRef]

12. Wylie, E.B.; Streeter, V.L.; Suo, L. Fluid Transients in Systems; Prentice Hall: Englewood Cliffs, NJ, USA, 1993.13. Chaudhry, M.H. Applied Hydraulic Transients; Van Nostrand Reinhold: New York, NY, USA, 1979.14. Yu, X.; Zhang, J.; Zhou, L. Hydraulic transients in the long diversion-type hydropower station with a complex

differential surge tank. Sci. World J. 2014, 2014, 241868. [CrossRef] [PubMed]15. Guo, W.; Zhu, D. A review of the transient process and control for a hydropower station with a super long

headrace tunnel. Energies 2018, 11, 2994. [CrossRef]16. Zhou, J.X.; Liu, D.Y. Differential pressure and surge analysis of differential surge tank with interconnecting

holes. J. Hohai Univ. Nat. Sci. 2007, 5, 587–591.17. Covas, D.; Ramos, H. Case studies of leak detection and location in water pipe systems by inverse transient

analysis. J. Water Resour. Plan. Manag. 2010, 136, 248–257. [CrossRef]18. Balacco, G.; Fontana, N.; Apollonio, C.; Giugni, M.; Marini, G.; Piccinni, A.F. Pressure surges during filling of

partially empty undulating pipelines. ISH J. Hydraul. Eng. 2018, 1–9. [CrossRef]19. Diao, X.F.; Zhang, X.H.; Yang, Y.Y. Sensitivity analysis of restricted orifice in the hydropower station.

In Proceedings of the 2016 5th International Conference on Civil, Architectural and Hydraulic Engineering(ICCAHE 2016), Zhuhai, China, 30–31 July 2016.

20. Ramos, H.; Covas, D.; Borga, A.; Loureiro, D. Surge damping analysis in pipe systems: Modelling andexperiments. J. Hydraul. Res. 2004, 42, 413–425. [CrossRef]

21. Emadi, J.; Solemani, A. Maximum water hammer sensitivity analysis. World Acad. Sci. Eng. Technol. 2011, 49,416–419.

22. Wood, D.J.; Jones, S.E. Water-hammer charts for various types of valves. J. Hydraul. Div. 1973, 99, 167–178.23. Wan, W.; Li, F. Sensitivity analysis of operational time differences for a pump–valve system on a water

hammer response. J. Press. Vessel Technol. 2016, 138, 11303. [CrossRef]24. Richter, W.; Dobler, W.; Knoblauch, H. Hydraulic and numerical modelling of an asymmetric orifice within

a surge tank. In Proceedings of the 4th IAHR Interrnational Symposium on Hydraulic Structures, Porto,Portugal, 9–11 February 2012.

25. Gabl, R.; Achleitner, S.; Neuner, J.; Gotsch, H.; Aufleger, M. 3D-numerical optimisation of an asymmetricorifice in the surge tank of a high-head power plant. In Proceedings of the 34th World Congress of theInternational Association for Hydro-Environment Research and Engineering: 33rd Hydrology and WaterResources Symposium and 10th Conference on Hydraulics in Water Engineering Engineers, Brisbane,Australia, 26 June–1 July 2011; pp. 2428–2435.

26. Hachem, F.; Nicolet, C.; Duarte, R.; Cesare, G. De Hydraulic design of the diaphragm’s orifice at the entranceof the surge shaft of FMHL pumped-storage power plant. In Proceedings of the 2013 IAHR World Congress,Chengdu, China, 8–13 September 2013; pp. 1–10.

27. Steyrer, P. Economic surge tank design by sofisticated hydraulic throttling. In Proceedings of the 28th IAHRCongress, Graz, Austria, 22–27 August 1999.

28. Afshar, H.; Kerachian, R.; Bazargan-Lari, M.R.; Niktash, A.R. Developing a closing rule curve for valves inpipelines to control the water hammer impacts: Application of the NSGA-II optimization model. In Pipelines2008: Pipeline Asset Management: Maximizing Performance of our Pipeline Infrastructure; American Society ofCivil Engineers: Atlanta, GA, USA, 2008; pp. 1–10.

29. Kim, S. Design of surge tank for water supply systems using the impulse response method with the GAalgorithm. J. Mech. Sci. Technol. 2010, 24, 629–636. [CrossRef]

30. Fathi-Moghadam, M.; Haghighipour, S.; Samani, H.M.V. Design-variable optimization of hydropowertunnels and surge tanks using a genetic algorithm. J. Water Resour. Plan. Manag. 2013, 139, 200–208.[CrossRef]

31. Jung, B.S.; Karney, B.W.; Asce, M. Hydraulic optimization of transient protection devices using GA and PSOapproaches. J. Water Resour. Plan. Manag. 2006, 9496, 44–52. [CrossRef]

Page 19: a Surge Tank Using Particle Swarm Optimization

Water 2019, 11, 715 19 of 19

32. Moghaddas, S.M.J.; Samani, H.M.V. Application of central force optimization method to design transientprotection devices for water transmission pipelines. Mod. Appl. Sci. 2017, 11, 76–85. [CrossRef]

33. Golberg, D.E. Genetic algorithms in search, optimization, and machine learning. Addion Wesley 1989, 1989, 36.34. Eberhart, R.; Kennedy, J. Particle swarm optimization. In Proceedings of the IEEE International Conference

on Neural Networks, Perth, Australia, 27 November–1 December 1995.35. Kachitvichyanukul, V. Comparison of three evolutionary algorithms: GA, PSO, and DE. Ind. Eng. Manag. Syst.

2012, 11, 215–223. [CrossRef]36. Bai, Q. Analysis of particle swarm optimization algorithm. Comput. Inf. Sci. 2010, 3, 180. [CrossRef]37. Hassan, R.; Cohanim, B.; De Weck, O.; Venter, G. A comparison of particle swarm optimization and the

genetic algorithm. In Proceedings of the 46th AIAA/ASME/ASCE/AHS/ASC Structures, Structural Dynamicsand Materials Conference, Austin, TX, USA, 18–21 April 2005; p. 13.

38. Kecskés, I.; Székács, L.; Fodor, J.C.; Odry, P. PSO and GA optimization methods comparison on simulationmodel of a real hexapod robot. In Proceedings of the 2013 IEEE 9th International Conference on ComputationalCybernetics (ICCC), Tihany, Hungary, 8–10 July 2013; IEEE: Tihany, Hungary; pp. 125–130.

39. Duan, Y.; Harley, R.G.; Habetler, T.G. Comparison of particle swarm optimization and genetic algorithm inthe design of permanent magnet motors. In Proceedings of the 2009 IEEE 6th International Power Electronicsand Motion Control Conference, Wuhan, China, 17–20 May 2009; pp. 822–825.

40. Thoma, D. Zur Theorie des Wasserschlosses bei Selbsttatig Geregelten Turbinenanlagen; Oldenbourg: Munchen,Germany, 1910. (In German)

41. Jaeger, C. Present trends in surge tank design. Proc. Inst. Mech. Eng. 1954, 168, 91–124. [CrossRef]42. Gordon, J.L. Vortices at intakes. Water Power 1970, 137–138. Available online: https://ci.nii.ac.jp/naid/

10027805517/ (accessed on 6 April 2019).43. Li, G.H.; Jiang, H.J.; Zhang, J.; Chen, S. The explicit solution to calculate maximum upsurge in water chamber

surge tank under superposed condition. Appl. Mech. Mater. 2013, 427–429, 392–395. [CrossRef]44. Jian, Z.; Suo, L. Explicit formula for calculating surges in throttled surge tank following load rejection.

J. Hydraul. Eng. 1999, 2, 70–74.45. Yu, X.; Zhang, J.; Hazrati, A. Critical superposition instant of surge waves in surge tank with long headrace

tunnel. Can. J. Civ. Eng. 2011, 38, 331–337. [CrossRef]46. Guo, W.; Yang, J.; Teng, Y. Surge wave characteristics for hydropower station with upstream series double

surge tanks in load rejection transient. Renew. Energy 2017, 108, 488–501. [CrossRef]47. National Energy Administration of China. Design code for surge chamber of hydropower stations. China Electr.

Power Press 2014, NB/T 35021. Available online: www.gong123.com/dianli/2016-09-16/1182918.html#edown(accessed on 12 Ocotober 2018).

48. Eberhart, R.C.; Shi, Y. Empirical study of particle swarm optimization. In Proceedings of the 1999 Congress onEvolutionary Computation, Washington, DC, USA, 6–9 July 1999; IEEE: Washington, DC, USA; pp. 1945–1950.[CrossRef]

49. Zhang, W.; Cai, F.; Zhou, J.; Hua, Y. Experimental Investigation on Air-Water Interaction in a HydropowerStation Combining a Diversion Tunnel with a Tailrace Tunnel. Water 2017, 9, 274. [CrossRef]

50. Zhou, J.; Cai, F.; Hu, M. Stability analysis of hydropower stations with complex flow patterns in the tailracetunnel. In Proceedings of the ASME 2013 Fluids Engineering Division Summer Meeting, Incline Village, NV, USA,July 7–11, 2013; American Society of Mechanical Engineers: New York, NY, USA, 2013; p. V002T11A011.[CrossRef]

51. Thanapandi, P.; Prasad, R. Centrifugal pump transient characteristics and analysis using the method ofcharacteristics. Int. J. Mech. Sci. 1995, 37, 77–89. [CrossRef]

© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open accessarticle distributed under the terms and conditions of the Creative Commons Attribution(CC BY) license (http://creativecommons.org/licenses/by/4.0/).