Prediction method, device and equipment for segmented yield of shale gas well and storage medium
By obtaining the main influencing factors of the horizontal segmentation of shale gas wells and constructing a production prediction model, the problem of low reliability of segmentation production prediction in the existing technology is solved, the accurate prediction of the horizontal segmentation production of shale gas wells is achieved, and the production efficiency is improved. Recovery factor.
Patent Information
- Application Number
- CN202410801018.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-24
AI Technical Summary
When the existing technology determines the segmented production of horizontal wells in shale gas wells, the method is single and the analysis is incomplete, resulting in low reliability of segmented production prediction and failure to accurately reflect the overall situation.
By obtaining the main influencing factors of each horizontal segment of the target shale gas well, a segmented production prediction model is constructed, and historical parameters and preset models are used for prediction to ensure the accuracy and reliability of the model.
It achieves accurate prediction of horizontal segmented production of shale gas wells, improves the reliability and accuracy of prediction, and helps improve recovery rates.
Smart Images

Figure CN118690906A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method, device, equipment and storage medium for predicting segmented production of a shale gas well. Background Art
[0002] Shale gas fracturing technology is one of the key technologies in modern shale gas exploitation and production increase, and multi-stage fracturing technology (staged fracturing technology) is one of the important technologies in fracturing production increase technology. For shale gas staged fracturing, accurately determining the staged production of horizontal wells is the key to implementing development and production increase measures and improving the ultimate recovery rate.
[0003] At present, the conventional methods for determining the production of horizontal well segments are mainly analytical formula method and numerical simulation method, most of which are developed based on the production capacity calculation formula of horizontal wells after reservoir fracturing. Conventional methods consider relatively single factors and the analysis is not comprehensive, which cannot accurately reflect the overall situation of segment production, making the prediction results of segment production low in reliability. Summary of the invention
[0004] The present invention provides a method, device, equipment and storage medium for predicting the segmented production of a shale gas well, so as to realize accurate prediction of the horizontal segmented production of a shale gas well.
[0005] According to one aspect of the present invention, a method for predicting the segmented production of a shale gas well is provided, the method comprising:
[0006] Obtaining a target main controlling factor for each target horizontal segment of a target shale gas well, wherein the main controlling factor is a main factor affecting the horizontal segment production of the shale gas well;
[0007] Determine the historical parameters of each reference horizontal segment of the shale gas well, and construct a segment production prediction model based on the historical parameters and a preset model, wherein the historical parameters include the historical main controlling factors and the historical production of each reference horizontal segment, and the segment production prediction model is a model that takes the main controlling factors of each horizontal segment as input and the production as output;
[0008] The target main controlling factor of each target horizontal segment is input into the segment production prediction model to determine the target production of each target horizontal segment of the target shale gas well.
[0009] According to another aspect of the present invention, a device for predicting the segmented production of a shale gas well is provided, the device comprising:
[0010] A factor determination module, used to obtain a target main control factor for each target horizontal segment of a target shale gas well, wherein the main control factor is a main factor affecting the horizontal segment production of the shale gas well;
[0011] A model building module, used to determine the historical parameters of each reference horizontal segment of the shale gas well, and to build a segment production prediction model based on the historical parameters and a preset model, wherein the historical parameters include the historical main controlling factors and the historical production of each reference horizontal segment, and the segment production prediction model is a model that takes the main controlling factors of each horizontal segment as input and the production as output;
[0012] The production determination module is used to input the target main control factor of each target horizontal segment into the segment production prediction model to determine the target production of each target horizontal segment of the target shale gas well.
[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program that can be executed 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 method for predicting the segmented production of a shale gas well as described in any embodiment of the present invention.
[0017] 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 enable a processor to implement the method for predicting the segmented production of a shale gas well as described in any embodiment of the present invention when executed.
[0018] The technical solution of the embodiment of the present invention obtains the target main controlling factors of each target horizontal segment of the target shale gas well, the main controlling factors are the main factors affecting the horizontal segment production of the shale gas well; determines the historical parameters of each reference horizontal segment of the shale gas well, and constructs a segment production prediction model based on the historical parameters and a preset model, the historical parameters include the historical main controlling factors and historical production of each reference horizontal segment, and the segment production prediction model is a model with the main controlling factors of each horizontal segment as input and the production as output; the target main controlling factors of each target horizontal segment are input into the segment production prediction model to determine the target production of each target horizontal segment of the target shale gas well. The technical solution of the present invention predicts the horizontal segment production of the shale gas well by constructing a segment production prediction model, thereby realizing accurate prediction of the horizontal segment production of the shale gas well.
[0019] 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
[0020] 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.
[0021] Figure 1 This is a flow chart of a method for predicting segmented production of a shale gas well provided according to an embodiment of the present invention;
[0022] Figure 2 This is a flow chart of a method for predicting segmented production of a shale gas well provided according to an embodiment of the present invention;
[0023] Figure 3 is a schematic diagram of the structure of a device for predicting the segmented production of a shale gas well provided according to an embodiment of the present invention;
[0024] Figure 4 It is a schematic diagram of the structure of an electronic device for implementing the method for predicting the segmented production of a shale gas well according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] 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.
[0026] 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.
[0027] Embodiment 1
[0028] Figure 1A flow chart of a method for predicting the segmented production of a shale gas well provided in an embodiment of the present invention. This embodiment is applicable to the situation of predicting the segmented production of a shale gas well. The method can be executed by a device for predicting the segmented production of a shale gas well. The device for predicting the segmented production of a shale gas well can be implemented in the form of hardware and / or software. The device for predicting the segmented production of a shale gas well can be configured in any electronic device with network communication function.
[0029] like Figure 1 As shown, the method for predicting the segmented production of shale gas wells of the present invention includes the following process:
[0030] S110, obtaining a target main controlling factor of each target horizontal segment of the target shale gas well, where the main controlling factor is a main factor affecting the horizontal segment production of the shale gas well.
[0031] Specifically, multi-stage fracturing technology (staged fracturing technology) is one of the important technologies in fracturing production increase technology. By using plugging or flow limiting technology to separate different layers of the reservoir, staged fracturing can complete the fracturing of multiple reservoirs at one time in a short period of time, minimize damage to the reservoir, and realize multi-layer joint mining, thereby achieving the purpose of increasing single well production and maximizing the utilization of geological reserves.
[0032] The present invention adopts segmented fracturing technology for the exploitation of gas in shale gas wells. Therefore, the target shale gas well is treated with plugging or flow limiting technology to separate the reservoir, thereby obtaining multiple target horizontal segments. In order to accurately predict the production of each target horizontal segment, it is necessary to obtain the target main controlling factors of each target horizontal segment of the target shale gas well, so as to facilitate the subsequent analysis of the target main controlling factors to obtain accurate production predictions.
[0033] Specifically, the main controlling factors may be determined as follows:
[0034] The historical main controlling factors and historical production corresponding to different horizontal segments of different shale gas wells are obtained; then the correlation coefficient between the historical main controlling factors and the historical production corresponding to each horizontal segment is calculated, and whether the historical main controlling factor is the main controlling factor of the horizontal segment is determined by the strength of the correlation corresponding to the correlation coefficient, thereby determining the main controlling factors corresponding to different horizontal segments of the shale gas well; thereafter, after determining the target shale gas well for which horizontal segment production prediction is required, the main controlling factors corresponding to the different horizontal segments determined by the above process can be used as the target main controlling factors of each target horizontal segment of the target shale gas well.
[0035] For example, the main control factors may include but are not limited to the parameters shown in Table 1 below:
[0036] Table 1 Main controlling factors
[0037] Serial number Parameters Serial number Parameters 1 Sonic Time Difference 14 Horizontal section length 2 density 15 Perforation cluster number 3 Natural Gamma 16 Cluster spacing 4 Porosity 17 Perforation thickness 5 Permeability 18 Kongmi 6 Saturation 19 Displacement 7 Clay content 20 Pump pressure 8 TOC Content 21 Liquid volume 9 Total gas content 22 Temporary plugging agent 10 Degree of crack development 23 Total amount of proppant 11 Young's modulus 24 Liquid Strength 12 Poisson's ratio 25 Sand Adding Strength 13 Brittleness Index 26 Horizontal minimum principal stress
[0038] S120, determining historical parameters of each reference horizontal segment of the shale gas well, and constructing a segment production prediction model based on the historical parameters and a preset model.
[0039] Among them, the historical parameters include the historical main controlling factors and historical output of each reference level segment. The segmented output prediction model is a model with the main controlling factors of each level segment as input and the output as output.
[0040] The preset model can be a model used to train historical parameters. The preset model includes at least an applied gradient boosting model, a neural network model and a support vector machine model. The applied gradient boosting model is a model that uses an applied gradient boosting algorithm for calculation, the neural network model is a model that uses a neural network algorithm for calculation, and the support vector machine model is a model that uses a support vector machine algorithm for calculation.
[0041] Specifically, the preset model is trained according to the historical parameters to obtain at least one trained model. The prediction results of the trained model can be analyzed to determine the accuracy of the prediction results of the trained model. The model with an accuracy reaching a preset threshold is used as the segmented yield prediction model. If there are at least two segmented yield prediction models, the proportion of the prediction results of the segmented yield prediction models is determined according to the accuracy of the two models to determine the weight of each segmented yield prediction model, so that after the segmented yield prediction model is used for prediction, the prediction results are weighted averaged according to the weight to obtain the yield of the reference level segment. For example, if the segmented yield prediction models obtained have two models, A and B, and the A model accounts for 80% and the B model accounts for 20%, then the weight of the A model is 4 / 5, the weight of the B model is 1 / 5, and the final segmented yield prediction model is (4 / 5)A+(1 / 5)B.
[0042] S130, inputting the target main control factor of each target horizontal segment into the segment production prediction model to determine the target production of each target horizontal segment of the target shale gas well.
[0043] Specifically, a segmented production prediction model and target main controlling factors of each target horizontal segment are obtained, and then the target main controlling factors of each target horizontal segment are input into the segmented production prediction model to obtain the target production of each target horizontal segment of the target shale gas well.
[0044] The technical solution of the embodiment of the present invention obtains the target main controlling factors of each target horizontal segment of the target shale gas well, the main controlling factors are the main factors affecting the horizontal segment production of the shale gas well; determines the historical parameters of each reference horizontal segment of the shale gas well, and constructs a segment production prediction model based on the historical parameters and a preset model, the historical parameters include the historical main controlling factors and historical production of each reference horizontal segment, and the segment production prediction model is a model with the main controlling factors of each horizontal segment as input and the production as output; the target main controlling factors of each target horizontal segment are input into the segment production prediction model to determine the target production of each target horizontal segment of the target shale gas well. The technical solution of the present invention predicts the horizontal segment production of the shale gas well by constructing a segment production prediction model, thereby realizing accurate prediction of the horizontal segment production of the shale gas well.
[0045] Embodiment 2
[0046] Figure 2 It is a flow chart of a method for predicting the segmented production of a shale gas well provided in an embodiment of the present invention. The technical solution of this embodiment is to further optimize the process of S120 in the aforementioned embodiment on the basis of the above embodiment, that is, to further describe the construction process of the segmented production prediction model in detail. This embodiment can be combined with various optional schemes in one or more of the above embodiments.
[0047] S210. Determine historical parameters of each reference horizontal segment of the shale gas well.
[0048] Among them, the historical parameters include the historical main controlling factors and historical output of each reference level segment. The segmented output prediction model is a model with the main controlling factors of each level segment as input and the output as output.
[0049] Specifically, determining the historical parameters of each reference horizontal segment of the shale gas well may include the following steps A1-A3:
[0050] Step A1: Obtain the historical influencing factors and historical production of each reference horizontal segment of the shale gas well; the historical influencing factors are factors that affect the production of the horizontal segments of the shale gas well.
[0051] Specifically, the historical influencing factors and historical production of each reference horizontal segment of the shale gas well can be obtained by collating and analyzing the collected geological data, well logging data, fracturing construction data, gas production profile data, oil and gas production data and other information.
[0052] Step A2: pre-process the historical influencing factors of the reference level segment to obtain processed factors of the reference level segment.
[0053] Specifically, preprocessing may include missing value processing, normalization processing, and conflict value processing. For example, missing value processing may be to supplement wells with partially missing data, and to eliminate missing data in logging data, fracturing data, and other data; conflict value processing may be a method of processing data by formulating abnormal data judgment and processing rules.
[0054] Step A3, determine the correlation coefficient between the historical output of the reference level segment and the processed factors, determine the main controlling factors of each reference level segment based on the correlation coefficient, and use the main controlling factors as the historical main controlling factors, and use the historical main controlling factors and historical output of each reference level segment as the historical parameters of each reference level segment; there is a correlation between the correlation coefficient and the main controlling factors.
[0055] Specifically, the correlation coefficient r between the historical production of the reference level segment and the post-processing factors can be determined using the following formula:
[0056]
[0057] Among them, X is the processed factor of the reference level segment, and Y is the historical output of the reference level segment.
[0058] The correlation coefficient and the main controlling factors have a correlation relationship, which can be determined using the following Table 2:
[0059] Table 2 Correlation strength corresponding to the correlation coefficient
[0060] 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≤|r|≤0.2 Very weak or no correlation
[0061] That is, the main controlling factors of each reference level segment can be determined based on the correlation coefficient and Table 2, and the main controlling factors can be used as historical main controlling factors, thereby achieving accurate determination of the main controlling factors.
[0062] S220. Train the preset model according to historical parameters to obtain at least three candidate models, determine the accuracy of the at least three candidate models, and use the model with the highest accuracy among the at least three candidate models as the segmented production prediction model. The historical parameters include the historical main controlling factors and historical production of each reference level segment.
[0063] Specifically, the historical parameters are divided into a training set and a test set, and the preset model is trained using the training set to obtain at least three candidate models; the at least three candidate models are further tested using the test set to obtain prediction errors of the at least three candidate models, and the accuracy of the at least three candidate models is determined based on the prediction errors, that is, the candidate model whose prediction error of at least three candidate models reaches a preset error value is determined as the model with the highest accuracy, and is used as the segmented yield prediction model.
[0064] Optionally, determining the accuracy of at least three candidate models may also include: using a voting method to determine the weight ratios of the at least three candidate models, and using the weight ratios as the accuracy of the at least three candidate models, the weight ratios are used to describe the accuracy of the prediction results of the candidate models, and the sum of the weight ratios of all candidate models is 1. The voting method may be, but is not limited to, an absolute majority voting method.
[0065] Optionally, taking the model with the highest accuracy among at least three candidate models as the segmented yield prediction model may include the following steps B1-B3:
[0066] Step B1: Determine whether the accuracy is greater than or equal to a preset value.
[0067] The preset value may be set according to actual needs, such as 50%.
[0068] Step B2: If there is an accuracy greater than or equal to the preset value, the candidate model corresponding to the maximum accuracy among the accuracies greater than or equal to the preset value is used as the segmented production prediction model.
[0069] For example, if the preset value is set to be greater than or equal to 50%, then only one of the at least three candidate models will have an accuracy greater than 50%, and the candidate model will be used as the segmented yield prediction model.
[0070] Step B3: If the accuracy is less than the preset value, the historical parameters of each reference horizontal segment of the shale gas well are re-determined, and a segmented production prediction model is constructed based on the historical parameters and the preset model. The historical parameters include the historical main controlling factors and historical production of each reference horizontal segment. The segmented production prediction model is a model with the main controlling factors of each horizontal segment as input and the production as output.
[0071] This embodiment determines whether the accuracy of at least three candidate models is greater than or equal to a preset value, and then further determines the segmented production prediction model, thereby achieving accurate determination of the segmented production prediction model.
[0072] S230, obtaining a target main controlling factor for each target horizontal segment of the target shale gas well, and inputting the target main controlling factor for each target horizontal segment into a segment production prediction model to determine a target production of each target horizontal segment of the target shale gas well.
[0073] The technical solution of the embodiment of the present invention determines the historical parameters of each reference horizontal segment of the shale gas well, further trains the preset model according to the historical parameters to obtain at least three candidate models, determines the accuracy of the at least three candidate models, and uses the model with the highest accuracy among the at least three candidate models as the segmented production prediction model, thereby achieving accurate determination of the segmented production prediction model, thereby obtaining the target main controlling factors of each target horizontal segment of the target shale gas well, and inputting the target main controlling factors of each target horizontal segment into the segmented production prediction model to determine the target production of each target horizontal segment of the target shale gas well, thereby achieving accurate prediction of the horizontal segment production of shale gas wells.
[0074] Embodiment 3
[0075] Figure 3 A schematic diagram of the structure of a device for predicting the segmented production of a shale gas well provided in an embodiment of the present invention. This embodiment can be applied to the situation of predicting the segmented production of a shale gas well. The device for predicting the segmented production of a shale gas well can be implemented in the form of hardware and / or software. The device for predicting the segmented production of a shale gas well can be configured in any electronic device with network communication function.
[0076] like Figure 3 As shown, the prediction device for shale gas well segmented production includes:
[0077] A factor determination module 210 is used to obtain a target main control factor for each target horizontal segment of a target shale gas well, wherein the main control factor is a main factor affecting the horizontal segment production of the shale gas well;
[0078] A model building module 220 is used to determine the historical parameters of each reference horizontal segment of the shale gas well, and to build a segment production prediction model based on the historical parameters and a preset model, wherein the historical parameters include the historical main controlling factors and the historical production of each reference horizontal segment, and the segment production prediction model is a model that takes the main controlling factors of each horizontal segment as input and the production as output;
[0079] The production determination module 230 is used to input the target main control factor of each target horizontal segment into the segment production prediction model to determine the target production of each target horizontal segment of the target shale gas well.
[0080] Optionally, the model building module comprises a parameter determination unit, configured to:
[0081] Obtaining historical influencing factors and historical production of each reference horizontal segment of the shale gas well; the historical influencing factors are factors that affect the production of the horizontal segment of the shale gas well;
[0082] Preprocessing the historical influencing factors of the reference level segment to obtain processed factors of the reference level segment;
[0083] Determine the correlation coefficient between the historical output of the reference level segment and the post-processing factors, determine the main controlling factors of each reference level segment based on the correlation coefficient, and use the main controlling factors as the historical main controlling factors, and use the historical main controlling factors and historical output of each reference level segment as the historical parameters of each reference level segment; there is a correlation relationship between the correlation coefficient and the main controlling factors.
[0084] Optionally, the model building module includes a prediction model building unit for:
[0085] Training the preset model according to the historical parameters to obtain at least three candidate models;
[0086] The accuracy of at least three candidate models is determined, and the model with the highest accuracy among the at least three candidate models is used as the segmented production prediction model, wherein the historical parameters include the historical main controlling factors and historical production of each reference level segment.
[0087] Optionally, the prediction model building unit includes a training unit for:
[0088] Splitting the historical parameters into a training set and a test set;
[0089] Use the training set to train the preset model to obtain at least three candidate models;
[0090] Optionally, the prediction model building unit includes a first model accuracy determination unit, configured to:
[0091] At least three candidate models are tested using a test set to obtain prediction errors of the at least three candidate models, and the accuracy of the at least three candidate models is determined based on the prediction errors.
[0092] Optionally, the prediction model building unit includes a second model accuracy determination unit, configured to:
[0093] A voting method is used to determine the weight ratios of at least three candidate models, and the weight ratios are used as the accuracy of the at least three candidate models. The weight ratios are used to describe the accuracy of the prediction results of the candidate models, and the sum of the weight ratios of all the candidate models is 1.
[0094] Optionally, the prediction model building unit includes a segmented yield prediction model determination unit, which is used to:
[0095] Determining whether the accuracy is greater than or equal to a preset value;
[0096] If there is an accuracy greater than or equal to the preset value, the candidate model corresponding to the maximum accuracy among the accuracies greater than or equal to the preset value is used as the segmented yield prediction model;
[0097] If the accuracy is less than the preset value, the historical parameters of each reference horizontal segment of the shale gas well are re-determined, and a segment production prediction model is constructed based on the historical parameters and the preset model. The historical parameters include the historical main controlling factors and historical production of each reference horizontal segment. The segment production prediction model is a model with the main controlling factors of each horizontal segment as input and the production as output.
[0098] Optionally, the preset model includes at least an applied gradient boosting model, a neural network model and a support vector machine model.
[0099] The device for predicting the segmented production of a shale gas well provided in an embodiment of the present invention can execute the method for predicting the segmented production of a shale gas well provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0100] Embodiment 4
[0101] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0102] Figure 4 A schematic diagram of the structure of an electronic device that can be used to implement the method for predicting the segmented production of shale gas wells of 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, workbenches, 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.
[0103] like Figure 4As 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.
[0104] 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.
[0105] 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 method for predicting the segmented production of a shale gas well.
[0106] In some embodiments, the method for predicting the production of shale gas well segmentation 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 method for predicting the production of shale gas well segmentation described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the method for predicting the production of shale gas well segmentation by any other appropriate means (for example, by means of firmware).
[0107] 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), complex 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.
[0108] 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.
[0109] 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.
[0110] 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).
[0111] 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.
[0112] 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.
[0113] 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.
[0114] 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 method for predicting the segmented production of a shale gas well, characterized in that: The method comprises: Obtaining a target main controlling factor for each target horizontal segment of a target shale gas well, wherein the main controlling factor is a main factor affecting the horizontal segment production of the shale gas well; Determine the historical parameters of each reference horizontal segment of the shale gas well, and construct a segment production prediction model based on the historical parameters and a preset model, wherein the historical parameters include the historical main controlling factors and the historical production of each reference horizontal segment, and the segment production prediction model is a model that takes the main controlling factors of each horizontal segment as input and the production as output; The target main controlling factor of each target horizontal segment is input into the segment production prediction model to determine the target production of each target horizontal segment of the target shale gas well.
2. The method according to claim 1, characterized in that Determine the historical parameters of each reference horizontal segment of the shale gas well, including: Obtaining historical influencing factors and historical production of each reference horizontal segment of the shale gas well; the historical influencing factors are factors that affect the production of the horizontal segment of the shale gas well; Preprocessing the historical influencing factors of the reference level segment to obtain processed factors of the reference level segment; Determine the correlation coefficient between the historical output of the reference level segment and the post-processing factors, determine the main controlling factors of each reference level segment based on the correlation coefficient, and use the main controlling factors as the historical main controlling factors, and use the historical main controlling factors and historical output of each reference level segment as the historical parameters of each reference level segment; there is a correlation relationship between the correlation coefficient and the main controlling factors.
3. The method according to claim 2, characterized in that A segmented production prediction model is constructed based on the historical parameters and the preset model, including: Training the preset model according to the historical parameters to obtain at least three candidate models; The accuracy of at least three candidate models is determined, and the model with the highest accuracy among the at least three candidate models is used as the segmented production prediction model, wherein the historical parameters include the historical main controlling factors and historical production of each reference level segment.
4. The method according to claim 3, characterized in that The preset model is trained according to the historical parameters, including: Splitting the historical parameters into a training set and a test set; Use the training set to train the preset model to obtain at least three candidate models; Accordingly, the accuracy of at least three candidate models is determined, including: At least three candidate models are tested using a test set to obtain prediction errors of the at least three candidate models, and the accuracy of the at least three candidate models is determined based on the prediction errors.
5. The method according to claim 3, characterized in that: Determine the accuracy of at least three candidate models, including: A voting method is used to determine the weight ratios of at least three candidate models, and the weight ratios are used as the accuracy of the at least three candidate models. The weight ratios are used to describe the accuracy of the prediction results of the candidate models, and the sum of the weight ratios of all the candidate models is 1.
6. The method according to claim 5, characterized in that The model with the highest accuracy among at least three candidate models is used as the segmented production prediction model, including: Determining whether the accuracy is greater than or equal to a preset value; If there is an accuracy greater than or equal to the preset value, the candidate model corresponding to the maximum accuracy among the accuracies greater than or equal to the preset value is used as the segmented yield prediction model; If the accuracy is less than the preset value, the historical parameters of each reference horizontal segment of the shale gas well are re-determined, and a segment production prediction model is constructed based on the historical parameters and the preset model. The historical parameters include the historical main controlling factors and historical production of each reference horizontal segment. The segment production prediction model is a model with the main controlling factors of each horizontal segment as input and the production as output.
7. The method according to any one of claims 1, 3 and 4, characterized in that: The preset model at least includes applying a gradient boosting model, a neural network model and a support vector machine model.
8. A device for predicting the segmented production of shale gas wells, characterized in that: The device comprises: A factor determination module, used to obtain a target main control factor for each target horizontal segment of a target shale gas well, wherein the main control factor is a main factor affecting the horizontal segment production of the shale gas well; A model building module, used to determine the historical parameters of each reference horizontal segment of the shale gas well, and to build a segment production prediction model based on the historical parameters and a preset model, wherein the historical parameters include the historical main controlling factors and the historical production of each reference horizontal segment, and the segment production prediction model is a model that takes the main controlling factors of each horizontal segment as input and the production as output; The production determination module is used to input the target main control factor of each target horizontal segment into the segment production prediction model to determine the target production of each target horizontal segment of the target shale gas well.
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 method for predicting the segmented production of a shale gas well as 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 method for predicting the segmented production of a shale gas well according to any one of claims 1 to 7 when executed.
