Correlation of Liquid-Liquid Equilibrium of Four Binary Hydrocarbon-Water Systems, Using an Improved Artificial Neural Network Model

Journal of the Korean Chemical Society.
2013.
Jun,
57(3):
370-376

- Received : December 24, 2012
- Accepted : April 30, 2013
- Published : June 20, 2013

Download

PDF

e-PUB

PubReader

PPT

Export by style

Article

Metrics

Cited by

TagCloud

A back propagation artificial neural network model with one hidden layer is established to correlate the liquid-liquid equilibrium data of hydrocarbon-water systems. The model has four inputs and two outputs. The network is systematically trained with 48 data points in the range of 283.15 to 405.37K. Statistical analyses show that the optimised neural network model can yield excellent agreement with experimental data(the average absolute deviations equal to 0.037% and 0.0012% for the correlated mole fractions of hydrocarbon in two coexisting liquid phases respectively). The comparison in terms of average absolute deviation between the correlated mole fractions for each binary system and literature results indicates that the artificial neural network model gives far better results. This study also shows that artificial neural network model could be developed for the phase equilibria for a family of hydrocarbon-water binaries.
^{,}
2
In the field of thermodynamics, the statistical theoretical models such as MPHC (Modified Perturbed Hard Chain), SAFT (Statistical Associating Fluid Theory) and CPA (Cubic Plus Association)
5
are often employed to simulate phase equilibria in petroleum industry. Wang et al. correlated the liquid-liquid equilibrium data of four binary hydrocarbon-water systems by means of MPHC.
3
SAFT was used to model liquid-liquid and liquid-vapor equilibrium of binary systems containing water with methane, ethane, CO
_{2}
or H
_{2}
S by Huynh et al.
1
Riaz et al. studied the distribution of monoethylene glycol and methanol in hydrocarbonwater systems using CPA.
4
Besides, some simple models based on cubic EoS (Equation of State) or activity coefficient equation still represent a great interest for industrial applications. Panagiotopoulos et al. proposed SRKm (Soave-Redlich-Kwong modified) EoS and modeled reservoir fluids in the presence of associating compounds.
5
Wang et al. correlated the liquid-liquid equilibrium data of four binary hydrocarbon-water systems using NRTL (Non Random Two Liquid) activity coefficient model.
3
NRTL-PR (Peng- Robinson) EoS was applied to modeling of nonideal systems by Neau et al.
6
and new interaction parameters are proposed for a wide variety of mixtures composed of very asymmetric compounds by Escandell et al.
7
Gebreyohannes et al. used the QSPR (Quantitative Structure-Property Relationship) methodology to generalize the interaction parameters of the NRTL model for many binary systems.
8
Although these models contribute much to the research on the fluid phase equilibria, all without exception involve a certain amount of empiricism to determine mixture constants, through fitting experimental data and using various arbitrary mixing rules, making it difficult to select the appropriate model for a particular case. Hence, it is an arduous task for a non expert in thermodynamics to deal with phase equilibria using these models.
On the other hand, artificial neural network (ANN), which can be viewed as a powerful and efficient computational tool with an inherent ability to extract from experimental data the highly non linear and complex relationships between the variables of the problem handled, has gained extensive attention in the field of data processing.
9
As far as phase equilibria are concerned, diverse applications of ANN have been reported in recent years.
10
^{-}
29
The objective of the present article is to establish a single ANN model to correlate the liquid-liquid equilibrium data of the four binary hydrocarbon-water systems (n-butane- water, isobutane-water, benzene-water and toluenewater) in the state of vapour-liquid-liquid equilibrium (for these systems, only the compositions of the hydrocarbonrich liquid phase and water-rich liquid phase are usually determined in the state of vapour-liquid-liquid equilibrium because the vapor-liquid equilibrium zone is very small). Moreover, in order to further improve the correlation ability of the ANN model, some strategies are suggested for ANN model in terms of the network structure, the data processing, as well as the algorithm.
The structure of artificial neural network.
The node numbers of input layer, hidden layer and output layer are r, m and n, respectively. W
_{ji}
and w
_{kj}
denote the input-hidden layer connection weight and the hiddenoutput layer connection weight. To ensure the convergence of the network, the inputs (e
_{i}
) need to be normalized before entering the network. The normalized data are obtained from following expression:
Where a
_{i}
and b
_{i}
refer to the minimum and maximum of e
_{i}
respectively.
The normalized data (E
_{i}
) pass from input layer to hidden layer along connecting weights, then to output layer. Firstly, the node in hidden layer sums the weighted data from input layer plus a bias (b
_{hj}
) then applies a transfer function to the sum as given by (for node j of the hidden layer):
Where z
_{j}
is the output of node j of the hidden layer. The sigmoid transfer function is adopted:
Secondly, it propagates the z
_{j}
through outgoing connections to the nodes of the output layer where it undergoes the same process as given by (for instance outputs zj of the hidden layer fed to node k of the output layer gives the output o
_{k}
):
The pure linear expression is used as transfer function:
The output of the network is produced by anti-normalizing the o
_{k}
:
Where c
_{k}
and d
_{k}
refer to the minimum and maximum of
Ô
_{k}
(
Ô
_{k}
is the desired output) respectively. This process is called forward calculation.
The weights and bias are iteratively adjusted by propagating error signals backward along the connecting pathway until the output values of the network are close to the desired ones. The error signal of node k of the output layer is given by:
The δ
_{k}
is used to calculate the error signal of node j of the hidden layer:
This process is called backward error propagation. The ANN using this kind of algorithm is known as back propagation ANN (BP-ANN).
_{1}
) and that in water-rich phase (Y
_{1}
) were the output variables. The choice of the input and output data is based on the phase rule and the practical need to describe the four binary systems by only one ANN model.
1
lists the pure component properties used in this work.
Pure component properties used in this work
It should be pointed that the equilibrium pressure has not been considered in the correlation using activity coefficient model because the activity coefficient model excludes the pressure from its variables. Similarly, the equilibrium pressure was not selected as the variable of ANN model for the purpose of parallel comparision between the different models.
(2) Due to the high asymmetry, the mutual solubilities between hydrocarbon and water are extremely low. The mole fractions of hydrocarbon in water-rich phase (Y
_{1}
) range from 10
^{−5}
to 10
^{−4}
approximately. The direct correlation by means of the ANN model could produce poor results (it has been tested by author). In order to improve the correlation accuracy, the experimental data of Y
_{1}
were magnified with an appropriate multiple and then applied to correlation in this work. The correlated data of Y
_{1}
need to be reduced with the same multiple so that it can cater to the experimental data. This multiple was taken as 100 times which is proved to be suitable for improving the correlation accuracy of Y
_{1}
.
(3) Only if the inputs of the network are within a certain interval (the most common interval is 0−1) can the sigmoid transfer function employed by ANN show an obvious gradient, which ensures that the network can yield an acceptable convergence rate. Therefore, the inputs of the network need to be normalized (formula (1)). In view of the fact that the acentric factors of most substances belong to the interval of 0−1, the acentric factor, which was selected as one of the inputs in this work, need not to be normalized.
On the other hand, the outputs of the network are limited to a certain range because the sigmoid transfer function is a saturated function. In order to agree with the experimental data, the outputs of the network are usually obtained by anti-normalizing that of the output layer nodes (formula (6)). It is well known that the mole fractions, which were selected as the outputs in this work, vary from 0 to 1 and can not be other values (it’s exactly the same as the range of the sigmoid function). For this reason, the anti-normalization was not adopted in this work. That is to say, the output of the network is equal to that of the output layer nodes:
It should be noted that the error signal of the output layer nodes will be accordingly modified as follows:
_{c}
), the critical pressure (P
_{c}
) and the acentric factor (𝜔) of hydrocarbon respectively. The output layer has 2 nodes representing the mole fraction of hydrocarbon in hydrocarbon-rich phase (X
_{1}
) and that in water-rich phase (Y
_{1}
) respectively.
In this program, the error function is defined as follows:
Where N refers to the total number of data points. The basic principle for determining the node number of the hidden layer is to ensure that the error function can meet the following requirement:
Where error is the control value for the termination of the program. The following steps are utilized to determine the error and the node number of the hidden layer:
1. The node number of the hidden layer can be roughly preset according to the personal experience. The weights and bias, which are the parameters of the network, are randomly initialized in the range (−0.5−0.5) by the program.
2. The error is an important value due to its close relation to the correlation accuracy and the convergence rate of the network. The correlation accuracy can be investigated from the RMS (the smaller RMS means the higher accuracy):
The convergence rate of the network can be evaluated by the running time of the program. With the decrease of the error, the correlation accuracy will be improved but the convergence rate will be lowered (the reverse is also true). The error can be determined on condition that both the correlation accuracy and the convergence rate are taken into account.
The node number of the hidden layer can be finalized with the determination of the error. In addition to meeting the requirement (formula (12)), similarly, the choice of the node number of the hidden layer should give consideration to the correlation accuracy and the convergence rate. It is especially noted that the correlation accuracy here refers to the absolute deviation (AD) of each data point rather than the above-mentioned one depending on the error. The AD, which can be conveniently observed by plotting the correlated and experimental data in one figure, is adjusted by changing the node number of the hidden layer. The following expressions are used to calculate the ADX
_{1}
and ADY
_{1}
:
The error and the node number of the hidden layer were identified as 0.000075 and 8 respectively according to the above procedure.
2
shows the structure of the optimized ANN model. The weights and bias of the optimized ANN model are listed in
3
, where w
_{ji}
is the input-hidden layer connection weight (8 × 4), w
_{kj}
is the hidden-output layer connection weight (2 × 8), b
_{hj}
is the bias of the hidden layer nodes (8) and b
_{ok}
is the bias of the output layer nodes (2).
Structure of the optimized ANN model
Weights and bias of the optimized ANN model
Comparison of correlated results for the mole fractions of hydrocarbon-water phase equilibrium systems based on the different models
(2)
4
lists the correlated results for the mole fractions based on the MPHC, NRTL and the proposed ANN models for selected systems. It can be seen that the average absolute deviations (AAD) of the correlated mole fractions from experimental data
3
are remarkably reduced by the ANN model than the MPHC and NRTL models. The AADX
_{1}
and AADY
_{1}
can be obtained from following expressions:
Where N
_{P }
refers to the number of data points.
Simultaneously, the comparisons between the experimental and correlated data are plotted in
. 2
to
5
. These figures show that the ANN model gives better description of the experimental data within the temperature range for which the model has been designed.
Furthermore, the measured result shows that the running of the program takes one minute or so, which means an acceptable convergence rate of the network.
(3) We must admit that due to its empiricism, ANN is inferior to the traditional thermodynamic models in terms of theoretical foundation, although it can yield satisfactory results for the phase equilibria of these binary hydrocarbon- water systems.
Comparison of the correlated mole fractions of n-butane based on different models with experimental data under different temperatures.
Comparison of the correlated mole fractions of isobutane based on different models with experimental data under different temperatures.
Comparison of the correlated mole fractions of benzene based on different models with experimental data under different temperatures.
Comparison of the correlated mole fractions of toluene based on different models with experimental data under different temperatures.
Lashkarbolooki M.
,
Vaferi B.
,
Rahimpour M. R.
2011
Fluid Phase Equilib
308
35 -
** DOI : 10.1016/j.fluid.2011.06.002**

INTRODUCTION

Since water is present in natural gas and petroleum reservoirs, the research on the behavior of water in hydrocarbon systems is significant for a large number of chemical engineering applications such as the exploitation of reservoirs, refining, the guarantee of product quality and environmental protection, etc.
1
In addition to reducing the number of experimental data points to be measured, accurate computational models and correlation methods for the phase equilibria of hydrocarbon-water systems can be used to predict the maximum water content of fuels and to assist in the design of separation equipment.
1
METHOD OF CALCULATION

ANN consists of an input layer, a hidden layer, an output layer and connections between them (
. 1
). The forward calculation and backward error propagation are the two parts involved in its operation.
9
PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

- Strategies Suggested for Artificial Neural Network

(1) There are seven variables involved in describing the liquid-liquid equilibrium data of hydrocarbon-water systems in the state of vapour-liquid-liquid equilibrium: four intensive state properties (equilibrium temperature, equilibrium pressure and the mole fractions of hydrocarbon in two coexisting liquid phases) and three pure component properties of hydrocarbon (critical temperature, critical pressure and acentric factor). In this work, the equilibrium temperature and three pure component properties were selected as the input variables of the network. The mole fraction of hydrocarbon in hydrocarbon-rich phase (X
Pure component properties used in this work

PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

RESULTS AND DISCUSSION

(1) The above strategies were implemented in a program (made using delphi 6.0) for ANN modelling of the liquid-liquid equilibrium data of four hydrocarbon-water systems. The input layer of network is set with 4 nodes denoting the equilibrium temperature (T), the critical temperature (T
PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

Structure of the optimized ANN model

PPT Slide

Lager Image

Weights and bias of the optimized ANN model

PPT Slide

Lager Image

Comparison of correlated results for the mole fractions of hydrocarbon-water phase equilibrium systems based on the different models

PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

PPT Slide

Lager Image

CONCLUSION

A back propagation artificial neural network model was developed for simulation of the phase equilibria in four hydrocarbon-water systems. It does not require the binary interaction parameters, nor did the mixing rules as required by conventional methods. For further improving the correlation ability of ANN model, some reasonable strategies are put forward in terms of the network structure, the data processing, as well as the algorithm. Better results are achieved from the ANN model based on these ideas although the equilibrium data cover a large range of temperature. This study also shows that ANN model could be developed for the phase equilibria for a family of hydrocarbon-water binaries, provided reliable experimental data are available, to be used in chemical engineering applications.
Acknowledgements

The publication cost of this paper was supported by the Korean Chemical Society.

Huynh D. N.
,
de Hemptinne J. C.
,
Lugo R.
,
Passarello J. P.
,
Tobaly P.
2011
Ind. Eng. Chem. Res.
50
7467 -
** DOI : 10.1021/ie102045g**

Fonseca J. M. S.
,
von Solms N.
2012
Fluid Phase Equilib.
329
55 -
** DOI : 10.1016/j.fluid.2012.05.024**

Wang L. S.
,
Guo T. M.
1996
Chem. Eng. (China)
24
59 -

Riaz M.
,
Yussuf M. A.
,
Kontogeorgis G. M.
,
Stenby E. H.
,
Yan W.
,
Solbraa E.
2013
Fluid Phase Equilib
337
298 -
** DOI : 10.1016/j.fluid.2012.09.009**

Panagiotopoulos A. Z.
,
Reid R. C.
1985
Prepr. Pap. Am. Chem. Soc. Div. Fuel Chem.
30
46 -

Neau E.
,
Escandell J.
,
Nicolas C.
2010
Ind. Eng. Chem. Res.
49
7580 -
** DOI : 10.1021/ie100121c**

Escandell J.
,
Neau E.
,
Nicolas C.
2011
Fluid Phase Equilib
301
80 -
** DOI : 10.1016/j.fluid.2010.11.009**

Gebreyohannes S.
,
Yerramsetty K.
,
Neely B. J.
,
Gasem K. A. M.
2013
Fluid Phase Equilib
339
20 -
** DOI : 10.1016/j.fluid.2012.11.020**

Si-Moussa C.
,
Hanini S.
,
Derriche R.
,
Bouhedda M.
,
Bouzidi A.
2008
Braz. J. Chem. Eng.
25
183 -
** DOI : 10.1590/S0104-66322008000100019**

Dehghani M. R.
,
Modarress H.
,
Bakhshi A.
2006
Fluid Phase Equilib
244
153 -
** DOI : 10.1016/j.fluid.2006.04.003**

Mohammadi A. H.
,
Richon D.
2007
Ind. Eng. Chem. Res.
46
1431 -
** DOI : 10.1021/ie060494u**

Ketabchi S.
,
Ghanadzadeh H.
,
Ghanadzadeh A.
,
Fallahi S.
,
Ganji M.
2010
J. Chem. Thermodyn.
42
1352 -
** DOI : 10.1016/j.jct.2010.05.018**

Faundez C. A.
,
Quiero F. A.
,
Valderrama J. Q.
2010
Fluid Phase Equilib
292
29 -
** DOI : 10.1016/j.fluid.2010.01.001**

Lashkarbolooki M.
,
Vaferi B.
,
Rahimpour M. R.
2011
Fluid Phase Equilib
308
35 -
** DOI : 10.1016/j.fluid.2011.06.002**

Safamirzaei M.
,
Modarress H.
2011
Fluid Phase Equilib
309
53 -
** DOI : 10.1016/j.fluid.2011.06.022**

Safamirzaei M.
,
Modarress H.
2011
Fluid Phase Equilib
310
150 -
** DOI : 10.1016/j.fluid.2011.08.004**

Bakhbakhi Y.
2011
Expert Syst. Appl.
38
11355 -
** DOI : 10.1016/j.eswa.2011.03.003**

Abedini R.
,
Zanganeh I.
,
Mohagheghian M.
2011
J. Phase. Equilib. Diff.
32
105 -
** DOI : 10.1007/s11669-011-9851-8**

Zarenezhad B.
,
Aminian A.
2011
Korean J. Chem. Eng.
28
1286 -
** DOI : 10.1007/s11814-010-0492-0**

Pahlavanzadeh H.
,
Nourani S.
,
Saber M.
2011
J. Chem. Thermodyn.
43
1775 -
** DOI : 10.1016/j.jct.2011.05.032**

Nami F.
,
Deyhimi F.
2011
J. Chem. Thermodyn.
43
22 -
** DOI : 10.1016/j.jct.2010.07.011**

Shokri A.
,
Hatami T.
,
Khamforoush M.
2011
J. Supercrit. Fluids
58
49 -
** DOI : 10.1016/j.supflu.2011.04.011**

Rohani A. A.
,
Pazuki Gh.
,
Abedini Najafabadi H.
,
Seyfi S.
,
Vossoughi M.
2011
Expert. Syst. Appl.
38
1738 -
** DOI : 10.1016/j.eswa.2010.07.099**

Lashkarbolooki M.
,
Hezave A. Z.
,
Ayatollahi S.
2012
Fluid Phase. Equilib.
324
102 -
** DOI : 10.1016/j.fluid.2012.03.015**

Hezave A. Z.
,
Lashkarbolooki M.
,
Raeissi S.
2012
Fluid Phase Equilib
314
128 -
** DOI : 10.1016/j.fluid.2011.10.028**

Sinha K.
,
Chowdhury S.
,
Saha P. D.
,
Datta S.
2013
Ind. Crop. Prod.
41
165 -
** DOI : 10.1016/j.indcrop.2012.04.004**

Mandal S.
,
Jana A. K.
2013
Int. J. Hydrogen Energy
38
1244 -
** DOI : 10.1016/j.ijhydene.2012.11.067**

Lashkarbolooki M.
,
Shafipour Z. S.
,
Hezave A. Z.
,
Farmani H.
2013
J. Supercrit. Fluids
75
144 -
** DOI : 10.1016/j.supflu.2012.12.032**

Citing 'Correlation of Liquid-Liquid Equilibrium of Four Binary Hydrocarbon-Water Systems, Using an Improved Artificial Neural Network Model
'

@article{ JCGMDC_2013_v57n3_370}
,title={Correlation of Liquid-Liquid Equilibrium of Four Binary Hydrocarbon-Water Systems, Using an Improved Artificial Neural Network Model}
,volume={3}
, url={http://dx.doi.org/10.5012/jkcs.2013.57.3.370}, DOI={10.5012/jkcs.2013.57.3.370}
, number= {3}
, journal={Journal of the Korean Chemical Society}
, publisher={Korean Chemical Society}
, author={Lv, Hui-Chao
and
Shen, Yan-Hong}
, year={2013}
, month={Jun}