Abstract

When the reservoir physical properties are distributed very dispersedly, the matching precision of these reservoir parameters is not good. We propose a novel method for matching the reservoir physical properties based on particle swarm optimization (PSO) and support vector machine (SVM) algorithm. First, the data structure characteristics of the reservoir physical properties are analyzed. Then, the particle swarm differential perturbation evolution algorithm is used to cluster and characterize the reservoir physical properties. Finally, by using the SVM algorithm for feature reorganization and the least squares matching of the extracted reservoir physical properties, the feature quantity of the reservoir physical properties can be accurately mined and the pressure matching precision is improved. The experimental results show that employing the proposed method to analyze and sample the data characteristics of the physical properties of the reservoir is better. The extracted parameters can effectively reflect the physical characteristics of oil reservoirs. The proposed method has potential applications in guiding the exploration and development of oil reservoirs.

1. Introduction

With the continuous development of oil and gas industry, higher requirements are imposed on the oilfield exploitation process. Thereby, in oilfield exploitation, it is necessary to analyze the reservoir physical properties more accurately. The matching and feature extraction of the reservoir physical properties provide a basis for improving the exploration and production efficiency of the oilfields. Studies of the reservoir physical properties and dynamic analysis methods are of great significance, and the related data analysis methods are investigated by many researchers [17]. Traditional methods for describing fluid flow in porous media are theoretical-empirical models such as Navier–Stokes, Darcy, Brinkman, and Darcy–Forchheimer. Most commonly, in order to estimate the reservoir physical properties, log data can be used. One benefit of using logging data is that it provides a continuous distribution throughout a specific interval [816].

The reservoir physical properties are essential for the calculation of fluid flow in oil and gas reservoirs. In other words, reservoir simulation and modeling cannot be performed unless the reservoir physical properties are available [17]. Reservoir simulation is often used to predict reservoir performance under different scenarios. For accurate simulation, it is necessary to reduce or minimize the uncertainty involved in the parameters. The main factor leading to the uncertainty of reservoir performance prediction is to accurately estimate the reservoir fluid properties [1820]. There is no doubt that the data of the reservoir physical properties are valuable and necessary input data in the reservoir simulators. It is necessary and essential to accurately determine their values in each reservoir study.

Usually, the reservoir physical properties are determined in the laboratory [21]. In general, laboratory methods fall into two broad categories of steady state and nonsteady state [22]. Measurements of the reservoir physical properties are often very sensitive, time consuming, and expensive [23]. Therefore, researchers are more willing to obtain these data from other fast and accurate methods. Empirical correlations and analytical mathematical models are widely used to predict the reservoir physical properties [24, 25]. Purcell introduced the first analytical mathematical model in 1949 to estimate the relative permeability of water-oil and oil-oil systems using capillary pressure data [26]. In 1954, Corey developed an empirical study to estimate the relative permeability of oil and gas systems based on large relative permeability measurements based on a number of cores from several formations [27]. In 1982, Lomeland et al. developed an empirical correlation for water-oil and natural gas-oil systems which takes into account the effects of wettability and rock type [28]. Considering the effects of pressure, fluid viscosity, and flow rate, Xu et al. proposed a stage of a pressure gradient water-oil system that takes into account the relative permeability of water affected by displacement [29].

In recent years, intelligent systems such as the least squares SVM (LSSVM), the adoptive neurofuzzy interface system (ANFIS), and the artificial neural networks (ANN) have been used in rock physics. The work carried out by Mohamadi-Baghmolaei et al. was used to predict the gas compressibility factors [30].

Intelligent algorithms are widely used in the field of reservoirs. Baghban et al. attempted to predict dew points using ANFIS and LSSVM models [31]. Ahmedi et al. used evolving simple-to-use method to predict oil-water relative permeability [32]. Ahmadi successfully employed the LSSVM model [33] to model the gas-oil relative permeability. In addition, fuzzy logic modeling has been successfully applied to the permeability prediction of porous media. An example of using this technique in permeability prediction is performed by Ilkhchi et al. [34], where they incorporated fuzzy IF-THEN rules into neural networks to estimate reservoir properties [34].

It turns out that machine learning has to do with solving the most challenging industrial problems. The petroleum industry is always looking for high-performance predictive models, so this new learning method is greatly needed. Minor improvements in the prediction of the reservoir physical properties may have a positive impact on the success of exploration, drilling, and overall reservoir management. With the successful application of learning modeling in other fields, the petroleum industry urgently needs this new modeling method [35].

Various sensor-based data are being generated and obtained in the petroleum industry. Since the data obtained through these systems may involve high dimensions, hybrid machine-learning methods are best suited to extract useful knowledge from them without affecting expert opinion and model performance. The hybrid-learning model can combine different architectures of its basic model, different data sampling methods, and various optimization parameters obtained from different experts to optimize the estimation and prediction of the reservoir physical properties [36]. However, the application of computational intelligence in the petroleum industry is mainly limited to artificial neural networks and fuzzy logic. There is very little work in the field of hybrid computational intelligent modeling, and there is almost no application of ensemble models [37].

It is necessary to adopt a hybrid learning method to improve the accuracy of prediction so as to further improve the subsequent success rate of exploration and drilling. The marginal increase in prediction accuracy can increase the efficiency of producing petroleum resources with less time and efforts. Based on all these reasons, this paper proposes a method based on PSO and SVM to match the reservoir physical properties.

2. Characteristics Analysis and Data Clustering Pretreatment

2.1. Data Structure Feature Analysis

In order to achieve the optimal matching of the reservoir physical parameters, it is first necessary to analyze the data structure characteristics and distributed structure model of the reservoir physical parameters. The physical property parameters of the reservoirs can effectively reflect the physical information of the reservoir information. The collected permeability, well storage, skin, fracture radius, half length of fracture, and other parameter information are used as important data sources for the reservoir physical parameters. Through the analysis of the reservoir properties, the oil and gas field development and design will be guided to improve the final mining of the oilfields. The data structure model under the distributed structure of the reservoir physical property parameters is described aswhere represents a generalized likelihood feature vector of the property parameter data packet and represents the interference eigenvector in discrete sample acquisition of reservoir physical parameters. Through the abovementioned analysis, the prior data of the reservoir physical property parameter test is mapped to the high-order vector space [3842]. Assuming that there are n samples in the reservoir physical property test set , the following two functions are constructed to represent the multibeam feature vector of the reservoir physical parameters:Schwefel function:Rosebrock function:

Assuming that, in the D-dimensional multibeam search space, there are m particles composing a population, and the environmental data collected by the physical parameters satisfy

According to the abovementioned assumptions, in the case of data set characteristics, the classification matrix of the property parameter is positive, then the inverse matrix of the state transition matrix of these parameters is , and the state transition matrix can effectively react to the reservoir data structure characteristics of physical parameters; the feature decomposition process iswith

Through the abovementioned analysis, the data structure characteristics of the parameters are realized. Based on this, the feature extraction and data clustering mining processing are carried out to realize the matching analysis of the reservoir physical parameters.

2.2. Parameter Clustering Preprocessing

Based on the abovementioned analysis of the data structure characteristics of the reservoir physical parameters, the particle swarm differential perturbation evolution algorithm is used to cluster the reservoir physical parameters. The PSO algorithm is a new intelligent optimization algorithm proposed by Kennedy and Eberhart in 1995. The particle swarm differential perturbation evolution is used to construct the autoregressive equation expression of reservoir physical property parameters in high dimensional space:where is the weighted value of the individual with the highest fitness and is expressed as the deviation vector. The probability distribution of the reservoir physical property parameter in the particle swarm individual is .

In the process of particle swarm evolution, the degree of difference between individuals increases. By extracting the difference features, the position of the ith particle at the moment is obtained:where

The constructed value loss function is used to represent the clustering feature vector of the reservoir physical property parameters, and the initial cluster center is described in the particle swarm population aswhere

The designed error back propagation factor and chaotic map are used to optimize the particle swarm differential perturbation so that the reservoir physical parameters have better adaptability in cluster training. At this time, the optimization model of reservoir physical parameter clustering iswhere and represent the slack variables produced by the posterior probability ; is the insensitive loss function in the clustering process of particle swarm data; and represents the compromise of the fitting precision of data samples. The clustering preconditioning of reservoir physical property parameters based on particle swarm differential perturbation evolution is realized.

3. Algorithm Improvement

3.1. Feature Extraction

Based on the analysis of data structure characteristics and data clustering pretreatment of reservoir physical parameters, the improved algorithm for reservoir physical property parameters matching is designed. The traditional method uses the fuzzy C-means clustering matching algorithm to match the reservoir physical property parameters. When the dispersed characteristics of the reservoir physical property parameters are large, the matching accuracy of the reservoir physical parameters is not good. In order to overcome the defect of traditional methods, this paper proposes a method based on PSO and SVM algorithm for reservoir physical property parameters. Based on the particle swarm differential perturbation evolution algorithm for clustering of reservoir physical property parameters, feature extraction is performed, and the weights of each particle in the feature extraction of reservoir physical parameters are calculated:

During the search process, the particle swarms perform minimum feature space recombination on the extracted reservoir physical parameters and normalize the weight values of each particle:

The larger the value, the higher the matching precision of the reservoir parameters. The estimated function is obtained by adaptive least squares estimation by monitoring the threshold value of the reservoir parameters:

Using the particle swarm differential perturbation search method, the feature information is continuously searched in the global scope. The expressions of the feature extraction results of the reservoir physical parameters in the optimal and global search space are

After the operation reaches convergence, the most adaptive individual in the entire particle population is the optimal approximate solution needed. Thus, the feature extraction of the reservoir physical parameters is realized, which provides an accurate data basis for precisely matching and information mining of reservoir physical parameters.

3.2. Parameter Matching Based on SVM

The SVM model is used to perform feature reorganization and least squares matching on the extracted reservoir physical parameters to realize accurate mining of feature quantities. Combined with the data characteristics of the reservoir physical parameters, the standard SVM model is assumed to bewhere is the data feature extraction sample and is the Lagrange operator, and the vector feature sample set matched to the reservoir physical property parameters iswhere is the eigenvector; the first-order partial derivative of the SVM model is calculated, and the characteristic discriminant of the least squares matching of the reservoir physical property parameters under the standard SVM is

In the reservoir physical property parameters space, by adaptively adjusting the weight vector , the covariance and the adaptive spectral peak weighted search method are used to solve the normalized vector of the matching center.

Whenwe have

In the sample update process of the SVM set , there are , , and , . For the of the parameter, the time window width in the direction of the gradient descent is

In order to reflect the diversity characteristics of the particle population during the data matching process, the matching update is performed in the finite step adjustment. When the set satisfies

As the sample size increases, the parameters generate and as finite sequences. Under the control of the SVM model, the matched output results are

The velocity of the particle population is , and the position is . Through the SVM algorithm, the initial reservoir parameters converge to the global optimal, which indicates that the proposed method has stability and global convergence.

4. A Case Study

In order to test the performance of the proposed method in the optimization and matching of reservoir physical property parameters, a case study is carried out. The underground reservoir is located in western China, and the well is a multistage fracturing horizontal well. The stratum is a rectangular fully enclosed reservoir with homogeneous formation. The reservoir fluid is the tight oil and the fluid flow satisfies Darcy’s law. Horizontal well position, fracture locations at all levels, fracture shapes, and reservoir boundaries are shown in Figure 1.

The number of wells in the actual production process is far from meeting the demand for the number of samples. Taking the multistage fracturing of horizontal wells as an example, the parameters affecting the curve shape and calculation results mainly include permeability, well storage, skin, half length of fractures, and the number of fractures. Even if 100 basic values are selected for each parameter, random matching is adopted, and the number of combinations obtained reaches 1010 groups, and the spatial uniformity of the parameter group cannot be guaranteed. Matching using the method proposed in this paper can obtain the high quality samples, thus improving the accuracy of the matching. The setting of each parameter value used in the algorithm is as follows. The distributed attenuation factor of the matching center is , the population size of the particle group is set to 20, the matching threshold is set to , the parameter , ,, and , the particle swarm differential perturbation range is set to , and the crossover probability of the particle swarm is .

One of the important concepts for describing multiphase flow in porous media is permeability. In order to verify the effectiveness of the algorithm, the genetic algorithm (GA), ANN, and the method proposed in this paper were used to perform matching on the permeability data. The results obtained are shown in Figure 2. The permeability prediction results of the three algorithms are shown in Table 1. As can be seen from Table 1, the Root Mean Square Error (RMSE) of GA is 0.384, the RMSE of ANN is 0.35, and the RMSE of PSO-SVM is 0.183. It can be known from the prediction results that the overall performance of the PSO-SVM method is better and the prediction results are more accurate.

After obtaining the predicted values of all the physical parameters, they are imported into the reservoir model and the formation pressure is calculated. The comparison between the calculated results and the measured data is shown in Figure 3. It shows that the measured pressure and the calculated pressure match well with an average error of 2.8%, which is within an acceptable range.

To further verify the accuracy of the predicted data, the obtained reservoir parameters were introduced into the example well to obtain the bottom hole pressure distribution, and the results are shown in Figures 48. Figures 48 are plots of bottom hole pressure at 120 hours, 630 hours, 1120 hours, 2160 hours, and 4230 hours, respectively.

The flow in Figure 4 is in the linear flow phase and the flow is concentrated near the crack. From Figures 57, the flow gradually expands outward, and the flow state appears as a linear flow to a radial flow transition phase. In Figure 8, the flow is about to reach the boundary, where the flow state is a mixed flow of radial flow and boundary control flow. The flow patterns are in good agreement with seepage laws from Figures 48. The results of the pressure distribution are in accordance with expectations, which also verify the correctness of the algorithm.

5. Conclusions

In this paper, a matching method for reservoir physical property parameters based on PSO and SVM algorithm is proposed. The main conclusions can be summarized as follows:(1)The obtained physical parameters have better spatial uniformity and can truly reflect the reality of underground reservoirs(2)The matching accuracy of the formation pressure is within the allowable error range(3)The formation pressure matching by the optimization algorithm can better meet the computational requirements of complex nonlinearities

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (Grant no. 41672114) and National Science and Technology Major Project (Grant no. 2017ZX05009005-002).