Method for predicting core capillary pressure curve based on rock particle size accumulation curve
By constructing an artificial intelligence prediction model based on the rock particle size accumulation curve, and using the PCHIP interpolation method, machine learning, and artificial neural network algorithms, the high cost and external interference problems of nuclear magnetic resonance and mercury intrusion methods are solved, and the core capillary control is realized. Accurate prediction of pressure curves reduces prediction costs and improves stability.
Patent Information
- Application Number
- CN202410553360.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-07
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, nuclear magnetic resonance technology is expensive to use to predict the capillary pressure curve of cores and is susceptible to external interference. Moreover, the mercury intrusion method cannot obtain the capillary pressure curve of continuous reservoirs, making it difficult to meet the needs for accurate characterization of unconventional reservoirs.
Using a method based on the rock particle size accumulation curve, an artificial intelligence prediction model is constructed by obtaining the capillary pressure curve and particle size accumulation curve of the training sample and the sample to be tested, and the PCHIP interpolation method, machine learning, and artificial neural network algorithms are used for data resampling. and feature analysis to optimize the input training set to achieve accurate prediction of capillary pressure curves.
It reduces the cost of predicting capillary pressure curves, improves prediction accuracy and stability, avoids the high cost and external interference problems of nuclear magnetic resonance and mercury porosimetry, and achieves accurate prediction of core capillary pressure curves.
Smart Images

Figure CN118535916A
Abstract
Description
Technical Field
[0001] The invention relates to the field of oil and gas exploration and development, and in particular to a method for predicting a core capillary pressure curve based on a rock particle size accumulation curve. Background Art
[0002] The most intuitive and widely used research data for characterizing reservoir pore structure is the capillary pressure curve. Usually, the capillary pressure curve is obtained by conventional mercury injection on the core. For unconventional reservoirs, researchers use high-pressure mercury injection to accurately characterize them. However, the mercury injection method has the limitations of high cost, high risk and inability to obtain capillary pressure curves of continuous reservoirs.
[0003] To this end, researchers have proposed a method for predicting capillary pressure curves using nuclear magnetic resonance logging data. Specifically, it includes: obtaining nuclear magnetic resonance echo data and capillary pressure curve data of core samples; determining the characteristic parameters of the capillary pressure curve based on the Laplace transform function pair and the nuclear magnetic resonance echo data; then determining the prediction model of the capillary pressure curve based on the characteristic parameters of the capillary pressure curve and the capillary pressure curve data; finally, predicting the capillary pressure curve of the target reservoir based on the prediction model of the capillary pressure curve. For example, there is a Chinese patent "A method, device and equipment for predicting reservoir capillary pressure curves", patent number CN202011311475.4, which has taken the above steps to achieve accurate prediction of the capillary pressure curve. In addition, many researchers have also constructed pseudo capillary pressure curves based on the T2 spectrum curve of nuclear magnetic resonance.
[0004] It is worth noting that the above methods for predicting capillary pressure curves are all based on nuclear magnetic resonance data. However, nuclear magnetic resonance technology also has the disadvantages of high cost and is susceptible to external interference. Summary of the invention
[0005] In view of the above-mentioned defects in the prior art, the present invention provides a method for predicting a core capillary pressure curve based on a rock particle size accumulation curve.
[0006] The present invention provides a method for predicting a core capillary pressure curve based on a rock particle size accumulation curve, comprising: obtaining a plurality of training samples; measuring the capillary pressure curves of the training samples and performing logarithmic resampling; measuring the particle size accumulation curves of the training samples; obtaining a plurality of samples to be tested; measuring the capillary pressure curves of the samples to be tested and performing logarithmic resampling; measuring the particle size accumulation curves of the samples to be tested; constructing an artificial intelligence prediction model for the capillary pressure curve; predicting the capillary pressure curves of the samples to be tested; determining the best artificial intelligence algorithm; optimizing the input training set; and accurately predicting the core capillary pressure curve.
[0007] Specifically, the capillary pressure curves of the training sample and the sample to be tested are measured based on the mercury injection method, and the horizontal and vertical coordinates of the capillary pressure curve represent the mercury injection pressure and the mercury injection saturation, respectively.
[0008] Specifically, the capillary pressure curve is logarithmically resampled based on the PCHIP interpolation method. The logarithm of the mercury injection pressure is taken; the minimum and maximum values of the mercury injection pressure after logarithmic processing are determined as the starting point and the end point of the interpolation; the interpolation interval is determined according to the required characteristic data volume; and the resampled capillary pressure curve is obtained using the formula of the PCHIP interpolation method.
[0009] The formula of the PCHIP interpolation method is shown in formula (1).
[0010]
[0011] Where x0 and x1 are the points corresponding to the adjacent measurements before and after the interpolation point; y0 and y1 correspond to the measured values corresponding to the measurements before and after the interpolation point; y′0 and y′1 represent the first-order derivative values.
[0012] Among them, the capillary pressure curve completed by resampling the training samples is used as the output training set; the capillary pressure curve completed by resampling the samples to be tested is used as the true value.
[0013] Specifically, based on the screening method, the proportions of different particle sizes of the training samples and the samples to be tested are measured, and finally the particle size cumulative curves of the training samples and the samples to be tested are obtained, wherein the horizontal and vertical coordinates of the particle size cumulative curve represent the particle size and the particle size cumulative proportion, respectively.
[0014] The particle size accumulation curve of the training samples is used as the input training set; the particle size accumulation curve of the sample to be tested is used as the prediction feature.
[0015] Specifically, an artificial intelligence prediction model of the capillary pressure curve is constructed based on the input training set and the output training set. The more training samples are obtained, the more accurate the artificial intelligence prediction model of the capillary pressure curve is.
[0016] Specifically, in the embodiment of the present invention, an artificial intelligence prediction model of the capillary pressure curve is constructed based on MATLAB software using two artificial intelligence technologies, machine learning and artificial neural network. Among them, the machine learning prediction model uses two algorithms, the fine tree and the boosted tree; the artificial neural network prediction model uses three algorithms, the Levenberg-Marquardt method (LM), the Bayesian regularization method (BR) and the quantized conjugate gradient method (QCG).
[0017] Specifically, the fine tree algorithm in the machine learning prediction model belongs to the regression tree model. Among them, the regression tree model is a type of CART decision tree. Generating a CART decision tree includes the following two steps:
[0018] The first step is to determine the best segmentation variable j and segmentation point s to obtain the (j, s) with the minimum error, as shown in formula (2).
[0019]
[0020] In the second step, the sample features are divided into two nodes using the best (j, s), and the above steps are repeated until the termination condition is met. Finally, the input space is divided into M regions, and a decision tree is generated, as shown in equations (3) and (4).
[0021] c m =average(y i |x i ∈R m (j,s)) (3)
[0022]
[0023] Specifically, the boosting tree in the machine learning prediction model is a supervised learning algorithm based on the least squares boosting (LSBoost) algorithm. Among them, the least squares boosting algorithm belongs to the regression tree ensemble, and its expression is shown in formula (5).
[0024]
[0025] In the formula, Represents the base model, i.e. the first model in the model set. To estimate the target value y, a constant γ is chosen to minimize the sum of squared errors.
[0026] Specifically, the Levenberg-Marquardt method in the artificial neural network prediction model is an optimization algorithm for solving nonlinear problems, which is described as follows:
[0027] Suppose N samples are given, p1, p2, ..., p N , the target output of the network is d1,d2,…,d N , the actual output is y1,y2,…,y N When the input sample is i, the output is y ji , j = 1, 2, …, m, the error is the sum of the errors of each output unit, and the square error indicator function is used, as shown in formula (6).
[0028]
[0029] Specifically, the Bayesian regularization method in the artificial neural network prediction model is a modified network algorithm based on the Levenberg-Marquardt method, and its training function is shown in formula (7).
[0030] F=αEω +βE D (7)
[0031] In the formula, E ω is the sum of squares of all network weights; E D is the error between the output value of each layer of the network and the true value; α and β are the regularization coefficients of the performance function.
[0032] Specifically, the quantized conjugate gradient method in the artificial neural network prediction model combines the model resetting interval method in the Levenberg-Marquardt method with the conjugate gradient method, which improves the training speed of the network. The weight adjustment method is shown in formula (8).
[0033] ω ij (t+1)=ω ij (t)+α k p k (8)
[0034] In the formula, p k is the search direction, the initial search direction is the negative gradient direction of the error -E′(ω1), α k is the search step length.
[0035] The artificial neural network in the embodiment of the present invention is essentially a model with fewer layers developed based on deep learning. The network structure of the model consists of an input layer, a hidden layer, an output layer and an output. Among them, the hidden layer uses a sigmoid transfer function, and the output layer uses a linear transfer function. The size of the layer affects the number of hidden neurons.
[0036] Furthermore, according to the artificial intelligence prediction model and prediction characteristics of the capillary pressure curve, the capillary pressure curve of the sample to be tested is predicted as a predicted value.
[0037] Further, the best artificial intelligence algorithm is determined based on the comparative analysis results of the predicted value and the true value of the capillary pressure curve of the sample to be tested. Specifically, the best artificial intelligence algorithm is determined based on the average value of the root mean square error and the Pearson correlation coefficient. Among them, the predicted value of the best artificial intelligence algorithm is used as the original predicted value.
[0038] The calculation formula of the root mean square error (RMSE) is:
[0039]
[0040] In the formula, x i Represents the input value, Represents the predicted value, and n is the number of training data.
[0041] Among them, the expression of Pearson correlation coefficient (r) is:
[0042]
[0043] In the formula, Represents X i The standard score of the sample, Represents X i The mean of the sample, σ X Represents X i The standard deviation of the sample.
[0044] Specifically, the PCHIP interpolation method is used to optimize the input training set, wherein the interpolation interval is reduced to expand the feature data volume of the input training set.
[0045] Furthermore, a new artificial intelligence prediction model of the capillary pressure curve is constructed according to the output training set and the optimized input training set and based on the best artificial intelligence algorithm.
[0046] Furthermore, based on the new artificial intelligence prediction model and prediction characteristics of the capillary pressure curve, the capillary pressure curve of the sample to be tested is predicted as an optimized prediction value.
[0047] Further, according to the comparative analysis results of the optimized predicted value and the true value of the capillary pressure curve of the sample to be tested, the amount of characteristic data input into the training set is determined. Specifically, the average value of the root mean square error and the Pearson correlation coefficient of the optimized predicted value should be better than the original predicted value.
[0048] Furthermore, according to the output training set and the determined input training set and based on the best artificial intelligence algorithm, an artificial intelligence prediction model is constructed to achieve accurate prediction of the core capillary pressure curve. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A flow chart of a method for predicting a core capillary pressure curve based on a rock particle size accumulation curve provided by the present invention.
[0050] Figure 2 A schematic diagram of a capillary pressure curve of a training sample provided in an embodiment of the present invention.
[0051] Figure 3 A schematic diagram of a capillary pressure curve after resampling of a training sample provided in an embodiment of the present invention.
[0052] Figure 4 A schematic diagram of a particle size accumulation curve of a training sample provided in an embodiment of the present invention.
[0053] Figure 5 A comparison chart of the predicted value and the actual value of the capillary pressure curve of the sample to be tested provided in an embodiment of the present invention.
[0054] Figure 6 A schematic diagram of the average values of the root mean square error and the Pearson correlation coefficient of the predicted value of the capillary pressure curve of the sample to be tested provided in an embodiment of the present invention.
[0055] Figure 7 A comparison chart of the optimized predicted value and the true value of the capillary pressure curve of the sample to be tested provided in an embodiment of the present invention.
[0056] Figure 8 A schematic diagram of the average values of the root mean square error and the Pearson correlation coefficient of the optimized predicted value of the capillary pressure curve of the sample to be tested provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to enable those skilled in the art to more fully understand the technical solution of this specification, the embodiments of this specification will be described in detail and completely according to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments in this specification, not all of them. Based on one or more embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the embodiments of this specification.
[0058] This specification provides an embodiment of a method for predicting a core capillary pressure curve based on a rock particle size accumulation curve, such as Figure 1 As shown, the method includes the following modules:
[0059] S1: Data preparation;
[0060] S2: Model building;
[0061] S3: Model optimization.
[0062] Specifically, the S1 module includes the following steps:
[0063] (1) Obtain multiple training samples;
[0064] (2) measuring the capillary pressure curve of the training sample and performing logarithmic resampling as the output training set;
[0065] (3) measuring the particle size accumulation curve of the training samples as the input training set;
[0066] (4) obtaining a plurality of samples to be tested;
[0067] (5) measuring the capillary pressure curve of the sample to be tested and performing logarithmic resampling as the true value;
[0068] (6) Measure the cumulative particle size curve of the sample to be tested as a prediction feature.
[0069] Specifically, the S2 module includes the following steps:
[0070] (7) constructing an artificial intelligence prediction model of capillary pressure curve based on the input training set and the output training set;
[0071] (8) According to the artificial intelligence prediction model and prediction characteristics of the capillary pressure curve, the capillary pressure curve of the sample to be tested is predicted as a predicted value.
[0072] Specifically, the S3 module includes the following steps:
[0073] (9) Determine the best artificial intelligence algorithm based on the comparative analysis results of the predicted value and the actual value of the capillary pressure curve of the sample to be tested;
[0074] (10) Optimize the input training set according to the PCHIP interpolation method;
[0075] (11) constructing a new artificial intelligence prediction model of capillary pressure curve according to the output training set and the optimized input training set and based on the best artificial intelligence algorithm;
[0076] (12) predicting the capillary pressure curve of the sample to be tested based on the new artificial intelligence prediction model and prediction features of the capillary pressure curve as an optimized prediction value;
[0077] (13) determining the amount of feature data of the input training set according to the comparative analysis results of the optimized predicted value and the true value of the capillary pressure curve of the sample to be tested;
[0078] (14) According to the output training set and the determined input training set and based on the best artificial intelligence algorithm, an artificial intelligence prediction model is constructed to achieve accurate prediction of the core capillary pressure curve.
[0079] Specifically, the ratio between the training samples and the samples to be tested is not less than 18:1; and the lithology of the training samples and the samples to be tested is sandstone.
[0080] Specifically, step (2) measuring the capillary pressure curve of the training sample and step (3) measuring the particle size cumulative curve of the training sample must be strictly followed in this order. Similarly, step (5) measuring the capillary pressure curve of the sample to be tested and step (6) measuring the particle size cumulative curve of the sample to be tested should also be strictly followed in this order.
[0081] Specifically, step (2) measures the capillary pressure curve of the training sample based on the mercury injection method. The horizontal and vertical coordinates of the capillary pressure curve represent the mercury injection pressure and mercury injection saturation, respectively. Figure 2 shown.
[0082] Among them, the capillary pressure curve is logarithmically resampled based on the PCHIP interpolation method. Specifically, the mercury injection pressure is logarithmized, such as 0.007-122MPa, which is -2.1-2.08MPa after logarithmization; the minimum and maximum values of the mercury injection pressure after logarithmic processing are determined, such as the minimum value is -2.1MPa and the maximum value is 2.08MPa, as the starting point and end point of the interpolation; according to the required feature data volume, the interpolation interval is determined, such as the required feature data volume is 26 groups, then the interpolation interval is 0.167MPa; the capillary pressure curve after resampling is obtained by formula (1) as the output training set, such as Figure 3 shown.
[0083] Specifically, step (3) measures the proportion of different particle sizes of the training sample based on the screening method, and finally obtains the particle size cumulative curve of the training sample as the input training set. The horizontal and vertical coordinates of the particle size cumulative curve represent the particle size and the particle size cumulative proportion, respectively, such as Figure 4 shown.
[0084] Step (5) and step (6) also adopt the above method to obtain the capillary pressure curve and particle size accumulation curve of the resampling of the sample to be tested, which are used as the true value and prediction feature respectively.
[0085] Specifically, step (7) uses two artificial intelligence technologies, machine learning and artificial neural network, based on MATLAB software to construct an artificial intelligence prediction model of the capillary pressure curve. Among them, the machine learning prediction model uses two algorithms, the fine tree and the boosted tree; the artificial neural network prediction model uses three algorithms, the Levenberg-Marquardt method (LM), the Bayesian regularization method (BR) and the quantized conjugate gradient method (QCG).
[0086] Among them, the refined tree algorithm uses formula (2) to determine the best segmentation variable j and segmentation point s, and uses formulas (3) and (4) to generate a decision tree; the boosted tree algorithm uses formula (5) to construct a least squares boosting algorithm.
[0087] Among them, formula (6) is used to implement the Levenberg-Marquardt method; formula (7) is used to implement the Bayesian regularization method; and formula (8) is used to implement the quantized conjugate gradient method.
[0088] Furthermore, according to the machine learning prediction model of the capillary pressure curve and the artificial neural network prediction model of the capillary pressure curve and combined with the prediction features, the capillary pressure curve of the sample to be tested is predicted as the predicted value. A comparison chart of the predicted value and the true value of the capillary pressure curve of the sample to be tested is obtained, such as Figure 5 shown.
[0089] Furthermore, the best artificial intelligence algorithm is determined according to the average value of the root mean square error and the Pearson correlation coefficient of the predicted value of the capillary pressure curve of the sample to be tested. Figure 6 The results show that the Levenberg-Marquardt method (LM) is superior to other artificial intelligence algorithms. Specifically, the average value of the root mean square error of the four tested samples is the lowest, which is 6.50250; the average value of the Pearson correlation coefficient of the four tested samples is the highest, which is 0.98675. It is determined that the best artificial intelligence algorithm is the Levenberg-Marquardt method.
[0090] The predicted values of the Levenberg-Marquardt method are used as the original predicted values. Specifically, the feature data volume of the input training set of the original predicted values is 20 groups.
[0091] Specifically, the input training set is optimized according to the PCHIP interpolation method, wherein the interpolation interval is reduced to 0.00424 mm, 0.00315 mm, 0.00251 mm, and 0.00124 mm, and the feature data volume of the input training set is expanded to 30 groups, 40 groups, 50 groups, and 100 groups, which are used as the optimized input training set.
[0092] Of course, the above is only an exemplary description, and the amount of feature data for expanding the input training set is not limited to the above examples. However, as long as the optimized prediction value is better than the original prediction value, it is covered within the protection scope of this application.
[0093] Furthermore, four new artificial intelligence prediction models of capillary pressure curves were constructed according to the output training set and the optimized input training set and based on the Levenberg-Marquardt method.
[0094] Furthermore, according to the artificial intelligence prediction model and prediction features of the four new capillary pressure curves, the capillary pressure curve of the sample to be tested is predicted as the optimized prediction value. A comparison chart of the optimized prediction value and the true value of the capillary pressure curve of the sample to be tested is obtained, such as Figure 7 shown.
[0095] Furthermore, the amount of characteristic data for the input training set is determined based on the average values of the root mean square error and the Pearson correlation coefficient of the optimized predicted value of the capillary pressure curve of the sample to be tested. Specifically, the average value of the root mean square error of the optimized predicted value should be lower than 6.50250; the average value of the Pearson correlation coefficient of the optimized predicted value should be higher than 0.98675.
[0096] Figure 8 It shows that the feature data volume of the input training set is better than the original prediction value when it is 100 groups. Specifically, the average value of the root mean square error of the four samples to be tested is the lowest, which is 5.64625; the average value of the Pearson correlation coefficient of the four samples to be tested is the highest, which is 0.98725. It is determined that the feature data volume of the input training set is 100 groups.
[0097] In summary, according to the output training set and the input training set of 100 sets of feature data and based on the Levenberg-Marquardt method, an artificial intelligence prediction model of the capillary pressure curve is constructed to achieve accurate prediction of the core capillary pressure curve.
[0098] Those skilled in the art should understand that the above one or more embodiments are only used to describe the technical solution of the present invention, rather than to limit it. One or more embodiments of this specification may have various modifications and changes without making the essence of the corresponding technical solution depart from the scope of the technical solution of each embodiment of the present invention.
Claims
1. A method for predicting a core capillary pressure curve based on a rock particle size accumulation curve, characterized in that: include: Obtain multiple training samples; The capillary pressure curves of the training samples were measured and logarithmically resampled; Measure the particle size accumulation curve of the training samples; Obtaining a plurality of samples to be tested; Measure the capillary pressure curve of the sample to be tested and perform logarithmic resampling; Measure the particle size accumulation curve of the sample to be tested; Construct an artificial intelligence prediction model for capillary pressure curve; Predict the capillary pressure curve of the sample to be tested; Determine the best AI algorithm; Optimize the input training set; Accurately predict core capillary pressure curve.
2. The method according to claim 1, characterized in that The ratio between the training samples and the samples to be tested is not less than 18:
1.
3. The method according to claim 1, characterized in that: The lithology of the training sample and the sample to be tested is sandstone.
4. The method according to claim 1, characterized in that The capillary pressure curves of the training sample and the sample to be tested are measured based on mercury intrusion method.
5. The method according to claim 1, characterized in that The capillary pressure curve is logarithmically resampled based on the PCHIP interpolation method.
6. The method according to claim 1, characterized in that The particle size cumulative curves of the training sample and the sample to be tested are measured based on the sieving method.
7. The method according to claim 1, characterized in that An artificial intelligence prediction model for the capillary pressure curve is constructed, including a machine learning prediction model and an artificial neural network prediction model.
8. The method according to claim 1, characterized in that The optimal artificial intelligence algorithm is determined based on the average values of the root mean square error and the Pearson correlation coefficient.
