1. Introduction
Void fraction is a key parameter characterizing multiphase flows in the oil industry. For estimating the performance of a multiphase system operating with more than a single phase, the only way is determining the void fraction. In recent years, different methods such as volumetric, optical, electrical, ultrasonic, and radiation techniques have been introduced to determine void fraction [1]. Among these methods, the gamma radiation attenuation technique has been widely utilized for void fraction measurements. Utilizing the gamma radiation technique has some advantages such as being non intrusive, relatively inexpensive, and portable [1].
In recent years, several investigations have been carried out on measuring the void fraction in multiphase flows. Abro et al. measured the gas volume fraction of a two phase liquid-gas flow using a multi-beam gamma-ray technique [2]. The system is consisted of an Am-241 source and 3 detectors (two detectors for registering transmitted photons and one for registering scattered photons). The void fraction percentage was measured independent of flow regime type. El Abd proposed a methodology based on gamma scattering to measure void fraction in stratified regime of a gas-liquid two phase flow in pipe using the Compton–Compton scattering peak [3]. He indicated that precision of proposed method is more than traditional Compton scattering and also transmission method. Faghihi et al. determined void fraction of a two-phase flow in three typical flow regimes of annular, homogenous, and stratified [4]. Polyethylene phantoms in a vertical pipe were implemented in order to model various flow regimes. They registered transmitted and scattered photons in all directions around the pipe. They also utilized MCNP code to simulate the experimental setup and validate the obtained results. Lastly, they presented correlations to estimate the gas volume fraction in two-phase flow. Nazemi et al. measured the void fraction percentage of gas-liquid two-phase flows independent of the flow regime type utilizing a broad beam gamma radiation attenuation technique and ANN [5]. Their system is comprised of one single energy source, a fan beam collimator, and two NaI detectors. A multi-layer perceptron neural network with one hidden layer, two inputs, and one output was used to estimate the void fraction. The registered counts in two transmitted detectors and void fraction percentage were considered as the inputs and output of ANN, respectively. They could estimate the void fraction independent of flow regime type with a mean relative error of less than 1.4%. Nazemi et al. proposed a methodology based on a dual modality densitometry technique and ANN for online determination of the void fraction independent of liquid phase density changes in annular regime of two-phase flows [6]. In their system, a narrow single energy beam and two detectors were utilized (one detector for registering scattered photons and the other one for transmitted photons). The experimental registered counts in both detectors and the void fraction percentage were chosen as the inputs and output of ANN, respectively. The proposed ANN model estimated void fraction in range of 0-70 % in a density variations range of 0.735-0.98 g/cm3. They also used the same technique for estimating the void fraction in stratified regime of gas-liquid flows independent of liquid phase density changes [7]. Using this method, they could estimate the void fraction with root mean square error of less than 1.4 %. More researches about radiation based multiphase flow meters and also some applications of ANN in nuclear engineering problems can be found in references [8-27].
Changes of void fraction, flow regime, and density of liquid phase are typical phenomenon when transporting oil products in pipe-lines because of fluctuations of temperature, pressure, and other parameters. In this work, an approach based on our previous works [5-7] is proposed for predicting the void fraction independent of flow regime and liquid phase density changes in gas-liquid two phase flows. Because three parameters including void fraction, flow regime, and liquid density could be changed, at least three types of information are required from the flow in order to predict the void fraction. For this purpose, a combination of dual modality densitometry and multi beam gamma ray attenuation techniques were utilized to predict the void fraction. The system is comprised of a single energy fan beam, two transmission detectors, and one scattering detector. Registered count in three detectors were utilized as the inputs of one ANN, and void fraction was used as the output of the ANN. The procedure of predicting void fraction independent of flow regime and liquid phase density changes in gas-liquid two phase flows is described completely in the following.
2. Methodology
2.1. Detection system
A combination of dual modality densitometry and a multi beam gamma ray attenuation technique was implemented to provide the required data for testing and training the ANN. The experimental setup is shown in Fig. 1, and the experimental equipment and material are shown in Table 1.
Experimental equipment and material | Specification | Quantity/Description |
---|---|---|
Source | Type of radionuclide | 137Cs |
Activity | 2 mCi | |
Energy of emitted gamma rays (keV) | 662 | |
Main pipe | Thickness (mm) | 2.5 |
Inner diameter (mm) | 95 | |
Material | Pyrex glass | |
Density (g/cm3) | 2.35 | |
Liquid phase | Density of gasoline (g/cm3) | 0.735 |
Density of kerosene (g/cm3) | 0.795 | |
Density of gasoil (g/cm3) | 0.826 | |
Density of lubricant oil (g/cm3) | 0.852 | |
Density of water (g/cm3) | 0.988 | |
Gas phase | Density of air (g/cm3) | 0.00125 |
Detector | Type | Sodium Iodide (NaI) |
Size (inch) | 1×1 |
-201711/1001-8042-28-11-016/alternativeImage/1001-8042-28-11-016-F001.jpg)
Experimental geometry is comprised of two transmission detectors, one scattering detector, and a fan beam source. A collimator with the opening of 360 was utilized in order to make a broad beam. The distance between two transmission detectors and the source was chosen to be 25 cm. The 1st detector was positioned in direction of 00 and 2nd one was positioned in direction of 130 respectively to the source.
The output signal of transmission detectors was fed to the preamplifier then to the amplifier (model IAP-3600) and finally to the Multi-Channel Analyzers (model IAP-4110), which was installed on PC for data acquisition and analysis. In both transmission detectors only the transmitted photons (photo peaks) were registered (those within an energy interval of 650-670 keV). The Compton scattered gamma rays were counted using the scattering detector (3rd detector), which was positioned in the angle of 90o respect to the main pipe. The output signal of the scattering detector was fed to the preamplifier then to the amplifier (model IAP-3600) and finally to the counter (model IAP-2612). It should be noted that all the experiments were conducted in static conditions and a measurement time of 600 s was used for each test. Three main flow regimes of stratified, annular and bubbly with void fractions of 10, 20, 30, 40, 50, 60, and 70 percent and liquid phase density in the range of 0.735 to 0.988 g/cm3 were modeled in the experiments (3 different flow regimes×7 different void fractions×5 different liquid phase densities= 105 tests). As shown in Table 1, 5 various liquids have been used instead of one liquid with different densities. Since the high energy gamma rays (usually with energy more than 100 keV) interact with material through Compton scattering rather than photoelectric, it can be said that density of liquid phase has a dominant effect on the probability of interaction rather than its composition. Besides, since the effective atomic numbers of implemented liquids are close to each other, it could be supposed that all of them are one liquid phase with various densities.
For calculating different void fractions in annular regime, we used equation 1 [2]:
where αa, R and r are void fraction in annular regime, radius of the pipe, and radius of the gas phase, respectively. These parameters are shown in Fig. 2. Since the radius of the pipe (R) is constant, different void fractions would be calculated just by changing the radius of the gas phase (r).
-201711/1001-8042-28-11-016/alternativeImage/1001-8042-28-11-016-F002.jpg)
The void fractions in the range of 10 to 70 percent, which was made in the laboratory for annular regime, are shown in Fig. 3 from top side view.
-201711/1001-8042-28-11-016/alternativeImage/1001-8042-28-11-016-F003.jpg)
Also for stratified regime, different void fractions could be calculated from equation 2 [2]:
where αs, L0, and R are the void fraction percentge in stratified regime, the level of the liquid in the pipe, and the radius of the pipe, respectively. These parameters are shown in Fig. 4.
-201711/1001-8042-28-11-016/alternativeImage/1001-8042-28-11-016-F004.jpg)
Various void fractions made for stratified regime are shown in Fig. 5.
-201711/1001-8042-28-11-016/alternativeImage/1001-8042-28-11-016-F005.jpg)
For making various void fractions in static conditions for bubbly regime, an arrangement with 80 cubic plastic straws distributed over the whole pipe cross section was utilized. This was done systematically, so for each of the two straws covered by the measurement volume between the 1st detector and source, a corresponding number of straws (6 straws) over the total pipe cross section is treated the same way. A schematic cross sectional view of the different void fractions in the range of 10 to 70 % is shown in Fig. 6. The white and blue cells are related to the gas phase and liquid phase, respectively. This idea was also utilized by Johnson and Jackson to make the bubbly regime, because it is difficult to model ideal bubbly regime with various void fractions in static conditions [28].
-201711/1001-8042-28-11-016/alternativeImage/1001-8042-28-11-016-F006.jpg)
For instance, the registered counts in detectors versus void fractions for gasoline with a density of 0.735 g/cm3, are shown in Fig. 7. For other four liquid phases, the response of detectors are the same as the gasoline. As it can be seen from these figures, by increasing the void fraction, the registered count in both two transmission detectors would be increased, while it would be decreased in the scattering detector. According to the experimental set-up, the first detector is more sensitive than the second one (especially for void fractions in the range from 0 to 40 % in the annular flow), since the chance to record transmitted gamma rays is more. Detector sensitivities depend on the flow regime, and it is the best for the bubbly regime. Additionally, it is directly evident from Fig. 7 that the scattering detector is more sensitive than both detectors in the transmission arrangements for the investigated regimes.
-201711/1001-8042-28-11-016/alternativeImage/1001-8042-28-11-016-F007.jpg)
2.2. Artificial neural network
One of the most applicable neural networks is Multi-layer perceptron (MLP). They include some processing elements called neurons. Neurons are the basic processing elements of neural networks. The synapses of the biological neurons are modeled as weights which are adjusted based on the back-propagation rule in the networks. In this paper, an accurate and precise model based on the MLP neural network in order to predict the void fraction independent of flow regime and liquid phase density changes was presented. The proposed model was shown in Fig. 8. In this figure, the input parameters are the full energy peak in both transmitted detectors and total counts in scattered detector, and the output parameter is the void fraction independent of the flow regime and density changes of liquid phase. The experimental data were implemented for training the ANN model. About 70 % (75 data) and 30 % (30 data) of experimental data were utilized for training and testing, respectively.
-201711/1001-8042-28-11-016/alternativeImage/1001-8042-28-11-016-F008.jpg)
The training process algorithm to obtain the MLP model was shown in Fig. 9. “a” (the maximum acceptable MRE%), “d” (number of repetition in each process), and epochs parameters are set in order to determine the number of epochs and the end of the process conditions. The mean relative error percentage (MRE %) is calculated by:
-201711/1001-8042-28-11-016/alternativeImage/1001-8042-28-11-016-F009.jpg)
where, N, ‘X (real)’, and ‘X (Predicted)’ are number of data, experimental values, and predicted (using ANN) values, respectively. “u” is set as a counter for the number of neurons in the first hidden layer, and “v” is a frequency counter in each state. Many parameters can be calculated by the network, but the MRE%, which is the ending condition of the process, is calculated. As shown in Fig. 9, if MRE% ≤ a, then the value of “a” is set to MRE%, and the network results are saved. In this case, the number of neurons is increased by one. When the minimum value of MRE% is obtained, the condition for the optimized ANN structure of the network is achieved.
3. Results and discussion
The proposed ANN (MLP) model with 3-4-1 structure (i.e., 3, 4, and 1 neurons in the input layer, in the hidden layer, and in the output layer, respectively) has the least MRE%. Table 2 shows the specification of this ANN architecture. Also, in order to evaluate the performance of the ANN model, the predicted results were compared with the experiemntal results. Fig. 10 shows the comparison between obtained results of the proposed ANN model and real data for training and testing sets.
Neural network | MLP |
---|---|
Number of hidden layer | 1 |
Number of neurons in the input layer | 3 |
Number of neurons in the hidden layer | 4 |
Number of neurons in the output layer | 1 |
Learning rate | 0.5 |
Number of epochs | 480 |
Adaption learning function | Trainlm |
Activation function | Tansig |
-201711/1001-8042-28-11-016/alternativeImage/1001-8042-28-11-016-F010.jpg)
From Fig. 10, it is clear that the predicted void fraction independent of the flow regime and liquid phase density changes by the proposed model are in good agreement with the experimental results, which confirms the application of ANN as a precise and reliable tool for metering two phase flows. Fig. 11 (a), 11 (b), and 11 (c) show the obtained void fractions versus liquid density and first considered feature, second considered feature, and third considered feature, respectively. Number of registered counts in the detectors is related to the void fraction, liquid density, and flow regime. If the void fraction increases, the full energy peak of first and second detectors will increase and the total count of scattered detectors will decrease. The liquid density has the similar effect on the registered count. Another important parameter is the flow regime, which can affect the measuring system. Therefore, the model is complex and this fact is the reason of artificial intelligence usage.
-201711/1001-8042-28-11-016/alternativeImage/1001-8042-28-11-016-F011.jpg)
The mean absolute error (MAE) of the proposed MLP model is calculated by Equations (4).
In the training set: MAE and MRE% of void fraction are 2.6197 and 0.2751%, respectively. For the testing set, these errors are 2.1996 and 1.2480%, respectively.
4. Conclusion
In this study, a high performance metering system using gamma ray attenuation technique was presented. Three different regimes (annular, stratified, and homogenous) in different liquid densities were considered. The void fraction was measured precisely independent of the flow regime and liquid density changes. The estimated void fraction by the proposed model are in good agreement with the experimental results, which confirms the ability of ANN as a precise and reliable tool for predicting various parameters in two phase flows. The void fraction was estimated with a MAE of less than only 2.6197 %.
Babelli, Development of the multiphase meter using gamma densitometer concept
. In Proc. Int. Nucl. Conf, pp. 371-389 (1997).Improved Void Fraction Determination by Means of Multibeam Gamma-Ray Attenuation Measurements
. Flow Measurement and Instrumentation. 10, 99-108 (1999). doi: 10.1016/S0955-5986(98)00043-0.Intercomparison of gamma ray scattering and transmission techniques for gas volume fraction measurements in two phase pipe flow
. Nuclear Instruments and Methods in Physics Research A. 735, 260-266 (2014). doi: 10.1016/j.nima.2013.09.047.Void fraction measurement in modeled two-phase flow inside a vertical pipe by using polyethylene phantoms
. International Journal of Hydrogen Energy, 40, 15206-15212 (2015). doi: 10.1016/j.ijhydene.2015.06.162.Precise Void Fraction Measurement in Two-Phase Flows Independent of the Flow Regime using gamma-ray attenuation
. Nuclear Engineering and Technology. 48, 64-71 (2016). doi: 10.1016/j.net.2015.09.005.void fraction prediction in two-phase flows independent of the liquid phase density changes
. Radiation Measurements 68, 49-54 (2014). doi: 10.1016/j.radmeas.2014.07.005.A radiation-based hydrocarbon two-phase flow meter for estimating of phase fraction independent of liquid phase density in stratified regime
. Flow Measurement and Instrumentations. 46, 25-32 (2015). doi: 10.1016/j.flowmeasinst.2015.09.002.Application of Adaptive Neuro-Fuzzy Inference System in Prediction of Fluid Density for a Gamma ray Densitometer in Petroleum Products Monitoring
. Measurement. 46, 3276-3281 (2013). doi: 10.1016/j.measurement.2013.07.005.Developing a gamma ray fluid densitometer in petroleum products monitoring applications using Artificial Neural Network
. Radiation Measurements. 59, 183-187 (2013). doi: 10.1016/j.radmeas.2013.06.007.Flow regime identification and void fraction prediction in two-phase flows based on gamma ray attenuation
. Measurement 62, 25-32 (2015). doi: 10.1016/j.measurement.2014.11.006.Optimization of a method for identifying the flow regime and measuring void fraction in a broad beam gamma-ray attenuation technique
. International Journal of Hydrogen Energy. 41, 7438-7444 (2016). doi: 10.1016/j.ijhydene.2015.12.098.Applications of ANNs in flow and heat transfer problems in nuclear engineering: A review work
. Progress in Nuclear Energy, 62, 54-71 (2013). doi: 10.1016/j.pnucene.2012.09.003.Flow Regime Identification of Gas/Liquid Two-phase Flow in Vertical Pipe Using RBF Neural Networks
.Flow regime identification and volume fraction prediction in multiphase flows by means of gamma-ray attenuation and artificial neural networks
. Progress in Nuclear Energy. 52, 555-562 (2010). doi: 10.1016/j.pnucene.2010.02.001.Investigation of using 60Co source and one detector for determining the flow regime and void fraction in gas-liquid two-phase flows
. Flow Measurement and Instrumentation, 50, 73-79 (2016). doi: 10.1016/j.flowmeasinst.2016.06.013.Analysis of CHF in saturated forced convective boiling on a heated surface with impinging jets using artificial neural network and genetic algorithm
. Nuclear Engineering and Design, 9, 241 (2011). doi: 10.1016/j.nucengdes.2011.07.029.Salinity independent volume fraction prediction in annular and stratified (water-gas-oil) multiphase flows using artificial neural networks
. Progress in Nuclear Energy. 76, 17-23 (2014). doi: 10.1016/j.pnucene.2014.05.004.Optimization of thermal neutron shield concrete mixture using artificial neural network
. Nuclear Engineering and Design. 305, 146-155 (2016). doi: 10.1016/j.nucengdes.2016.05.012.Prediction of volume fractions in three-phase flows using nuclear technique and artificial neural network
. Applied Radiation and Isotopes. 67, 1812-1818 (2009). doi: 10.1016/j.apradiso.2009.02.093.Precise volume fraction prediction in oil-water-gas multiphase flows by means of gamma-ray attenuation and artificial neural networks using one detector
. Measurement. 51, 34-41 (2014). doi: 10.1016/j.measurement.2014.01.030.Determination of Gas and Water Volume Fraction in Oil Water Gas Pipe Flow Using Neural Networks Based on Dual Modality Densitometry
. Advances in Neural Networks, Lecture Notes in Computer Science,Application of artificial neural network for predicting the optimal mixture of radiation shielding concrete
. Progress in Nuclear Energy. 89, 69-77 (2016). doi: 10.1016/j.pnucene.2016.02.010.Intelligent recognition of gas-oil-water three-phase flow regime and determination of volume fraction using Radial Basis Function
. Flow Measurement and Instrumentation. 54, 39-45 (2017). doi: 10.1016/j.flowmeasinst.2016.10.001.Flow regime independent volume fraction estimation in three-phase flows using dual-energy broad beam technique and artificial neural network
. Neural Computing and Applications. In press (2017). doi: 10.1007/s00521-016-2784-8.Usage of Two Transmitted Detectors with Optimized Orientation In order to Three Phase Flow Metering
. Measurement. 100, 122-130 (2017). doi: 10.1016/j.measurement.2016.12.055.Optimization of operational conditions in continuous electrodeionization method for maximizing Strontium and Cesium removal from aqueous solutions using artificial neural network
. Radiochimica Acta. In press (2017). doi: 10.1515/ract-2016-2709.Application of artificial neural network in precise prediction of cement elements percentages based on the neutron activation analysis
. Eur. Phys. J. Plus. 131, 167 (2016). doi: 10.1140/epjp/i2016-16167-6.Neutron activation analysis for cement elements using an IECF device as a high energy neutron source
. Analytical Methods. 8 (11), 2510-2514 (2016). doi: 10.1039/C5AY03280F.Salinity independent measurement of gas volume fraction in oil/gas/water pipe flows
. Applied Radiation and Isotopes. 53, 595-601 (2000). doi: 10.1016/S0969-8043(00)00232-3.