One of the factors that significantly affects the efficiency of oil and gas industry equipment is the scales formed in the pipelines. In this innovative, non-invasive system, the inclusion of a dual-energy gamma source and two sodium iodide detectors was investigated with the help of artificial intelligence to determine the flow pattern and volume percentage in a two-phase flow by considering the thickness of the scale in the tested pipeline. In the proposed structure, a dual-energy gamma source consisting of barium-133 and cesium-137 isotopes emit photons, one detector recorded transmitted photons and a second detector recorded the scattered photons. After simulating the mentioned structure using Monte Carlo N-Particle (MCNP) code, time characteristics named 4th order moment, kurtosis and skewness were extracted from the recorded data of both the transmission detector (TD) and scattering detector (SD). These characteristics were considered as inputs of the multilayer perceptron (MLP) neural network. Two neural networks that were able to determine volume percentages with high accuracy, as well as classify all flow regimes correctly, were trained.
Scale formation inside oil and gas pipelines is always one of the main threats to the efficiency of equipment and their depreciation. In this study, an artificial intelligence method method is presented to provide the flow regime and volume percentage of a two-phase flow while considering the presence of scale inside the test pipe. In this non-invasive method, a dual-energy source of barium-133 and cesium-137 isotopes is irradiated, and the photons are absorbed by a detector as they pass through the test pipe on the other side of the pipe. The Monte Carlo N Particle Code (MCNP) simulates the structure and frequency features, such as the amplitudes of the first, second, third, and fourth dominant frequencies, which are extracted from the data recorded by the detector. These features use radial basis function neural network (RBFNN) inputs, where two neural networks are also trained to accurately determine the volume percentage and correctly classify all flow patterns, independent of scale thickness in the pipe. The advantage of the proposed system in this study compared to the conventional systems is that it has a better measuring precision as well as a simpler structure (using one detector instead of two).
Undesirable water-in-crude oil emulsions in the oil and gas industry can lead to several issues, including equipment corrosion, high-pressure drops in pipelines, high pumping costs, and increased total production costs. These emulsions are commonly treated with surface-active chemicals called demulsifiers, which can break an oil–water interface and enhance phase separation. This study introduces a novel approach based on neural networks to estimate demulsification efficiency and to aid in the selection of demulsifiers under field conditions. The influence of various types of demulsifiers, demulsifier concentration, time required for demulsification, temperature and asphaltene content on the demulsification efficiency is analyzed. To improve model accuracy, a modified full-scale factorial design of experiments and the comparison of response surface method with multilayer perception neural networks were conducted. The results demonstrated the advantages of using neural networks over the response surface methodology such as a reduced settling time in separators, an improved crude oil dehydration and processing capacity, and a lower consumption of energy and utilities. The findings may enhance processing conditions and identify regions of higher demulsification efficiency. The neural network approach provided a more accurate prediction of maximum of demulsification efficiency compared to the response surface methodology. The automated multilayer perceptron neural network, with an architecture consisting of 3 input layers, 14 hidden layers, and 1 output layer, demonstrated the highest validation performance R2 of 0.991932 by utilizing a logistic output activation function and a hyperbolic tangent activation function for the hidden layers. The identification of shifted optimal values of time required from demulsification, demulsifier concentration, and asphaltene content along with sensitivity analysis confirmed advantages of automated neural networks over conventional methods.