Shale gas well yield prediction method, device and equipment and storage medium
By combining multiple basic prediction models and voting regressors, the problem of difficult prediction of shale gas well production after fracturing is solved, efficient and accurate prediction of shale gas well production is achieved, and the efficiency of prediction work is improved.
Patent Information
- Application Number
- CN202410352535.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-26
- Publication Date
- 2024-09-06
AI Technical Summary
The production of shale gas wells after fracturing is difficult to predict, mainly due to the uncertain production decline index due to the complex pore structure, multi-phase flow characteristics and dynamic changes of shale gas reservoirs, which affects economic evaluation and construction optimization.
Using a combination of multiple basic prediction models and voting regressors, by obtaining various production related data of the target shale gas wells, the target characteristic data is determined, and input into the pre-trained shale gas production prediction model, and voting regression is performed to determine Target forecast yield.
It improves the accuracy and robustness of the production prediction after fracturing of shale gas wells, reduces the uncertainty of production prediction, and improves the efficiency of prediction work.
Smart Images

Figure CN118607341A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of geological technology, and in particular to a shale gas well production prediction method, device, equipment and storage medium. Background Art
[0002] Hydraulic fracturing is the main measure to increase the production of shale gas reservoirs. The accuracy of post-fracturing production prediction not only has a significant impact on the results of economic evaluation, but also has key guiding significance for the optimal design of construction.
[0003] However, due to the nano-scale pores in shale gas reservoirs, the production mode and flow characteristics of reservoir fluids during oil and gas well production are complex, and there are multiple flow stages. Therefore, the production decline index changes with the flow state, making the production evaluation have great uncertainty. In addition, there are also factors such as the complex fracture network relationship after fracturing, the dynamic changes of fractures, the significant pressure channeling phenomenon between wells in multi-well platforms, and the complex laws of gas-water-fracturing fluid multiphase flow, which together make it difficult to predict the production of shale gas wells. Summary of the invention
[0004] The present invention provides a shale gas well production prediction method, device, equipment and storage medium to solve the technical problem in the prior art that the production of shale gas wells after fracturing is difficult to predict.
[0005] According to one aspect of the present invention, a shale gas well production prediction method is provided, the method comprising: obtaining a plurality of production-related data of a target shale gas well according to production-related factors, and determining target feature data corresponding to the plurality of production-related data; inputting the target feature data into a pre-trained shale gas production prediction model, and determining a target predicted production of the target shale gas well based on the shale gas production prediction model, wherein the shale gas production prediction model comprises a plurality of basic prediction models and a voting regressor, the plurality of basic prediction models are independent of each other, and the input data of the voting regressor is the output data of the plurality of basic prediction models.
[0006] According to another aspect of the present invention, a shale gas well production prediction device is provided, which includes: a target feature data determination module, which is used to obtain multiple production-related data of a target shale gas well according to production-related factors, and determine target feature data corresponding to the multiple production-related data; a target predicted production determination module, which is used to input the target feature data into a pre-trained shale gas production prediction model, and determine the target predicted production of the target shale gas well based on the shale gas production prediction model, wherein the shale gas production prediction model includes multiple basic prediction models and a voting regressor, the multiple basic prediction models are independent of each other, and the input data of the voting regressor is the output data of the multiple basic prediction models.
[0007] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0008] at least one processor; and
[0009] a memory communicatively connected to at least one processor; wherein,
[0010] The memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the shale gas well production prediction method of any embodiment of the present invention.
[0011] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the shale gas well production prediction method of any embodiment of the present invention when executed by a processor.
[0012] The technical solution of the embodiment of the present invention obtains a data source associated with the production of the target shale gas well by obtaining a plurality of production-related data of the target shale gas well according to the production-related factors, and determines the target feature data corresponding to the plurality of production-related data. Then the target feature data is input into the pre-trained shale gas production prediction model, and the target predicted production of the target shale gas well is determined based on the shale gas production prediction model, wherein the shale gas production prediction model includes a plurality of basic prediction models and a voting regressor, the plurality of basic prediction models are independent of each other, and the input data of the voting regressor is the output data of the plurality of basic prediction models. The technical problem that the production of shale gas wells after fracturing is difficult to predict in the prior art is solved, and the beneficial effects of accurately predicting the production of shale gas wells after fracturing based on the artificial intelligence production prediction model and improving the efficiency of production prediction are achieved.
[0013] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0015] Figure 1 This is a flow chart of a shale gas well production prediction method provided according to Embodiment 1 of the present invention;
[0016] Figure 2This is a flow chart of a shale gas well production prediction method provided according to the second embodiment of the present invention;
[0017] Figure 3 This is a schematic diagram of the structure of a shale gas well production prediction device provided according to Embodiment 3 of the present invention;
[0018] Figure 4 is a schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention. DETAILED DESCRIPTION
[0019] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0020] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0021] Embodiment 1
[0022] Figure 1 A flowchart of a shale gas well production prediction method is provided for the first embodiment of the present invention. This embodiment is applicable to the case of predicting the production of shale gas wells. The method can be executed by a shale gas well production prediction device. The shale gas well production prediction device can be implemented in the form of hardware and / or software. The shale gas well production prediction device can be configured in an electronic device. Figure 1 As shown, the method includes:
[0023] S110. Acquire a plurality of production-related data of a target shale gas well according to production-related factors, and determine target characteristic data corresponding to the plurality of production-related data.
[0024] In this embodiment, the target shale gas well can be a shale gas well whose production needs to be predicted after the shale gas well is stimulated by hydraulic fracturing. Among them, the process flow of fracturing shale gas wells can include wellbore completion operations such as perforating and installing casing for subsequent fracturing operations; fracturing design operations such as determining the fracturing fluid formula, fracturing construction parameters, and fracturing pump displacement; injecting the fracturing fluid into the wellbore through the fracturing pump, hydraulically fracturing the shale rock formation under pressure control, and forming a fracturing network of fracture construction operations; mixing a certain proportion of proppant (usually sand) in the fracturing fluid to fill the cracks, and transporting it into the cracks during the fracturing process to keep the cracks open, and adding proppant sand operations; and stopping the injection of fracturing fluid, waiting for the fracturing fluid and proppant to be fully dispersed and solidified, and then performing subsequent cleaning and production capacity testing of the fracturing end operations. Through fracturing operations, the production capacity of shale gas wells can be effectively increased, and the release and exploitation of natural gas can be promoted, thereby improving the overall production efficiency and economic benefits.
[0025] Based on the target shale gas well, a variety of data corresponding to the target shale gas well can be obtained. For example, geological data such as acoustic time difference, density, natural gamma, well diameter, porosity, permeability and saturation associated with geological exploration can be obtained. For another example, data such as the number of perforation clusters, cluster spacing, perforation thickness, pore density and pore diameter associated with perforation construction can be obtained; and data such as the amount of liquid entering the ground, temporary plugging agent, total proppant, liquid intensity and sand addition intensity associated with fracturing construction can be obtained. It can be understood that based on the various data corresponding to the target shale gas well, a variety of data type factors corresponding to the shale gas well can be determined. For example, the various data in the aforementioned embodiments can be determined to determine the geological exploration factors, perforation construction factors and fracturing construction data factors corresponding to the target shale gas well. The production-related factor can be a data factor that has a correlation with the production of the target shale gas well among the various data factors.
[0026] The production-related data may be data associated with shale gas production among the various data corresponding to the aforementioned target shale gas well. According to the production-related factors, the various production-related data of the target shale gas well may be obtained by screening the various data according to the production-related factors among the various data corresponding to the target shale gas well, thereby obtaining the various production-related data of the target shale gas well. For example, the various data corresponding to the target shale gas well may be screened by the three production-related factors known as geological exploration factors, perforation construction factors, and fracturing construction factors, thereby determining the three production-related data of well diameter data, perforation cluster number data, and sand addition intensity data. It is understandable that among the three production-related factors, the data corresponding to each production-related factor may be multiple. For example, multiple production-related data such as well diameter data, porosity data, permeability data, perforation cluster number data, cluster spacing data, perforation thickness data, pore density data, sand addition intensity data, liquid volume data in the ground, and temporary plugging agent data may be determined.
[0027] The target feature data may be a data group determined based on a set of multiple production-related data. To determine the target feature data corresponding to the multiple production-related data, the multiple production-related data may be determined first, and then the corresponding target feature data may be constructed based on the multiple production-related data. For example, the target feature data may be constructed based on a data group consisting of three production-related data, namely, well diameter data, perforation cluster number data, and sanding intensity data in the aforementioned embodiments.
[0028] Optionally, determining target characteristic data corresponding to multiple yield-related data includes: splicing the yield-related data corresponding to each yield-related factor in a preset splicing order, and determining the target characteristic data corresponding to the multiple yield-related data based on the splicing result.
[0029] In this embodiment, the preset splicing order can be pre-set according to actual conditions, and can be the order between the data when splicing and configuring the yield-related data. The preset splicing order can include the order between different yield-related factors, and can also include the order between different data units in each yield-related factor. The splicing result can be a data group directly obtained by splicing the yield-related data corresponding to each yield-related factor according to the preset splicing order, or can be a data group obtained by performing data normalization processing on the data group directly spliced.
[0030] S120. Input the target feature data into a pre-trained shale gas production prediction model, and determine the target predicted production of the target shale gas well based on the shale gas production prediction model, wherein the shale gas production prediction model includes multiple basic prediction models and a voting regressor, the multiple basic prediction models are independent of each other, and the input data of the voting regressor is the output data of the multiple basic prediction models.
[0031] In this embodiment, the pre-trained shale gas production prediction model can be a pre-trained production prediction model that can be used to predict shale gas production. The shale gas production prediction model can include multiple independent basic prediction models and a voting regressor. Among them, the output data of multiple basic prediction models can be integrated through a voting regressor. Specifically, the prediction results of each model can be summarized by voting, wherein the voting can be a simple majority vote or a weighted vote. Specifically, the target feature data can be first input into multiple basic prediction models, and each model independently predicts the production of the target shale gas well. Then, the output data of each basic model can be combined through a voting regressor to obtain the final target predicted production. The technical solution of this embodiment can take advantage of the advantages of multiple prediction models to improve the accuracy and robustness of the prediction.
[0032] Optionally, the target feature data is input into a pre-trained shale gas production prediction model, and the target predicted production of the target shale gas well is determined based on the shale gas production prediction model, including: inputting the target feature data into each pre-trained basic prediction model respectively, and obtaining the preliminary predicted production corresponding to each basic prediction model respectively; inputting the preliminary predicted production corresponding to multiple basic prediction models into a voting regressor together to vote on the preliminary predicted production, and determining the target predicted production of the target shale gas well based on the voting result output by the voting regressor.
[0033] In this embodiment, each basic prediction model can be pre-trained. The preliminary predicted production can be the basic prediction model production prediction result obtained after each basic prediction model independently predicts the production of the target shale gas well.
[0034] Specifically, the target feature data can be input into each pre-trained basic prediction model respectively, so as to obtain the preliminary predicted production corresponding to each basic prediction model. Then, the preliminary predicted production corresponding to multiple basic prediction models can be input into the voting regressor together, and the voting regressor combines the prediction results of each basic model received and votes. Finally, the target predicted production of the target shale gas well can be determined based on the voting results output by the voting regressor. The technical solution of this embodiment can make full use of the advantages of multiple basic prediction models, and at the same time, the uncertainty of a single model can be eliminated through the voting regressor, thereby improving the prediction accuracy and robustness of the target shale gas well production.
[0035] Optionally, the basic prediction model includes at least one of an applied gradient boosting algorithm model, an extreme gradient boosting algorithm model and a random forest model.
[0036] In this embodiment, the basic prediction model may include one or more of a gradient boosting algorithm model, an extreme gradient boosting algorithm model, and a random forest model.
[0037] Among them, the gradient boosting algorithm GBDT (Gradient Boosting) model can improve the prediction accuracy of the model by building multiple weak classifiers and then combining them into a strong classifier. Specifically, a simple model (such as a constant) can be used as the initial prediction, and then iterative training can be performed. The residual between the predicted value and the actual value of the training data by the current model can be calculated; a new model (usually a decision tree) is built to fit these residuals. The model is built by minimizing the loss function through gradient descent to better fit the residuals; the prediction results of the new model are added to the prediction results of the previous model to obtain the updated prediction results; the above steps are repeated until the preset number of iterations is reached or a certain stop condition is met.
[0038] The extreme gradient boosting algorithm model can be a synthetic algorithm that combines basis functions and weights to form a good data fitting effect. When building an XGBoost (Extreme Gradient Boosting) model, the optimal parameters can be found according to the principle of minimizing the objective function to establish the optimal model. For a data set containing n rows and m dimensions, the XGBoost model can be expressed as:
[0039]
[0040] Among them, F is as follows:
[0041] F={f(x)=Wq(x)}(q:R m →{1,2,…T},w∈R T )
[0042] It can be a set of CART decision tree structures, q is the tree structure that maps samples to leaf nodes, T is the number of leaf nodes, and w is the real number score of leaf nodes. When building an XGBoost model, it is necessary to find the optimal parameters based on the principle of minimizing the objective function to establish the optimal model. The objective function of the XGBoost model can be divided into the error function term L and the model complexity function term Ω.
[0043] The random forest model can be a self-learning algorithm model based on decision trees, which can perform data classification and regression. The random forest can contain many trees, each of which gives a classification result. The generation rules of each tree are as follows:
[0044] (1) If the size of the training set is N, for each tree, randomly and with replacement, N training samples are drawn from the training set as the training set for this tree, and this is repeated K times to generate K sets of training samples.
[0045] (2) If the sample dimension of each feature is M, specify a constant m << M, and randomly select m features from the M features.
[0046] (3) Use the m features to grow each tree to the greatest extent possible, and there is no pruning process.
[0047] Exemplarily, the shale gas production prediction model may include three basic prediction models: the gradient boosting algorithm model, the extreme gradient boosting algorithm model, and the random forest model. The technical solution of this embodiment can make full use of the advantages of applying the gradient boosting algorithm model, the extreme gradient boosting algorithm model, and the random forest model, and at the same time, the uncertainty of a single model can be eliminated through a voting regressor, thereby improving the prediction accuracy and robustness of the production of the target shale gas well.
[0048] Optionally, there may be multiple shale gas production prediction models. The prediction results of multiple shale gas production prediction models can be compared with the production values of actual wells, and the optimal model can be selected to predict the production after the new well is fractured. In a preferred embodiment, the shale gas production prediction model based on the technical solution of this embodiment of the present invention predicts the production of a reference well, and selects the model with the smallest error as the shale gas production prediction model. Specifically, for Well 1 in a certain oil and gas field, the horizontal section is 3250 - 4700 m, the section length is 1450 m, the effective porosity is 5.4%, and the mineral brittleness is 65.6%. Ant body tracking fracture prediction shows that the well sections 3200 - 3300 are weak; 3650 - 3700 are weak; 3825 - 3900 are weak; 4450 - 4525 are weak; 4625 - 4700 are weak; the brittle mineral content is high, which is conducive to hydraulic fracturing. The production of this well is predicted. The initial gas production after the prediction measures is 561,700 m³, and the actual initial gas production through well testing is 620,200 m³, with a relative error of 9.4%. The predicted average daily production in the first year is 209,000 m³, and the actual average daily production in the first year is 194,000 m³, with a relative error of 7.7%. Therefore, using the shale gas production prediction model selected in this embodiment of the present invention can accurately predict the production of the new well to be exploited.
[0049] The technical solution of this embodiment obtains a plurality of production-related data of the target shale gas well according to the production-related factors, and determines the target feature data corresponding to the plurality of production-related data, thereby obtaining the data source associated with the production corresponding to the target shale gas well. Then the target feature data is input into the pre-trained shale gas production prediction model, and the target predicted production of the target shale gas well is determined based on the shale gas production prediction model, wherein the shale gas production prediction model includes a plurality of basic prediction models and a voting regressor, the plurality of basic prediction models are independent of each other, and the input data of the voting regressor is the output data of the plurality of basic prediction models. The technical problem that the production of shale gas wells after fracturing is difficult to predict in the prior art is solved, and the model advantage of combining a plurality of basic prediction models is obtained. At the same time, the uncertainty of a single model is eliminated by the voting regressor, thereby achieving the beneficial effect of efficiently and accurately predicting the production of shale gas wells after fracturing.
[0050] Embodiment 2
[0051] Figure 2 This is a flowchart of a shale gas well production prediction method provided in Example 2 of the present invention. This example is based on the above examples and specifically describes the training method of the shale gas production prediction model. The specific implementation method can be found in the description of this example. Among them, the technical features that are the same or similar to the above examples are not repeated here. Figure 2 As shown, the method includes:
[0052] S210. Obtain corresponding well association data of a reference shale gas well according to a plurality of preset well association factors, and obtain well production data of the reference shale gas well, wherein the well association factors include geological data association factors, logging data association factors, perforation data association factors, fracturing construction data association factors and production data association factors.
[0053] In this embodiment, the reference shale gas well may be a shale gas well that has completed exploration and has been put into actual production and can be used to provide reference data. The reference shale gas well may be one or more. The corresponding well-related data of the reference shale gas well may be the geological, logging, construction and production related data corresponding to the reference shale gas well. The preset multiple well-related factors may be pre-set according to actual conditions, and the data classification factors corresponding to the well-related data may include geological data related factors, logging data related factors, perforation data related factors, fracturing construction data related factors and production data related factors. The well production data may be the shale gas production data corresponding to the reference shale gas well. The corresponding well-related data of the reference shale gas well is obtained according to the preset multiple well-related factors, and the corresponding well-related data of the reference shale gas well may be sorted and extracted based on the geological data related factors, logging data related factors, perforation data related factors, fracturing construction data related factors and production data related factors, to obtain the well-related data under each well-related factor. The well production data of the reference shale gas well can be obtained by obtaining the well production data corresponding to the reference shale gas well based on actual production numerical reports such as actual daily production reports, weekly production reports, and annual production reports.
[0054] S220, performing data cleaning and / or data preprocessing on the well-related data, wherein the data cleaning process includes at least one of data deduplication processing, missing value filling processing, outlier processing, and data format conversion processing; and the data preprocessing includes feature extraction and / or feature fusion.
[0055] In this embodiment, when there are multiple reference shale gas wells and a large amount of well-related data is obtained, data cleaning processing can be performed on the well-related data. Data cleaning processing can be data deduplication processing, missing value filling processing, outlier processing, and data format conversion processing on the well-related data. Among them, data deduplication processing can be to remove duplicate records in the data set, which can be achieved by comparing identifiers or key fields in the data. Missing value filling processing can be to fill the missing values in the data set, and missing value filling processing can be performed using methods such as interpolation, mean value, median, and mode. Outlier processing can be to detect and process outliers in the data set, and outliers can be deleted or replaced with acceptable values. Data format conversion processing can be to standardize the non-uniform data formats in different reference shale gas wells into a consistent format for easy processing and analysis. Optionally, shear wave processing, rock mechanics parameter calculation processing, and ground stress parameter calculation processing can also be performed on the original logging curve of the reference shale gas well. For example, when the well-associated data under the geological data-associated factors corresponding to one or more reference shale gas wells are missing or partially missing, the missing geological associated data such as shear wave time difference, Young's modulus, Poisson's ratio, brittleness index, horizontal minimum principal stress, horizontal maximum principal stress, etc. in the well-associated data can be supplemented based on the shear wave processing, rock mechanics parameter calculation processing and ground stress parameter calculation processing of the original logging curve of the reference shale gas well. Data preprocessing can be feature extraction and / or feature fusion, wherein feature extraction and feature fusion can be extraction and fusion of feature data of logging curves and fracturing operation curves in the well-associated data.
[0056] Exemplarily, in the corresponding well-associated data of one or more reference shale gas wells, the well-associated data under the geological data association factor may include data such as acoustic time difference, density, natural gamma, well diameter, porosity, permeability, saturation, TOC content, shale content, and total gas content. By performing feature extraction and feature fusion on the logging curves of the above one or more reference shale gas wells, acoustic time difference characteristic values such as the maximum value, minimum value, standard deviation, skewness, and extreme value of the acoustic time difference can be obtained. Similarly, density characteristic values, natural gamma characteristic values, well diameter characteristic values, porosity characteristic values, permeability characteristic values, saturation characteristic values, TOC content characteristic values, shale content characteristic values, and total gas content characteristic values corresponding to data such as density, natural gamma, well diameter, porosity, permeability, saturation, TOC content, shale content, and total gas content can be obtained. These characteristic values can also be used as well-associated data under the geological data association factor.
[0057] S230. According to the well correlation data and the well production data, a Pearson correlation coefficient matrix is used to determine the production correlation factors among the well correlation factors that are correlated with the production of the reference shale gas well.
[0058] In this embodiment, the Pearson correlation coefficient can be used to calculate the correlation between the reference shale gas well production and each data in the well association data, and form a correlation coefficient matrix. The rows of the matrix can be set to each well association factor, the columns can represent the production of the reference shale gas well, and each element in the matrix can be the total correlation coefficient or the average correlation coefficient corresponding to each well association factor. The well association factor with a larger absolute value of the correlation coefficient can be selected as the production association factor. It can also be based on a preset correlation coefficient threshold, and the correlation coefficient of each well association factor can be screened, and the well association factor with a correlation coefficient greater than the preset correlation coefficient threshold can be used as the production association factor. Exemplarily, the selection method of the correlation coefficient threshold can be based on the following table, and the absolute value of the correlation coefficient 0.6 or the absolute value of the correlation coefficient 0.8 can be selected as the preset correlation coefficient threshold.
[0059] Correlation coefficient Relevance 0.8<|r|≤1 Very strong correlation 0.6<|r|≤0.8 Strong correlation 0.4<|r|≤0.6 Moderately related 0.2<|r|≤0.4 Weak correlation 0.0≤|r|≤0.2 Very weak or no correlation
[0060] S240: Acquire a plurality of production-related data of the target shale gas well according to the production-related factors, and determine target characteristic data corresponding to the plurality of production-related data.
[0061] S250, obtaining production-related data from well-related data as sample data according to production-related factors, and determining sample characteristic data corresponding to the sample data.
[0062] In this embodiment, the production-related data is obtained from the well-related data as sample data according to the production-related factors, and the set of well-related data under the production-related factors in the well-related factors can be determined as production-related data, and used as sample data for model training. Exemplarily, 80% of the production-related data can be selected as the training sample set, and 20% of the production-related data can be selected as the test sample set.
[0063] S260: training each of the pre-established multiple basic prediction models and voting regressors according to the sample feature data to obtain a shale gas production prediction model.
[0064] In this embodiment, each of the pre-established multiple basic prediction models and voting regressors is trained according to the sample feature data. The sample feature data can be used as the model input, and the voting regressor is used to aggregate the prediction results of multiple basic models, and the weighted average of all model prediction values is used as the model output result of the shale gas production prediction model. The actual well production data can be used as the model output production label, and the multiple basic prediction models and voting regressors can be supervised and trained to obtain the shale gas production prediction model.
[0065] S270, inputting the target feature data into a pre-trained shale gas production prediction model, and determining a target predicted production of the target shale gas well based on the shale gas production prediction model.
[0066] The technical solution of this embodiment is to obtain the corresponding well-related data of the reference shale gas well according to the preset multiple well-related factors, and obtain the well production data of the reference shale gas well, wherein the well-related factors include geological data-related factors, logging data-related factors, perforation data-related factors, fracturing construction data-related factors and production data-related factors; perform data cleaning and / or data preprocessing on the well-related data, wherein the data cleaning process includes at least one of data deduplication process, missing value filling process, outlier process and data format conversion process; data preprocessing includes feature extraction and / or feature fusion; according to the well-related data and the well production data, the Pearson correlation coefficient matrix is used to determine the production-related factors associated with the production of the reference shale gas well in the well-related factors; according to the production-related factors, multiple production-related data of the target shale gas well are obtained, and the target feature data corresponding to the multiple production-related data are determined; according to the production-related factors, the production-related data are obtained from the well-related data as sample data, and the sample feature data corresponding to the sample data is determined. According to the sample feature data, each of the multiple pre-established basic prediction models and voting regressors is trained to obtain a shale gas production prediction model. The target feature data is input into the pre-trained shale gas production prediction model, and the target predicted production of the target shale gas well is determined based on the shale gas production prediction model. This solves the technical problem of the difficulty in predicting the production of shale gas wells after fracturing in the prior art, obtains the model advantage of combining multiple basic prediction models, and eliminates the uncertainty of a single model through a voting regressor, thereby achieving the beneficial effect of efficiently and accurately predicting the production of shale gas wells after fracturing.
[0067] Embodiment 3
[0068] Figure 3 This is a schematic diagram of the structure of a shale gas well production prediction device provided in Example 3 of the present invention. Figure 3 As shown, the device includes: a target characteristic data determination module 310 and a target predicted output determination module 320.
[0069] Among them, the target feature data determination module 310 is used to obtain multiple production-related data of the target shale gas well according to the production-related factors, and determine the target feature data corresponding to the multiple production-related data; the target predicted production determination module 320 is used to input the target feature data into a pre-trained shale gas production prediction model, and determine the target predicted production of the target shale gas well based on the shale gas production prediction model, wherein the shale gas production prediction model includes multiple basic prediction models and voting regressors, the multiple basic prediction models are independent of each other, and the input data of the voting regressor is the output data of the multiple basic prediction models.
[0070] The technical solution of this embodiment obtains a plurality of production-related data of the target shale gas well according to the production-related factors, and determines the target feature data corresponding to the plurality of production-related data, thereby obtaining the data source associated with the production corresponding to the target shale gas well. Then the target feature data is input into the pre-trained shale gas production prediction model, and the target predicted production of the target shale gas well is determined based on the shale gas production prediction model, wherein the shale gas production prediction model includes a plurality of basic prediction models and a voting regressor, the plurality of basic prediction models are independent of each other, and the input data of the voting regressor is the output data of the plurality of basic prediction models. The technical problem that the production of shale gas wells after fracturing is difficult to predict in the prior art is solved, and the model advantage of combining a plurality of basic prediction models is obtained. At the same time, the uncertainty of a single model is eliminated by the voting regressor, thereby achieving the beneficial effect of efficiently and accurately predicting the production of shale gas wells after fracturing.
[0071] On the basis of the above technical solution, further, the target characteristic data determination module 310 includes a yield-related factor determination unit.
[0072] Among them, the production correlation factor determination unit is used to obtain the corresponding well correlation data of the reference shale gas well according to the preset multiple well correlation factors before obtaining the multiple production correlation data of the target shale gas well according to the production correlation factors, and obtain the well production data of the reference shale gas well, wherein the well correlation factors include geological data correlation factors, logging data correlation factors, perforation data correlation factors, fracturing construction data correlation factors and production data correlation factors; according to the well correlation data and the well production data, the Pearson correlation coefficient matrix is used to determine the production correlation factors in the well correlation factors that are associated with the production of the reference shale gas well.
[0073] On the basis of the above technical solution, further, the target predicted production determination module 320 includes a shale gas production prediction model determination unit.
[0074] Among them, the shale gas production prediction model determination unit is used to obtain production-related data as sample data from well-related data according to production-related factors before inputting the target feature data into the pre-trained shale gas production prediction model, and determine the sample feature data corresponding to the sample data; train each of the pre-established multiple basic prediction models and voting regressors according to the sample feature data to obtain a shale gas production prediction model.
[0075] On the basis of the above technical solution, further, the production correlation factor determination unit includes a well correlation data processing subunit.
[0076] Among them, the well-related data processing subunit is used to perform data cleaning and / or data preprocessing on the well-related data before determining the production-related factors in the well-related factors that are associated with the production of the reference shale gas well using the Pearson correlation coefficient matrix based on the well-related data and the well production data, wherein the data cleaning processing includes at least one of data deduplication processing, missing value filling processing, outlier processing and data format conversion processing; and the data preprocessing includes feature extraction and / or feature fusion.
[0077] On the basis of the above technical solution, further, the target characteristic data determination module 310 includes a production-related data splicing unit.
[0078] Among them, the yield-related data splicing unit is used to splice the yield-related data corresponding to each yield-related factor according to a preset splicing order, and determine the target feature data corresponding to the multiple yield-related data based on the splicing results.
[0079] On the basis of the above technical solution, further, the target predicted production determination module 320 is specifically used to input the target feature data into each pre-trained basic prediction model respectively, and obtain the preliminary predicted production corresponding to each basic prediction model respectively; the preliminary predicted production corresponding to multiple basic prediction models are input into the voting regressor together to vote on the preliminary predicted production, and the target predicted production of the target shale gas well is determined based on the voting results output by the voting regressor.
[0080] On the basis of the above technical solution, further, the basic prediction model includes applying at least one of a gradient boosting algorithm model, an extreme gradient boosting algorithm model and a random forest model.
[0081] The shale gas well production prediction device provided in the embodiment of the present invention can execute the shale gas well production prediction method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0082] Embodiment 4
[0083] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0084] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0085] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0086] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a shale gas well production prediction method.
[0087] In some embodiments, the shale gas well production prediction method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the shale gas well production prediction method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the shale gas well production prediction method in any other appropriate manner (for example, by means of firmware).
[0088] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0089] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0090] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0091] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0092] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0093] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0094] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0095] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A shale gas well production prediction method, characterized in that: include: Acquire multiple production-related data of the target shale gas well according to the production-related factors, and determine target characteristic data corresponding to the multiple production-related data; The target feature data is input into a pre-trained shale gas production prediction model, and the target predicted production of the target shale gas well is determined based on the shale gas production prediction model, wherein the shale gas production prediction model includes multiple basic prediction models and a voting regressor, the multiple basic prediction models are independent of each other, and the input data of the voting regressor is the output data of the multiple basic prediction models.
2. The method according to claim 1, characterized in that: Before obtaining a plurality of production correlation data of the target shale gas well according to the production correlation factors, the method further includes: Acquire corresponding well association data of a reference shale gas well according to a plurality of preset well association factors, and acquire well production data of the reference shale gas well, wherein the well association factors include geological data association factors, logging data association factors, perforation data association factors, fracturing construction data association factors and production data association factors; According to the well association data and the well production data, a Pearson correlation coefficient matrix is used to determine the production association factors associated with the production of the reference shale gas well among the well association factors.
3. The method according to claim 2, characterized in that Before inputting the target characteristic data into the pre-trained shale gas production prediction model, the method further includes: Acquire production-related data from the well-related data as sample data according to the production-related factors, and determine sample characteristic data corresponding to the sample data; Each of the pre-established multiple basic prediction models and voting regressors is trained according to the sample characteristic data to obtain a shale gas production prediction model.
4. The method according to claim 2, characterized in that: Before determining the production-related factors associated with the production of the reference shale gas well in the well-related factors by using the Pearson correlation coefficient matrix according to the well-related data and the well production data, the method further includes: The well-related data is cleaned and / or preprocessed, wherein the data cleaning process includes at least one of data deduplication, missing value filling, outlier processing, and data format conversion; and the data preprocessing includes feature extraction and / or feature fusion.
5. The method according to claim 1, characterized in that The determining of target characteristic data corresponding to the plurality of output-related data comprises: The yield-related data corresponding to each of the yield-related factors are spliced in a preset splicing order, and the target feature data corresponding to the multiple yield-related data are determined based on the splicing results.
6. The method according to claim 1, characterized in that The step of inputting the target characteristic data into a pre-trained shale gas production prediction model, and determining a target predicted production of the target shale gas well based on the shale gas production prediction model, comprises: Inputting the target characteristic data into each pre-trained basic prediction model respectively, and obtaining a preliminary predicted yield corresponding to each basic prediction model respectively; The preliminary predicted production corresponding to the multiple basic prediction models are input into the voting regressor to vote on the preliminary predicted production, and the target predicted production of the target shale gas well is determined based on the voting result output by the voting regressor.
7. The method according to claim 1, characterized in that The basic prediction model includes at least one of an applied gradient boosting algorithm model, an extreme gradient boosting algorithm model and a random forest model.
8. A shale gas well production prediction device, characterized in that: include: A target characteristic data determination module, used to obtain a plurality of production-related data of a target shale gas well according to production-related factors, and determine target characteristic data corresponding to the plurality of production-related data; A target predicted production determination module is used to input the target feature data into a pre-trained shale gas production prediction model, and determine the target predicted production of the target shale gas well based on the shale gas production prediction model, wherein the shale gas production prediction model includes multiple basic prediction models and a voting regressor, the multiple basic prediction models are independent of each other, and the input data of the voting regressor is the output data of the multiple basic prediction models.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the shale gas well production prediction method described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the shale gas well production prediction method according to any one of claims 1 to 7 when executed.
