Shale oil yield prediction method, device and equipment and storage medium
By combining the production prediction model of random forest network and neural network with the actual production data of shale oil reservoirs, the problem of low shale oil production prediction accuracy is solved, efficient and accurate production prediction is achieved, and the risk of over-fitting is reduced.
Patent Information
- Application Number
- CN202310319865.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2024-10-01
AI Technical Summary
During the development process of shale oil reservoirs, due to the strong heterogeneity of the reservoir strata and complex seepage laws, the accuracy of shale oil production prediction is low. Existing methods such as analytical-semi-analytical numerical simulation and machine learning methods have limitations. characteristics and over-fitting problems, making it difficult to achieve efficient and accurate yield prediction.
The production prediction model of random forest network and neural network is combined with the actual production dynamic data of shale oil reservoirs, and processed through bipartite graph and activation function to establish an efficient and accurate shale oil production prediction method.
It achieves efficient and accurate prediction of shale oil production, reduces the number of hyperparameters and the possibility of over-fitting, and improves prediction accuracy and reliability.
Smart Images

Figure CN118735017A_ABST
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] In the development process of shale oil reservoirs, due to the strong heterogeneity of the reservoir strata, the seepage law of the fluid inside the rock is very complex, there are many factors affecting the production, and there are various coupling relationships between various factors, which makes it difficult to accurately predict the production of the reservoir. The production of this type of oil and gas reservoir cannot be accurately calculated quantitatively using formulas, and the traditional production prediction method has problems such as low prediction accuracy, which restricts the efficiency of oil and gas reservoir development. There are two main methods for establishing existing production prediction models. One is to use analytical, analytical-semi-analytical and numerical simulation methods to predict through production formulas. However, the production of shale oil reservoirs is affected by many factors such as storage and modification methods, geological conditions, and production systems, and the effects of on-site fracturing development (such as fracture distribution, fracture aperture and other parameters) are difficult to accurately describe. Therefore, the production prediction method based on empirical formulas has low calculation accuracy, complex numerical simulation modeling, and a long time. It requires certain background experience and has great limitations. The other is to use machine learning methods, such as long short-term memory neural network models (Long Short-Term Memory, LSTM), Bayesian classification models, support vector machine models, etc. for prediction. Although the use of machine learning methods is convenient and fast, field data after fracturing is difficult to obtain, the data volume is small, and there is an overfitting problem, resulting in poor prediction accuracy and reliability. Summary of the invention
[0003] The embodiments of the present application provide a shale oil production prediction method, device, equipment and storage medium. A shale oil production prediction method is established by combining a production prediction model that includes a random forest network and a neural network with actual production dynamic data of a shale oil reservoir. Based on this method, the production input data of the shale oil reservoir is processed to achieve efficient and accurate prediction of 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 random forest network and a neural network, and the random forest network includes two hidden layers.
[0008] In one example, the above production input data is connected through the bipartite graph G1 and the K on the first hidden layer of the random forest network. n-1 Neuron connections, K n-1 The neurons are connected to the K neurons in the second hidden layer of the random forest network through the bipartite graph G2. n Neuronal connections.
[0009] In another example, the above production input data is obtained through the bipartite graph G 1,n Connected to the first hidden layer of the random forest network, the first hidden layer is connected through the bipartite graph G 2,n is connected to the second hidden layer of the random forest network, where n represents the nth mini random tree network in the random forest network.
[0010] Optionally, the first hidden layer and the second hidden layer are represented by parameters in a set M1 and a set M2, respectively, and the parameters include column vectors of weights and offsets on the edges of the bipartite graph.
[0011] Optionally, the parameters of the random forest network include W1, W2, W out , b1, b2, b out , where W1, W2, W out b1, b2, and b represent the weights of the first hidden layer, the second hidden layer, and the output layer of the random forest network, respectively. out The column vectors representing the offsets of the first hidden layer, the second hidden layer, and the output layer of the random forest network.
[0012] In one example, the functions implemented by the random forest network include:
[0013]
[0014] Among them, σ1 and σ2 represent the activation functions on the first hidden layer and the second hidden layer respectively, x represents the production input data, W1, W2, W out b1, b2, and b represent the weights of the first hidden layer, the second hidden layer, and the output layer of the random forest network, respectively. out Represents the column vector of the offset of the first hidden layer, the column vector of the offset of the second hidden layer, and the column vector of the offset of the output layer of the random forest network, R d Represents a set of production input data vectors.
[0015] In another example, the functions implemented by the random forest network include:
[0016]
[0017] Among them, σ1 and σ2 represent the activation functions on the first hidden layer and the second hidden layer respectively, x represents the production input data, W1, W2, W out b1, b2, and b represent the weights of the first hidden layer, the second hidden layer, and the output layer of the random forest network, respectively. out Represents the column vector of the offset of the first hidden layer, the column vector of the offset of the second hidden layer, and the column vector of the offset of the output layer of the random forest network, R d Represents a set of production input data vectors.
[0018] In a second aspect, an embodiment of the present application further provides a shale oil production prediction device, the device comprising:
[0019] An acquisition module, used to obtain shale oil production input data and production prediction model;
[0020] A prediction module for predicting the production output of shale oil based on production input data and an output prediction model;
[0021] Among them, the yield prediction model includes a random forest network and a neural network, and the random forest network includes two hidden layers.
[0022] 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.
[0023] 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.
[0024] 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 random forest network and a neural network, and the random forest network comprises two hidden layers. In the above scheme, a shale oil production prediction method is established by combining the production prediction model including a random forest network and a neural network with the actual production dynamic data of the shale oil reservoir, and the production input data of the shale oil reservoir is processed based on the method to achieve efficient and accurate prediction of shale oil production. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 This is a flow chart of a shale oil production prediction method provided in an embodiment of the present application;
[0026] Figure 2 is a flow chart of another shale oil production prediction method provided in an embodiment of the present application;
[0027] Figure 3 is a schematic diagram of a yield prediction model provided in an embodiment of the present application;
[0028] Figure 4 is a schematic diagram of another yield prediction model provided in an embodiment of the present application;
[0029] Figure 5 It is a structural schematic diagram of a shale oil production prediction device provided in an embodiment of the present application;
[0030] Figure 6 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] 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.
[0032] 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.
[0033] Embodiment 1
[0034] Figure 1 A 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. A shale oil production prediction method is established by combining a production prediction model that includes a combination of a random forest network and a neural network with the actual production dynamic data of a shale oil reservoir. The production input data of the shale oil reservoir is processed based on this method to achieve efficient and accurate prediction of shale oil production. The method can be executed by a 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:
[0035] S101. Obtain shale oil production input data and output prediction model.
[0036] In the embodiment of the present application, taking a certain block as an example, the above production input data may be various production data generated by numerical calculation means, such as porosity Permeability K (millidarcy md), original formation pressure P (MPa), horizontal well length L (m), number of fracturing clusters F, number of fracturing clusters N, fracturing fluid displacement M, proppant injection volume (m3 m 3 ) and other actual production data. These production input data can be used as the initial samples for input into the yield prediction model.
[0037] Exemplarily, the above-mentioned yield prediction model may include a random forest network and a neural network, wherein the random forest network includes two hidden layers. In an embodiment of the present application, the random forest network may be mapped to a neural network framework with specific connection weights, which can reduce the number of hyperparameters and the possibility of overfitting.
[0038] Optionally, to satisfy gradient-based backpropagation training, a differentiable hyperbolic tangent function is used as the activation function on the hidden layer, for example,
[0039]
[0040] Use σ1(u)=σ(γ1u) on each neuron in the first hidden layer, and use σ2(u)=σ(γ2u) on each neuron in the second hidden layer, where γ1 and γ2 are positive hyperparameters. The range of the hyperbolic tangent function is [-1,1]. The hyperparameters determine the contrast of the hyperbolic tangent activation: the larger the γ1 and γ2, the higher the contrast of the hyperbolic tangent activation. When γ1 and γ2 approach infinity, the continuous functions σ1 and σ2 will converge to the threshold function.
[0041] S102. Predict the production output of shale oil based on production input data and an output prediction model.
[0042] In an embodiment of the present application, a shale oil production prediction method is established by combining a production prediction model that includes a combination of a random forest network and a neural network with actual production input data of shale oil reservoirs. Based on this method, the production input data of shale oil reservoirs is processed to efficiently and accurately predict shale oil production.
[0043] The 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 random forest network and a neural network, and the random forest network includes two hidden layers. In the above scheme, a shale oil production prediction method is established by combining the production prediction model including a random forest network and a neural network with the actual production dynamic data of the shale oil reservoir, and the production input data of the shale oil reservoir is processed based on this method to achieve efficient and accurate prediction of shale oil production.
[0044] Embodiment 2
[0045] 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 predicting the production output of shale oil based on the production input data and the output prediction model, the embodiment of the present application also provides an implementation method including: processing the production input data. In addition, in the embodiment of the present application, the network structure involved in the output prediction model is described in detail. That is, the implementation steps of the method may include:
[0046] S101. Obtain shale oil production input data and output prediction model.
[0047] In the embodiment of the present application, taking a certain block as an example, the above production input data may be various production data generated by numerical calculation means, such as porosity Permeability K (millidarcy md), original formation pressure P (MPa), horizontal well length L (m), number of fracturing clusters F, number of fracturing clusters N, fracturing fluid displacement M, proppant injection volume (m3 m 3 ) and other actual production data. These production input data can be used as the initial samples for input into the yield prediction model.
[0048] Exemplarily, the above-mentioned yield prediction model may include a random forest network and a neural network, wherein the random forest network includes two hidden layers. In an embodiment of the present application, the random forest network may be mapped to a neural network framework with specific connection weights, which can reduce the number of hyperparameters and the possibility of overfitting.
[0049] Optionally, to satisfy gradient-based backpropagation training, a differentiable hyperbolic tangent function is used as the activation function on the hidden layer, for example,
[0050]
[0051] Use σ1(u)=σ(γ1u) on each neuron in the first hidden layer, and use σ2(u)=σ(γ2u) on each neuron in the second hidden layer, where γ1 and γ2 are positive hyperparameters. The range of the hyperbolic tangent function is [-1,1]. The hyperparameters determine the contrast of the hyperbolic tangent activation: the larger the γ1 and γ2, the higher the contrast of the hyperbolic tangent activation. When γ1 and γ2 approach infinity, the functions σ1 and σ2 will converge to the threshold function.
[0052] S101a. Process production input data.
[0053] Optionally, in the embodiment of the present application, the production input data can also be processed, for example, outlier and normalization processing can be performed. Specifically, the obtained production input data can be preliminarily checked according to the actual application scenario, and data that differs too much from the actual value can be deleted. The interquartile range (IQR) of the box plot is then used to detect outliers. Outliers can be defined as values less than Q L -1.5IQR or Q U +1.5IQR.
[0054] Among them, Q L is the lower quartile, that is, the first 25% of the data after all the values in the initial sample are arranged from small to large; Q U The upper quartile is the last 25% of the data after all values in the initial sample are arranged from small to large; IQR = Q U -Q L .
[0055] The normalization process can include first calculating the average value u of the production input data j , 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:
[0056]
[0057]
[0058]
[0059]
[0060] in, Input data for production, The normalized production input data.
[0061] S102. Predict the production output of shale oil based on production input data and an output prediction model.
[0062] In the embodiment of the present application, the above production input data can be obtained by combining the bipartite graph G1 with the K on the first hidden layer of the random forest network. n-1 Neuron connections, K n-1 The neurons are connected to the K neurons in the second hidden layer of the random forest network through the bipartite graph G2. n Neuronal connections.
[0063] The first hidden layer and the second hidden layer are represented by parameters in a set M1 and a set M2 respectively, and the parameters include column vectors of weights and offsets on the edges of the bipartite graph.
[0064] For example, suppose the random forest network contains m random trees, and the bipartite graph G1≡G1(θ m ,D n ) represents the input vector x=(x (1) ,.....,x (d) )(i.e. the above normalized production input data The vector formed by the first hidden layer K n-1 The connections between neurons. Similarly, G2≡G2(θ m ,D n ) represents K as the first hidden layer n-1 neurons and K on the second hidden layer n The bipartite graph of the connections between neurons. Let set M1 be d×(K n -1)W1, the matrix W1 represents the weight of the first hidden layer (that is, the weight on the edge of the bipartite graph G1), specifically, W1 = (a ij ),if Then a ij =0. Let set M2 be (K n-1 )×K n W2, the matrix W2 represents the weight of the second hidden layer (i.e., the weight on the edge of the bipartite graph G2), and W2 = (b ij ),if Then b ij = 0. In addition, the set M1 and the set M2 also contain column vectors b1 and b2 of the offsets on the edges of the bipartite graphs G1 and G2, respectively.
[0065] Furthermore, the output layer of the random forest network also contains column vectors of weights and offsets, denoted by W and out and b out Indicates and satisfies and b out ∈R (T means transpose, the vector is in column format), where Wout represents the output weight matrix, represents the output vector set, and R represents the offset vector set.
[0066] Optionally, you can specify that the parameters of the mth random tree in the random forest network are represented by the following vector:
[0067]
[0068] Furthermore, in order to obtain consistency, the variation range of the above parameters can be limited. For example, assuming that there is a positive constant C1, the following formula is obtained:
[0069] ‖W2‖ ∞ +‖b2‖ ∞ +‖W out ‖1+|b out |≤C1K n
[0070] where ||.|| ∞ represents the upper limit of the matrix, and ||.||1 is the L1 criterion of the vector. That is, it is basically assumed that the weight value and offset (i.e., the sum of the absolute value of the weight value and the offset) absorbed by the computing unit of the second layer are at most K n The size of . Moreover, this requirement is mild, leaving a lot of freedom for optimizing parameters. In addition, as long as Y is almost certainly bounded, the original random tree can basically meet this requirement, and choose C1 = (3 / 2 + ||Y|| ∞ )(||Y|| ∞ is the basic maximum value of Y).
[0071] therefore,
[0072] Λ(θ m ,D n )={λ=(W1,b1,W2,b2,W out ,b out )}
[0073] is satisfied, the function form implemented by the mth random tree in the random forest network is
[0074]
[0075] Among them, σ1 and σ2 represent the activation functions on the first hidden layer and the second hidden layer respectively, x represents the production input data, W1, W2, W out b1, b2, and b represent the weights of the first hidden layer, the second hidden layer, and the output layer of the random forest network, respectively. outRepresents the column vector of the offset of the first hidden layer, the column vector of the offset of the second hidden layer, and the column vector of the offset of the output layer of the random forest network, R d Represents a set of production input data vectors.
[0076] In addition, the parameters of each random tree are fitted network by network and are independent of each other, so in the end we will get an estimate r(x; θm, D n ), where 1≤m≤M, these estimates are finally averaged to form the estimate:
[0077]
[0078] like Figure 3 As shown, it is a schematic diagram of the above network structure. Among them, x1 represents the first random tree, x2 represents the second random tree, the second column and the third column are the first hidden layer and the second hidden layer of the random tree respectively, and the fourth circle and the fifth column are the structure of the neural network.
[0079] In an embodiment of the present application, a shale oil production prediction method is established by combining a production prediction model that includes a combination of a random forest network and a neural network with actual production input data of shale oil reservoirs. Based on this method, the production input data of shale oil reservoirs is processed to efficiently and accurately predict shale oil production.
[0080] Embodiment 3
[0081] The present application provides a shale oil production prediction method. Figure 3 The difference between the embodiments shown is that the embodiment of the present application provides another different network structure. Figure 4 Specifically, the method for output prediction based on the network structure may include the following steps:
[0082] S101. Obtain shale oil production input data and output prediction model.
[0083] In the embodiment of the present application, taking a certain block as an example, the above production input data may be various production data generated by numerical calculation means, such as porosity Permeability K (millidarcy md), original formation pressure P (MPa), horizontal well length L (m), number of fracturing clusters F, number of fracturing clusters N, fracturing fluid displacement M, proppant injection volume (m3 m 3 ) and other actual production data. These production input data can be used as the initial samples for input into the yield prediction model.
[0084] Exemplarily, the above-mentioned yield prediction model may include a random forest network and a neural network, wherein the random forest network includes two hidden layers. In an embodiment of the present application, the random forest network may be mapped to a neural network framework with specific connection weights, which can reduce the number of hyperparameters and the possibility of overfitting.
[0085] Optionally, to satisfy gradient-based backpropagation training, a differentiable hyperbolic tangent function is used as the activation function on the hidden layer, for example,
[0086]
[0087] Use σ1(u)=σ(γ1u) on each neuron in the first hidden layer, and use σ2(u)=σ(γ2u) on each neuron in the second hidden layer, where γ1 and γ2 are positive hyperparameters. The range of the hyperbolic tangent function is [-1,1]. The hyperparameters determine the contrast of the hyperbolic tangent activation: the larger the γ1 and γ2, the higher the contrast of the hyperbolic tangent activation. When γ1 and γ2 approach infinity, the functions σ1 and σ2 will converge to the threshold function.
[0088] S101a. Process production input data.
[0089] Optionally, in the embodiment of the present application, the production input data can also be processed, for example, outlier and normalization processing can be performed. Specifically, the obtained production input data can be preliminarily checked according to the actual application scenario, and data that differs too much from the actual value can be deleted. The interquartile range (IQR) of the box plot is then used to detect outliers. Outliers can be defined as values less than Q L -1.5IQR or Q U +1.5IQR.
[0090] Among them, Q L is the lower quartile, that is, the first 25% of the data after all the values in the initial sample are arranged from small to large; Q U The upper quartile is the last 25% of the data after all values in the initial sample are arranged from small to large; IQR = Q U -Q L .
[0091] The normalization process can include first calculating the average value u of the production input data j , 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:
[0092]
[0093]
[0094]
[0095]
[0096] in, Input data for production, The normalized production input data.
[0097] S102. Predict the production output of shale oil based on production input data and an output prediction model.
[0098] In the embodiment of the present application, the above production input data can be obtained through the bipartite graph G 1,n is connected to the first hidden layer of the random forest network through the bipartite graph G 2,n is connected to the second hidden layer of the random forest network, where n represents the nth mini random tree network in the random forest network.
[0099] The first hidden layer and the second hidden layer are represented by parameters in the set M1 and the set M2, respectively, and the parameters include the bipartite graph G 1,n With G 2,n Column vector of edge weights and biases.
[0100] For example, define G 1,n , ..., G 1,M and G 2,n , ..., G 2,M They represent the bipartite graphs connecting the production input data and the M random trees in the random forest network. Define W 1,1 , ..., W 1,M and b 1,1 , ..., b 1,M Respectively represent the weight matrix and offset column vector of the first hidden layer of the M random tree networks, where W 1,m ∈M(G 1,m ), b 1,m ∈R Kn-1 , 1≤m≤M. Similarly, define W 2,1 , ..., W 2,M and b 2,1 , ..., b 2,M Respectively represent the weight matrix and offset column vector of the second hidden layer of the M random tree networks, where W 2,m ∈M(G 2,m ), b 2,m ∈R Kn , 1≤m≤M.
[0101] Furthermore, the above parameters can be formed into serial matrices [W1], [b1], [W2] and [b2], which can be specifically defined as follows:
[0102]
[0103]
[0104] The sizes of [W1], [b1], [W2] and [b2] are d×M(K n -1)、M(K n -1)×1, M(K n -1)×MK n and MK n ×1. In addition, you can use W out ∈R MKn and b out ∈R represent the output weight and bias of the series network, where represents the set of output vectors, and R represents the set of offset vectors. That is, the parameters of the above network are represented by the following vectors:
[0105] [λ]=([W1],[b1],[W2],[b2],W out ,b out )
[0106] and Figure 3 The network structure shown is similar, which can limit the range of variation of the above parameters and assume that there is a positive constant C2 such that
[0107] ‖[W2]‖ ∞ +‖[b2]‖ ∞ +‖W out ‖1+|b out |≤C2K n
[0108] make:
[0109] Λ(Θ1,…,Θ M ,D n )={[λ]=([W1],[b1],[W2],[b2],W out ,b out )}
[0110] The functionality of the above random forest network can be implemented by the following function:
[0111]
[0112] where [λ]∈Λ(θ1,…,θ M ,D n), σ1 and σ2 represent the activation functions on the first hidden layer and the second hidden layer respectively, and σ1 and σ2 are applied element by element, x represents the production input data, W1, W2, W out b1, b2, and b represent the weights of the first hidden layer, the second hidden layer, and the output layer of the random forest network, respectively. out Represents the column vector of the offset of the first hidden layer, the column vector of the offset of the second hidden layer, and the column vector of the offset of the output layer of the random forest network, R d Represents a set of production input data vectors.
[0113] Furthermore, we can also
[0114] F(θ1,…,θ M ,D n )={f [λ] :[λ]∈Λ(θ1,…,θ M ,D n )}
[0115] Then, the final estimated value S is obtained by minimizing the empirical error M,n .
[0116] make,
[0117] Then, J n (S M,n )≤J n (f), for all f∈F(θ1,…,θ M ,D n )
[0118] exist Figure 4 In the network structure shown, x1 represents the first random tree, x2 represents the second random tree, the second and third columns are the first hidden layer and the second hidden layer of the random tree respectively, and the circles in the fourth column represent the structure of the neural network.
[0119] Embodiment 4
[0120] Figure 5 A schematic diagram of a shale oil production prediction device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the device may include: an acquisition module 501, a prediction module 502;
[0121] An acquisition module, used to obtain shale oil production input data and production prediction model;
[0122] A prediction module for predicting the production output of shale oil based on production input data and an output prediction model;
[0123] Among them, the yield prediction model includes a random forest network and a neural network, and the random forest network includes two hidden layers.
[0124] In one example, the production input data is connected through the bipartite graph G1 and the K n-1 Neuron connections, K n-1 The neurons are connected to the K neurons in the second hidden layer of the random forest network through the bipartite graph G2. n Neuronal connections.
[0125] In another example, the production input data is passed through the bipartite graph G 1,n Connected to the first hidden layer of the random forest network, the first hidden layer is connected through the bipartite graph G 2,n is connected to the second hidden layer of the random forest network, where n represents the nth mini random tree network in the random forest network.
[0126] Optionally, the first hidden layer and the second hidden layer are represented by parameters in a set M1 and a set M2, respectively, and the parameters include column vectors of weights and offsets on the edges of the bipartite graph.
[0127] Furthermore, the parameters of the random forest network include W1, W2, W out , b1, b2, b out , where W1, W2, W out b1, b2, and b represent the weights of the first hidden layer, the second hidden layer, and the output layer of the random forest network, respectively. out The column vectors representing the offsets of the first hidden layer, the second hidden layer, and the output layer of the random forest network.
[0128] In one example, the functions implemented by the random forest network include:
[0129]
[0130] In another example, the functions implemented by the random forest network include:
[0131]
[0132] Among them, σ1 and σ2 represent the activation functions on the first hidden layer and the second hidden layer respectively, x represents the production input data, W1, W2, W out b1, b2, and b represent the weights of the first hidden layer, the second hidden layer, and the output layer of the random forest network, respectively. outRepresents the column vector of the offset of the first hidden layer, the column vector of the offset of the second hidden layer, and the column vector of the offset of the output layer of the random forest network, R d Represents a set of production input data vectors.
[0133] The above shale oil production prediction device can perform Figure 1-Figure 4 The provided shale oil production prediction method has corresponding devices and beneficial effects in the method.
[0134] Embodiment 5
[0135] 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 6 A 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.
[0136] 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 501 and the prediction module 502 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.
[0137] 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.
[0138] 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.
[0139] Embodiment 6
[0140] 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.
[0141] 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.
[0142] 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.
[0143] 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: Obtaining 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; Wherein, the yield prediction model includes a random forest network and a neural network, and the random forest network includes two hidden layers.
2. The method according to claim 1, characterized in that The production input data is connected through the bipartite graph G1 and the K n-1 neurons connected, the K n-1 The neurons are connected to the K neurons in the second hidden layer of the random forest network through the bipartite graph G2. n Neuronal connections.
3. The method according to claim 1, characterized in that: The production input data is passed through the bipartite graph G 1,n is connected to the first hidden layer of the random forest network, which is connected to the first hidden layer through the bipartite graph G 2,n is connected to the second hidden layer of the random forest network, wherein n represents the nth mini random tree network in the random forest network.
4. The method according to claim 2 or 3, characterized in that: The first hidden layer and the second hidden layer are represented by parameters in a set M1 and a set M2, respectively, and the parameters include column vectors of weights and offsets on the edges of the bipartite graph.
5. The method according to claim 4, characterized in that The parameters of the random forest network include W1, W2, W out , b1, b2, b out , wherein W1, W2, W out represent the weight of the first hidden layer, the weight of the second hidden layer, and the weight of the output layer of the random forest network, respectively. out The column vectors representing the offsets of the first hidden layer, the column vectors representing the offsets of the second hidden layer, and the column vectors representing the offsets of the output layer of the random forest network.
6. The method according to claim 2 or 5, characterized in that: The functions implemented by the random forest network include: Where σ1 and σ2 represent the activation functions on the first hidden layer and the second hidden layer respectively, x represents the production input data, W1, W2, W out represent the weight of the first hidden layer, the weight of the second hidden layer, and the weight of the output layer of the random forest network, respectively. out The column vectors representing the offsets of the first hidden layer, the column vectors representing the offsets of the second hidden layer, and the column vectors representing the offsets of the output layer of the random forest network, respectively. d Represents a set of production input data vectors.
7. The method according to claim 3 or 5, characterized in that: The functions implemented by the random forest network include: Where σ1 and σ2 represent the activation functions on the first hidden layer and the second hidden layer respectively, x represents the production input data, W1, W2, W out represent the weight of the first hidden layer, the weight of the second hidden layer, and the weight of the output layer of the random forest network, respectively. out The column vectors representing the offsets of the first hidden layer, the column vectors representing the offsets of the second hidden layer, and the column vectors representing the offsets of the output layer of the random forest network, respectively. d Represents a set of production input data vectors.
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 model; A prediction module, used for predicting the production output of the shale oil according to the production input data and the output prediction model; Wherein, the yield prediction model includes a random forest network and a neural network, and the random forest network includes two hidden layers.
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.
Citation Information
Cited By
Yield prediction method based on machine learning
CN119884954A
