Shale oil and gas reservoir fracturing well network-fracture network optimization method based on machine learning
By optimizing the well network-fracture network parameters of shale oil and gas reservoirs through methods based on machine learning, the complexity of multi-scale-multi-phase-multi-field coupling in shale oil and gas reservoirs is solved, the optimization efficiency and economy are improved, and the realization for more efficient shale oil and gas reservoir development.
Patent Information
- Application Number
- CN202310293416.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2024-09-24
AI Technical Summary
In shale oil and gas reservoirs, the complexity of reservoir numerical simulation with multi-scale-multi-phase-multi-field coupling makes it difficult for conventional intelligent optimization algorithms to be executed quickly, increasing optimization time, and complex "well factory" well location interference reduces the performance of horizontal wells. The applicability of the mesh-slit mesh optimization method urgently requires targeted optimization technology.
A method based on machine learning is used to establish a geological model of shale oil and gas reservoirs, calculate the oil and gas reservoir production value of well network and fracture network parameters through a oil and gas reservoir simulator, construct a data sample set, train a machine learning agent network model, and combine multi-layer agent-assisted Particle swarm optimization algorithm optimizes well network and fracture network parameters to obtain the optimal combination of economic indicators.
It significantly improves the calculation efficiency of well pattern-fracture network parameter combination optimization, reduces the reliance on reservoir numerical simulation, improves the economic net present value of shale oil and gas reservoir development, and simplifies the optimization process.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The present invention relates to the field of oil and gas exploration technology, and in particular to a shale oil and gas reservoir fracturing well network-fracture network optimization method, device, computer-readable storage medium and electronic equipment based on machine learning. Background Art
[0002] my country has rich shale gas reserves and great development potential. At the same time, natural gas is a clean energy. Under the premise of China's rapid growth in energy demand, reducing greenhouse gas emissions and improving energy structure, in-depth research on shale gas recovery technology and production capacity estimation methods is of great significance to the sustainable and healthy development of my country's national economy. The rock reservoir is dense and the geological structure is complex. Improving the degree of utilization is the key to dense and efficient development. Usually, large-scale hydraulic fracturing of horizontal wells is required to form effective production capacity. In recent years, the scale of unconventional oil and gas resource development has been growing, and the industry's understanding of it has become more mature. However, the key technologies of fracture simulation and optimization design for shale oil and gas development still need to be improved.
[0003] In unconventional reservoirs, the "well factory" development technology is considered to be the most effective horizontal well development technology because it can not only maximize oil production but also significantly reduce operating costs by drilling a group of wells on one well site. Driven by economic factors, multi-well site technology has been widely used in the development of unconventional tight oil and gas reservoirs and shale oil and gas reservoirs. As one of the most important innovations, multi-well stations can not only significantly increase oil production, but also show great economic potential during the construction process. Although the corresponding technology has made considerable progress, determining the optimal well spacing, layout configuration and production enhancement measures design is crucial to optimizing the oil and gas production of multi-well sites in unconventional blocks.
[0004] Reasonable optimization of fracturing fractures and well layout in unconventional oil and gas fields is very difficult, and usually requires the use of reservoir models and numerical optimization methods to obtain higher oil and gas recovery rates or economic net present values. Reservoir numerical simulation is an important part of our optimization of fracture parameters and well network parameters, and its simulation results are used to calculate the optimization objectives. However, each evaluation of the objective function requires calling a numerical simulator for simulation calculations. Therefore, the objective function evaluation based on the numerical simulator consumes a lot of calculations, which greatly affects the optimization efficiency.
[0005] In the invention patent "A method for optimizing the spacing between clusters of shale gas fracturing horizontal wells" (CN201910137958.8), the segmented multi-cluster fracturing induced stress calculation model that considers the stress barrier and stress interference effects when multiple cracks expand simultaneously and the effective net pressure change is more in line with the actual working conditions and has higher accuracy, and can provide more accurate theoretical guidance for the optimization design of segmented multi-cluster fracturing of horizontal wells; in the invention patent "A method for optimizing fracturing parameters for shale oil horizontal wells" (CN202111581397.4), a shale oil horizontal well full life cycle capacity prediction model is established based on the heterogeneous characteristics of shale oil fracturing horizontal wells, wellbore flow characteristics, hydraulic fracturing data and production decline law characteristics, and a fracturing parameter economic evaluation model is established. The fracturing parameter economic evaluation model is based on the output of a single well, the investment cost of a single well, and tax parameters. The economic evaluation model of the fracturing parameters is used to obtain the critical value of the completion index, and the critical value of the completion index is the value when the economic benefit obtained according to the optimal fracturing parameters reaches the maximum or critical value; in the invention patent "A method for optimizing fracturing parameters of shale gas horizontal wells" (CN201810208597.7), according to the limit formation pressure of fault slip and the formation pressure map, the safety distance, the stable formation pressure of safe fracturing and the safe fracturing wellhead pressure are obtained; in the invention patent "A method and device for determining fracturing parameters of multi-stage fracturing horizontal wells in shale reservoirs" (CN202110446185.9), the geological parameters, the length of the horizontal section, the fracturing parameters and the test production are nonlinearly fitted, so that the predicted fracturing parameters comprehensively consider various geological parameters, and improve the applicability and accuracy of the fracturing parameters in shale reservoirs.
[0006] In summary, the main problems involved in the design of fractures and well layout optimization for unconventional shale reservoir fracturing include: (1) The multi-scale, multi-phase, and multi-field coupled reservoir numerical simulation is complex and time-consuming, which makes it difficult for conventional intelligent optimization algorithms to be quickly executed, and the optimization time increases explosively; (2) The complex "well factory" well locations aggravate the interference between wells and fractures, making the horizontal well-fracture network optimization method applicable to conventional oil fields less applicable, and targeted optimization technology is urgently needed. Therefore, how to use a small number of reservoir numerical simulations to achieve efficient combined optimization of well-fracture network parameters is a technical problem that needs to be solved urgently. Summary of the invention
[0007] In response to the above problems, embodiments of the present invention provide a method, device, computer-readable storage medium and electronic device for optimizing a shale oil and gas reservoir fracturing well pattern and fracture pattern based on machine learning.
[0008] In a first aspect, an embodiment of the present invention provides a method for optimizing a shale oil and gas reservoir fracturing well pattern and fracture pattern based on machine learning, comprising:
[0009] S100, establish a geological model of shale oil and gas reservoirs in the study area;
[0010] S200, obtaining the well pattern-fracture network parameters to be optimized for the shale oil and gas reservoir, and calculating the oil and gas reservoir production value corresponding to the well pattern-fracture network parameters to be optimized using an oil and gas reservoir simulator according to the geological model of the shale oil and gas reservoir, and collecting the well pattern-fracture network parameters to be optimized and the corresponding oil and gas reservoir production values to construct a data sample set;
[0011] S300, using the data sample set to train a preconfigured machine learning agent network model, and optimizing the hyperparameters of the machine learning agent network model according to a preset error index to obtain a machine learning agent network model that meets the accuracy requirements; wherein the machine learning agent network model is used to describe the functional relationship between the well pattern-fracture network parameters of the shale oil and gas reservoir and the oil and gas reservoir output value;
[0012] S400, based on a machine learning agent network model that meets the accuracy requirements, a multi-layer agent-assisted particle swarm optimization algorithm is used to optimize the combination of the well pattern-fracture network parameters, so as to obtain the optimal well pattern-fracture network parameters that meet the economic indicators.
[0013] According to an embodiment of the present invention, in the above step S100, based on the logging data and seismic data obtained in the geological exploration stage, the shale oil and gas reservoir is subjected to geological parameter modeling and natural fracture modeling using the Gaussian sequential algorithm and the ant tracking algorithm, thereby establishing a geological model of the shale oil and gas reservoir.
[0014] According to an embodiment of the present invention, in the above step S200, the Latin super cubic sampling method is used to randomly generate the well pattern-fracture network parameters to be optimized for the shale oil and gas reservoir; and a reservoir numerical simulator is used to calculate the corresponding oil and gas reservoir production value based on the well pattern-fracture network parameters to be optimized.
[0015] According to an embodiment of the present invention, in the above step S200, the well network-fracture network parameters to be optimized include at least one parameter of horizontal well position, horizontal well length, horizontal well inclination, fracture half-length, and number of fractures; the oil and gas reservoir output value includes at least one value of oil and gas reservoir output and oil and gas reservoir net present value.
[0016] According to an embodiment of the present invention, in the above step S300, a radial basis function and a neural network model are constructed as the machine learning agent network model; the data sample set is divided into a training set, a test set and a validation set; the radial basis function and the neural network model are trained using the training set, the hyperparameters of the model are optimized using the test set, and the accuracy of the radial basis function and the neural network model is detected using the validation set.
[0017] According to an embodiment of the present invention, in the above step S300, the hyperparameter includes at least one parameter of the number of neurons, the number of network layers, and the radial basis radius.
[0018] According to an embodiment of the present invention, in the above step S400, the initial radial basis function and neural network model are used as low-precision proxy models to globally pre-screen current particles, and the high-precision reservoir model is used to locally generate next step particles.
[0019] According to an embodiment of the present invention, step S400 includes:
[0020] (1) Arrange the samples in descending order according to the NPV value, and select N particles as the PSO primary population;
[0021] (2) constructing an adaptive machine learning agent network model using a predetermined number of samples;
[0022] (3) Use the SLPSO finder to learn the optimal solution of the agent network model and store it in the sample library;
[0023] (4) Retrain the machine learning agent network model;
[0024] (5) Using the trained machine learning agent network model to evaluate the particle fitness value and mark it;
[0025] (6) Run the numerical simulation on the marked examples to obtain the NPV and store it in the sample library;
[0026] (7) Update individual optimum and global optimum.
[0027] In a second aspect, the present invention further provides a shale oil and gas reservoir fracturing well pattern-fracture pattern optimization device based on machine learning, characterized in that it comprises:
[0028] The geological model building module is used to build the geological model of shale oil and gas reservoirs in the research area;
[0029] A data sample collection module, used to obtain the well pattern-fracture network parameters to be optimized for the shale oil and gas reservoir, and calculate the oil and gas reservoir production value corresponding to the well pattern-fracture network parameters to be optimized using an oil and gas reservoir simulator according to the geological model of the shale oil and gas reservoir, and collect the well pattern-fracture network parameters to be optimized and the corresponding oil and gas reservoir production value to construct a data sample set;
[0030] An agent model building module, used to train a preconfigured machine learning agent network model using the data sample set, and optimize the hyperparameters of the machine learning agent network model according to a preset error index to obtain a machine learning agent network model that meets the accuracy requirements; wherein the machine learning agent network model is used to describe the functional relationship between the well pattern-fracture network parameters of the shale oil and gas reservoir and the oil and gas reservoir output value;
[0031] The parameter combination optimization module is used to optimize the combination of the well pattern-fracture network parameters based on the machine learning agent network model that meets the accuracy requirements by using a multi-layer agent-assisted particle swarm optimization algorithm, so as to obtain the optimal well pattern-fracture network parameters that meet the economic indicators.
[0032] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a shale oil and gas reservoir fracturing well network-fracture network optimization method based on machine learning as described in the first aspect.
[0033] In a fourth aspect, an embodiment of the present invention provides an electronic device, comprising:
[0034] processor;
[0035] a memory for storing instructions executable by the processor;
[0036] Among them, the processor is configured to execute the instructions to implement a shale oil and gas reservoir fracturing well network-fracture network optimization method based on machine learning as described in the first aspect.
[0037] Compared with the prior art, the above technical solution of the present invention has the following beneficial effects:
[0038] The present invention provides an agent-assisted shale oil and gas reservoir fracturing well network-fracture network optimization method, device, electronic device and storage medium. First, a geological model of the shale oil and gas reservoir in the research block is established; secondly, the Latin super cubic sampling method is used to generate key parameters such as the horizontal well position, horizontal well length, horizontal well inclination, fracture half-length, and number of fractures of the shale oil and gas reservoir to be optimized, and the corresponding net present value is calculated using a reservoir simulator to generate an initial training sample set. Then, the two agent models of radial basis function and neural network are trained using the generated training data set, and the error index is used to evaluate the influence of the training set size and model hyperparameters on the accuracy of the agent model. Finally, the optimized radial basis function and neural network are combined with the multi-layer agent-assisted particle swarm algorithm to realize the efficient combination optimization of the fracture network-well network parameters, and the optimal fracture network-well network parameters under a higher economic net present value are obtained. The method provided by the present invention greatly improves the calculation efficiency of the volume fracturing horizontal well fracture network-well network collaborative optimization under the "well factory" development mode. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 paying creative work.
[0040] Figure 1 It is a workflow diagram of a shale oil and gas reservoir fracturing well pattern-fracture pattern optimization method based on machine learning provided by an embodiment of the present invention;
[0041] Figure 2 A schematic diagram of a process for training a shale oil and gas reservoir fracturing well pattern-fracture pattern proxy model provided by an embodiment of the present invention;
[0042] Figure 3 A statistical distribution diagram of the horizontal well position, horizontal well length, horizontal well inclination, fracture half-length, and number of fractures waiting for optimization parameters provided in an embodiment of the present invention;
[0043] Figure 4 A schematic diagram of relative errors of the net present value predicted by the original reservoir numerical simulator and the proxy model provided by the embodiment of the present invention;
[0044] Figure 5 A schematic diagram of a specific implementation result of the shale oil and gas reservoir fracturing well pattern-fracture pattern optimization method provided by an embodiment of the present invention;
[0045] Figure 6 A schematic structural diagram of an electronic device embodiment provided by the present invention. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 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 are within the scope of protection of the present invention.
[0047] Embodiment 1
[0048] In the existing technology, the actual optimization of the pressure well network-fracture network parameter combination in unconventional shale oil and gas areas relies on running a large number of reservoir numerical simulators, which requires a lot of manpower, material resources and financial resources, and often takes several days to complete, which is extremely inefficient.
[0049] The technical concept of the present invention is how to quickly obtain the optimal pressure well network-fracture network parameter combination mode by running a small amount of numerical simulation based on the existing proxy model technology and intelligent optimization algorithm.
[0050] The technical solution of the present invention is described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0051] Figure 1 A schematic diagram of a process flow of a first embodiment of a proxy-assisted shale oil and gas reservoir fracturing well pattern-fracture pattern optimization method provided by the present invention. Figure 1 , the method comprising:
[0052] Step S101, establishing a geological model of shale oil and gas reservoirs in the research area;
[0053] Step S102, using the Latin super cubic sampling method to generate key parameters such as horizontal well position, horizontal well length, horizontal well inclination, fracture half-length, and number of fractures of the shale oil and gas reservoir to be optimized, and using a reservoir simulator to calculate the corresponding net present value to generate an initial training sample set;
[0054] Step S103: using the generated training data set to train two proxy models, radial basis function and neural network, and using error indicators to evaluate the impact of the training set size and model hyperparameters on the accuracy of the proxy model;
[0055] Step S104, combining the optimized radial basis function and neural network with the multi-layer agent-assisted particle swarm algorithm to achieve efficient combined optimization of well pattern-fracture network parameters, and obtain optimal fracture network-well pattern parameters with higher economic net present value.
[0056] In this embodiment, by modifying the MATLAB source program, the function is redefined based on a variety of Gaussian field sampling methods so that it can be used for geological modeling, especially the production of geological parameter fields in the petroleum field, such as randomly generating key parameters such as horizontal well position, horizontal well length, horizontal well inclination, fracture half-length, and number of fractures for shale oil and gas reservoirs to be optimized.
[0057] In this embodiment, the preconfigured reservoir network model is trained by a machine learning agent network model based on the functional relationship between the well pattern-fracture network parameters to be optimized and the shale gas production or net present value. The well pattern-fracture network parameters to be optimized are input into the reservoir network model to obtain the shale gas production and net present value corresponding to the well pattern-fracture network parameters to be optimized.
[0058] In this embodiment, a radial basis function and a neural network model are constructed, and the input data to be trained and the output data to be trained are divided into a training set, a test set and a validation set in a ratio of 8:1:1; the radial basis function and the neural network model are trained using the training set, and the model hyperparameters are optimized using the test set, wherein the hyperparameters include the number of neurons, the number of network layers, the radial basis radius, etc.; based on the root mean square error and the mean absolute error indicators, the accuracy of the radial basis function and the neural network model are compared on the validation set.
[0059] This embodiment uses radial basis functions and neural network proxy models to replace the original reservoir numerical simulator, which greatly reduces the operation of the original reservoir model and improves the inversion efficiency of geological parameters.
[0060] Figure 2 A schematic diagram of a flow chart of a second embodiment of an agent-assisted shale oil and gas reservoir fracturing well pattern-fracture pattern optimization method provided by the present invention. Figure 1 , refer to Figure 2 , methods to obtain preconfigured reservoir proxy models include:
[0061] Step S201, using the acquired key parameters such as horizontal well position, horizontal well length, horizontal well inclination, fracture half-length, and fracture number as inputs to be trained;
[0062] Step S202: using the original reservoir numerical simulator to process the input to be trained to obtain the corresponding shale gas production and net present value as the output to be trained;
[0063] Step S203: constructing radial basis function and artificial neural network models, and training the two proxy models according to the input to be trained and the output to be trained to obtain the preconfigured proxy model.
[0064] In a possible implementation, the well pattern-fracture pattern parameter field to be optimized includes: horizontal well position, horizontal well length, horizontal well inclination, fracture half-length, fracture number, etc., but is not limited thereto.
[0065] In this embodiment, the parameters to be optimized can be a random parameter field that conforms to the Gaussian distribution characteristics obtained based on the modification of the MATLAB source program. The acquired horizontal well position, horizontal well length, horizontal well inclination, fracture half-length, fracture number, etc. are input into the original reservoir numerical simulator to obtain the corresponding shale gas production data. This is repeated many times to obtain a training set with the well pattern-fracture pattern parameters to be optimized as the input to be trained and the shale gas production as the output to be trained. Figure 3 Schematic diagram of the training set of the preconfigured reservoir proxy model, where the (M) group of images are the input to be trained, and the (N) group of images are the output to be trained. Figure 3It is only for illustration and not for specific limitation.
[0066] Figure 3 The forecast results of annual average daily gas production and cumulative production for three different production times (i.e., the 1st, 10th, and 30th years) are shown. The horizontal axis represents the prediction results of Eclipse numerical simulation, and the vertical axis represents the prediction results of machine learning. In order to verify the impact of data set size on machine learning performance, 100 and 500 data sets are used to train machine learning models, respectively, and other independent 100 data sets are used to test machine learning accuracy. The black line represents the accurate prediction of the true value (Eclipse simulation), and the red and blue scatter points represent the machine learning prediction results. The closer the scatter points are to the black line, the better the predictability of the ML model. It can be found that the MLP model can predict all output features relatively accurately, very close to the black line. Compared with the cumulative gas production prediction model, the prediction of the daily gas production model is much worse, especially for the case of longer production time. The RMSE of the daily gas production model prediction value is much higher than that of the cumulative gas production prediction, while the R2 value is around 0.9, which is much lower than the R2 value of the cumulative gas production prediction. Therefore, in this case study, the MLP model is more suitable for predicting cumulative gas production. The MLP model takes 0.005 seconds to run, while the shale gas reservoir numerical simulator takes about 25 seconds to run. In comparison, the computational time of the machine learning model is reduced by 3 to 4 orders of magnitude, showing superior computational efficiency.
[0067] In this embodiment, the original reservoir numerical simulator is used to obtain multiple sets of inputs and outputs to be trained as validation sets to verify the accuracy of the preconfigured reservoir network model obtained through training. Optionally, the data volume ratio of the training set to the validation set can be 8:2.
[0068] In this embodiment, the quality of the pre-configured reservoir network model based on relative error is further verified. The absolute error formula is defined as follows: Formula (1).
[0069] Δx=(x0-x1) / x0 (1)
[0070] Where x0 represents the shale gas production predicted by the original reservoir numerical simulator; x1 represents the shale gas production predicted by the preconfigured reservoir proxy model at the same time.
[0071] To further verify the impact of dataset size on the accuracy of machine learning models. Figure 4Schematic diagram of relative error at two different moments predicted by the original reservoir numerical simulator and the preconfigured reservoir proxy model provided by the present invention. We give the relative error box plots of the machine learning models corresponding to 100 and 500 training data sets, and the overall average error is less than 5%, indicating high accuracy. Compared with the daily gas production model, the relative error of the cumulative gas production prediction model is smaller, at about 2%. In addition, we also show the time series prediction results of shale gas daily gas production and cumulative gas production. It can be seen that the cumulative shale gas production evolution trend can be almost correctly predicted. Increasing the number of training samples will significantly improve the prediction accuracy. Even with 100 training data sets, the prediction results of machine learning can match the real results. The prediction error mainly comes from the late production time. This phenomenon can be explained by the instability of the early production stage, so it shows a high degree of nonlinearity. The production dynamics gradually tend to be stable, so it shows a higher prediction accuracy.
[0072] In this embodiment, the acquired well network-fracture network parameters are used as the input to be trained, and the original reservoir numerical simulator is used to process the input to be trained to obtain the corresponding shale gas production, and as the output to be trained, and the constructed deep learning network model is trained according to the input to be trained and the output to be trained to obtain the preconfigured reservoir network model. In this embodiment, the particle swarm optimization algorithm (PSO) is preferably used. PSO is a population-based random method for solving continuous and discrete optimization problems. In the particle swarm optimization algorithm, simple software agent particles move in the search space of the optimization problem. The position of the particle represents the candidate solution of the current optimization problem. Each particle searches for a better position in space by changing its speed, which was originally inspired by the bird aggregation behavior model. Particle swarm optimization belongs to a class of swarm intelligence technologies for solving optimization problems. The multi-layer agent-assisted particle swarm optimization algorithm (HSPSO) to be used here is optimized based on the hierarchical combination of the traditional particle swarm (PSO) algorithm and the social learning particle swarm algorithm (SLPSO). The internal SLPSO is used to solve the optimal solution of the machine learning agent model, and the external PSO is iteratively solved based on the updated sample library.
[0073] Figure 5 A schematic diagram of the results of an agent-assisted shale oil and gas reservoir fracturing well network-fracture network optimization method provided by the present invention. The machine learning model is combined with the intelligent particle swarm optimization algorithm to optimize the fracture half-length, fracture number, fracture spacing and fracture conductivity. In the process of training the machine learning model, only the fracture spacing is used as input. In fact, the goal is to optimize the number of fractures, but the number of fractures is an integer. To overcome this problem, we mainly optimize the well spacing, and then the well spacing can be used to calculate the optimal number of fractures. For the DE algorithm, the population size is 50, the maximum number of iterations is 200, and the termination error is 1×10-6. Figure 5The evolution of NPV with respect to the algorithm iteration process is shown. In this numerical experiment, the three machine learning models were trained with 500 samples. 100 random solutions were generated based on LHS. The method provided in this embodiment greatly reduces the number of runs of the original reservoir numerical simulation required in the optimization process, simplifies the calculation, and improves the calculation efficiency.
[0074] The present embodiment provides a shale oil and gas reservoir fracturing well-fracture network optimization method based on machine learning. With the help of popular machine learning technologies in the field of big data mining and artificial intelligence, a systematic study and technical breakthrough are carried out on the scientific problems such as slow convergence speed and long iteration time of the traditional numerical simulation model for well-fracture network adjustment in the current "well factory" development mode of unconventional shale oil and gas reservoirs. The method combines reservoir development with big data mining, machine learning agent modeling and intelligent optimization to improve the overall optimization efficiency of the volume fracturing well-fracture network of shale gas reservoirs, promote the application and development of intelligent optimization theory and technology, provide theoretical guidance and technical support for accelerating the intelligent and digital development process of unconventional oil and gas reservoirs in my country, and also contribute to alleviating my country's energy tension and strategic security.
[0075] Embodiment 2
[0076] The following are embodiments of the device of the present invention, which can be used to implement the method embodiments of the present invention. For details not disclosed in the device embodiments of the present invention, please refer to the method embodiments of the present invention.
[0077] This embodiment provides a shale oil and gas reservoir fracturing well pattern-fracture pattern optimization device based on machine learning, comprising:
[0078] The geological model building module is used to build the geological model of shale oil and gas reservoirs in the research area;
[0079] A data sample collection module, used to obtain the well pattern-fracture network parameters to be optimized for the shale oil and gas reservoir, and calculate the oil and gas reservoir production value corresponding to the well pattern-fracture network parameters to be optimized using an oil and gas reservoir simulator according to the geological model of the shale oil and gas reservoir, and collect the well pattern-fracture network parameters to be optimized and the corresponding oil and gas reservoir production value to construct a data sample set;
[0080] An agent model building module, used to train a preconfigured machine learning agent network model using the data sample set, and optimize the hyperparameters of the machine learning agent network model according to a preset error index to obtain a machine learning agent network model that meets the accuracy requirements; wherein the machine learning agent network model is used to describe the functional relationship between the well pattern-fracture network parameters of the shale oil and gas reservoir and the oil and gas reservoir output value;
[0081] The parameter combination optimization module is used to optimize the combination of the well pattern-fracture network parameters based on the machine learning agent network model that meets the accuracy requirements by using a multi-layer agent-assisted particle swarm optimization algorithm, so as to obtain the optimal well pattern-fracture network parameters that meet the economic indicators.
[0082] Embodiment 3
[0083] This embodiment provides a computer-readable medium having a computer program stored thereon. When the program is executed by a processor, the various steps of the method for optimizing the well pattern and fracture pattern of shale oil and gas reservoirs based on machine learning as described in the above embodiment are implemented.
[0084] It should be noted that the present invention implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. Of course, there are other ways of readable storage media, such as quantum memory, graphene memory, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0085] Embodiment 4
[0086] Figure 6 FIG. 1 is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Figure 6 As shown, at the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Among them, the memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage, etc. Of course, the electronic device may also include hardware required for other services.
[0087] The processor, the network interface and the memory may be interconnected via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the figure is represented by only line segments, but it does not mean that there is only one bus or one type of bus.
[0088] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it. The processor executes the program stored in the memory to execute all the steps in the aforementioned shale oil and gas reservoir fracturing well network-fracture network optimization method based on machine learning.
[0089] The communication bus mentioned in the above device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is used for communication between the above electronic device and other devices.
[0090] The bus includes hardware, software or both, for coupling the above-mentioned components to each other. For example, the bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In suitable cases, the bus may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.
[0091] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0092] The memory may include a large capacity memory for data or instructions. By way of example and not limitation, the memory may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory may include a removable or non-removable (or fixed) medium. In a particular embodiment, the memory is a non-volatile solid-state memory. In a particular embodiment, the memory includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.
[0093] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0094] It should be noted that those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0095] The present invention provides a method, device, electronic device and storage medium for optimizing the well-fracture network of shale oil and gas reservoirs assisted by an agent. First, a geological model of the shale oil and gas reservoir in the research block is established; secondly, the Latin super cubic sampling method is used to generate the key parameters such as the horizontal well position, horizontal well length, horizontal well inclination, fracture half-length, and number of fractures of the shale oil and gas reservoir to be optimized, and the corresponding net present value is calculated using a reservoir simulator to generate an initial training sample set. Then, two agent models, radial basis function and neural network, are trained using the generated training data set, and the error index is used to evaluate the influence of the training set size and the model hyperparameters on the accuracy of the agent model. Finally, the optimized radial basis function and neural network are combined with a multi-layer agent-assisted particle swarm algorithm to realize the efficient combined optimization of the well-fracture network parameters, and obtain the optimal fracture network-well network parameters under a higher economic net present value. The method provided by the present invention can greatly improve the calculation efficiency of the volume fracturing horizontal well fracture network-well network collaborative optimization under the "well factory" development mode, and provide theoretical guidance and technical support for accelerating the intelligent development process of unconventional oil and gas reservoirs in my country.
[0096] The devices, equipment, systems, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a vehicle-mounted human-computer interaction device, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0097] Although the present invention provides method operation steps as described in the embodiments or flow charts, more or fewer operation steps may be included based on conventional or non-creative means. The order of steps listed in the embodiments is only one way of executing the order of many steps and does not represent the only execution order. When the device or terminal product in practice is executed, it can be executed in sequence or in parallel according to the method shown in the embodiments or the drawings (for example, in a parallel processor or multi-threaded processing environment, or even in a distributed data processing environment).
[0098] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0099] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0100] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0101] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0102] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, electronic device, and readable storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0103] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A method for optimizing the well pattern and fracture pattern of shale oil and gas reservoirs based on machine learning, characterized in that: The following steps are involved: S100, establish a geological model of shale oil and gas reservoirs in the study area; S200, obtaining the well pattern-fracture network parameters to be optimized for the shale oil and gas reservoir, and calculating the oil and gas reservoir production value corresponding to the well pattern-fracture network parameters to be optimized using an oil and gas reservoir simulator according to the geological model of the shale oil and gas reservoir, and collecting the well pattern-fracture network parameters to be optimized and the corresponding oil and gas reservoir production values to construct a data sample set; S300, using the data sample set to train a preconfigured machine learning agent network model, and optimizing the hyperparameters of the machine learning agent network model according to a preset error index to obtain a machine learning agent network model that meets the accuracy requirements; wherein the machine learning agent network model is used to describe the functional relationship between the well pattern-fracture network parameters of the shale oil and gas reservoir and the oil and gas reservoir output value; S400, based on a machine learning agent network model that meets the accuracy requirements, a multi-layer agent-assisted particle swarm optimization algorithm is used to optimize the combination of the well pattern-fracture network parameters, so as to obtain the optimal well pattern-fracture network parameters that meet the economic indicators.
2. The method for optimizing the well pattern and fracture pattern of shale oil and gas reservoirs based on machine learning according to claim 1, characterized in that: Step S100 includes: Based on the logging data and seismic data obtained in the geological exploration stage, the shale oil and gas reservoir is subjected to geological parameter modeling and natural fracture modeling using the Gaussian sequential algorithm and the ant tracking algorithm, thereby establishing a geological model of the shale oil and gas reservoir.
3. The method for optimizing the well pattern and fracture pattern of shale oil and gas reservoirs based on machine learning according to claim 1, characterized in that: Step S200 includes: The Latin super cubic sampling method is used to randomly generate the well pattern-fracture network parameters to be optimized for the shale oil and gas reservoir; The oil reservoir numerical simulator is used to calculate the corresponding oil and gas reservoir production value according to the well pattern-fracture network parameters to be optimized.
4. The method for optimizing the well pattern and fracture pattern of shale oil and gas reservoirs based on machine learning according to claim 1, characterized in that: The well network-fracture network parameters to be optimized include at least one parameter of horizontal well position, horizontal well length, horizontal well inclination, fracture half-length, and fracture number; the oil and gas reservoir output value includes at least one value of oil and gas reservoir output and oil and gas reservoir net present value.
5. The method for optimizing the well pattern and fracture pattern of shale oil and gas reservoirs based on machine learning according to claim 1, characterized in that: Step S300 includes: Constructing a radial basis function and a neural network model as the machine learning agent network model; Dividing the data sample set into a training set, a test set and a validation set; The radial basis function and the neural network model are trained using the training set, the hyperparameters of the model are optimized using the test set, and the accuracy of the radial basis function and the neural network model is detected using the validation set.
6. The method for optimizing the well pattern and fracture pattern of shale oil and gas reservoirs based on machine learning according to claim 1, characterized in that: The hyperparameters include at least one of the number of neurons, the number of network layers, and the radial basis radius.
7. The method for optimizing the well pattern and fracture pattern of shale oil and gas reservoirs based on machine learning according to claim 1, characterized in that: Step S400 includes: (1) Arrange the samples in descending order according to the NPV value, and select N particles as the PSO primary population; (2) constructing an adaptive machine learning agent network model using a predetermined number of samples; (3) Use the SLPSO finder to learn the optimal solution of the agent network model and store it in the sample library; (4) Retrain the machine learning agent network model; (5) Using the trained machine learning agent network model to evaluate the particle fitness value and mark it; (6) Run the numerical simulation on the marked examples to obtain the NPV and store it in the sample library; (7) Update individual optimum and global optimum.
8. A shale oil and gas reservoir fracturing well pattern-fracture pattern optimization device based on machine learning, characterized in that: include: The geological model building module is used to build the geological model of shale oil and gas reservoirs in the research area; A data sample collection module, used to obtain the well pattern-fracture network parameters to be optimized for the shale oil and gas reservoir, and calculate the oil and gas reservoir production value corresponding to the well pattern-fracture network parameters to be optimized using an oil and gas reservoir simulator according to the geological model of the shale oil and gas reservoir, and collect the well pattern-fracture network parameters to be optimized and the corresponding oil and gas reservoir production value to construct a data sample set; An agent model building module, used to train a preconfigured machine learning agent network model using the data sample set, and optimize the hyperparameters of the machine learning agent network model according to a preset error index to obtain a machine learning agent network model that meets the accuracy requirements; wherein the machine learning agent network model is used to describe the functional relationship between the well pattern-fracture network parameters of the shale oil and gas reservoir and the oil and gas reservoir output value; The parameter combination optimization module is used to optimize the combination of the well pattern-fracture network parameters based on the machine learning agent network model that meets the accuracy requirements by using a multi-layer agent-assisted particle swarm optimization algorithm, so as to obtain the optimal well pattern-fracture network parameters that meet the economic indicators.
9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the program is executed by a processor, a method for optimizing a shale oil and gas reservoir fracturing well network and fracture network based on machine learning is implemented as described in any one of claims 1 to 7.
10. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement a shale oil and gas reservoir fracturing well network-fracture network optimization method based on machine learning as described in any one of claims 1 to 7.
Citation Information
Cited By
Intelligent oil reservoir simulation and safety prediction system
CN119962013A
Intelligent optimization method for multi-type well seam joint control fine injection-production mode
CN121675830A
