a b s t r a c t
A novel high-pressure apparatus with various abilities in hydrate investigation elds has been designed, constructed
and fully described in the present paper. In order to achieve an appropriate understanding of the gas hydrate behavior
in formation and destabilization, series of laboratory experiments with six different gas mixtures were done and more
than 130 hydrate equilibrium points in the pressure range of about 4503000 psia were recorded. Different methods
of hydrate formation prediction were discussed and nally the new promising neural networks method was used.
Because of the previous works defects in accurate hydrate formation prediction via neural networks, a new use of
neural networks was introduced. Testing and validation of the new neural networks method indicates that it is a
reliable technique for the accurate prediction of hydrate formation conditions for generalized gas systems and can
be used in future automatic inhibitor dosing devices.
2012 The Institution of Chemical Engineers. Published by Elsevier B.V. All rights reserved.
Keywords: Hydrate formation; Natural gas; Neural network; Prediction; Experimental study
1.
Introduction
1.1.
What is hydrate?
Nomenclature
bj
ci
E
Kvs
ni
oj
Pi
Pt
ti
wji
xs
xi
yi
1.2.
(HFP)
The importance of the accurate hydrate formation (or dissociation) prediction is evident because of its wide applications
(such as determination of the limits for natural gas expansion during throttling in valves, chokes and restrictions, the
amount of inhibitor to be injected and so on), and because
experimental measurements of hydrate formation (or dissociation) conditions for every specic gas composition and every
pressure are impractical.
Several methods are useful for predicting hydrate formation of gases; however, each one has some limitations
in pressure and temperature range or in gas constituents.
Neglecting any of these limitations will cause serious inaccuracy. These correlations and methods can be classied into
four major groups (GPSA, 2004; Maddox and Erbar, 1992).
1.2.1 Katz method that uses vaporsolid equilibrium constants to nd hydrate formation (or dissociation)
temperature or pressure (Carson and Katz, 1942). The
calculation is iterative and convergence is achieved
when the following objective function is satised:
n
yi
i=1
Kvs
y
xs
265
(1)
266
2.
2.1.
Apparatus description
2.2.
Gas mixtures preparing and hydrate formation
determination approach
Hydrate formation vessel was opened through the top lid and
any possible moisture or solid particles were cleaned. Then
the cell was closed and sealed via bolts and gaskets. A special
gas mixture was prepared via the following procedure:
2.2.1 Current temperature, the gas mixture composition and
the nal pressure is known, the gas mixture compressibility factor is calculated by proper mixing rule
and available correlations (Ahmed, 2000), and with the
known vessel volume, the total mole number and each
component moles are attained.
2.2.2 The nal gas mixture at the proper pressure is made by
injecting every pure constituent to the cell and reach
to a special pressure that supply the required moles of
that component at the nal mixture. As it can be seen in
Fig. 2, an algorithm was written to compute these pressures by trial and error. Now to make a gas mixture with
known compositions (i.e. yc1 , yc2 , yc3 , . . .) the cell should
be lled with pure methane to the pressure of P1 . Afterwards, pure ethane is added to attained P2 and other
components with the calculated nal pressures should
be superimposed to reach to the nal mixture.
To conrm the exact composition of the ultimate created
gas mixture, a sample of the gas was tested through the sampling line via the gas chromatograph.
200 ml of deionized water was added to the cell by the
metering pump after heating via the heat traced line which
was piped from the pump to the cell. Warming the water to
160 F will facilitate the gas saturation. The water occupied
nearly 20 vol.% of the cell. The approximate hydrate formation temperature of the gas mixture was read from GPSA
(2004) book (i.e. from the charts that depict hydrate formation temperature versus pressure at different gas specic
gravities), then the cell was cooled to 10 F higher than that
temperature. Afterwards, the temperature and pressure monitoring was started with isochoric cooling of the cell. With
the programmable circulator, the cell was chilled nearly 1 F
(exact value was 0.5 C) and was left for 1 h. The cell pressure
decreased due to the gas thermal contraction and somewhat
because of gas absorption into the aqueous phase. Cooling
was continued until a severe pressure drop as well as a slight
temperature rise was observed. A pressure drop of nearly
180 psi was gained in 1 h although during gas thermal contraction, pressure decreased about 20 psi per hour. These values
varied for different experiments but the ratios of these pressure drops (i.e. pressure dope during hydrate formation over
thermal contraction pressure drop) were always about 7.510.
267
3.
Articial neural networks (ANNs) are a form of articial intelligence which attempt to mimic the behavior of the human
brain and nervous system. ANNs provide a robust approach to
approximating real-valued, discrete-valued and vector-valued
target functions. Neural network advantages include: adaptive learning, self-organization, real time operation and fault
tolerance via redundant information coding.
As illustrated in Fig. 3a, an articial neural network consists of a collection of processing elements (neurons) that are
arranged in layers and transform a set of inputs to a set of
desired outputs. The neurons from each layer are linked to
all of the other neurons appearing in the next layer. All the
neurons are connected with different weights (wji ). At each
neuron, the weighted input values (xi ) are summed and a
threshold value (bj ) is added. Then a non-linear transfer function (f()) is applied to this linear combination of inputs to
produce the output of the neuron (oj ) (see Fig. 3b):
oj = f
wji xi + bj
(2)
The output of one neuron provides the input to the neurons in the next layer. Neural network employs a training
algorithm (e.g. back-propagation) to adjust its weights on the
presentation of a training data set and minimize the network
performance function. The default performance function for
neural networks is mean square error (MSE) which means the
average squared error between the network output values and
268
calculate Z1
calculate P1new
If
NO
P1 = P1 (new) (set P1equal to P1new )
YES
P2= P1new (inial guess for the second pressure)
calculate Z2
calculate P2new
If
NO
P2 = P2 (new) (set P2equal to P2new )
YES
P3= P2new (inial guess for the third pressure)
0.55
Mole%
100
0
0
0
0.60
Mole%
90
10
0
0
0.65
Mole%
80
20
0
0
0.75
Mole%
70
20
10
0
0.84
Mole%
60
25
10
5
0.75
Mole%
60
40
0
0
269
X1
Wj,1
X2
Xn
Input
layer
Ij
( )
oj
Wj,n
bj
Output
layer
Hidden
layers
(a)
(b)
Fig. 3 (a) Interconnection of the multilayer neural network. (b) A typical neuron j in the hidden layer.
the target values for these outputs, which can be shown by E
in the following formula:
E=
1
n
n
(ti ci )
(3)
i=1
4.2.
4.
4.1.
Experimental
270
(a)
3500
literature
3000
Pressure (psi)
this work
2500
2000
1500
1000
500
0
30
40
50
60
70
Temperature( F)
Pressure (psi)
(b)
4000
3500
Literature
3000
this work
2500
2000
1500
1000
500
0
50
60
70
80
Temperature( F)
Fig. 5 Comparison of the present study experimental data
with the previous published data. (a) First gas sample (pure
methane). (b) Third gas sample (80% methane and 20%
ethane).
input and deliver output, respectively. To train these networks, 70% of the experimental data were used and with
the remaining 30% data, networks performance was assessed.
Pressure and specic gravity of the gas mixture were dened
as input variables and networks estimated the hydrate formation temperature as the output variable. It is concluded
from Table 2 and Fig. 6 that among the four training functions,
trainlm as the network training function and among various
Table 2 MSE values and optimum number of neurons for different neural network models.
Training function
Number
of layers
trainlm
Number of neurons
1
2
3
4
5
6
7
8
9
10
0
5
10,10
5,5,5
10,5,5,5
5,5,5,15,15
5,10,10,10,15,5
5,15,15,5,15,10,10
5,15,5,5,15,10,15,15
5,5,5,10,5,5,5,10,10
traingdx
trainscg
trainoss
MSE
Number of neurons
MSE
Number of neurons
MSE
3.3655
0.0420
0.0312
0.0566
0.0546
0.0602
0.0517
0.0433
0.0319
0.0333
0
15
10,15
10,10,10
15,15,15,10
10,15,15,10,5
10,15,15,15, 15,10
10,10,15,15,15,15,5
5,15,15,10,15,5,10,5
15,15,10,10,10,15,5,10,5
3.0856
3.1854
1.3213
1.2919
0.7761
0.3412
1.0027
0.7689
0.5708
0.7450
0
10
15,10
15,10,10
15,15,15,10
5,5,15,15,10
10,15,15,10,15,5
15,10,15,10,15,5,15
5,15,15,10,15, 15,10,5
5,5,10,10,10,10,10,15,10
3.2810
2.1621
0.7529
0.6315
0.7256
0.3S15
0.2431
0.1511
0.1018
0.1204
Number of neurons
0
10
15,5
5,10,10
15,15,15,5
5,10,10,15,10
5,15,15,15,15,15
5,10,5,15,15,15,5
5,15,15,15,10,15,10,5
5,15,15,5,5,10,15,15,5
MSE
2.2894
2.2333
1.2469
0.7400
0.4935
0.5289
0.4024
0.2188
0.2184
0.3198
271
5.
Conclusion
272
References
Ahmed, T., 2000. Reservoir Engineering Handbook, second ed.
Gulf Publishing Company, Houston, TX.
Barker, J.W., Gomez, R.K., 1989. Formation of hydrates during
deepwater drilling operations. J. Petrol. Technol. 41 (3),
297301.
Basheer, I.A., Hajmeer, M., 2000. Articial neural networks:
fundamentals, computing, design, and application. J.
Microbiol. Methods 43, 331.
Berner, D., 1992. The marine transport of natural gas in hydrate
form. In: Proc. Second Int. Offshore Polar Eng. Conf., San
Francisco, pp. 636643.
Byk, S.S., Fomina, V.J., 1968. Gas hydrates. Russ. Chem. Rev. 37 (6),
469491.
Carson, D.B., Katz, D.L., 1942. Natural gas hydrates. Trans. AIME,
146150.
Chapoy, A., Mohammadi, A.H., Richon, D., 2007. Predicting the
hydrate stability zones of natural gases using articial neural
networks. Oil Gas Sci. Technol. 62 (5), 701706.
Chatti, I., Delahaye, A., Fournaison, L., Petitet, J., 2005. Benets
and drawbacks of clathrate hydrates: a review of their areas of
interest. Energy Convers. Manage. 46, 13331343.
Collet, T., Kuuskraa, V., 1998. Hydrates contain vast store of world
gas resources. Oil Gas J. 96 (19), 9095.
Deaton, W.M., Frost Jr., E.M., 1946. Gas Hydrates and their
Relation to the Operation of Natural-Gas Pipe Lines, U.S.
Bureau of Mines Monograph.
Dharmawardhana, P.B., Parrish, W.R., Sloan, E.D., 1980.
Experimental thermodynamic parameters for the prediction
of natural gas hydrate dissociation conditions. Ind. Eng.
Chem. Fundam. 19 (4), 410414.
Elgibaly, A., Elkamel, A., 1999. Optimal hydrate inhibition policies
with the aid of neural networks. Energy Fuels 13, 105113.
Englezos, P., Lee, J.D., 2005. Gas hydrates: a cleaner source of
energy and opportunity for innovative technologies. Korean J.
Chem. Eng. 22 (5), 671681.
Englezos, C.P., 1993. Clathrate hydrates. Ind. Eng. Chem. Res. 32,
12511274.
Eslamimanesh, A., Mohammadi, A.H., Richon, D., Naidoo, P.,
Ramjugernath, D., 2012. Application of gas hydrate formation
in separation processes. A review of experimental studies. J.
Chem. Thermodyn. 46, 6271.
Ferentinos, K.P., 2005. Biological engineering applications of
feedforward neural networks designed and parameterized by
genetic algorithms. Neural Netw. 18, 934950.
Fitzgerald, A., 2001. Offshore gas-to-solids technology. SPE 71805.
Fournaison, L., Delahaye, A., Chatti, I., Petitet, J.P., 2004. CO2
hydrates in refrigeration processes. Ind. Eng. Chem. Res. 43
(20), 65216526.
Gas Processors Suppliers Association, 2004. GPSA Engineering
Data Book, twelfth ed. Gas Processors Association, Oklaoma.
273
Sum, A.K., Koh, C.A., Sloan, E.D., 2009. Clathrate hydrates: from
laboratory science to engineering practice. Ind. Eng. Chem.
Res. 48 (16), 74577465.
Tohidi, B., Danesh, A., Todd, A.C., Burgass, R.W., 1996.
Measurement and prediction of hydrate-phase equilibria for
reservoir uids. SPE Prod. Facil. 11 (2), 6976.
Turner, D.J., Miller, K.T., Sloan, E.D., 2009. Methane hydrate
formation and an inward growing shell model in water-in-oil
dispersions. Chem. Eng. Sci. 64, 39964004.
Van der Waals, J.H., Platteeuw, J.C., 1959. Clathrate solutions. Adv.
Chem. Phys. 11, 157.
Verma, V.K., 1974. Gas Hydrates from Liquid HydrocarbonWater
Systems. Ph.D. Thesis. University of Michigan, University
Microlms No. 75-10,324, Ann Arbor, MI.
Widrow, B., Rumelhart, D.E., Lehr, M.A., 1994. Neural networks:
applications in industry, business and science. Commun. ACM
37 (3), 93105.
Zahedi, G., Karami, Z., Yaghoobi, H., 2009. Prediction of hydrate
formation temperature by both statistical models and
articial neural network approaches. Energy Convers.
Manage. 50, 20522059.