An integrated optimization method and device for fracture parameters of horizontal wells
Through the synchronous perturbation random approximation algorithm of nested bipartite search method, the real and integer fracture parameters of shale reservoirs are optimized, which solves the problem of poor development effect of shale reservoirs in the existing technology, and improves the development of shale reservoirs. The effect provides theoretical guidance for fracturing construction design.
Patent Information
- Application Number
- CN202111470757.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-25
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-01-25
AI Technical Summary
The existing intelligent fracture parameter optimization method is difficult to synchronously optimize the fracture parameters of real and integer shale reservoirs, resulting in poor shale reservoir development results.
Using the synchronous perturbation random approximation algorithm with nested bipartite search method, combining the microscopic migration mechanism of shale reservoir fluid and equivalent diversion capacity, a numerical model of fracturing horizontal wells is established, and the economic net present value is used as the objective function to optimize the real number type and integer crack parameters to achieve integrated optimization.
实现了对页岩油藏中实数型和整数型裂缝参数的同步一体化优化,提高了页岩油藏的开发效果,为压裂施工设计提供了理论指导。
Smart Images

Figure CN114139390B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of shale oil reservoir development, and more specifically to an integrated optimization method and device for fracture parameters of a horizontal well being fracturing. Background Art
[0002] With the increasing demand for energy in the world and the increasing difficulty in developing conventional oil and gas resources, unconventional oil and gas resources represented by shale oil have begun to receive extensive attention and research. Due to the complexity of shale reservoir characteristics (high heterogeneity in the distribution of porosity and permeability) and extremely low porosity and permeability (the permeability of shale reservoirs is between 10-3 and 10-9mD, and the porosity value is between 2% and 5%). Therefore, when developing shale oil reservoirs, it is necessary to consider reducing the driving pressure difference and seepage distance required for flow, as well as improving the conductivity of the reservoir, in order to achieve commercial exploitation of shale oil.
[0003] At present, the intelligent fracture parameter optimization method has been used to optimize all the fracture parameters under consideration in an integrated manner, so as to consider the influence of mutual interference between fracture parameters on the output results. Specifically, the method adopts the simultaneous perturbation random approximation method and the adaptive evolution strategy of the covariance matrix to optimize the well location and fracture location in an integrated manner respectively; then, the net present value is used as the objective function to select the optimal parameter combination. However, due to the mutual interference between the number of fractures, fracture position and fracture half-length, in order to improve the development effect of shale oil reservoirs, it is often necessary to optimize these three fracture parameters synchronously and in an integrated manner. But in fact, the fracture position and fracture half-length are both real-number fracture parameters. If the integer-type fracture parameters such as the number of fractures are also to be optimized synchronously, the above-mentioned optimization algorithm is not feasible, and there is a problem of poor development effect of shale oil reservoirs. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide an integrated optimization method and device for fracture parameters of horizontal wells under hydraulic fracturing in view of the technical problem that the existing technical solutions have poor development effects on shale oil reservoirs.
[0005] The technical solution adopted by the present invention to solve the technical problem is: constructing an integrated optimization method for fracture parameters of horizontal wells, including:
[0006] S1. According to the microscopic migration mechanism of shale oil reservoir fluids and the characterization of microscale hydraulic fractures in combination with equivalent conductivity, a numerical model of the target fracturing horizontal well is established;
[0007] S2. On the basis of the numerical model of the horizontal well under hydraulic fracturing, an integrated optimization model for fracture parameters is established with the economic net present value as the objective function, the fracture position and fracture half-length of the real type, and the number of fractures of the integer type as the optimization variables;
[0008] S3. Using a synchronous perturbation random approximation algorithm nested with a binary search method, the optimization variables are optimized synchronously and integrated to obtain the crack distribution characteristics of the optimal crack position and the optimal crack half-length under the optimal number of cracks.
[0009] The present application discloses an integrated optimization device for fracture parameters of a horizontal well, the device comprising a model building module, an optimization target determination module and a parameter optimization module, wherein:
[0010] The model building module is used to establish a numerical model of a fractured horizontal well based on the microscopic migration mechanism of shale oil reservoir fluid and the characterization of microscale hydraulic fractures in combination with equivalent conductivity;
[0011] The optimization target determination module is used to establish a fracture parameter integrated optimization model based on the numerical model of the horizontal well under fracture, taking the economic net present value as the objective function, taking the fracture position and fracture half-length of the real number type, and the number of fractures of the integer type as the optimization variables;
[0012] The parameter optimization module is used to use a synchronous perturbation random approximation algorithm nested with a binary search method to perform synchronous integrated optimization on the optimization variables to obtain the crack distribution characteristics of the optimal crack position and the optimal crack half-length under the optimal number of cracks.
[0013] A computer device disclosed in the present application includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0014] S1. According to the microscopic migration mechanism of shale oil reservoir fluids and the characterization of microscale hydraulic fractures in combination with equivalent conductivity, a numerical model of the target fracturing horizontal well is established;
[0015] S2. On the basis of the numerical model of the horizontal well under hydraulic fracturing, an integrated optimization model for fracture parameters is established with the economic net present value as the objective function, the fracture position and fracture half-length of the real type, and the number of fractures of the integer type as the optimization variables;
[0016] S3. Using a synchronous perturbation random approximation algorithm nested with a binary search method, the optimization variables are optimized synchronously and integrated to obtain the crack distribution characteristics of the optimal crack position and the optimal crack half-length under the optimal number of cracks.
[0017] The present application discloses a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0018] S1. According to the microscopic migration mechanism of shale oil reservoir fluids and the characterization of microscale hydraulic fractures in combination with equivalent conductivity, a numerical model of the target fracturing horizontal well is established;
[0019] S2. On the basis of the numerical model of the horizontal well under hydraulic fracturing, an integrated optimization model for fracture parameters is established with the economic net present value as the objective function, the fracture position and fracture half-length of the real type, and the number of fractures of the integer type as the optimization variables;
[0020] S3. Using a synchronous perturbation random approximation algorithm nested with a binary search method, the optimization variables are optimized synchronously and integrated to obtain the crack distribution characteristics of the optimal crack position and the optimal crack half-length under the optimal number of cracks.
[0021] The invention implements an integrated optimization method and device for fracture parameters of horizontal wells under fracturing, taking into account the microscopic migration mechanism of fluids in shale reservoirs, combining the equivalent conductivity to characterize micro-scale hydraulic fractures, and constructing a numerical flow model for horizontal wells under fracturing. With the economic net present value as the objective function, the fracture position and half-length of the real type, and the number of fractures of the integer type as optimization variables, an integrated optimization model for fracture parameters is established. The synchronous perturbation random approximation algorithm nested with the binary search method is adopted to realize the synchronous integrated automatic optimization of real and integer fracture parameters, realize the integrated optimization of two different types of fracture parameters, and provide theoretical guidance for fracturing construction design with the optimal fracture parameter combination finally selected, thereby improving the development effect of shale reservoirs. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0023] Figure 1 is a flow chart of an integrated optimization method for fracture parameters of a hydraulically fractured horizontal well in one embodiment of the present invention;
[0024] Figure 2 is an implementation flow chart of establishing a numerical model of a target fractured horizontal well in one embodiment of the present invention;
[0025] Figure 3 It is an implementation flow chart of integrated optimization of fracture parameters of a synchronous perturbation random approximation algorithm with a binary search method embedded in one embodiment of the present invention;
[0026] Figure 4 is an implementation flow chart of optimizing the fracture position and fracture half-length based on the synchronous perturbation random approximation algorithm in one embodiment of the present invention;
[0027] Figure 5 is an implementation flow chart of optimizing the number of cracks based on a binary search method in one embodiment of the present invention;
[0028] Figure 6 It is a system structure diagram of an integrated optimization device for fracture parameters of a horizontal well suitable for fracturing in one embodiment of the present invention. DETAILED DESCRIPTION
[0029] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0030] In one or more embodiments of the present invention, Figure 1 As shown, an integrated optimization method for fracture parameters of a horizontal well is provided, which is described by taking the method applied to a computer device (the computer device may be a terminal or a server, and the terminal may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The server may be an independent server or a server cluster composed of multiple servers), and includes the following steps:
[0031] S1. According to the microscopic migration mechanism of fluid in shale reservoirs and combined with the equivalent conductivity to characterize microscale hydraulic fractures, a numerical model of target fracturing horizontal wells is established.
[0032] For details, please refer to Figure 2 According to the microscopic migration mechanism of shale oil reservoir fluid, and in combination with the equivalent conductivity to characterize the microscale hydraulic fractures, a numerical model of the target fracturing horizontal well is established, including:
[0033] S11. Obtain the initial permeability and initial porosity values of the matrix grid.
[0034] Specifically, the computer equipment constructs the model based on the black oil model (the black oil model, also known as the low-volatile oil two-component model, refers to a mathematical model that describes the movement laws of two systems, black oil containing non-volatile components and crude oil dissolved gas containing volatile components, in the oil reservoir) in combination with a preset code program.
[0035] In one embodiment, the computer device inputs the initial permeability and initial porosity values of the matrix grid into the Eclipse extensible development platform, and subsequently constructs the target fractured horizontal well numerical model based on the Eclipse extensible development platform. It should be noted that the Eclipse extensible development platform is an open source, Java-based extensible platform, wherein the platform itself is only a framework and a set of services, and when the platform is actually used, a corresponding development environment needs to be built based on the plug-in component.
[0036] S12. In an initial time step, an initial fractured horizontal well numerical model is established according to the initial permeability and the initial porosity value, and a reservoir pressure value of the initial fractured horizontal well numerical model is calculated.
[0037] S13. When it is determined that the current production simulation time is less than or equal to the preset end time, execute step S14; otherwise, execute step S16.
[0038] Specifically, the computer device determines the current simulation time T s After that, the simulation time T will be determined s Is it less than or equal to the preset end time T? t If yes, the computer device considers that the current numerical model of the horizontal well fracture has been established, and can output the numerical model of the horizontal well fracture containing all time steps.
[0039] S14. Based on the reservoir pressure value, calculate the permeability value of the matrix grid in the next time step.
[0040] Specifically, the computer device calculates the permeability value based on the following formula:
[0041]
[0042] Among them, K a is the apparent permeability of porous media; Φ is the rock porosity; μ o is the average viscosity; τ is the rock tortuosity; ρ o is the average density; R is the pore radius; ρ b is the average density of bulk fluid; β is the volume content of organic pores in shale; δ is the thickness of fluid near the wall; μ w is the average viscosity of the fluid near the wall; μ b is the average viscosity of the bulk fluid; C is the velocity slip coefficient; ρ w is the average density of the fluid near the wall; δ′ is the thickness of the adsorption layer; μ ads is the average viscosity of the adsorbed fluid; ρ ads is the average density of the adsorbed fluid.
[0043] It should be noted that, since the existing conventional reservoir permeability model cannot simulate the flow of shale oil in the matrix, it is necessary to correct the permeability based on the apparent permeability theory so that the reservoir permeability model can simulate the flow of shale oil in the matrix. Among them, the apparent permeability is the superposition of convective mass transfer flux and diffusion mass transfer flux, which is related to the cross-sectional physical properties, formation pressure, temperature and fluid physical properties.
[0044] S15. When entering the next time step, return to step S12 to continue execution, and calculate the reservoir pressure value based on the determined permeability value.
[0045] Specifically, the computer device will automatically modify the key words referring to permeability in the Eclipse data body through a code program, for example, to import the matrix grid permeability value of the next time step into Eclipse, and construct a numerical model of the fractured horizontal well based on Eclipse.
[0046] S16. Stop simulating the reservoir production process at the next time step and obtain a numerical model of the target fractured horizontal well.
[0047] S2. On the basis of the numerical model of the horizontal well under hydraulic fracturing, an integrated optimization model for fracture parameters is established with the economic net present value as the objective function and the fracture positions and half-lengths of the real-number type and the number of fractures of the integer type as the optimization variables.
[0048] Specifically, the economic net present value is the most commonly used method for evaluating the economic feasibility of a project. In this embodiment, the economic net present value is selected as the objective function of fracture optimization to evaluate and optimize the deployment schemes of different fractures. The expression of the economic net present value is usually composed of two parts: discounted cash flow and capital expenditure, which reflects the time value of money and the principle of value additivity.
[0049] In one embodiment, within the constraint boundary, the computer device optimizes the control variable vector (i.e., the vector consisting of the fracture position, fracture half-length, and fracture number) by comparing the size of all economic net present values in the optimization process. The selection criteria for the optimal control variable vector may be: the optimal fracture parameter combination of the optimized fracture number, fracture position, and fracture half-length, so that the economic net present value is maximized.
[0050] S3. Using a synchronous perturbation random approximation algorithm nested with a binary search method, the optimization variables are optimized synchronously and integrated to obtain the crack distribution characteristics of the optimal crack position and the optimal crack half-length under the optimal number of cracks.
[0051] It should be noted that the synchronous perturbation random approximation algorithm can achieve synchronous optimization of real-number crack parameters such as crack position and crack half-length through continuous iteration, and the binary search method also searches for the optimal number of cracks through continuous iteration. However, due to the different properties of the parameters, it is impossible to achieve integrated optimization of integer and real-number crack parameters by using only one optimization algorithm. Therefore, in the current embodiment, the binary search method is integrated on the basis of the synchronous perturbation random approximation algorithm to solve the above problems.
[0052] In this integrated method, the computer equipment performs multiple synchronous iterative optimizations on the crack positions and crack half-lengths under a certain number of cracks, and obtains the best crack deployment plan and the maximum net present value under the number of cracks; then, by calculating and judging the maximum net present values corresponding to the left and right boundary crack values, the next binary search direction in the binary search method is obtained. At the same time, after determining the binary search direction, the new number of cracks can be calculated. The new number of cracks currently calculated is specifically used to update the initial crack parameters used in the synchronous perturbation random approximation algorithm (for the specific process, please refer to Figure 3 ). In this way, through continuous iteration, mutual calling and judgment, the optimal crack deployment scheme with the optimal number of cracks can be obtained.
[0053] The above-mentioned integrated optimization method for fracture parameters of fractured horizontal wells takes into account the microscopic migration mechanism of fluids in shale reservoirs, combines the equivalent conductivity to characterize microscale hydraulic fractures, and constructs a numerical flow model for fractured horizontal wells. With the economic net present value as the objective function, the fracture position and half-length of the real type, and the number of fractures of the integer type as optimization variables, an integrated optimization model for fracture parameters is established. The synchronous perturbation random approximation algorithm nested with the binary search method is used to achieve the synchronous integrated automatic optimization of real and integer fracture parameters, and the integrated optimization of two different types of fracture parameters is achieved. The optimal fracture parameter combination finally selected provides theoretical guidance for fracturing construction design and improves the development effect of shale reservoirs.
[0054] In one or more embodiments of the present invention, in step S2, the calculation formula of the economic net present value is:
[0055]
[0056] Among them, J is the performance indicator function to be optimized, NPV is the economic net present value; u is N u dimensional control variable vector; n is the time index, t n is the length of the time period, N t is the total time step of the simulation process; r o is the crude oil price, For all production wells at tn The cumulative oil production during the time period; b is the annual discount rate, N w is the number of horizontal wells; C v C is the drilling cost per meter of vertical section of a horizontal single well, h is the horizontal drilling cost per meter of a single horizontal well, C ph is the perforation cost per meter depth, C pp is the cost of perforating material per fracture, C l is the cost of fracturing fluid and proppant per meter; L v is the length of the vertical segment, L is the length of the horizontal segment, L h is the half length of the crack; N f is the number of fractures in a single horizontal well, and FC is the daily operating cost of a single horizontal well.
[0057] In one embodiment, the computer device can compare the sizes of all NPVs calculated during the optimization process within the constraint boundary to optimize the control variable vector, wherein the optimal control variable vector u * It can be expressed as:
[0058]
[0059] Where: u * is the optimal control variable vector, that is, the optimal fracture parameter combination of the optimized number of fractures, fracture positions and fracture half-length; argmax(*) is the solution for the maximum value from the set of independent variable points obtained, which is a function that can find parameters or sets of functions.
[0060] In one or more embodiments of the present invention, in step S3, the synchronous perturbation random approximation algorithm nested with the binary search method is used to perform synchronous integrated optimization on the optimization variables to obtain the crack distribution characteristics of the optimal crack position and the optimal crack half-length under the optimal number of cracks, including:
[0061] S31. Through the synchronous perturbation random approximation algorithm, the crack position and crack half-length under the initial number of cracks are optimized through multiple synchronous iterations.
[0062] For details, please refer to Figure 4 The specific optimization process of optimizing the crack position and crack half-length by using the synchronous perturbation random approximation algorithm is as follows:
[0063] (1) Let β = 0, γ = 0, and obtain the locations of N uniformly distributed cracks. and half-length of equally distributed cracks Let them be the initial crack parameters of the over-synchronous perturbation random approximation algorithm. Among them, β(1≤β≤N imax ) is the number of iterations of the synchronous perturbation random approximation algorithm, Nimax is the maximum number of given iterations; γ(1≤γ≤N p (β)≤N pmax ) represents the number of perturbations in each iteration step, N p (β) represents the actual number of perturbations generated in each iteration, N pmax is the maximum number of perturbations given.
[0064] (2) Let β = β + 1, and set the uniformly distributed crack positions and half-length of equally distributed cracks Assigned to the initial crack position when β = 1 and half length of crack
[0065] (3) Let γ = 0, establish a numerical model of fractured horizontal well based on the initial fracture parameters, and calculate its corresponding net present value
[0066] (4) Let γ = γ + 1, and perform perturbation calculations on the initial crack position and crack half-length respectively to obtain the perturbed updated crack position and half length of crack
[0067] (5) Based on the fracture parameters updated after disturbance in step (4), the numerical model of the horizontal well under hydraulic fracturing is re-established and its corresponding net present value is calculated.
[0068] (6) If γ = N pmax , then jump to step (8), at which point the actual number of perturbations in this iteration step is N p (β) = N pmax ; Otherwise jump to step (7).
[0069] (7) If Then jump to step (8), at which point the actual number of perturbations in this iteration step is N p (β) <N pmax ; Otherwise, return to step (4).
[0070] (8) If β = N imax When , the maximum net present value under the number of cracks is output and its corresponding crack position and half length of crack Otherwise, let β = β + 1, and take the maximum net present value maxNPV among all the crack deployment schemes in this iteration step β-1 as β-1 The corresponding crack parameters are used as the initial crack parameters of the next iteration step β, and steps (3) to (8) are repeated until the judgment condition of step (8) is met.
[0071] S32. Filter out the optimal left and right boundary crack number values under the initial crack number from the obtained optimization results.
[0072] For details, please refer to Figure 5 , the computer device uses the superscript α to represent the number of iterations of the binary search method; and the superscript ω to represent the number of binary values. When the number of iterations α = 1, the number of cracks in this iteration step is equal to the given minimum crack value; when the number of iterations α = 2, the number of cracks in this iteration step is equal to the given maximum crack value, as shown in the following formula:
[0073]
[0074] Where: N min is the given minimum crack strip value; N max is the given maximum crack strip value; in addition, when the number of iterations α>2, the middle crack strip value and the middle crack strip value plus one can be calculated according to the following formula. The left and right boundary crack strip values in the formula can be obtained by the following formula:
[0075]
[0076] Where: is the value of the middle crack strip; Add one to the value of the middle crack strip; The value of the right boundary crack bar when the value is binary; The value of the left boundary crack strip when the value is divided into two parts; To round down.
[0077] S33. Obtain the next binary value direction obtained in the binary search method through the maximum net present value corresponding to the optimal left and right boundary crack number values, and update the number of cracks according to the binary value direction.
[0078] Specifically, when the first binary value ω=1, the left boundary crack value is equal to the given minimum crack value, and the right boundary crack value is equal to the given maximum crack value. When ω>1, the computer device needs to compare the maximum NPV value corresponding to the middle crack value with the maximum NPV value corresponding to the middle crack value plus one, so as to determine the direction of the next binary value, as shown in the following formula.
[0079]
[0080] Where: and They are the values of the left boundary crack strip at this and last binary division respectively; and They are the values of the right boundary crack strip at this and last binary division respectively; The maximum NPV value corresponds to the value of the middle crack strip; The maximum NPV value is obtained by adding one to the value of the middle crack.
[0081] S34, returning to step S31, and performing synchronous iterative optimization based on the number of cracks updated in step S33, until the iteration end condition is triggered, to obtain the crack distribution characteristics of the optimal crack position and the optimal crack half-length under the optimal number of cracks.
[0082] Specifically, the iteration termination conditions include but are not limited to reaching a preset upper limit of the number of iterations, or comparing the crack distribution characteristics of the optimal crack position and the optimal crack half-length under the optimal number of cracks, etc., and the embodiments of the present application do not limit this.
[0083] It should be noted that the number of fractures has a great influence on the oil production of the reservoir. When the number of fractures is increased, the oil production of the reservoir is further increased, while the interference between the fractures is enhanced, and the cost of fracturing is increased. However, when the number of fractures is small, the NPV will gradually increase with the increase of the number of fractures. Therefore, increasing the number of fractures will not only gradually reduce the added value of the cumulative oil production, but also keep the fracturing cost linearly increasing. When the number of fractures reaches a certain level, the increase of NPV gradually decreases, and can even become smaller. In the current embodiment, the binary search method is used to optimize integer fracture parameters such as the number of fractures. Although the search direction of the binary search method to optimize the number of fractures is not necessarily upward, that is, the optimal number of fractures is not necessarily generated by the last iteration, the computer device can still judge and find the optimal number of fractures according to the optimal net present value size under different numbers of fractures.
[0084] In the above embodiment, the optimization variables are optimized and solved by synchronous integrated optimization, which avoids the situation that due to the different properties of the parameters, only one optimization algorithm can be used to achieve integrated optimization of integer and real number crack parameters, thereby improving the optimization efficiency of the algorithm.
[0085] Please refer to Figure 6 The present application discloses an integrated optimization device 600 for fracture parameters of a horizontal well, the device 600 comprising a model building module 601, an optimization target determination module 602 and a parameter optimization module 603, wherein:
[0086] The model building module 601 is used to establish a numerical model of a fractured horizontal well according to the microscopic migration mechanism of the shale reservoir fluid and the characterization of micro-scale hydraulic fractures in combination with the equivalent conductivity.
[0087] The optimization target determination module 602 is used to establish a fracture parameter integrated optimization model based on the numerical model of the horizontal well fracture, with the economic net present value as the objective function, and the fracture position and fracture half-length of the real number type and the number of fractures of the integer type as the optimization variables.
[0088] The parameter optimization module 603 is used to use a synchronous perturbation random approximation algorithm nested with a binary search method to perform synchronous integrated optimization on the optimization variables to obtain the crack distribution characteristics of the optimal crack position and the optimal crack half-length under the optimal number of cracks.
[0089] In one embodiment, the model building module 601 is further used to perform the following steps: S11, obtaining the initial permeability and initial porosity values of the matrix grid; S12, in the initial time step, establishing an initial fracturing horizontal well numerical model according to the initial permeability and the initial porosity value, and calculating the reservoir pressure value of the initial fracturing horizontal well numerical model; S13, when it is determined that the current production simulation time is less than or equal to the preset termination time, executing step S14, otherwise, executing step S16;
[0090] S14, based on the reservoir pressure value, calculate the permeability value of the matrix grid in the next time step; S15, when entering the next time step, return to step S12 to continue execution, and calculate the reservoir pressure value based on the determined permeability value; S16, stop simulating the reservoir production process in the next time step, and obtain the target fracturing horizontal well numerical model.
[0091] In one embodiment, the model building module 601 is further used to calculate the permeability value by the following formula:
[0092]
[0093] Among them, K a is the apparent permeability of porous media; Φ is the rock porosity; μ o is the average viscosity; τ is the rock tortuosity; ρ o is the average density; R is the pore radius; ρ b is the average density of bulk fluid; β is the volume content of organic pores in shale; δ is the thickness of fluid near the wall; μ w is the average viscosity of the fluid near the wall; μ b is the average viscosity of the bulk fluid; C is the velocity slip coefficient; ρ w is the average density of the fluid near the wall; δ′ is the thickness of the adsorption layer; μ ads is the average viscosity of the adsorbed fluid; ρ ads is the average density of the adsorbed fluid.
[0094] In one embodiment, the optimization target determination module 602 is further configured to calculate the economic net present value using the following formula:
[0095]
[0096] Among them, J is the performance indicator function to be optimized, NPV is the economic net present value; u is N u dimensional control variable vector; n is the time index, t n is the length of the time period, N t is the total time step of the simulation process; r o is the crude oil price, For all production wells at t n The cumulative oil production during the time period; b is the annual discount rate, N w is the number of horizontal wells; C v C is the drilling cost per meter of vertical section of a horizontal single well, h is the horizontal drilling cost per meter of a single horizontal well, C ph is the perforation cost per meter depth, C pp is the cost of perforating material per fracture, C l is the cost of fracturing fluid and proppant per meter; L v is the length of the vertical segment, L is the length of the horizontal segment, L h is the half length of the crack; N f is the number of fractures in a single horizontal well, and FC is the daily operating cost of a single horizontal well.
[0097] In one embodiment, the parameter optimization module 603 is also used to perform the following steps: S31, through the synchronous perturbation random approximation algorithm, the crack position and crack half-length under the initial number of cracks are optimized multiple times synchronously and iteratively; S32, from the optimization results obtained, the optimal left and right boundary crack number values under the initial number of cracks are screened out; S33, through the maximum net present value corresponding to the optimal left and right boundary crack number values, the binary value direction obtained in the binary search method is obtained next time, and the number of cracks is updated according to the binary value direction; S34, return to step S31, and perform synchronous iterative optimization based on the number of cracks updated in step S33, until the iteration end condition is triggered, and the crack distribution characteristics of the optimal crack position and the optimal crack half-length under the optimal number of cracks are obtained.
[0098] The above-mentioned integrated optimization device for fracture parameters of fracturing horizontal wells takes into account the microscopic migration mechanism of fluids in shale reservoirs, combines the equivalent conductivity to characterize microscale hydraulic fractures, and constructs a numerical flow model for fracturing horizontal wells. With the economic net present value as the objective function, the fracture position and fracture half-length of the real type, and the number of fractures of the integer type as optimization variables, an integrated optimization model for fracture parameters is established. The synchronous perturbation random approximation algorithm nested with the binary search method is adopted to realize the synchronous integrated automatic optimization of real and integer fracture parameters, and realize the integrated optimization of two different types of fracture parameters. The optimal fracture parameter combination finally selected provides theoretical guidance for fracturing construction design and improves the development effect of shale reservoirs.
[0099] In one or more embodiments of the present invention, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0100] The above-mentioned computer equipment considers the microscopic migration mechanism of shale oil reservoir fluids, combines the equivalent conductivity to characterize micro-scale hydraulic fractures, and constructs a numerical flow model for fractured horizontal wells. With the economic net present value as the objective function, the fracture position and half-length of the real type, and the number of fractures of the integer type as optimization variables, an integrated optimization model for fracture parameters is established. The synchronous perturbation random approximation algorithm nested with the binary search method is used to achieve the synchronous integrated automatic optimization of real and integer fracture parameters, and the integrated optimization of two different types of fracture parameters is achieved. The optimal fracture parameter combination finally selected provides theoretical guidance for fracturing construction design and improves the development effect of shale oil reservoirs.
[0101] In one or more embodiments of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0102] The above storage medium considers the microscopic migration mechanism of shale oil reservoir fluids, combines the equivalent conductivity to characterize micro-scale hydraulic fractures, and constructs a numerical flow model for fractured horizontal wells. Taking the economic net present value as the objective function, the fracture position and half-length of the real type, and the number of fractures of the integer type as optimization variables, an integrated optimization model for fracture parameters is established. The synchronous perturbation stochastic approximation algorithm nested with the binary search method is used to achieve the synchronous integrated automatic optimization of real and integer fracture parameters, and the integrated optimization of two different types of fracture parameters is achieved. The optimal fracture parameter combination finally selected provides theoretical guidance for fracturing construction design and improves the development effect of shale oil reservoirs.
[0103] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An integrated optimization method for fracture parameters of horizontal wells, characterized in that: include: S1. According to the microscopic migration mechanism of shale oil reservoir fluids and the characterization of microscale hydraulic fractures in combination with equivalent conductivity, a numerical model of the target fracturing horizontal well is established; S2. On the basis of the numerical model of the horizontal well under hydraulic fracturing, an integrated optimization model for fracture parameters is established with the economic net present value as the objective function, the fracture position and fracture half-length of the real type, and the number of fractures of the integer type as the optimization variables; S3, using a synchronous perturbation random approximation algorithm nested with a binary search method to perform synchronous integrated optimization on the optimization variables to obtain the crack distribution characteristics of the optimal crack position and the optimal crack half-length under the optimal number of cracks; In step S2, the calculation formula of economic net present value is: Among them, J is the performance indicator function to be optimized, NPV is the economic net present value; u is N u dimensional control variable vector; n is the time index, t n is the length of the time period, N t is the total time step of the simulation process; r o is the crude oil price, For all production wells at t n The cumulative oil production during the time period; b is the annual discount rate, N w is the number of horizontal wells; C v C is the drilling cost per meter of vertical section of a horizontal single well, h is the horizontal drilling cost per meter of a single horizontal well, C ph is the perforation cost per meter depth, C pp is the cost of perforating material per fracture, C l is the cost of fracturing fluid and proppant per meter; L v is the length of the vertical segment, L is the length of the horizontal segment, L h is the half length of the crack; N f is the number of fractures in a single horizontal well, and FC is the daily operating cost of a single horizontal well.
2. The method according to claim 1, characterized in that: In step S1, the target fractured horizontal well numerical model is established according to the microscopic migration mechanism of shale oil reservoir fluid and the microscale hydraulic fractures characterized by equivalent conductivity, including: S11, obtaining the initial permeability and initial porosity values of the matrix grid; S12. In an initial time step, according to the initial permeability and the initial porosity value, an initial fractured horizontal well numerical model is established, and a reservoir pressure value of the initial fractured horizontal well numerical model is calculated; S13, when it is determined that the current production simulation time is less than or equal to the preset end time, execute step S14, otherwise, execute step S16; S14, calculating the permeability value of the matrix grid in the next time step based on the reservoir pressure value; S15, when entering the next time step, return to step S12 to continue execution, and calculate the reservoir pressure value based on the determined permeability value; S16. Stop simulating the reservoir production process at the next time step and obtain a numerical model of the target fractured horizontal well.
3. The method according to claim 2, characterized in that In step S14, the calculation formula of the permeability value includes: Among them, K a is the apparent permeability of porous media; Φ is the rock porosity; μ o is the average viscosity; τ is the rock tortuosity; ρ o is the average density; R is the pore radius; ρ b is the average density of bulk fluid; β is the volume content of organic pores in shale; δ is the thickness of fluid near the wall; μ w is the average viscosity of the fluid near the wall; μ b is the average viscosity of the bulk fluid; C is the velocity slip coefficient; ρ w is the average density of the fluid near the wall; δ′ is the thickness of the adsorption layer; μ ads is the average viscosity of the adsorbed fluid; ρ ads is the average density of the adsorbed fluid.
4. The method according to claim 1, characterized in that In step S3, the synchronous perturbation random approximation algorithm nested with the binary search method is used to perform synchronous integrated optimization on the optimization variables to obtain the crack distribution characteristics of the optimal crack position and the optimal crack half-length under the optimal number of cracks, including: S31, performing multiple synchronous iterative optimizations on the crack positions and crack half-lengths under the initial number of cracks by using a synchronous perturbation random approximation algorithm; S32, selecting the optimal left and right boundary crack number values under the initial crack number from the obtained optimization results; S33, obtaining the binary value direction to be obtained next time in the binary search method through the maximum net present value corresponding to the optimal left and right boundary crack number values, and updating the number of cracks according to the binary value direction; S34, returning to step S31, and performing synchronous iterative optimization based on the number of cracks updated in step S33, until the iteration end condition is triggered, to obtain the crack distribution characteristics of the optimal crack position and the optimal crack half-length under the optimal number of cracks.
5. An integrated optimization device for fracture parameters of horizontal wells, characterized in that: The device comprises a model building module, an optimization target determination module and a parameter optimization module, wherein: The model building module is used to establish a numerical model of a fractured horizontal well based on the microscopic migration mechanism of shale oil reservoir fluid and the characterization of microscale hydraulic fractures in combination with equivalent conductivity; The optimization target determination module is used to establish a fracture parameter integrated optimization model based on the numerical model of the horizontal well under fracture, taking the economic net present value as the objective function, taking the fracture position and fracture half-length of the real number type, and the number of fractures of the integer type as the optimization variables; The parameter optimization module is used to use a synchronous perturbation random approximation algorithm nested with a binary search method to perform synchronous integrated optimization on the optimization variables to obtain the crack distribution characteristics of the optimal crack position and the optimal crack half-length under the optimal number of cracks; The calculation formula of the economic net present value is: Among them, J is the performance indicator function to be optimized, NPV is the economic net present value; u is N u dimensional control variable vector; n is the time index, t n is the length of the time period, N t is the total time step of the simulation process; r o is the crude oil price, For all production wells at t n The cumulative oil production during the time period; b is the annual discount rate, N w is the number of horizontal wells; C v C is the drilling cost per meter of vertical section of a horizontal single well, h is the horizontal drilling cost per meter of a single horizontal well, C ph is the perforation cost per meter depth, C pp is the cost of perforating material per fracture, C l is the cost of fracturing fluid and proppant per meter; L v is the length of the vertical segment, L is the length of the horizontal segment, L h is the half length of the crack; N f is the number of fractures in a single horizontal well, and FC is the daily operating cost of a single horizontal well.
6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
