Shale oil yield prediction method, device and equipment and storage medium
By combining the model of dual convolution layer, circulation layer, circulation jump layer and vector autoregressive layer, the problem of serial correlation being ignored in shale oil production prediction is solved, a more efficient shale oil production prediction is achieved, and the efficiency of the shale oil production prediction is improved. Prediction accuracy.
Patent Information
- Application Number
- CN202310261182.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-10
- Publication Date
- 2024-09-10
AI Technical Summary
Existing shale oil production prediction methods, especially numerical methods and traditional time series models, are difficult to accurately predict low accuracy due to the complexity of geological conditions and reservoir characteristics, and machine learning models have difficulty processing shale oil production time series data. Serial correlation is ignored and high-precision prediction cannot be achieved.
A production prediction model containing dual convolutional layers, cyclic layers, cyclic skip layers and vector autoregressive layers is used to process shale oil production input data, analyze serial correlations and capture long- and short-term dependencies to improve prediction accuracy.
Through this model, shale oil production can be predicted more accurately and efficiently, and the prediction accuracy is improved compared to the traditional model. For example, the R2 determination coefficient is increased from 0.851 to 0.915.
Smart Images

Figure CN118627652A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of shale oil production prediction, and in particular, to a shale oil production prediction method, device, equipment and storage medium. Background Art
[0002] At present, there are two main methods for predicting shale oil production. One is to predict by numerical means, but this method is affected by many factors such as geological conditions and development methods, and some key parameters are difficult to represent numerically, so the calculation accuracy of the prediction is low. If commercial methods are used, not only will the modeling be complex and the simulation time be long, but it will also be greatly limited by reservoir background experience and expensive. The other is to use machine learning methods. Since shale oil production is time series data, in the research of this type of time series data prediction, the commonly used machine learning models are: naive recurrent neural network, Bayesian classification model, long short-term memory neural network model (Long Short-Term Memory, LSTM), support vector regression machine model, autoregressive model, etc. However, in the prediction of shale oil production, due to the long production cycle of the reservoir and the large fluctuations in production data in the short and long term, the use of traditional time series models to predict shale oil production cannot achieve high accuracy. In 2018, Lai et al. proposed a network model that can better solve the problems existing in the above-mentioned traditional time series models when processing time series data. However, compared with general time series data, the serial correlation of shale oil reservoir production data and the mutual correlation between data are stronger, but most new neural network prediction models tend to ignore the correlation of time series data and focus on the nonlinear relationship between data. Summary of the invention
[0003] The embodiments of the present application provide a shale oil production prediction method, device, equipment and storage medium. The production input data is processed by a production prediction model that includes a double convolutional layer, a recurrent layer, a recurrent skip layer and a self-vector regression layer. The production input data can be accurately analyzed. The long-term and short-term dependencies of the production input data time series can be better obtained, so as to more accurately and efficiently predict the shale oil production.
[0004] In a first aspect, an embodiment of the present application further provides a shale oil production prediction method, the method comprising:
[0005] Obtain shale oil production input data and production forecast models;
[0006] forecasting shale oil production output based on production input data and output forecasting models;
[0007] Among them, the yield prediction model includes a double convolution layer, a loop layer, a loop skip layer, and a vector autoregression layer, and the production output value includes a linear prediction value and a nonlinear prediction value.
[0008] Optionally, the above-mentioned prediction of shale oil production output based on production input data and output prediction model includes:
[0009] Convolution processing is performed on the production input data according to the double convolution layer to obtain vector data;
[0010] The vector data is processed according to the recurrent layer and the recurrent skip layer to obtain a first memory item and a second memory item respectively;
[0011] The data generated in the double convolution layer processing and the first memory item are processed according to the vector autoregressive layer to obtain a linear prediction value;
[0012] The production output of shale oil is obtained according to the first memory item, the second memory item and the linear prediction value.
[0013] Optionally, the network structure of the above-mentioned recurrent layer and recurrent skip layer includes a reset gate, an update gate, a node data set and an output layer.
[0014] Optionally, the above-mentioned convolution processing is performed on the production input data according to the double convolution layer to obtain vector data, including:
[0015] The production input data is convolved according to the longitudinal convolution network layer of the double convolution layer to obtain a feature image;
[0016] Merge the feature images to obtain the final two-dimensional feature map;
[0017] The final two-dimensional feature map is convolved according to the lateral convolution network layer of the double convolution layer to obtain vector data;
[0018] Among them, the longitudinal convolutional network layer is used to process the production input data along the time direction of the production input data, and the transverse convolutional network is used to process the final two-dimensional feature map along the direction perpendicular to the longitudinal convolutional network layer.
[0019] Optionally, the above-mentioned processing of the data generated in the double convolution layer processing process and the first memory item according to the vector autoregressive layer to obtain the linear prediction value includes:
[0020] The final two-dimensional feature map, vector data, and the first memory item generated during the double convolution layer processing are processed according to the vector autoregressive layer to obtain a linear prediction value.
[0021] Optionally, the production output of shale oil obtained according to the first memory item, the second memory item and the linear prediction value includes:
[0022] Fully connect the first memory item and the second memory item to obtain a nonlinear prediction value;
[0023] The nonlinear prediction value and the linear prediction value are superimposed to obtain the production output of shale oil.
[0024] Optionally, before performing convolution processing on the production input data according to the double convolution layer to obtain vector data, the method further includes:
[0025] Normalize production input data.
[0026] In a second aspect, an embodiment of the present application further provides a shale oil production prediction device, the device comprising:
[0027] An acquisition module, used to obtain shale oil production input data and production prediction model;
[0028] A prediction module for predicting the production output of shale oil based on production input data and an output prediction model;
[0029] Among them, the yield prediction model includes a double convolution layer, a loop layer, a loop skip layer, and a vector autoregression layer, and the production output value includes a linear prediction value and a nonlinear prediction value.
[0030] In a third aspect, an embodiment of the present application further provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, a shale oil production prediction method as provided in any embodiment of the present application is implemented.
[0031] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, a shale oil production prediction method as provided in any embodiment of the present application is implemented.
[0032] The embodiment of the present application provides a shale oil production prediction method, device, equipment and storage medium, the method comprising: obtaining shale oil production input data and a production prediction model; predicting the production output of shale oil according to the production input data and the production prediction model; wherein the production prediction model comprises a double convolution layer, a circulation layer, a circulation jump layer, and a vector autoregression layer, and the production output value comprises a linear prediction value and a nonlinear prediction value. In this scheme, the production input data is processed by a production prediction model comprising a double convolution layer, a circulation layer, a circulation jump layer and a vector autoregression layer, so that the serial correlation of the production input data can be accurately analyzed and the long-term and short-term dependencies of the production input data time series can be better obtained, so as to more accurately and efficiently predict the shale oil production. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 This is a flow chart of a shale oil production prediction method provided in an embodiment of the present application;
[0034] Figure 2 is a flow chart of another shale oil production prediction method provided in an embodiment of the present application;
[0035] Figure 3 is a flow chart of a method for predicting the production output of shale oil based on production input data and an output prediction model provided in an embodiment of the present application;
[0036] Figure 3a It is a comparison chart of the yield prediction results of the yield prediction model provided by the embodiment of the present application and the LSTM model;
[0037] Figure 4 It is a structural schematic diagram of a shale oil production prediction device provided in an embodiment of the present application;
[0038] Figure 5 It is a structural schematic diagram of another shale oil production prediction device provided in an embodiment of the present application;
[0039] Figure 6 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] The present disclosure is further described below in conjunction with the embodiments shown in the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only parts related to the present application, rather than all structures, are shown in the accompanying drawings.
[0041] In addition, in the embodiments of the present application, words such as "optionally" or "exemplarily" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "optionally" or "exemplarily" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "optionally" or "exemplarily" is intended to present related concepts in a specific way.
[0042] Embodiment 1
[0043] Figure 1A flow chart of a shale oil production prediction method provided in an embodiment of the present application. The method can be applied to the field of shale oil production prediction. The production input data is processed by a production prediction model that includes a double convolutional layer, a loop layer, a loop skip layer, and a self-vector regression layer. The production input data can be accurately analyzed for serial correlation and the long-term and short-term dependencies of the production input data time series can be better obtained. The method can be executed by the shale oil production prediction device provided in an embodiment of the present application, and the device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated in a computer device, such as a server. The following embodiments will be described by taking the device integrated in a computer device as an example, such as Figure 1 As shown, the method may include but is not limited to the following steps:
[0044] S101. Obtain shale oil production input data and output prediction model.
[0045] The production input data in the embodiment of the present application may include bottom hole flow pressure (MPa), daily water production (m 3 ), casing pressure (MPa), pipe pressure (MPa), of course, those skilled in the art can also use other corresponding production input data according to the actual application scenario. Among them, the production input data of shale oil is related to the time series.
[0046] For example, the production input data can be obtained by using the dataset P in Indicates, as follows:
[0047] [P in ]=(X1,X2,……,X n )
[0048] [X n ]=(X n,1 , X n,2 , ..., X n,T )
[0049] [X n,T ]=(P n,T , W n,T , S n,T , M n,T )
[0050] Among them, X n Represents the production input data set P in The nth group of production input data in X n,T represents the production input data with a time step of T in the nth group of production input data; P n,T represents the bottom hole flowing pressure at time step T in the nth group of production input data, W n,Trepresents the daily water production at time step T in the nth group of production input data, S n,T It represents the casing pressure at time T in the nth group of production input data, M n,T It represents the pipe pressure at time step T in the nth group of production input data.
[0051] The production prediction model may include a dual convolutional layer, a recurrent layer, a recurrent skip layer, and a vector autoregressive layer to predict the production output of shale oil by taking into account the temporal nature of production input data.
[0052] S102. Predict the production output of shale oil based on production input data and an output prediction model.
[0053] In the embodiment of the present application, the production output value may include a linear prediction value and a nonlinear prediction value, that is, the production output value predicted based on the time-series production input data and the production prediction model may consist of a linear part and a nonlinear part. The production output is the daily output (m 3 ). Among them, the production prediction model can be trained by historical data sets.
[0054] For example, the above predicted shale oil production output, that is, the output data of the output prediction model, can be as follows:
[0055] [P out ]=(Y1,Y2,……,Y n )
[0056] [Y n ]=(Y n,1 , Y n,2 , ..., Y n,T )
[0057] Among them, Y n Represents the output data set P out The nth group of output data in Y n,T Represents the daily production of the well with a time step of T in the nth set of output data.
[0058] The embodiment of the present application provides a shale oil production prediction method, which includes: obtaining shale oil production input data and a production prediction model; predicting the production output of shale oil according to the production input data and the production prediction model; wherein the production prediction model includes a double convolution layer, a circulation layer, a circulation jump layer, and a vector autoregression layer, and the production output value includes a linear prediction value and a nonlinear prediction value. In this solution, the production input data is processed by a production prediction model that includes a double convolution layer, a circulation layer, a circulation jump layer, and a vector autoregression layer, so that the serial correlation of the production input data can be accurately analyzed and the long-term and short-term dependencies of the production input data time series can be better obtained, so as to more accurately and efficiently predict the shale oil production.
[0059] Embodiment 2
[0060] Figure 2 A flowchart of another shale oil production prediction method provided in an embodiment of the present application, and Figure 1 The difference between the embodiments is that before performing convolution processing on the production input data according to the double convolution layer, the embodiment of the present application further provides an implementation method including: normalizing the production input data. That is, the implementation steps of the method may include:
[0061] S101. Obtain shale oil production input data and output prediction model.
[0062] The production input data in the embodiment of the present application may include bottom hole flow pressure (MPa), daily water production (m 3 ), casing pressure (MPa), pipe pressure (MPa), of course, those skilled in the art can also use other corresponding production input data according to the actual application scenario. Among them, the production input data of shale oil is related to the time series.
[0063] For example, the production input data can be obtained by using the dataset P in Indicates, as follows:
[0064] [P in ]=(X1,X2,……,X n )
[0065] [X n ]=(X n,1 , X n,2 , ..., X n,T )
[0066] [X n,T ]=(P n,T , W n,T , S n,T , M n,T )
[0067] Among them, Xn Represents the production input data set P in The nth group of production input data in X n,T represents the production input data with a time step of T in the nth group of production input data; P n,T represents the bottom hole flowing pressure at time step T in the nth group of production input data, W n,T represents the daily water production at time step T in the nth group of production input data, S n,T It represents the casing pressure at time T in the nth group of production input data, M n,T It represents the pipe pressure at time step T in the nth group of production input data.
[0068] The production prediction model may include a dual convolutional layer, a recurrent layer, a recurrent skip layer, and a vector autoregressive layer to predict the production output of shale oil by taking into account the temporal nature of production input data.
[0069] S101a. Normalize production input data.
[0070] For example, the average value U of the production input data is first calculated n , and then calculate the difference between each production input data and the average value Then calculate the mean square error of the production input data Finally, the production input data is normalized based on the mean square error. Specifically, the calculation process of this step can be calculated based on the following formulas:
[0071]
[0072]
[0073]
[0074]
[0075] in, Input data for production, The normalized production input data.
[0076] S102. Predict the production output of shale oil based on production input data and an output prediction model.
[0077] In the embodiment of the present application, the production output value may include a linear prediction value and a nonlinear prediction value, that is, the production output value predicted based on the time-series production input data and the production prediction model may consist of a linear part and a nonlinear part. The production output is the daily output (m 3 ). Among them, the production prediction model can be trained by historical data sets.
[0078] For example, the above predicted shale oil production output, that is, the output data of the output prediction model, can be as follows:
[0079] [P out ]=(Y1,Y2,……,Y n )
[0080] [Y n ]=(Y n,1 , Y n,2 , ..., Y n,T )
[0081] Among them, Y n Represents the output data set P out The nth group of output data in Y n,T Represents the daily production of the well with a time step of T in the nth set of output data.
[0082] The embodiment of the present application provides a shale oil production prediction method, which includes: obtaining shale oil production input data and a production prediction model; predicting the production output of shale oil according to the production input data and the production prediction model; wherein the production prediction model includes a double convolution layer, a circulation layer, a circulation jump layer, and a vector autoregression layer, and the production output value includes a linear prediction value and a nonlinear prediction value. In this solution, the production input data is processed by a production prediction model that includes a double convolution layer, a circulation layer, a circulation jump layer, and a vector autoregression layer, so that the serial correlation of the production input data can be accurately analyzed and the long-term and short-term dependencies of the production input data time series can be better obtained, so as to more accurately and efficiently predict the shale oil production.
[0083] Embodiment 3
[0084] An embodiment of the present application provides a shale oil production prediction method, which may include obtaining shale oil production input data and a production prediction model; predicting the production output of shale oil based on the production input data and the production prediction model; wherein the production prediction model includes a double convolutional layer, a loop layer, a loop skip layer, and a vector autoregression layer, and the production output value includes a linear prediction value and a nonlinear prediction value.
[0085] like Figure 3 As shown, in the embodiment of the present application, the specific implementation method of predicting the production output of shale oil based on the production input data and the output prediction model is further described in detail. Figure 3 As shown, the implementation may include but is not limited to the following steps:
[0086] S301. Perform convolution processing on the production input data according to the double convolution layer to obtain vector data.
[0087] The dual convolutional layer in the embodiment of the present application may include a longitudinal convolutional network layer and a transverse convolutional network layer. Specifically, in order to enhance the extraction of the time series correlation of the shale oil reservoir production input data by the production prediction model in the embodiment of the present application, the initial layer of the dual convolutional layer can be set to an unpooled convolutional neural network along the time direction, i.e., the longitudinal direction. In addition, in order to enhance the sensitivity of the production prediction model to the cross-correlation of the production input data, the second part of the dual convolutional layer can be set to an unpooled transverse convolutional network layer.
[0088] Exemplarily, the implementation method of this step may include performing convolution processing on the production input data according to the longitudinal convolution network layer of the dual convolution layer to obtain a feature image; merging the feature images to obtain a final two-dimensional feature map; performing convolution processing on the final two-dimensional feature map according to the transverse network layer of the dual convolution layer to obtain vector data; wherein the longitudinal convolution network layer is used to process the production input data along the time direction of the production input data, and the transverse convolution network layer is used to process the final two-dimensional feature map along a direction perpendicular to the longitudinal convolution network layer.
[0089] Specifically, the nth group of production input data X n Input into the vertical convolutional network layer, select N A N A The convolution kernel with a height of h and a width of 1 is used to convolve the convolution kernel of the input data using the following formula to obtain X n The feature image F after the qth convolution kernel passes through q Among them, the number of convolution kernels and other related parameters can be set by technicians based on the input data size, data dimension, etc.
[0090] F q =ReLU(W q *X n +b q )
[0091] Where ReLU is the activation function set [ReLU(x)=Max(0,x)], * is the matrix for convolution; W q is the weight matrix of the qth convolution kernel in the convolutional neural network layer; b q is the bias vector of the qth convolution kernel in the convolutional network layer.
[0092] The above feature image F q Use the following formula to merge and get the final two-dimensional feature map S n,t (i,j).
[0093]
[0094] Among them, Fq (i,j) is the data in row i and column j of the feature image matrix.
[0095] The obtained feature map is used as the input of the horizontal convolutional network layer, and the convolution kernel with height h and width w is selected. The input data is processed using the following formula to obtain the vector data Z q,t .
[0096] Z q,t =ReLU(W q *S n,t +b q )
[0097] Where ReLU is the activation function set [ReLU(x)=Max(0,x)], * is the matrix for convolution; W q is the weight matrix of the qth convolution kernel in the convolutional neural network layer; b q is the bias vector of the qth convolution kernel in the convolutional network layer.
[0098] S302. Process the vector data according to the loop layer and the loop skip layer to obtain a first memory item and a second memory item respectively.
[0099] In an embodiment of the present application, the network structure of the recurrent layer and the recurrent skip layer includes a reset gate, an update gate, a node data set and an output layer.
[0100] Exemplarily, the processing method of the recurrent layer on the vector data in this step can be as follows: the vector data Z obtained by the double convolution layer processing q,t As the input of the gate recurrent unit (GUR) of the recurrent layer, Z is obtained by the following formula q,t The output item r of the hidden layer reset gate in the GUR component at time t q,t .
[0101] r q,t =σ(W rq Z q,t +W ar h q,t-1 +b r )
[0102] In the above formula, σ represents the sigmoid activation function W rq is the vector data Z output by the double convolution layer at time t q,t Reset the gate weight matrix in GUR, W ar is the vector data Z output by the double convolution layer at time t-1 q,t-1 The stored data item h in the reset gate q,t-1 The weight matrix, b ris the bias vector for the reset gate.
[0103] The vector data Z q,t Input the hidden layer update gate in the GUR component and use the following formula to get the update gate output u q,t .
[0104] u q,t =σ(Z q,t +W uq +W au h q,t-1 +b u )
[0105] In the above formula, W uq is the double convolutional layer output vector Z at time t q,t The weight matrix of the GUR update gate, W au is the double convolutional layer output vector Z at time t-1 q,t-1 The storage data item h in the update gate q,t-1 The weight matrix, b u Update gate bias vector for GUR.
[0106] In addition, the vector data Z can be obtained using the following formula q,t Node dataset c in GUR q,t .
[0107] c q,t =ReLU(W cq Z q,t +r q,t e(W ac h q,t-1 )+b c )
[0108] Where e is the element-by-element product symbol, requiring the matrix W ac and h q,t-1 Multiply the new matrix and matrix r q,t The dimensions of W are the same. cq is the double convolutional layer output vector Z at time t q,t The weight matrix of the current memory node in the GUR layer, W ac is the double convolutional layer output vector Z at time t-1 q,t-1 The storage data item h of the current memory node in the GUR layer q,t-1 The weight matrix, b c is the bias vector of the node.
[0109] Based on the above calculation results, the vector data Z is obtained using the following formula q,t The memory item h in the final output layer of GUR q,t , marked as the first memory item.
[0110] h q,t =(1-u q,t )eh q,t-1 +u q,t ec q,t
[0111] Among them, u q,t is the update gate output term, e is the element-wise product symbol, h q,t-1 is the storage data item of the current layer, c q,t The node data set.
[0112] In the embodiment of the present application, the loop jump layer set can make the data range captured by the production prediction model wider, so as to improve the accuracy of the model in predicting shale oil production when inputting production input data of a very long period. The reset gate, update gate, node data set and output layer of the loop jump layer are used for the vector data Z q,t The processing method of is similar to that of the circulation layer. Specifically, it can be shown as the following formula.
[0113] r q,t =σ(W rq Z q,t +W ar h q,t-p +b r )
[0114] u q,t =σ(Z q,t +W uq +W au h q,t-p +b u )
[0115] c q,t =ReLU(W cq Z q,t +r q,t e(W ac h q,t-p )+b c )
[0116] h q,t =(1-u q,t )eh q,t-p +u q,t ec q,t
[0117] The parameter p in the above formula is the time step skipped in the memory process (i.e., the process of inputting data into the network structure). q,t The memory item h output after processing q,t , can be marked as the second memory item.
[0118] S303. Process the data generated in the double convolution layer processing process and the first memory item according to the vector autoregressive layer to obtain a linear prediction value.
[0119] Exemplarily, the implementation of this step may include processing the final two-dimensional feature map, vector data, and the first memory item generated in the double convolution layer processing process according to the vector autoregressive layer to obtain a linear prediction value. n,t (i,j),Z q,t and the first memory item h q,t As the input of the vector autoregression layer, after processing, the vector autoregression layer outputs the linear prediction value.
[0120] S304. Obtain the production output of shale oil according to the first memory item, the second memory item and the linear prediction value.
[0121] The implementation method of this step may include fully connecting the first memory item and the second memory item output by the circulation layer and the circulation jump layer to obtain the nonlinear prediction value predicted by the model, and then superimposing the nonlinear prediction value with the linear prediction value to obtain the production output of shale oil.
[0122] Exemplarily, the above-mentioned full connection process can be implemented by the following formula:
[0123]
[0124] in, is the nonlinear prediction value obtained by fully connecting the first memory item output by the recurrent layer and the second memory item output by the recurrent skip layer, W R Memory item output by the recurrent layer (i.e. the first memory item h q,t ), is the memory item output by the recurrent skip layer (i.e. the second memory item h q,t ) is the weight matrix of .
[0125] It should be noted that in the embodiment of the present application, the above-mentioned production prediction model is obtained by training based on historical data, and its specific training process can be the same as the above-mentioned process of predicting shale oil production output. For example, 3000 sets of time series data with a total production time of 864 days can be selected according to the actual reservoir data, which are used as historical data sets, and the historical data sets are divided into production data sets and output data sets. After the production data set is normalized, it is divided into a training set, a validation set, and a test set, and the model training is performed in the above manner.
[0126] Furthermore, the trained yield prediction model in the embodiment of the present application and the existing LSTM model can be used to predict the yield of the same input data, and the prediction results of the two models can be respectively calculated using the determination coefficient R 2 Processing, R 2 The calculation formula is as follows:
[0127]
[0128] Among them, y tru represents the true value, y pre represents the predicted value, represents the average value, N is the number of samples, and the calculation results are shown in Table 1:
[0129] Table 1
[0130] Model Category <![CDATA[R 2 ]]> Yield forecasting model 0.915 LSTM Model 0.851
[0131] The yield prediction comparison of the above two models is shown in the figure below: Figure 3a As shown, from Figure 3a It can be seen from Table 1 that, compared with the existing LSTM model, the prediction accuracy of the output prediction in the embodiment of the present application is higher.
[0132] Embodiment 4
[0133] Figure 4 A schematic diagram of a shale oil production prediction device provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the device may include: an acquisition module 401, a prediction module 402;
[0134] An acquisition module, used to obtain shale oil production input data and production prediction model;
[0135] A prediction module for predicting the production output of shale oil based on production input data and an output prediction model;
[0136] Among them, the yield prediction model includes a double convolution layer, a loop layer, a loop skip layer, and a vector autoregression layer, and the production output value includes a linear prediction value and a nonlinear prediction value.
[0137] like Figure 5 As shown, in one example, the prediction module may include a convolution unit and a processing unit;
[0138] The convolution unit is used to perform convolution processing on the production input data according to the double convolution layer to obtain vector data;
[0139] The processing unit is used to process the vector data according to the loop layer and the loop skip layer to obtain the first memory item and the second memory item respectively; process the data generated in the double convolution layer processing process and the first memory item according to the vector autoregressive layer to obtain the linear prediction value; and obtain the production output of shale oil according to the first memory item, the second memory item and the linear prediction value.
[0140] Furthermore, the network structure of the above-mentioned recurrent layer and recurrent skip layer may include a reset gate, an update gate, a node data set and an output layer.
[0141] In one example, the convolution unit is also used to perform convolution processing on the production input data according to the longitudinal convolution network layer of the double convolution layer to obtain a feature image; merge the feature images to obtain a final two-dimensional feature map; and, perform convolution processing on the final two-dimensional feature map according to the transverse convolution network layer of the double convolution layer to obtain vector data.
[0142] Among them, the longitudinal convolutional network layer is used to process the production input data along the time direction of the production input data, and the transverse convolutional network is used to process the final two-dimensional feature map along the direction perpendicular to the longitudinal convolutional network layer.
[0143] In one example, a processing unit is used to process a final two-dimensional feature map, vector data, and a first memory item generated during the double convolution layer processing based on a vector autoregressive layer to obtain a linear prediction value.
[0144] In one example, the processing unit is further used to fully connect the first memory item and the second memory item to obtain a nonlinear prediction value; and to superimpose the nonlinear prediction value and the linear prediction value to obtain the production output of shale oil.
[0145] In one example, the processing unit is also used to normalize the production input data.
[0146] The above shale oil production prediction device can perform Figure 1-Figure 3 The provided shale oil production prediction method has corresponding devices and beneficial effects in the method.
[0147] Embodiment 5
[0148] Figure 6 A schematic diagram of the structure of a computer device provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the computer device includes a controller 601, a memory 602, an input device 603, and an output device 604; the number of the controller 601 in the computer device can be one or more. Figure 6A controller 601 is taken as an example; the controller 601, the memory 602, the input device 603 and the output device 604 in the computer device can be connected by a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0149] The memory 602 is a computer-readable storage medium that can be used to store software programs, computer executable programs, and modules, such as Figure 1 The program instructions / modules corresponding to the shale oil production prediction method in the embodiment (for example, the acquisition module 401 and the prediction module 402 in the shale oil production prediction device). The controller 601 executes various functions and data processing of the computer device by running the software programs, instructions and modules stored in the memory 602, that is, realizing the above-mentioned shale oil production prediction method.
[0150] The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the computer, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 602 may further include a memory remotely arranged relative to the controller 601, and these remote memories may be connected to the terminal / server via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0151] The input device 603 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the computer device. The output device 604 may include a display device such as a display screen.
[0152] Embodiment 6
[0153] The present application also provides a storage medium containing computer executable instructions, which are used to execute a shale oil production prediction method when executed by a computer controller. The method includes: Figure 1 Steps shown.
[0154] Through the above description of the implementation method, the technicians in the relevant field can clearly understand that the present application can be implemented with the help of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0155] It is worth noting that the modules included in the above-mentioned shale oil production prediction device are only divided according to functional logic, but are not limited to the above-mentioned division method. As long as the corresponding functions can be achieved, it is not used to limit the protection scope of this application.
[0156] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. A shale oil production prediction method, characterized in that: The method comprises: Obtain shale oil production input data and production forecast models; predicting the production output of the shale oil based on the production input data and the output prediction model; The production prediction model includes a double convolution layer, a recurrent layer, a recurrent skip layer, and a vector autoregressive layer, and the production output value includes a linear prediction value and a nonlinear prediction value.
2. The method according to claim 1, characterized in that The predicting the production output of the shale oil according to the production input data and the output prediction model includes: Performing convolution processing on the production input data according to the double convolution layer to obtain vector data; Processing the vector data according to the recurrent layer and the recurrent skip layer to obtain a first memory item and a second memory item respectively; Processing the data generated in the process of processing the double convolution layer and the first memory item according to the vector autoregressive layer to obtain a linear prediction value; The production output of the shale oil is obtained according to the first memory item, the second memory item and the linear prediction value.
3. The method according to claim 1 or 2, characterized in that The network structure of the recurrent layer and the recurrent skip layer includes a reset gate, an update gate, a node data set and an output layer.
4. The method according to claim 2, characterized in that The step of performing convolution processing on the production input data according to the double convolution layer to obtain vector data includes: Performing convolution processing on the production input data according to the longitudinal convolution network layer of the dual convolution layer to obtain a feature image; Merging the feature images to obtain a final two-dimensional feature map; Performing convolution processing on the final two-dimensional feature map according to the lateral convolution network layer of the double convolution layer to obtain vector data; Among them, the longitudinal convolutional network layer is used to process the production input data along the time direction of the production input data, and the transverse convolutional network is used to process the final two-dimensional feature map along a direction perpendicular to the longitudinal convolutional network layer.
5. The method according to claim 2 or 4, characterized in that The step of processing the data generated in the process of processing the double convolution layer and the first memory item according to the vector autoregressive layer to obtain a linear prediction value includes: The final two-dimensional feature map, vector data, and the first memory item generated in the process of processing the double convolution layer are processed according to the vector autoregressive layer to obtain a linear prediction value.
6. The method according to claim 2, characterized in that Obtaining the production output of the shale oil according to the first memory item, the second memory item, and the linear prediction value includes: Performing a full connection on the first memory item and the second memory item to obtain a nonlinear prediction value; The nonlinear prediction value and the linear prediction value are superimposed to obtain the production output of the shale oil.
7. The method according to claim 2, characterized in that Before performing convolution processing on the production input data according to the dual convolution layer to obtain vector data, the method further includes: The production input data is normalized.
8. A shale oil production prediction device, characterized in that: The device comprises: An acquisition module, used to obtain shale oil production input data and production prediction models; A prediction module, configured to predict the production output of the shale oil based on the production input data and the output prediction model; The production prediction model includes a double convolution layer, a recurrent layer, a recurrent skip layer, and a vector autoregressive layer, and the production output value includes a linear prediction value and a nonlinear prediction value.
9. A computer device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the shale oil production prediction method according to any one of claims 1 to 7 is implemented.
10. A device-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the shale oil production prediction method according to any one of claims 1 to 7 is implemented.
