The Scientific World Journal

Volume 2014 (2014), Article ID 246589, 8 pages

http://dx.doi.org/10.1155/2014/246589

## Modeling of Steam Distillation Mechanism during Steam Injection Process Using Artificial Intelligence

Petroleum Department, Petroleum University of Technology, P.O. Box 6198144471, Ahwaz, Iran

Received 27 February 2014; Revised 15 March 2014; Accepted 29 March 2014; Published 28 April 2014

Academic Editor: Nirupam Chakraborti

Copyright © 2014 Amin Daryasafar et al. 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.

#### Abstract

Steam distillation as one of the important mechanisms has a great role in oil recovery in thermal methods and so it is important to simulate this process experimentally and theoretically. In this work, the simulation of steam distillation is performed on sixteen sets of crude oil data found in the literature. Artificial intelligence (AI) tools such as artificial neural network (ANN) and also adaptive neurofuzzy interference system (ANFIS) are used in this study as effective methods to simulate the distillate recoveries of these sets of data. Thirteen sets of data were used to train the models and three sets were used to test the models. The developed models are highly compatible with respect to input oil properties and can predict the distillate yield with minimum entry. For showing the performance of the proposed models, simulation of steam distillation is also done using modified Peng-Robinson equation of state. Comparison between the calculated distillates by ANFIS and neural network models and also equation of state-based method indicates that the errors of the ANFIS model for training data and test data sets are lower than those of other methods.

#### 1. Introduction

One of the most successful methods for heavy oil production is steam flooding and while steam has been injected into reservoirs almost as long, the mechanisms of this process are much less understood. Several experimental studies are performed for studying the effect of different mechanisms such as viscosity reduction, wettability alteration, and steam distillation/vaporization during this method of recovery. Among all these mechanisms, steam distillation mechanism is the main difference between steam and other thermal methods.

Steam distillation process happened when light fractions of crude oil are separated by injecting the steam into the crude oil. Observation of the produced vapors of matured steam floods proves the fact that steam can carry a large amount of light hydrocarbons in the steam distillation process. Several papers have reported the effects of steam distillation on oil recovery observed in laboratory steam displacement tests. Farouq Ali [1] estimated that 5 to 10% of the heavy oil recovery and as much as 60% of the light-oil recovery may be attributed to steam distillation mechanism. Willman et al. [2] demonstrated that steam flooding produces significantly greater oil recovery than that in flooding with hot water at the same temperature. Mainly, this is due to steam distillation. Wu and Fulton [3] reported that oil in the steam plateau of an in situ combustion process is removed mainly by steam distillation. Johnson et al. [4] showed that the oil vaporization recovery by steam ranges from 54.7 to 94.0% of immobile oil volume.

Several methods have been presented for simulating steam distillation mechanism in steam injection process. Sukkar [5] used the relative velocities of steam, the steam front, and also the rates at which hydrocarbon components were distilled to estimate the amount of oil distilled during steam flooding. Holland and Welch [6] developed a model for calculating steam distillation yield at saturated steam temperatures, where the solubility of hydrocarbon and water is negligible. Duerksen and Hsueh [7] proposed correlations for the prediction of steam distillation yield with different crude oil properties and operating conditions. They also showed that the distillation recovery correlates well with American Petroleum Institute (API) gravity and wax content. Northrop and Venkatesan [8] presented an analytical multicomponent model to predict steam distillation yield and showed that the distillation yield increases as the temperature increases. Van Winkle [9] proposed a method to predict the amount of steam required for distillation of a specific amount of a volatile material based on Raoult’s and Dalton’s laws.

The mentioned studies may face considerable errors when they are applied to crude oil samples and some of them require experimental data such as oil characterization data, so we need to propose a model for prediction of steam distillation yield with minimum entry data.

The complexity of steam distillation mechanism leads us to use artificial intelligence such as artificial neural network (ANN) and adaptive neurofuzzy interference system (ANFIS) for simulation of steam distillation process. In this paper we use ANN and also ANFIS to propose a practical model for predicting the steam distillation recovery as accurate as possible by choosing the best model based on laboratory data. This model can be applied to predict the steam distillation yield of crude oils with new properties (Table 2).

#### 2. Description of Method

##### 2.1. Artificial Neural Network (ANN)

A neural network is structured by multiple connection units arranged in layers which indicate the weights between neurons that are learned under an optimization criterion. ANNs provide a nonlinear mapping between inputs and outputs by its intrinsic ability [11]. The success in obtaining a reliable and robust network depends on the correct data preprocessing, correct architecture selection, and correct network training choice strongly [12]. Artificial neural networks have been developed for a wide variety of problems such as classification, function approximation, and prediction. Multilayer feedforward networks are the most commonly used for the function approximation. Feedforward networks consist of groups of interconnected neurons arranged in layers corresponding to input, hidden, and output layers. Once the input layer neurons are clamped to their values, the evolving starts layer by layer and the neurons determine their output and this is the reason that these networks are called feedforward. The dependence of output values on input values is quite complex and includes all synaptic weights and thresholds. Usually this dependence does not have a meaningful analytic expression. These types of network can approximate most types of nonlinear functions, irrespective of how much they are complex.

The network is trained by performing optimization of weights for each node interconnection and bias terms, until the obtained values of output become as close as possible to the actual outputs.

The type of artificial neural network used in this study was Multilayer feedforward network. We need enough experimental data for training the network. Sixteen experimental data sets were used for simulation of steam distillation in this study and these data sets are obtained from literature [10]. Thirteen crude oil data sets were used as training data and the data sets related to Shiells Canyon, Teapot Dome, and Rock Creek oil fields were considered as test data. The inputs of this network are American Petroleum Institute (API) gravity, kinematic viscosity at 37.8°C, characterization factor, and steam distillation factor, while the output is distillate recovery. Steam distillation factor is the ratio of the volumetric amount of steam injected based on cold water equivalent and the volume of initial oil. Distillate recovery is the volumetric amount of hydrocarbon distilled over initial oil volume. The volumes are calculated at standard conditions. The characterization factor and API are defined as Levenberg-Marquardt back propagation algorithm was used for training the network [13] and the number of neurons in hidden layers was chosen according to the minimum root mean square error (RMSE) by trial and error:

Table 1 shows the results of trial and error calculations used in this study for determining the number of neurons in the hidden layer. Several networks were trained and finally a network with one hidden layer with twenty tangent sigmoid neurons was selected as the most suitable network. The neurons in the output layer have linear transfer functions. The tangent sigmoid function is defined as follows:

##### 2.2. Adaptive Neurofuzzy Inference System (ANFIS)

Adaptive neurofuzzy inference system (ANFIS) is a kind of neural network that is based on fuzzy inference system [14]. Since it integrates both neural networks and fuzzy logic principles, it has potential to capture the benefits of both in a single framework. Generally, two objectives are followed using ANFIS: integrating the best features of fuzzy systems and neural networks and their applicability to synthesize. ANFIS combines the fuzzy logic, if-then rules, and the accuracy and learning power of neural networks to make them a hybrid intelligent system. ANFIS has the ability to solve nonlinear problems. For specifying the relationship between input and output to determine the optimized distribution of membership functions, two learning methods are generally used in ANFIS. These learning methods are back propagation and hybrid. The hybrid system is a combination of propagation and least squares method [15]. In the backward pass, the error is sent back through the network in a similar manner to back propagation [16]. Hybrid systems have been used by researchers for modeling and predictions in various engineering systems. When generating a FIS using ANFIS, selecting proper parameters is very important, including the number of MF for each individual antecedent variable and also selecting proper parameters for the learning and refining process. Parameter selection and their impact on the ANFIS have been addressed in the literature [17–19].

For simulating steam distillation process another model is proposed using ANFIS. For this purpose a structure with four inputs with three *π*-shaped built-in membership functions was considered. FIS generation was done by grid partitioning. Grid partition divides the data space into rectangular subspaces using axis-paralleled partition. Π-shaped built-in membership function is given by
The parameters and locate the “feet” of the curve, while and locate its “shoulders.” We utilized a* hybrid* method [20] which is a combination of gradient method and least squares estimate (LSE) for training the system. The inputs of the system are American Petroleum Institute (API) gravity, kinematic viscosity at 37.8°C, characterization factor, and steam distillation factor, while the output is distillate recovery. Again, thirteen crude oil data sets were used as training data and data sets related to Shiells Canyon, Teapot Dome, and Rock Creek oil fields were considered as test data. Schematic of the proposed ANFIS structure is shown in Figure 1.

##### 2.3. Equation of States Method

The first step in simulation of the steam distillation process by EOS method is to evaluate the oil characterization. This task is performed by determining data such as characterization factor, average molecular weight, viscosity, API, and distillation test data. For determining the distribution of components in liquid and vapor phases, flash calculation must be performed. It must be noticed that several equations of states must be performed and then the best EOS will be chosen as the optimum equation for simulation of this process. For this purpose, several equations of states were tested in EOS method and according to the results the modified Peng-Robinson [21] equation of state seems to generate better results [22].

In this paper, for better comparison between the proposed models and other methods, we used modified Peng-Robinson equation of state to simulate the steam distillation mechanism in steam flooding process. For this purpose, the multistage adiabatic flash calculation was performed. In this process, oil comes into contact with fresh steam in each stage, and as equilibrium condition is reached, the vapor phase which includes light fractions of oil and steam leaves the stage and the remaining oil enters the next stage.

The equation of state for mixtures proposed by Peng and Robinson [23] is as follow: Mathias and Copeman [21] developed a density-dependent local composition (DDLC) model for the Peng-Robinson equation of state. Since the model was too expensive for computer calculation, they formulated the following truncated model:

#### 3. Results and Discussion

The system was trained several times to achieve the best correlation between the simulated data and experimental data according to the value of mean square error (MSE), both for artificial neural network and ANFIS.

In Figure 2, the best linear fit between the simulated and experimental data is illustrated with correlation factor of 0.9942 which indicates a very good correlation. These results are obtained using ANN method.

After training the network using ANN method, the network was performed on the test data and the simulation results versus experimental test data are shown in Figure 3.

An ANFIS model was designed with four inputs (American Petroleum Institute (API) gravity, viscosity at 37.8°C, characterization factor, and steam distillation factor), each with three *π*-shaped built-in membership functions, and one output (distillate yield), Figure 4. We utilized a hybrid method for training the system. The results of the training data for simulated and experimental data are shown in Figure 5 which illustrates a very good correlation.

For validation of the proposed model by ANFIS, after training the system, it was performed on the test data and its result is illustrated in Figure 6.

In this study we also used modified Peng-Robinson equation of state, which gives the best results than those of others, to simulate the steam distillation process. Vafaei [22] found that the modified Peng-Robinson seems to generate better results and used this method to estimate the distillate yield. For validation of their estimation and then for better comparison between the results obtained by different methods and models, we again used this kind of EOS to calculate the distillate recovery. The results are given in Table 3.

The performance index used for evaluating the models is based on the present of average relative deviation (ARE) as Table 4 shows the comparison between the results obtained by different methods which were considered in this paper according to the obtained average relative error for both training and test data.

We must conclude that Vafaei [24] proposed a multilayer perceptron model for simulation of steam distillation process and used these sets of data for modeling this process but he chose White Castle, Toborg, and Teapot Dome oil fields data as test data and the remaining sets of data as training data and their model obtained ARE of 7.47% and 11.19% for training data and test data, respectively, but in this study we could achieve the less ARE by changing the conditions of each system and also choosing different sets of data for training and testing.

Comparison of the results shown in Table 4 proves that the proposed model by ANFIS gives better results for both training and test data and also using artificial intelligence can give better results with minimum entry without needing oil characterization.

#### 4. Conclusion

In this paper, we proposed a model which can predict the distillate yield in distillation process accurately using ANFIS and ANN that are two important subbranches of artificial intelligence (AI) tools. ANN is one of the effective tools for function approximation but it has some problems that ANFIS can solve; for example, for reaching the best network we should run the system more times and in this study we trained the network many times to reach the best model and this is a time consuming process but ANFIS removes this problem by fuzzification process.

In this study, we utilized a FIS structure with four inputs, each with three *π*-shaped built-in membership functions, and hybrid method for training the system. Thirteen sets of data were used as training data and three sets of data as test data. The input data are the steam distillation factor, viscosity, API, and characterization factor of the oil. The obtained results by this method were compared with a multilayer feed forward neural network and also an EOS-based method. The comparison between the designed ANFIS and other two methods, that is, ANN method and EOS-based method, indicates that the accuracy of the proposed ANFIS model for both training and test data is better than that of other methods. Also both artificial intelligence models give better results than the proposed MLP model by Vafaei et al. [24].

#### Nomenclature

: | Pure component energy parameter |

: | Component energy parameter |

: | Composition and temperature dependent binary energy parameter |

: | Binary temperature dependent energy parameter |

: | Mixture temperature dependent term |

: | Pure component volume parameter |

: | Volume parameter for component |

: | Dimensionless mixture parameter |

: | Mixture volume parameter |

: | Binary interaction parameter for components and |

: | Binary interaction parameter for components and |

: | Pressure |

: | Gas constant |

: | Temperature |

: | Mixture molar volume |

: | Mole fraction of component |

: | Compressibility factor |

: | Pure component temperature dependent term |

: | Temperature dependent term for component . |

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### References

- S. M. Farouq Ali Jr.,
*Practical Considerations in Steam Flooding*, Producers Monthly, 1968. - B. T. Willman, V. V. Valleroy, G. W. Runberg, A. J. Cornelius, and L. W. Powers, “Laboratory studies of oil recovery by steam injection,”
*Journal of Petroleum Technology*, vol. 13, no. 7, pp. 681–690, 1961. View at Google Scholar - C. H. Wu and P. F. Fulton, “Experimental simulation of the zones preceding the combustion front of an in- situ combustion process,”
*Society of Petroleum Engineers Journal*, vol. 11, no. 1, pp. 38–46, 1971. View at Google Scholar · View at Scopus - F. S. Johnson, E. G. Walker, and A. F. Bayazeed, “Oil vaporization during steamflooding,”
*JPT, Journal of Petroleum Technology*, vol. 23, pp. 731–742, 1971. View at Google Scholar · View at Scopus - J. K. Sukkar, “Calculation of oil distilled during steam flooding of light crude,” in
*Proceedings of the SPE Annual Technical Conference and Exhibition*, SPE, 1609, pp. 2–5, Dallas, Richardson, Tex, USA, 1966. - C. D. Holland and N. E. Welch, “Steam batch distillation calculation,”
*Petroleum Refiner*, vol. 36, pp. 251–253, 1957. View at Google Scholar - J. H. Duerksen and L. Hsueh, “Steam distillation of crude oils,”
*Society of Petroleum Engineers Journal*, vol. 23, no. 2, pp. 265–271, 1983. View at Google Scholar · View at Scopus - P. S. Northrop and V. N. Venkatesan, “Analytical steam distillation model for thermal enhanced oil recovery processes,”
*Industrial and Engineering Chemistry Research*, vol. 32, no. 9, pp. 2039–2046, 1993. View at Google Scholar · View at Scopus - M. Van Winkle,
*Distillation*, McGraw-Hill, New York, NY, USA, 1967. - C. H. Wu and R. B. Elder, “Correlation of crude oil steam distillation yields with basic crude oil properties,”
*Society of Petroleum Engineers Journal*, vol. 23, no. 6, pp. 937–945, 1983. View at Google Scholar · View at Scopus - K. Hornik, M. Stinchcombe, and H. White, “Universal approximation of an unknown mapping and its derivatives using multilayer feedforward networks,”
*Neural Networks*, vol. 3, no. 5, pp. 551–560, 1990. View at Google Scholar · View at Scopus - N. García-Pedrajas, C. Hervás-Martínez, and J. Muñoz-Pérez, “COVNET: a cooperative coevolutionary model for evolving artificial neural networks,”
*IEEE Transactions on Neural Networks*, vol. 14, no. 3, pp. 575–596, 2003. View at Publisher · View at Google Scholar · View at Scopus - K. Levenberg, “A method for the solution of certain problems in least squares,”
*Quarterly of Applied Mathematics*, vol. 2, pp. 164–168, 1944. View at Google Scholar - T. Takagi and M. Sugeno, “Fuzzy identification of systems and its applications to modeling and control,”
*IEEE Transactions on Systems, Man and Cybernetics*, vol. 15, no. 1, pp. 116–132, 1985. View at Google Scholar · View at Scopus - E. D. Übeyli, “Adaptive neuro-fuzzy inference system employing wavelet coefficients for detection of ophthalmic arterial disorders,”
*Expert Systems with Applications*, vol. 34, no. 3, pp. 2201–2209, 2008. View at Publisher · View at Google Scholar · View at Scopus - F. Rahimi-Ajdadi and Y. Abbaspour-Gilandeh, “Artificial Neural Network and stepwise multiple range regression methods for prediction of tractor fuel consumption,”
*Measurement: Journal of the International Measurement Confederation*, vol. 44, no. 10, pp. 2104–2111, 2011. View at Publisher · View at Google Scholar · View at Scopus - B. Fritzke, “Incremental neuro-fuzzy systems,” in
*Proceedings of the Application of Soft Computing, SPIE International Symposium on Optical Science, Engineering and Instrumentation*, pp. 86–97, San Diego, Calif, USA, 1997. - J. R. Jang, C. Sun, and E. Mizutani,
*Neuro-Fuzzy and Soft Computing: A Computational Approach to Learning and Machine Intelligence*, Prentice Hall, Englewood Cliffs, NJ, USA, 1997. - M. M. Reda Taha, A. Noureldin, and N. El-Sheimy, “Improving INS/GPS positioning accuracy during GPS outages using fuzzy logic,” in
*Proceedings of the 16th International Technical Meeting of the Satellite Division of The Institute of Navigation (ION GPS/GNSS '03)*, pp. 499–508, Oregon, 2003. - J. S. R. Jang, “Fuzzy modeling using generalized neural networks and kalman filter algorithm,” in
*Proceedings of 9th National Conference on Artificial Intelligence (AAAI '91)*, vol. 4, pp. 762–767, 1991. - P. M. Mathias and T. W. Copeman, “Extension of the Peng-Robinson equation of state to complex mixtures: evaluation of the various forms of the local composition concept,”
*Fluid Phase Equilibria*, vol. 13, pp. 91–108, 1983. View at Google Scholar · View at Scopus - M. T. Vafaei,
*Simulation of distillation effects on oil recovery factor during SAGD process [M.S. thesis]*, Shiraz University, Shiraz, Iran, 2007. - D. Y. Peng and D. B. Robinson, “A new two-constant, equation of state,”
*Industrial & Engineering Chemistry Fundamentals*, vol. 15, pp. 58–64, 1976. View at Google Scholar - M. T. Vafaei, R. Eslamloueyan, and S. Ayatollahi, “Simulation of steam distillation process using neural networks,”
*Chemical Engineering Research and Design*, vol. 87, no. 8, pp. 997–1002, 2009. View at Publisher · View at Google Scholar · View at Scopus