Vous êtes sur la page 1sur 13

# Hindawi Publishing Corporation

## Abstract and Applied Analysis

Volume 2015, Article ID 510675, 12 pages
http://dx.doi.org/10.1155/2015/510675

Research Article
Analysis of Water Hammer with Different Closing Valve Laws on
Transient Flow of Hydrogen-Natural Gas Mixture

## Norazlina Subani and Norsarahaida Amin

Department of Mathematical Sciences, Faculty of Science, Universiti Teknologi Malaysia (UTM), 81310 Johor Bahru, Johor, Malaysia

## Academic Editor: Marco Donatelli

Copyright © 2015 N. Subani and N. Amin. This is an open access article distributed under the Creative Commons Attribution
License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly
cited.

Water hammer on transient flow of hydrogen-natural gas mixture in a horizontal pipeline is analysed to determine the relationship
between pressure waves and different modes of closing and opening of valves. Four types of laws applicable to closing valve, namely,
instantaneous, linear, concave, and convex laws, are considered. These closure laws describe the speed variation of the hydrogen-
natural gas mixture as the valve is closing. The numerical solution is obtained using the reduced order modelling technique. The
results show that changes in the pressure wave profile and amplitude depend on the type of closing laws, valve closure times, and the
number of polygonal segments in the closing function. The pressure wave profile varies from square to triangular and trapezoidal
shape depending on the type of closing laws, while the amplitude of pressure waves reduces as the closing time is reduced and the
numbers of polygonal segments are increased. The instantaneous and convex closing laws give rise to minimum and maximum
pressure, respectively.

1. Introduction excess pressure in a pipeline . Wood et al.  stated that the
pressure transient results from an abrupt change in the flow
Most analysis of flow in pipelines and networks has assumed velocity and can be caused by main breaks, sudden changes
the flow to be at steady state conditions. This means that the in demand, or uncontrolled pump starting.
flow does not change with time at any location in the pipeline When velocities in a pipe system change so rapidly that
system. With the assumption of uniform flow, the analysis the elastic properties of the pipe and the liquid or gas must
becomes simpler and solutions are easy to obtain. Study on be examined in an analysis, we have a hydraulic transient
transient condition is important because pipeline flows are commonly known as water hammer. Water hammer is a
frequently in unsteady state due to the sudden opening and kind of transient phenomenon that occurs when rapid valve
closing of valves. All transient flows are transitions, whether closure suddenly blocks the flow in pipelines. It depends on
in long or short duration. Transient flow can be defined as the fluid compressibility where there are sudden changes in
the flow fluctuation when the velocity and pressure of a fluid pressure. Understanding water hammer is very important
or gas flow change over time due to changes in the system. in order to prevent excessive pressure buildup in pipelines
Relating specifically to pressure, they are sometimes called which cause pipeline damage .
dynamic pressure changes or pressure transients. Pressure change in pipelines depends on gas velocity,
It is not feasible to prevent pressure transient when valve closure time , and arrangement of the closing valve.
operating a piping system, but this situation can be controlled. Maximum pressure can occur during valve closure or at
The main causes of transient flow conditions are closing or the end of the closure operation. Therefore, short times
opening of valves in the piping system, switching off the during valve closure are important in reducing the maximum
power supply, or a power failure and/or equipment failure. pressure, especially in emergency conditions. Unfortunately,
The sudden closure of a control valve, stopping of a pump, this pressure transient is difficult to control because this
and variation of discharge due to pipeline rupture lead to damage is not always visible until long after the event.
2 Abstract and Applied Analysis

Therefore, valves are always installed in the pipeline to control have been presented by different investigators to obtain the
the gas flow when damage occurs. transient pressure and discharge in water hammer situations.
According to Provenzano et al. , there are four methods However, these methods are time consuming, especially
which can be used to modify the action of the valve (closure for gas network analysis. More accurate results and lower
law), most commonly referred to as convex, concave, linear, computational costs are needed for the simulation of gas
and instantaneous closing law. These types of closing valve network analysis. Behbahani-Nejad and Shekari [19, 20]
laws represent a mathematical function that describes the proposed a Reduced Order Model (ROM) approach to
speed variation of the flow as it is closing. These types of valve achieve an efficient computational scheme for natural gas
closure depend on the rate at which valves can be closed. The transient pipe flows. ROM gave lower computational cost and
valve closure rate plays an important role in controlling the reduced time for computation. ROM was recently used in the
water hammer phenomenon . analysis of unsteady flows . Agaie and Amin  used
Valve closure times are also a source of risk when we the ROM technique to study the effect of water hammer on
analyse the water hammer phenomenon. Thus, some efforts transportation of hydrogen-natural mixture. They validated
have been expended to optimize the time closure of control the Provenzano et al.  problems to verify the accuracy of
valves, taking into account several kinds of restrictions. Ghi- ROM.
daoui et al.  presented a general history and introduction In the present study, the water hammer phenomenon will
of the water hammer phenomenon. They stated that the be solved by using this ROM on transient flow of hydrogen-
problem of water hammer was first studied by Menabrea . natural gas mixture. Our main objective is to determine the
Michaud  examined the use of air chambers and safety relationship between the pressure waves of hydrogen-natural
valves for controlling water hammer. In the early 19th century, gas mixture with different modes of closing and opening of
some researchers attempted to develop expressions relating to valves, most commonly referred to as convex, concave, linear,
pressure and velocity changes in a pipe. and instantaneous closing law. To verify our objective, the
Afshar et al.  developed a closing rule curve for valves water hammer on transient flow of hydrogen-natural gas is
in pipelines to control the water hammer impact. They analysed based on the types of closing laws, closure valve
predicted the pressure increase and pipe discharge for a times, and the number of polygonal segments in the closing
valve closing scenario in fluid flow. The effect of different function.
parameters such as velocity, viscosity, and compressibility
of the pressure was investigated by Charles . Fouzi and 2. Mathematical Formulation
Ali  studied the effects of water hammer in hydraulic
systems. Mansuri et al.  also studied the sensitivity of some The mathematical models used to describe unsteady flows
hydraulic parameters to water hammer problem. These four of hydrogen-natural gas mixture in horizontal pipelines are
types of closure laws have been considered mostly in fluids presented in the following.
involving water but have not yet been applied in hydrogen-
natural gas mixture. 2.1. Governing Equation. From the principle of conservation
Elaoud and Hadj-Taı̈eb  studied the transient flow in of mass and momentum laws, the governing equations for the
hydrogen-natural gas mixture. Studies on such problems are transportation of hydrogen-natural gas mixture in pipelines
important because hydrogen is usually transported in the are given by
same pipeline as natural gas to reduce transportation cost
and hydrogen is often stored together with natural gas to 𝜕𝜌
enhance its storage capability. However, they seemed to have + ∇ ⋅ (𝜌V) = 0,
𝜕𝑡
considered only the linear closing valve to determine the (1)
relationship between the mass ratio of mixture and pressure. 𝜕 (𝜌V)
+ ∇ ⋅ (𝜌𝑢V) = −∇𝑃 + ∇𝜏𝑤 + 𝜌F,
According to Fouzi and Ali , analytical solutions are 𝜕𝑡
not possible in the field of those who study the hydraulic
where 𝜌 is defined as density, V is vector velocity, 𝑢 is gas
transient. Allievi  developed classical solutions for both
velocity, 𝑃 is pressure, 𝜏𝑤 is shear force, and F is the net body
analytical and graphical approaches. Streeter  developed
force per unit mass.
a numerical model by using a constant value of the turbulent
For a one-dimensional flow, the continuity and momen-
friction factor. Wiggert and Sundquist  solved the pipeline
tum equation under isothermal conditions can be written as
transients using fixed grids projecting the characteristics
from outside the fundamental grid size. Watt et al.  𝜕𝜌 𝜕 (𝜌𝑢)
provided a solution for rise of pressure by the method of + = 0, (2)
𝜕𝑡 𝜕𝑥
characteristics, but transient friction has not been considered.
2
Chaudhry and Hussaini  solved the water hammer equa- 𝜕 (𝜌𝑢) 𝜕 (𝜌𝑢 ) 𝜕𝑃 (3)
tions by MacCormack, Lambda, and Gabutti explicit finite + =− + ∇𝜏𝑥 + 𝜌𝑓𝑥 ,
𝜕𝑡 𝜕𝑥 𝜕𝑥
difference schemes. Pezzinga  and Elaoud and Hadj-Taı̈eb
 worked to evaluate the transient flow resistance by the where 𝜏𝑥 is the shear force in the 𝑥-direction and 𝑓𝑥 is the net
method of characteristics. body force per unit mass.
Various numerical models including the Method of Using the hydraulic mean diameter 𝐷, the perimeter of
Characteristics (MOC) and Finite Difference Method (FDM) the pipe can be defined as 4/𝐷. The shear force may be
Abstract and Applied Analysis 3

expressed in terms of the pipe friction coefficient 𝑓󸀠 = 2.3. Closing Valve Law Equation. The closing valve law is a
𝜏𝑥 /(1/2)𝜌𝑢2 , which can then be expressed as mathematical function that describes the speed variation of
the gas flow as it is closing . The derivative of (9) is taken
1 4 2𝑓󸀠 𝜌𝑢2 and the subscript 𝑠 denotes the condition of constant entropy
𝜏𝑥 = − 𝑓󸀠 𝜌𝑢2 × = . (4)
given by
2 𝐷 𝐷
Substituting (4) into (3), the one-dimensional momen- 𝜕𝑃
𝑐2 = ( ) . (11)
tum equation in horizontal pipelines becomes 𝜕𝜌 𝑠
2 From (11), the relation of pressure and density to function
𝜕 (𝜌𝑢) 𝜕 (𝜌𝑢 ) 𝜕𝑃 2𝑓󸀠 𝜌𝑢2 (5)
+ =− − . of 𝑡 and 𝑥 can be written as
𝜕𝑡 𝜕𝑥 𝜕𝑥 𝐷
𝜕𝜌 1 𝜕𝑃
According to Chaczykowski , the form of friction = 2 , (12a)
𝜕𝑡 𝑐 𝜕𝑡
factor 2𝑓󸀠 𝜌𝑢2 /𝐷, where 𝑓󸀠 = 𝑓/4, is only used in the
United Kingdom. This friction factor 𝑓 is called the Fanning 𝜕𝜌 1 𝜕𝑃
= . (12b)
friction factor which is defined as the ratio of the pipeline wall 𝜕𝑥 𝑐2 𝜕𝑥
shear stress to the roughness of the pipe. When this Fanning Substituting (12a) and (12b) into (2) and (10) yields
friction factor is applied, the momentum equation in (5) can
𝜕𝑃 𝜕𝑢
also be expressed as + 𝜌𝑐2 = 0, (13a)
𝜕𝑡 𝜕𝑥
2
𝜕 (𝜌𝑢) 𝜕 (𝜌𝑢 ) 𝜕𝑃 𝑓𝜌𝑢2 (6) 𝜕𝑢 1 𝜕𝑃 𝑓𝑢 |𝑢|
+ =− − . + + = 0. (13b)
𝜕𝑡 𝜕𝑥 𝜕𝑥 2𝐷 𝜕𝑡 𝜌 𝜕𝑥 2𝐷
The form of the friction term −𝑓𝜌𝑢2 /2𝐷 in (6) is more In many cases on closing valve in pipes, the friction factor
frequently used in America and Europe. However, to ensure is negligible because the value is very small. Differentiating
that the frictional force shall always act opposite to the equations (13a) and (13b) with respect to 𝑡 and 𝑥, respectively,
direction of motion, the momentum equation is written as gives
2
𝜕 (𝜌𝑢) 𝜕 (𝜌𝑢 + 𝑃) 𝑓𝜌𝑢 |𝑢| 𝜕2 𝑃 𝜕 𝜕𝑢
+ + = 0. (7) + 𝜌𝑐2 ( ) = 0, (14a)
𝜕𝑡 𝜕𝑥 2𝐷 𝜕𝑡2 𝜕𝑡 𝜕𝑥
𝜕 𝜕𝑢 1 𝜕2 𝑃
2.2. Equation of State. For the isothermal flow in a pipeline, ( )+ = 0. (14b)
the gas properties can be assumed to be uniform or constant 𝜕𝑥 𝜕𝑡 𝜌 𝜕𝑥2
over any cross section in a pipeline. It is known that the static Substituting (14a) and (14b) into one-dimensional wave
pressure may be assumed to be constant over a cross section equation gives the continuity and momentum equation
of the pipeline. Isothermal flow means that the gas remains which described the pattern of closing valve function as
at the same temperature while flowing in a pipeline . The
equation of state for gas, which is commonly used in the gas 1 𝜕2 𝑃 𝜕 𝜕𝑢
2 2
= −𝜌 ( ) , (15a)
industry, is given by 𝑐 𝜕𝑡 𝜕𝑡 𝜕𝑥
𝑃 𝜕2 𝑃 𝜕 𝜕𝑢
= 𝑍𝑅𝑇, (8) = −𝜌 ( ) . (15b)
𝜌 𝜕𝑥2 𝜕𝑥 𝜕𝑡
where 𝑍 is the compressibility factor, 𝑅 is the specific gas
2.4. Hydrogen-Natural Gas Mixture Equation. For hydrogen-
constant, and 𝑇 is the constant temperature.
natural gas mixture, the hydrogen mass ratio will be used in
Usually the compressibility factor 𝑍 is assumed to be
determining the mixture density, where the mass ratio of the
constant too . Then, the relation between the equation of
mixture is described as
state with celerity pressure wave 𝑐 is given by
𝑚ℎ
𝜙= , (16)
𝑃 = 𝜌𝑐2 . (9) 𝑚ℎ + 𝑚𝑔

The momentum equation (7) becomes written in terms of where 𝑚𝑔 and 𝑚ℎ are defined as the mass of natural gas and
the celerity pressure wave: hydrogen, respectively.
The density of hydrogen and natural gas can be defined as
2 2
𝜕 (𝜌𝑢) 𝜕 (𝜌𝑢 + 𝜌𝑐 ) 𝑓𝜌𝑢 |𝑢|
+ + = 0. (10) 𝑃 1/𝑛
𝜕𝑡 𝜕𝑥 2𝐷 𝜌ℎ = 𝜌ℎ0 ( ) , (17a)
𝑃0
Therefore, the continuity equation (2) and momentum 󸀠
equation (10) will be used in transient analysis of isothermal 𝑃 1/𝑛
𝜌𝑔 = 𝜌𝑔0 ( ) , (17b)
hydrogen-natural gas mixture in horizontal pipeline. 𝑃0
4 Abstract and Applied Analysis

where 𝜌ℎ0 and 𝜌𝑔0 are initial density of hydrogen and natural where 𝜌𝑢𝐿 and 𝑃𝐿 are defined as mass flux and pressure at the
gas, respectively, 𝑃 is transient pressure, and 𝑃0 is permanent outlet pipeline, respectively.
pressure.
The expression of the average density of the mixture is 2.7. Initial Conditions. The initial conditions at 𝑡 = 0 are
defined according to the mass ratio, 𝜙. The density of the
hydrogen-natural gas mixture then can be written as 𝜕𝜌
(𝑥, 0) = 0, (22a)
−1
𝜕𝑥
𝜙 (1 − 𝜙)
𝜌=[ + ] 𝜕𝜌𝑢 𝜕𝜌 𝑓𝜌𝑢 |𝑢|
𝜌ℎ 𝜌𝑔 (𝑥, 0) = −𝑐2 − . (22b)
𝜕𝑥 𝜕𝑥 2𝐷
(18)
󸀠 −1
𝜙 𝑃 1/𝑛 (1 − 𝜙) 𝑃 1/𝑛 3. Numerical Solution
=[ ( ) + ( ) ] .
𝜌ℎ0 𝑃0 𝜌𝑔0 𝑃0
To solve numerically the governing equations (2) and (10),
From (11), the celerity pressure wave of compressible gas Reduced Order Model (ROM) is used. The ROM is an
flow can be expressed based on the hydrogen mass ratio. By efficient method to solve the transient hydrogen-natural gas
taking the derivative of (18) with respect to 𝑃, the celerity mixture in a gas pipeline because of smaller number of errors
pressure wave (11) can be written as and reduced time consumption and computational cost.
󸀠
𝜙 𝑃 1/𝑛 (1 − 𝜙) 𝑃 1/𝑛
𝑐=[ ( ) + ( ) ] 3.1. Transformation of Flux Vector Form. The governing
𝜌ℎ0 𝑃0 𝜌𝑔0 𝑃0 equations (2) and (10) can be written in the flux vector form:
(19) 𝜕𝑄 𝜕𝐸 (𝑄)
󸀠 −(1/2) + − 𝐻 (𝑄) = 0, (23)
1 𝜙 𝑃 1/𝑛
(1 − 𝜙) 𝑃 1/𝑛 𝜕𝑡 𝜕𝑥
×[ { ( ) + 󸀠 ( ) }] .
𝑃 𝑛𝜌ℎ0 𝑃0 𝑛 𝜌𝑔0 𝑃0 where
𝜌
2.5. Closing Valve Function. Provenzano et al.  proposed 𝑄=[ ],
the following closing function: 𝜌𝑢
𝑡 𝑚 𝜌𝑢
𝑢 (𝑡) = (𝑢0 − 𝑢𝜏 ) [1 − ( ) ] + 𝑢𝜏 , (20a)
𝐸 (𝑄) = [ 2 2 ] ,
𝜏 (24)
𝜌𝑢 + 𝑐 𝜌
where 𝜏 = 𝑁𝑘 is the closing time, 0 ≤ 𝑚 < ∞, and 𝑢𝜏 is the
gas speed at the end of the closing valve. 0
The closing time (𝜏) is stepped by a number of polygonal 𝐻 (𝑄) = [ 𝑓𝜌𝑢 |𝑢| ] .
segments in closing function denoted by 𝑘 given by −
[ 2𝐷 ]
𝑖𝑘 𝑚
𝑢𝑖 = (𝑢0 − 𝑢𝜏 ) [1 − ( ) ] + 𝑢𝜏 , (20b) 3.2. Discretization of Implicit Steger Warming Flux Vector
𝜏
Splitting Scheme. To construct ROM, Implicit Steger Warm-
where 0 ≤ 𝑖 ≤ 𝑁. ing Flux Vector Splitting Scheme (FSM) will be applied.
Equation (20b) allows finding the speed values at each of Finite Difference Method (FDM) will be used to discretize
the stepped times 𝑖𝑘. equation (23) and to obtain FSM scheme. By using this FSM,
the eigenvalue problem will be constructed from (23). The
2.6. Boundary Conditions. The boundary conditions at the resulting FSM scheme can be written as
initial point, 𝑥 = 0, are given by
Δ𝑡 𝑛(+) Δ𝑡
𝑃 (0, 𝑡) = 𝑃0 (𝑡) , −[ 𝐴 ] Δ𝑄𝑖−1 + [ 𝐴𝑛(−) ] Δ𝑄𝑖+1
(21a) Δ𝑥 𝑖−1 Δ𝑥 𝑖+1
𝜌 (0, 𝑡) = 𝜌0 (𝑡) , Δ𝑡
(21b) + [𝐼 + (𝐴𝑛(+)
𝑖 − 𝐴𝑛(−)
𝑖 ) − Δ𝑡𝐵𝑖𝑛 ] Δ𝑄𝑖 (25)
Δ𝑥
𝜕𝑢
(0, 𝑡) = 𝑢0 (𝑡) , (21c) Δ𝑡 𝑛(+) 𝑛(+) 𝑛(−)
𝜕𝑥 =− [𝐸 − 𝐸𝑖−1 + 𝐸𝑖+1 − 𝐸𝑖𝑛(−) ] + Δ𝑡𝐻𝑖𝑛 .
Δ𝑥 𝑖
where 𝑃0 , 𝜌0 , and 𝑢0 are defined as pressure, density, and
velocity at the inlet pipeline, respectively. 3.3. Form of Eigenvalues Problem. To perform the eigen-
The boundary conditions at the end point 𝑥 = 𝐿 are analysis and construct ROM, it is necessary to linearize
𝜌𝑢 (𝐿, 𝑡) = 𝜌𝑢𝐿 (𝑡) , the finite difference equation in (25) . The linearization
(21d)
can be achieved by assuming steady state in which stability
𝜕𝑃 perturbation is used to obtain the transient solution at each
(𝐿, 𝑡) = 𝑃𝐿 (𝑡) , (21e) nodal point.
𝜕𝑥
Abstract and Applied Analysis 5

For linearization, the flow field variables at each time step 3.5. Eigenmode Analysis. For analysis of eigenmode based
are given by on time, (29) reduces the gas flow behavior to the sum of
individual nodes:
̂𝑛+1 ,
𝑄𝑛+1 = 𝑄0 + 𝑄 (26)
̂𝑖 = 𝑥𝑖 exp (𝜆 𝑖 𝑡) .
𝑄 (34)
0
where 𝑄 represents the corresponding steady-state values
̂ represents perturbation values.
and 𝑄 Equation (34) can be written in general form as
Substituting (26) into (25) yields
̂ = 𝑋̂𝑐,
𝑄 (35)
Δ𝑡 ̂𝑛+1 + [ Δ𝑡 𝐴0(−) ] 𝑄
̂𝑛+1
− [ 𝐴0(+) ]𝑄𝑖−1 𝑖+1 where 𝑐̂ is the vector of normal node coordinate.
Δ𝑥 𝑖−1 Δ𝑥 𝑖+1
Substituting (33) and (28) and then multiplying by 𝑌𝑇 give
Δ𝑡 ̂𝑛+1
̂𝑛+1 − Δ𝑡𝐵0 𝑄 (27) a set of 𝑁 uncoupled equations for the nodal coordinates 𝑐̂:
+ [𝐼 + (𝐴0(+)
𝑖 − 𝐴0(−)
𝑖 )] 𝑄𝑖 𝑖 𝑖
Δ𝑥
𝑐̂𝑛+1 = 𝑍̂𝑐𝑛 + 𝑌𝑇 𝑉𝑛+1 . (36)
̂𝑛 .
=𝑄𝑖
Since the orthogonality conditions are satisfied, the eigen-
Equation (27) can be simplified in the form of eigenvalue mode can be retained to construct ROM using (36).
problem:
̂𝑛+1 = 𝐼𝑄
𝑊0 𝑄 ̂𝑛 + 𝑉𝑛+1 , (28) 4. Results and Discussion
̂𝑛+1 0(−) ̂𝑛+1 Before analyzing the effect of different types of closing valve,
where 𝑉𝑛+1 = −[(Δ𝑡/Δ𝑥)𝐴0(+) 𝑖−1 ]𝑄𝑖−1 + [(Δ𝑡/Δ𝑥)𝐴 𝑖+1 ]𝑄𝑖+1 the simple case of fluid (water) flow will be validated accord-
and 𝑉 is defined as a vector consisting of the imposed values
ing to Provenzano et al.  problem. In the present study,
by the boundary conditions and 𝑊0 represents the matrix.
ROM is used as numerical method to solve the governing
equations (2) and (10). This current method is used to validate
3.4. Construction of Reduced Order Model. To construct the the results.
ROM technique, the zero eigenvalue in the eigensystem of Figure 1 shows the results from the current method
matrix is required. For zero forcing function 𝑉, we need to compared to those obtained by an analytical method. The
consider the homogeneous part of (28) by setting results obtained using ROM are in good agreement with
those of the analytical solution. The effect of water hammer
̂𝑖 = 𝑥𝑖 exp (𝑖𝜔𝑖 𝑡) 𝛼𝑖 exp (𝑖𝑧𝑖 𝑥) ,
𝑄 (29) is observed at pressure oscillation at different types of closing
laws as plotted in Figure 1.
where 𝜆 𝑖 is defined as eigenvalues, 𝑥𝑖 is eigenvector, and 𝑧𝑖 =
exp(𝜆 𝑖 Δ𝑡).
Then, the diagonal matrix which contains the eigenvalues 4.1. Effect of Different Types of Closing Valve: Case Study 1.
and eigenvector can be written as Four different types of closing valve laws are used to test the
accuracy of the solution in case of transient flow of hydrogen-
𝑧𝑖 𝑊0 𝑥𝑖 = 𝐼𝑥𝑖 . (30) natural gas mixture occurring in the pipeline.
A single horizontal pipeline composed of a compressor
In general, (30) can be written as pumping the mixture through an iron pipe and characterized
by a section of a pipeline system of 𝐿 = 500 m length and
𝑍𝑊𝑛 𝑋 = 𝐼𝑋, (31) 𝐷 = 0.4 m in diameter is illustrated in Figure 2. A rapid
closure valve (RCV) is placed at the downstream end, whereas
where 𝑍 represents the diagonal matrix of eigenvalue at each the automatic closure valve (ACV) is placed at the immediate
time step and 𝑋 is the matrix with column representing the discharged side of the compressor to avoid destruction of the
right eigenvector. compressor .
On the other hand, the left eigenvectors satisfy the Two parameters are used to characterize the dynamic
following relation: response of the valves which are the reaction time and
actuation time. The reaction time is defined as the time
𝑇
(𝑊0 ) 𝑌𝑍 = 𝐼𝑌, (32) taken to start the valve actuation after sensing a pressure
perturbation, while the actuation time is the time interval
where 𝑌 is the matrix with rows that represent the left between the initial and the final positions of the valve. The
eigenvector. actuation time is only considered for the RCV side.
If the eigenvectors are suitably normalized, they satisfy Four types of closing valve laws which are classified into
the following orthogonality conditions: instantaneous, concave, linear, and convex are considered.
Figure 3 shows the closing function corresponding to the
𝑌𝑇 𝑊𝑛 𝑋 = 𝐼, different types of closing valve with different mass ratio
(33) of hydrogen-natural gas mixture. The 𝑚 exponent in (20a)
𝑌𝑇 𝐼𝑋 = 𝑍. determines the closing curve function as follows:
6 Abstract and Applied Analysis

1 1

0.8 0.8

0.6 0.6

0.4 0.4

(p(t) − p0 )/p0
(p(t) − p0 )/p0

0.2 0.2

0 0

−0.2 −0.2

−0.4 −0.4

−0.6 −0.6

−0.8 −0.8

−1 −1
0 5 10 15 20 25 30 35 0 5 10 15 20 25 30
t (s) t (s)

## Provenzano et al. (2011) Present method

Present method Provenzano et al. (2011)
(a) Instantaneous closing valve law (𝑚 = 0) (b) Concave closing valve law (𝑚 = 0.3)
1 1

0.8

0.6
0.5
0.4
(p(t) − p0 )/p0

(p(t) − p0 )/p0

0.2

0 0

−0.2

−0.4
−0.5
−0.6

−0.8

−1 −1
0 5 10 15 20 25 30 35 0 5 10 15 20 25 30
t (s) t (s)

## Provenzano et al. (2011) Provenzano et al. (2011)

Present method Present method
(c) Linear closing valve law (𝑚 = 1) (d) Convex closing valve law (𝑚 = 48)

Figure 1: Transient pressure waves for different types of closing valve laws (comparison present method (ROM) with analytical method) .

ACV RCV

Compressor
L

## Figure 2: Hydrogen-natural gas mixture installation .

Abstract and Applied Analysis 7

## Types of closing valve corresponding to different m values

1

0.9 m = 50

0.8 m=5

0.7

0.6

u(t)/u0
m=1
0.5
m = 0.5
0.4

0.3

0.2
m = 0.05
0.1
m=0
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
t/𝜏

## 𝑚 = 0 instantaneous closing; Table 1: Closure times .

0 ≤ 𝑚 < 1 concave closing; Test ACV reaction (s) ACV actuation (s) RCV actuation (s)
𝑚 = 1 linear closing; 1 2 5 0.25
1 ≤ 𝑚 < ∞ convex closing. 2 0.2 0.5 0.2

## For instantaneous closing valve, the gas flow speed

changes instantly to zero. The speed of gas flow is reduced
uniformly during the whole closing time when the linear closing law. For concave closing law (0 < 𝑚 < 0.5),
closing valve is applied. Concave closing valve demonstrates the pressure wave shape changes to trapezoidal. When the
rapid decrease of the speed flow at initial closing time and value of 𝑚 increases (0.5 < 𝑚 < 1) the pressure wave
then a slow reduction for most of the time, whereas convex shape is changed to triangular. For linear closing law, the
closing valve features a low decrease of the speed flow during pressure wave presented a strictly triangular form. For convex
the early closing time which increases with time. closing law (5 < 𝑚 < 50), the pressure wave changes
Figure 4 shows plots of the numerically obtained results from triangular towards the trapezoidal shape and becomes
for the pressure wave distribution as a function of time for pulse when (50 < 𝑚 < ∞). This pulse wave is a kind of
different values of the hydrogen mass ratio 𝜙. The numerical nonsinusoidal wave form that is similar to a square wave
results clearly show the interaction of the pressure wave but does not have the symmetrical shape associated with a
generated by the types of closing valve. The results of the perfect square wave. However, increasing the values of 𝑚 will
numerical simulation, plotted in Figure 4, show that the increase the computation time and pressure wave.
pressure wave oscillation is repeated every 7 s for each type
of closing law.
For instantaneous closing law, the maximum pressure 4.2. Effect of Closing Times: Case Study 2. In case study 2,
wave for hydrogen is 20.06 bar; for hydrogen-mixture (67%), the effects of the pressure change can be demonstrated by
the maximum pressure wave is 20.05 bar; for hydrogen- varying the valve closure times . Two tests of different
mixture (33%), the maximum pressure wave is 20.03 bar; and valve closure times are considered. Table 1 summarizes these
for natural gas, the maximum pressure wave is 20.01 bar. closure times.
From these numerical results, the transient pressure wave of Figure 5 shows the effects of different valve closing times
hydrogen and hydrogen-natural gas mixture are much higher on the transient pressure wave for hydrogen-natural gas
compared to natural gas. For concave, convex, and linear mixture (33%). Four different valves are considered for the
closing valves, hydrogen has a maximum value of pressure purpose of simulating the results. The numerical results
wave compared to natural gas. Instant closing valve produces clearly show the interaction of the pressure wave generated
the minimum values of pressure waves compared to concave, by RCV with the closure time of ACV . From the results
convex, and linear closing valve. plotted in Figure 5, the maximum value of the pressure wave
Figure 4 gives information on the pressure wave profile is 20.02 bar for Test 1, which is reached 0.25 s after the valve
as a function of the closing valve. The shape of pressure closed instantly. This higher pressure may be lowered by
wave changes from square to trapezoidal for instantaneous reducing the closure time which is represented by Test 2.
8 Abstract and Applied Analysis

20.1 20.1

20.05 20.05
Pressure (bar)

Pressure (bar)
20 20

19.95 19.95

19.9 19.9
0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20
Time (s) Time (s)
(a) Instantaneous closing valve law (𝑚 = 0) (b) Concave closing valve law (𝑚 = 0.05)
20.15 20.2
20.15
20.1
20.1
20.05 20.05
Pressure (bar)
Pressure (bar)

20
20
19.95
19.95 19.9
19.85
19.9
19.8
19.85 19.75
0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20
Time (s) Time (s)
(c) Concave closing valve law (𝑚 = 0.5) (d) Linear closing valve law (𝑚 = 1)
20.25 600
20.2 500
20.15
400
20.1
Pressure (bar)

Pressure (bar)

20.05 300

20 200
19.95 100
19.9
0
19.85
19.8 −100

19.75 −200
0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20
Time (s) Time (s)

## Hydrogen mixture (33%) Hydrogen Hydrogen mixture (33%) Hydrogen

Hydrogen mixture (67%) Natural gas Hydrogen mixture (67%) Natural gas
(e) Convex closing valve law (𝑚 = 5) (f) Convex closing valve law (𝑚 = 50)

Figure 4: Transient pressure waves for different types of closing valve laws at different mass ratio.
Abstract and Applied Analysis 9

20.1 20.1

20.05 20.05
Pressure (bar)

Pressure (bar)
20 20

19.95 19.95

19.9 19.9
0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20
Time (s) Time (s)
(a) Instantaneous closing valve law (𝑚 = 0) (b) Concave closing valve law (𝑚 = 0.5)
20.1 20.25

20.2
20.05

20.15
Pressure (bar)

Pressure (bar)

20

20.1

19.95
20.05

19.9 20
0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20
Time (s) Time (s)

Test 1 Test 1
Test 2 Test 2
(c) Linear closing valve law (𝑚 = 1) (d) Convex closing valve law (𝑚 = 5)

Figure 5: Transient pressure waves as function of time, 33% mass ratio of hydrogen-natural gas mixture.

In this case, the maximum value of the pressure wave is 20.09 bar at 2.25 s for Test 2. From the numerical results,
reduced to the value of 20.01 bar, which is reached in 2.25 s increasing the values of 𝑚 will increase the pressure wave for
after the valve is closed. For convex valve, the maximum value both closing times. Closing the valve instantly takes less time
of pressure wave for Test 1 is 20.24 bar, reached in 3.00 s after to reduce the pressure compared to the convex closing law
the valve closed, and the maximum value of pressure wave for that takes more time to reduce the pressure.
Test 2 is reduced to 20.22 bar, which is reached 1.00 s after the
valve is closed. 4.3. Effect of Number of Polygonal Segments in the Closing
However, for concave and linear closing valve, decreasing Function: Case Study 3. For case study 3, the effect of number
the valve closing time shows an increasing pressure wave . of polygonal segments in the closing function has been
For concave valve, the maximum value of pressure wave of evaluated at different types of closing valves. Three different
Test 1 and Test 2 is 20.03 bar and 20.05 bar, which reached polygonal segments denoted by 𝑘 (𝑘 = 2, 4, 10) have been
6.00 s and 2.25 s, respectively. For linear valve, the maximum tested to describe the profile and amplitude of pressure waves
value of pressure wave of Test 1 is 20.08 bar at 0.05 s and at 33% of hydrogen-natural gas mixture.
10 Abstract and Applied Analysis

20.06 20.06

20.04 20.04

20.02 20.02
Pressure (bar)

Pressure (bar)
20 20

19.98 19.98

19.96 19.96

19.94 19.94
0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20
Time (s) Time (s)
(a) Instantaneous closing valve law (𝑚 = 0) (b) Concave closing valve law (𝑚 = 0.5)
20.2 20.25

20.15 20.2

20.1 20.15
Pressure (bar)
Pressure (bar)

20.05 20.1

20 20.05

19.95 20

19.9 19.95

19.85 19.9
0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20
Time (s) Time (s)

k=2 k=2
k=4 k=4
k = 10 k = 10
(c) Linear closing valve law (𝑚 = 1) (d) Convex closing valve law (𝑚 = 5)

Figure 6: Transient pressure waves and their polygonal approach for different 𝑘 segments at 33% of hydrogen-natural gas mixture.

Figure 6 shows the closing valve function and its different reduces the time to reach a minimum value of the pressure
polygonal segments. From Figure 6, the patterns of pressure wave. From the results, plotted in Figure 6, the minimum
wave of hydrogen-natural gas mixture remain the same for time taken to reach the minimum pressure of hydrogen-
different number of segments at each type of closing law. natural gas mixture is 0.61 s at 𝑘 = 10 (instantaneous closing
Increasing the number of segments 𝑘 can reduce the valve) compared to 1.10 s at 𝑘 = 2 for convex closing valve.
pressure wave of hydrogen-natural gas mixture. For concave
valve, the minimum pressure wave at 𝑘 = 10 is 19.95 bar, 5. Conclusion
compared to 𝑘 = 2, where the minimum pressure wave
is 20.00 bar. The minimum pressure wave of linear valve is The relationship between the pressure waves of hydrogen-
19.89 bar and 20.00 bar at 𝑘 = 10 and 𝑘 = 2, respectively. natural gas mixture with the different types of closing valve
According to Provenzano et al. , the closing valve laws is determined based on the type of closing laws, closure
model gets better as more segments are included in the polyg- times, and the polygonal segments of the closing function.
onal approach. Increasing values of polygonal segments also The different closing laws are analysed based on the different
Abstract and Applied Analysis 11

mass ratio of hydrogen-natural gas mixture using the reduced  D. J. Wood, S. Lingireddy, B. W. Karney, and D. L. Mcpherson,
order modelling technique. The transient pressure wave “Numerical Methods for modelling transient flow in distribu-
increases as the mass ratio of hydrogen is increased for each tion systems,” Journal American Water Works Association, vol.
type of closing law. 97, no. 7, pp. 104–115, 2005.
 J.-S. Lee, B.-K. Kim, W.-R. Lee, and K.-Y. Oh, “Analysis of water
The instantaneous closing law (𝑚 = 0) gives the square
hammer in pipelines by partial fraction expansion of transfer
form of the pressure wave. For concave closing law (0 ≤ function in frequency domain,” Journal of Mechanical Science
𝑚 < 1), the pressure wave shape changes from trapezoidal to and Technology, vol. 24, no. 10, pp. 1975–1980, 2010.
triangular when 𝑚 increases. For linear closing law (𝑚 = 1),  B. W. Karney and E. Ruus, “Charts for water hammer in
the pressure wave is strictly in a triangular form. For convex pipelines resulting from valve closure from full opening only,”
closing valve (5 < 𝑚 < 50), the pressure wave changes from Canadian Journal of Civil Engineering, vol. 12, no. 2, pp. 241–264,
triangular towards trapezoidal shape. Increasing the value 1985.
of 𝑚 increases the pressure wave and the time needed for  P. G. Provenzano, F. Baroni, and R. J. Aguerre, “The closing
computation. It is found that the instantaneous closing law function in the water hammer modeling,” Latin American
gives rise to minimum pressure. Applied Research, vol. 41, no. 1, pp. 43–47, 2011.
The relationship between the pressure waves of hydrogen-  M. S. Ghidaoui, M. Zhao, D. A. McInnis, and D. H. Axworthy,
natural gas mixture (at 33% of hydrogen content) with various “A review of water hammer theory and practice,” Applied
Mechanics Reviews, vol. 58, no. 1, pp. 49–76, 2005.
closure times and different number of polygonal segments is
also determined. The numerical results show the interaction  L. F. Menabrea, “Note sur les effets du choc de l’eau dans
les conduites,” Comptes Rendus Hebdomadaires des Seances de
of the transient pressure wave with the closure time generated
l’Academie des Sciences, vol. 47, pp. 221–224, 1885.
by RCV and ACV. Reducing the closure time for both RCV
 J. Michaud, “Coups de bélier dans les conduites. Étude des
and ACV reduces the transient pressure wave. Closing the
moyens employés pour en atténeur les effects,” Bulletin de la
valve instantly takes the least time to reduce the pressure wave Société Vaudoise des Ingénieurs et des Architectes, vol. 4, no. 3-
while the convex closing law takes the longest time to do so. 4, pp. 56–64, 65–77, 1878.
Increasing the values of polygonal segments denoted by 𝑘  B. V. Charles, “Analysis of water hammer in pipes with non-
reduces the pressure wave and time to reach the minimum condensable gases,” in Proceedings of the AMSE Pressure Vessels
value. The instantaneous closing law gives lowest pressure and Piping Division Conference (PVP ’09), Prague, Czech
while the convex closing law produces the maximum pressure Republic, 2009.
wave when the valve is closing. Thus, to ensure the attainment  A. Fouzi and F. Ali, “Comparative study of the phenomenon of
of minimum pressure within a short time, the instantaneous propagation of elastic waves in conduits,” in Proceedings of the
closing valve must be considered. World Congress on Engineering (WCE ’11), vol. 3, London, UK,
2011.
It must be noted that to reduce the effects of water
hammer phenomenon, devices and procedures such as valve  B. Mansuri, F. Salmasi, and B. Oghati, “Sensitivity analysis for
water hammer problem in pipelines,” Iranica Journal of Energy
movement, surge tanks, and increased pipeline diameter
and Environment, vol. 5, no. 2, pp. 124–131, 2014.
could be considered to mitigate both high and low pressure
and to reduce potential surge pressure [11, 25].  S. Elaoud and E. Hadj-Taı̈eb, “Transient flow in pipelines of
high-pressure hydrogen–natural gas mixtures,” International
Journal of Hydrogen Energy, vol. 33, no. 18, pp. 4824–4832, 2008.
Conflict of Interests  L. Allievi, “Theorie generale du movement varié de l’eau dans les
tuyaux de conduit,” Mechanical Review, vol. 14, pp. 10–22, 230–
The authors declare that there is no conflict of interests 259, 1904.
regarding the publication of this paper.  V. L. Streeter, “Water hammer analysis,” Journal of the Hydraulics
Division, vol. 95, no. 6, 1969.
 D. C. Wiggert and M. J. Sundquist, “Fixed grid characteristics
Acknowledgment for pipeline transients,” Journal of Hydraulic ASCE, vol. 103, no.
12, pp. 1403–1416, 1977.
Financial support provided by Vot 00M25 and Vot 01G31,  C. S. Watt, J. M. Hobbs, and A. P. Boldy, “Hydraulic transients
Research University Grant Scheme, Universiti Teknologi following valve closure,” Journal of Hydraulic ASCE, vol. 106, no.
Malaysia, is gratefully acknowledged. 1980, pp. 1627–1640, 1980.
 M. H. Chaudhry and M. Y. Hussaini, “Second-order accurate
explicit finite-difference schemes for water hammer analysis,”
References Journal of Fluids Engineering, vol. 107, no. 4, pp. 523–529, 1985.
 H. Afshar, R. Kerachian, M. R. Bazargan-Lari, and A. R.  G. Pezzinga, “Evaluation of unsteady flow resistances by quasi-
Niktash, “Developing a closing rule curve for valves in pipelines 2D or 1D models,” Journal of Hydraulic Engineering, vol. 126, no.
to control the water hammer impacts: application of the NSGA- 10, pp. 778–785, 2000.
II optimization model,” in Proceedings of the 7th International  M. Behbahani-Nejad and Y. Shekari, “The accuracy and effi-
Pipelines Conference (IPC ’08), pp. 1–10, American Society of ciency of a reduced-order model for transient flow analysis in
Civil Engineering Pipelines (ASCE), Atlanta, Ga, USA, July gas pipelines,” Journal of Petroleum Science and Engineering, vol.
2008. 73, no. 1-2, pp. 13–19, 2010.
12 Abstract and Applied Analysis

##  M. Behbahani-Nejad and Y. Shekari, “Reduced order modelling

of natural gas transient flow in pipelines,” International Journal
of Engineering and Applied Sciences, vol. 5, no. 7, pp. 148–152,
2008.
 M. Behbahani-Nejad, H. Haddadpour, and V. Esfahanian,
“Reduced order modelling of unsteady flows without static
correction requirement,” in Proceedings of the 24th International
Congress of the Aeronautical Sciences (ICAS ’04), pp. 1–8,
Yokohama, Japan, 2004.
 B. G. Agaie and N. Amin, “The effect of water hammer on
pressure oscillation of hydrogen natural gas transient flow,”
Applied Mechanics and Materials, vol. 554, pp. 251–255, 2014.
 M. Chaczykowski, “Transient flow in natural gas pipeline—
the effect of pipeline thermal model,” Applied Mathematical
Modelling, vol. 34, no. 4, pp. 1051–1067, 2010.
 J. Zhou and M. A. Adewumi, “Simulation of transients in
natural gas pipelines using hybrid TVD schemes,” International
Journal for Numerical Methods in Fluids, vol. 32, no. 4, pp. 407–
437, 2000.
 H. Garry, B. Susan, and L. Gregory, “Pipeline surge analysis
studies,” in Proceedings of the Pipeline Simulation Interest Group
Annual Meeting (PSIG ’14), Baltimore, Md, USA, 2014.
Advances in Advances in Journal of Journal of
Operations Research
Hindawi Publishing Corporation
Decision Sciences
Hindawi Publishing Corporation
Applied Mathematics
Hindawi Publishing Corporation
Algebra
Hindawi Publishing Corporation
Probability and Statistics
Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014

## The Scientific International Journal of

World Journal
Hindawi Publishing Corporation
Differential Equations
Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014

## Submit your manuscripts at

http://www.hindawi.com

## International Journal of Advances in

Combinatorics
Hindawi Publishing Corporation
Mathematical Physics
Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014

## Journal of Journal of Mathematical Problems Abstract and Discrete Dynamics in

Complex Analysis
Hindawi Publishing Corporation
Mathematics
Hindawi Publishing Corporation
in Engineering
Hindawi Publishing Corporation
Applied Analysis
Hindawi Publishing Corporation
Nature and Society
Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014

International
Journal of Journal of
Mathematics and
Mathematical
Discrete Mathematics
Sciences

## Hindawi Publishing Corporation Hindawi Publishing Corporation Volume 2014

Function Spaces
Hindawi Publishing Corporation
Stochastic Analysis
Hindawi Publishing Corporation
Optimization
Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014 http://www.hindawi.com http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014