A method for predicting oilfield single well production based on decline curve
Through the method of combining matter element analysis and BP neural network, the type of oil well production decline curve can be accurately determined and accurately predicted, which solves the problem of large production prediction error in traditional methods and achieves refined management of oil well production and cost reduction.
Patent Information
- Application Number
- CN202011576348.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-28
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-12-28
AI Technical Summary
Traditional oilfield production decline models are difficult to accurately identify the type of oil well production decline curves, resulting in large production prediction errors and inability to effectively manage oil field dynamic changes.
Using the method of combining matter element analysis and BP neural network, the decline curve type is determined by constructing the characteristic intervals and clusters of single well decline curves in oil fields, and the BP neural network is used to predict single well production, replacing traditional graphical methods and hardware measurement.
It achieves accurate prediction of oil well production, reduces costs, maximizes the advantages of oil measurement based on work maps, and achieves refined management of oil pumping well production.
Smart Images

Figure CN114692918B
Abstract
Description
Technical Field
[0001] The invention relates to the field of oilfield pumping well production modes, in particular to an oilfield single well production prediction method based on a decline curve. Background Art
[0002] The production changes of oil and gas fields (reservoirs) are generally divided into three stages: the initial production period, the stable production period and the decline period. The development practice of a large number of oil and gas fields shows that about half of the recoverable geological reserves are produced during the decline of production. In the decline period, not only the amount of oil and gas produced is large, but also the duration is long, and the decline law is also very complicated. Therefore, studying the decline law of production and calculating the recoverable reserves of oil fields are of great significance to the dynamic prediction of oil and gas fields and the planning of oil and gas production.
[0003] As the development of oil fields deepens, the remaining underground reserves continue to decrease, and the energy of oil reservoirs continues to be consumed. When the development reaches a certain stage, the oil field production will inevitably decline, and the oil field production enters the decline stage. Taking Liaohe Oilfield as an example, the production of oil wells in most blocks has entered the decline stage. At present, most of the mathematical models used in Liaohe Oilfield to describe the law of production decline use the traditional Arps formula model, which was proposed by JJArps in 1945 and has become an important method for reserve evaluation and production prediction in the stage of oil reservoir production decline. At the same time, the Arps decline model has also been included in the industry specification of oil field recoverable reserves methods. It is a statistical model. The law of oil field production changes conforms to this model, mainly including three models: exponential decline, hyperbolic decline, and harmonic decline.
[0004] Through the analysis of the historical production of a single well in Liaohe Oilfield, it is found that in traditional methods, such as the graphical method, when judging the exponential decline type, it is often not a straight line, but fluctuates within the range of the slope of the straight line. This will cause errors when using the graphical method to judge the slope of the decline curve, resulting in the wrong decline curve type, resulting in large errors in predicting production. Therefore, it is difficult to identify the decline curve type of oil well production and production prediction through traditional methods. Summary of the invention
[0005] In view of the shortcomings of the prior art, the present invention proposes a method for predicting the production of a single well in an oil field based on a decline curve, which uses a method combining matter-element analysis and BP neural network to predict the production. By analyzing the historical production of a single well in the oil field, combining the historical production data of the oil field with static parameters, a decline curve of a single well in the oil field is established, and a matter-element method is used to establish a matter-element model for all single wells in the oil field, and classify them to form a typical feature library. The matter-element method is used to establish a matter-element model of the sample to be identified, and the correlation with the typical feature library is calculated, so as to accurately determine the type of decline curve, and the BP neural network is used to take the decline curve type into consideration in the input variable to achieve accurate prediction of the single well production.
[0006] The technical solution adopted by the present invention is as follows: a method for predicting the production of a single well in an oil field based on a decline curve, characterized in that it comprises the following steps:
[0007] According to the historical production data of single wells in each oil field in each block, the characteristic interval of the single well decline curve is established;
[0008] And determine the decline curve type for the identified well according to the characteristic interval of the decline curve;
[0009] The oilfield production data is obtained through the dynamometer, and the BP neural network is used to predict the single well production according to the decline curve type.
[0010] The method of establishing the characteristic interval of the single well decline curve according to the historical production data of the single well in each oil field in each block includes the following steps:
[0011] 1) Construct three decreasing curve characteristic parameters:
[0012] In semi-logarithmic coordinates, the output Q i With time Δt i The slope of:
[0013] In semi-logarithmic coordinates, the cumulative production Np i With output Q i The slope of:
[0014] In rectangular coordinates, the slope of the product of cumulative production and time and time: The characteristics of the decreasing curve are:
[0015] 2) Establish a collection of decreasing curves:
[0016] The set of decreasing curves is F = {F 1 ,F 2 ,F 3}, the characteristic types are exponential decreasing curve, harmonic decreasing curve, and hyperbolic decreasing curve;
[0017] For a decreasing type F i (i=1,2,3), if F i occurs, then has the characteristic type set:
[0018] {c,v|(c ij ,v ij ),i=1,2,3j=1,2,3}
[0019] Among them, c ij F i The jth feature of ij F i The jth characteristic value of the decreasing curve allows the fluctuation range to be the node domain, that is, X = <a' ij ,b' ij >, X represents F i The fluctuation range of the jth characteristic value, i.e., the section domain, a' ij ,b' ij Respectively represent F i The lower and upper limits of the j-th characteristic value;
[0020] 3) Establish the matter-element model of the decline curve cluster:
[0021]
[0022] Among them, R i is the matter-element model of the i-th feature type, v i1 ,v i2 ,v i3 are the characteristic interval values of the characteristic types respectively; c 1 、c 2 、c 3 Respectively represent the three features corresponding to this feature type, a ij , b ij They represent the lower and upper limits of the j-th feature corresponding to the i-th feature type;
[0023] 4) The matter-element model of the decline curve to be determined is as follows:
[0024]
[0025] Among them, R x The matter-element model representing the decline curve to be diagnosed, v x1 ,v x2 ,v x3 They are respectively the exponential decreasing curve eigenvalue, harmonic decreasing curve eigenvalue, and hyperbolic decreasing curve eigenvalue of the sample S to be identified.
[0026] The method of determining the decline curve type of the identified well according to the decline curve characteristic interval includes the following steps:
[0027] (1) Determine the correlation function between the sample to be identified and each decreasing curve cluster as follows:
[0028]
[0029]
[0030] Where, i=1,2,3j=1,2,3; K ij (v j ) represents the correlation function between the sample to be identified under the jth feature and the i-th decreasing curve type, ρ(v j ,v ij ) represents the distance between the sample to be identified and each decreasing curve type under the jth feature, |v ij | indicates v ija With v ijb The distance between intervals is the X-domain; v j is the feature value of the jth feature;
[0031] (2) Calculate the correlation I between the sample to be identified and the decreasing curve type feature library:
[0032]
[0033] Among them, ω ij =(v j / v ijb ) / ∑(v j / v ijb ) is the weight of each eigenvalue, v j represents the characteristic value of the jth decreasing curve, v ijb Represents the upper limit of the characteristic interval value of the jth decreasing curve of the i-th type decreasing curve;
[0034] (3) Determine the occurrence degree of the sample to be identified relative to each decreasing curve cluster:
[0035] I(F i )<0 means that the sample to be identified does not belong to the decreasing curve type; I(F i )>0 indicates the occurrence degree of the sample to be identified relative to the decreasing curve type. i is the type of decline curve to be diagnosed; if all I(F i )<0, it is considered that the sample to be identified is not in the existing decreasing curve type.
[0036] The input of the neural network model includes effective stroke, pump diameter, stroke frequency, crude oil volume coefficient, plunger length, gasoline ratio and decline curve type; the output of the model is single well production;
[0037] Among them, the effective stroke and stroke frequency are acquired through the dynamometer, and the pump diameter, crude oil volume coefficient, plunger length, and gasoline ratio are acquired from the oil field database.
[0038] The neural network uses a three-layer neural network to construct a single well production prediction model. The input layer is 7 influencing parameters, including effective stroke, pump diameter, stroke frequency, crude oil volume coefficient, plunger length, gasoline ratio and decline curve type, with 7 nodes; the output layer is the single well production, with 1 node;
[0039] The range of the number of hidden layer nodes is first determined by the formula method, and then the number of hidden layer nodes is finally determined to be 8 through simulation.
[0040] The number of hidden layer nodes of the neural network is obtained by the following formula:
[0041]
[0042]
[0043] Among them, l is the number of nodes in the hidden layer; n is the number of neurons in the input layer; m is the number of neurons in the output layer, and α is a constant.
[0044] The present invention has the following effects and advantages:
[0045] 1. Under current technical conditions, the acquisition of oil well surface performance diagrams has been realized in real time. Therefore, the use of performance diagrams for oil measurement can ensure the accurate calculation of single well production.
[0046] 2. The method based on matter-element analysis is used to determine the type of decline curve of a single well, which changes the drawbacks of the traditional graphical method for obtaining the decline type and realizes the accurate determination of the decline curve type;
[0047] 3. Use BP neural network method to predict the production of single well and realize accurate calculation of single well production;
[0048] 4. The present invention changes the traditional way of calculating the oil well production. It adopts the work chart measurement, combined with the decline curve, and adopts the key technology of matter element analysis and neural network to replace the hardware oil measurement method. It can reasonably predict the production of a single well in the oil field according to the actual situation of the single well, greatly reducing the cost of the previous single well production measurement, maximizing the advantages of the work chart oil measurement, and realizing the refined management of the production of the pumping well. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is a BP neural network topology diagram for predicting single well production of the present invention;
[0050] Figure 2 This is the historical production data chart of an oil well in Liaohe Oilfield in the past five years;
[0051] Figure 3a It is a feature-interval diagram of the feature interval of the sample to be identified;
[0052] Figure 3b It is the characteristic two-interval diagram of the characteristic interval of the sample to be identified;
[0053] Figure 3c It is the characteristic three-interval diagram of the characteristic interval of the sample to be identified;
[0054] Figure 4 This is the BP neural network simulation result diagram. DETAILED DESCRIPTION
[0055] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0056] The present invention designs a new method for predicting the production of a single well in an oil field in response to the technical requirements of measuring oil by power diagram. The present invention predicts the production by analyzing the surface power diagram of the oil well, using a method combining matter-element analysis and BP neural network, and establishing a decline curve of a single well in the oil field by analyzing the historical production of the single well in the oil field, combining the historical production data of the oil field with the static parameters, and using the matter-element method to establish a matter-element model for all single wells in the oil field, and classify them to form a typical feature library. The matter-element method is used to establish a matter-element model of the sample to be identified, and the degree of association with the typical feature library is calculated, so as to accurately determine the type of the decline curve, and the BP neural network is used to take the decline curve type into consideration in the input variable to achieve accurate prediction of the production of a single well. The present invention changes the limitation that the prediction of the production of the oil well depends on hardware measurement, the power diagram measurement accuracy is not high, and real-time prediction cannot be made in the traditional mode by adopting a single well production prediction method based on matter-element analysis and BP neural network. The present invention can maximize the advantages of power diagram measurement and realize the refined management of the production of pumping wells.
[0057] 1. Determine the characteristic parameters of the decline curve based on the matter-element extension theory
[0058] The material element extension theory is used to judge the type of the decreasing curve, find the corresponding relationship between the characteristic parameters that can accurately describe the decreasing curve and the curve type, and judge the degree of the curve type by the correlation degree. The three decreasing curve parameters are constructed as follows:
[0059] The slope of output vs. time in semi-logarithmic coordinates:
[0060] The slope of cumulative production and output in semi-logarithmic coordinates:
[0061] In rectangular coordinates, the slope of the product of cumulative production and time and time:
[0062] The characteristics of the decreasing curve are:
[0063] 2. Give a typical decline curve set
[0064] Suppose the typical decline curve set is F = {F 1 ,F 2 ,F 3}, the characteristic types are exponential, harmonic, and hyperbolic decreasing curves. If it is a decreasing type F i (i=1,2,3), if F i occurs, then has the characteristic type set:
[0065] {c,v|(c ij ,v ij ),i=1,2,3j=1,2,3}
[0066] Among them, c ij F i The j-th feature type, v ij is its characteristic value; the decreasing curve allows the fluctuation range to be the section domain, that is, v' ij = <a' ij ,b' ij >.
[0067] 3. Establish a matter-element model of typical decline curve sets
[0068] Decline curve type F i The matter-element model can be expressed as:
[0069]
[0070] Among them, v i1 ,v i2 ,v i3 are the feature interval values of each feature type, which are determined by the minimum and maximum values of the known samples, that is, the classical domain.
[0071] 4. Give the matter-element model of the decline curve to be determined
[0072] make:
[0073]
[0074] Among them, v x1 ,v x2 ,v x3 They are the three decreasing curve characteristic values of the sample S to be identified.
[0075] 5. Determine the correlation function
[0076] The correlation function between the sample to be identified and each decreasing curve cluster is as follows:
[0077]
[0078]
[0079] Where, i = 1, 2, 3 and j = 1, 2, 3. K ij (v j ) represents the correlation function between the sample to be identified under the jth feature and the i-th decreasing curve type, ρ(v j ,v ij ) represents the spacing, |v ij | represents the distance between intervals, which is the X-section domain.
[0080] 6. Calculate the correlation between the sample to be identified and the typical decreasing curve type feature library
[0081] The correlation between the sample to be identified and the typical decreasing curve type feature library can be expressed as:
[0082]
[0083] Among them, ω ij =(v j / v ijb ) / ∑(v j / v ijb ) is the weight of each eigenvalue, v j represents the characteristic value of the jth decreasing curve, v ijb Represents the upper limit of the characteristic interval value of the jth decreasing curve of the i-th type decreasing curve.
[0084] 7. Determine the occurrence degree of the sample to be identified relative to each typical decline curve cluster
[0085] I(F i )<0 means that the sample to be identified does not belong to the decreasing curve type; I(F i )>0 indicates the occurrence degree of the sample to be identified relative to the type of the decreasing curve; if all I(F i )<0, it is considered that the sample to be identified is not in the existing decreasing curve type.
[0086] 8. Determination of input and output of neural network model
[0087] Because the production forecast is for a single well, the model input needs to take into account the parameters required for calculating the theoretical displacement of a single well, including effective stroke, pump diameter, stroke frequency, and crude oil volume coefficient; at the same time, it is also necessary to consider the parameters for calculating the leakage, including plunger length and gasoline ratio; in addition, since the training data may contain multiple stages of decline curve types during the BP neural network training process, it is necessary to add time series of different decline curve types to the input variables to make the model more accurate. The output of the model is the single well production, such as Figure 1 , where ω ij A is the 7*8 matrix of the input layer-hidden layer, j is the hidden layer node, v jk It is the hidden layer-output layer 8*1 matrix.
[0088] 9. Determination of hidden layer of neural network
[0089] If the BP neural network has too few hidden layer nodes, the network structure will be too simple, the mapping relationship cannot be effectively and accurately established, and the network error will be too large. On the contrary, if the number of hidden layer nodes is too large, although an effective and accurate mapping relationship can be established, the network structure is too complex, which not only causes a long network training diagnosis time, but also causes "overfitting", that is, the training sample prediction is accurate, but the errors of the remaining samples are relatively large. Commonly used reference formulas for selecting the number of hidden layer nodes:
[0090]
[0091]
[0092] Among them, l is the number of nodes in the hidden layer; n is the number of neurons in the input layer; m is the number of neurons in the output layer, and α is a constant between 1 and 10, which is selected as 6 here.
[0093] 10. Determination of neural network structure
[0094] The present invention uses a three-layer neural network to construct a single well production prediction model, the input layer is 7 influencing parameters, the number of nodes is 7, the output layer is the single well production, the number of nodes is 1. Combined with the hidden layer rule, the range of the number of hidden layer nodes can be determined by the formula method, and then the number of hidden layer nodes is finally determined to be 8 through simulation trial and error.
[0095] Example:
[0096] like Figure 2 The following are the historical production data of an oil well in Liaohe Oilfield over the past five years.
[0097] Extract the upper and lower limits of the three decline curve characteristics in the historical production data, v 1 =[-0.0992,0.1214], v 2=[-17.4297,3.0936],v 3 =[5.923,15782.82], as shown in the figure.
[0098] The characteristic value of the historical curve is obtained as follows: like Figure 3a to Figure 3c shown.
[0099] Calculate the correlation between the sample to be identified and each type of decreasing curve, and perform normalization processing, I(F) = [0.16, -0.00019, -0.00052].
[0100] When I(F i )<0, it is considered not to belong to this type of decreasing curve. 1 )>0, therefore, the sample to be identified belongs to the exponential decline curve type. The conclusion obtained by the matter-element analysis method provides a reference for judging the decline curve type in practice, and also provides a basis for the next stage of production prediction through BP neural network.
[0101] The yield was predicted using the MATLAB neural network toolbox, and the constructed network topology is shown in Figure 3a. Figure 3c As shown, the network hidden layer uses the tansig function, and the output layer uses the purelin function. After repeated experiments, the expected error is set to , the learning rate is 0.2, and the number of training times is set to 500. 60 groups of historical production data are selected, 50 groups of sample data are selected as training sample sets, and 10 groups of sample data are selected as test sets. The BP neural network is simulated and tested. The simulation results are shown in Figure 4 As shown in the figure, Epochs is the sampling step size, Best Validation Performance is 0.020607 atEpoch 7 means that the best validation performance is found at the 7th step, the specific value is 0.020607, Mean Squared Error is the root mean square error, Train is the training sample, Validation is the validation sample, Test is the test sample, Best is the optimal value, and Goal is the target value.
Claims
1. A method for predicting oilfield single well production based on a decline curve, characterized in that The following steps are involved: According to the historical production data of single wells in each oil field in each block, the characteristic interval of the single well decline curve is established; And determine the decline curve type for the identified well according to the characteristic interval of the decline curve; The oilfield production data is obtained through the dynamometer, and the single well production is predicted using the BP neural network according to the decline curve type; The method of establishing a single well decline curve characteristic interval based on the historical production data of each well in each oil field in each block includes the following steps: 1) Construct three decreasing curve characteristic parameters: In semi-logarithmic coordinates, the output Q i With time Δt i The slope of: In semi-logarithmic coordinates, the cumulative production Np i With output Q i The slope of : In rectangular coordinates, the slope of the product of cumulative production and time and time: The characteristics of the decreasing curve are: 2) Establish a collection of decreasing curves: The set of decreasing curves is F = {F1, F2, F3}, and the characteristic types are respectively exponential decreasing curve, harmonic decreasing curve, and hyperbolic decreasing curve; For a decreasing type F i (i=1,2,3), if F i occurs, then has the characteristic type set: {c,v|(c ij ,in ij ),i=1,2,3j=1,2,3} Among them, c ij F i The jth feature of ij F i The jth characteristic value of the decreasing curve allows the fluctuation range to be the node domain, that is, X = i ' j ,b i ' j >, X represents F i The fluctuation range of the jth characteristic value, i.e., the section domain, a i ' j ,b i ' j Respectively represent F i The lower and upper limits of the j-th characteristic value; 3) Establish the matter-element model of the decline curve cluster: Among them, R i is the matter-element model of the i-th feature type, v i1 ,v i2 ,v i3 are the feature interval values of the feature type; c1, c2, c3 represent the three features corresponding to the feature type, respectively. ij , b ij They represent the lower and upper limits of the j-th feature corresponding to the i-th feature type; 4) The matter-element model of the decline curve to be determined is as follows: Among them, R x The matter-element model representing the decline curve to be diagnosed, v x1 ,v x2 ,v x3 They are respectively the exponential decreasing curve eigenvalue, harmonic decreasing curve eigenvalue, and hyperbolic decreasing curve eigenvalue of the sample S to be identified.
2. The method for predicting oilfield single well production based on decline curve according to claim 1, characterized in that The method of determining the decline curve type of the identified well according to the decline curve characteristic interval includes the following steps: (1) Determine the correlation function between the sample to be identified and each decreasing curve cluster as follows: Where, i=1,2,3j=1,2,3; K ij (v j ) represents the correlation function between the sample to be identified under the jth feature and the i-th decreasing curve type, ρ(v j ,v ij ) represents the distance between the sample to be identified and each decreasing curve type under the jth feature, |v ij | indicates v ija With v ijb The distance between intervals is the X-domain; v j is the feature value of the jth feature; (2) Calculate the correlation I between the sample to be identified and the decreasing curve type feature library: Among them, ω ij =(v j / v ijb ) / ∑(v j / v ijb ) is the weight of each eigenvalue, v j represents the characteristic value of the j-th decreasing curve, v ijb Represents the upper limit of the characteristic interval value of the jth decreasing curve of the i-th type decreasing curve; (3) Determine the occurrence degree of the sample to be identified relative to each decreasing curve cluster: I(F i )<0 means that the sample to be identified does not belong to the decreasing curve type; I(F i )>0 indicates the occurrence degree of the sample to be identified relative to the decreasing curve type. i is the type of decline curve to be diagnosed; if all I(F i )<0, it is considered that the sample to be identified is not in the existing decreasing curve type.
3. The method for predicting oil field single well production based on decline curve according to claim 1, characterized in that The input of the neural network model includes effective stroke, pump diameter, stroke frequency, crude oil volume coefficient, plunger length, gasoline ratio and decline curve type; the output of the model is single well production; Among them, the effective stroke and stroke frequency are acquired through the dynamometer, and the pump diameter, crude oil volume coefficient, plunger length, and gasoline ratio are acquired from the oil field database.
4. The method for predicting oilfield single well production based on decline curve according to claim 1, characterized in that The neural network uses a three-layer neural network to construct a single well production prediction model. The input layer is 7 influencing parameters, including effective stroke, pump diameter, stroke frequency, crude oil volume coefficient, plunger length, gasoline ratio and decline curve type, and the number of nodes is 7; the output layer is the single well production, and the number of nodes is 1; The range of the number of hidden layer nodes is first determined by the formula method, and then the number of hidden layer nodes is finally determined to be 8 through simulation.
5. The method for predicting oil field single well production based on decline curve according to claim 1, characterized in that The number of hidden layer nodes of the neural network is obtained by the following formula: Among them, l is the number of nodes in the hidden layer; n is the number of neurons in the input layer; m is the number of neurons in the output layer, and α is a constant.
