CN118564215A - A method and device for optimizing oil reservoir injection and production - Google Patents
A method and device for optimizing oil reservoir injection and production Download PDFInfo
- Publication number
- CN118564215A CN118564215A CN202410744387.5A CN202410744387A CN118564215A CN 118564215 A CN118564215 A CN 118564215A CN 202410744387 A CN202410744387 A CN 202410744387A CN 118564215 A CN118564215 A CN 118564215A
- Authority
- CN
- China
- Prior art keywords
- control parameter
- net present
- expression
- present value
- parameter vector
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- E—FIXED CONSTRUCTIONS
- E21—EARTH OR ROCK DRILLING; MINING
- E21B—EARTH OR ROCK DRILLING; OBTAINING OIL, GAS, WATER, SOLUBLE OR MELTABLE MATERIALS OR A SLURRY OF MINERALS FROM WELLS
- E21B43/00—Methods or apparatus for obtaining oil, gas, water, soluble or meltable materials or a slurry of minerals from wells
-
- E—FIXED CONSTRUCTIONS
- E21—EARTH OR ROCK DRILLING; MINING
- E21B—EARTH OR ROCK DRILLING; OBTAINING OIL, GAS, WATER, SOLUBLE OR MELTABLE MATERIALS OR A SLURRY OF MINERALS FROM WELLS
- E21B2200/00—Special features related to earth drilling for obtaining oil, gas or water
- E21B2200/20—Computer models or simulations, e.g. for reservoirs under production, drill bits
Landscapes
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Geology (AREA)
- Mining & Mineral Resources (AREA)
- Physics & Mathematics (AREA)
- Environmental & Geological Engineering (AREA)
- Fluid Mechanics (AREA)
- General Life Sciences & Earth Sciences (AREA)
- Geochemistry & Mineralogy (AREA)
- Feedback Control In General (AREA)
Abstract
The invention relates to the technical field of petroleum and natural gas exploitation, and discloses an oil reservoir injection and production optimization method and equipment, which can generate a control parameter vector of a target oil reservoir; the control parameter vector comprises control parameter adjustment data of each of a plurality of oil and gas wells of the target oil reservoir. Constructing a net present value expected expression of a target oil reservoir; wherein the net present value expectation expression includes a control parameter vector. And iterating the element values of the control parameter vector in the net present value expected expression with the aim of maximizing the net present value expected, calculating the net present value expected corresponding to each generation of element values until the iteration stop condition is met, and determining the element value corresponding to the maximum net present value expected as the optimal element value. The invention can maximize the net present value expectation as the target to carry out the oil reservoir injection and production optimization, determine the optimal element value of the control parameter vector and enrich the means of oil reservoir injection and production optimization.
Description
Technical Field
The invention relates to the technical field of oil and gas exploitation, in particular to an oil reservoir injection and production optimization method and equipment.
Background
The oil reservoir injection and production optimization refers to a processing mode for optimizing relevant control parameters of a water injection well and an oil production well in an oil reservoir in oil reservoir exploitation research, and is a key technology for improving oil recovery efficiency.
The related technology can improve the yield of an oil deposit production well, reduce the energy consumption and the cost in the oil and gas deposit exploitation process and improve the economic benefit of an oil field through oil deposit injection and extraction optimization. But the related art has fewer technical means for realizing the optimization of the oil reservoir injection and production.
Disclosure of Invention
The invention provides an oil reservoir injection and production optimization method and equipment, which are used for solving the defect of less technical means for realizing oil reservoir injection and production optimization in the related technology and can enrich the means for optimizing the oil reservoir injection and production.
In a first aspect, the present invention provides a method for optimizing oil reservoir injection and production, comprising:
generating a control parameter vector of a target oil reservoir, wherein the control parameter vector comprises control parameter adjustment data of each of a plurality of oil and gas wells of the target oil reservoir;
Constructing a net present value expected expression of the target reservoir based on the control parameter vector; wherein the control parameter vector is included in the net present value expectation expression;
Iterating the element values of the control parameter vector in the net present value expected expression with the aim of maximizing the net present value expectation, and calculating the net present value expectation corresponding to each generation of element values until the iteration stop condition is met;
And determining the maximum net present value expected in the iterative process, and determining the element value corresponding to the maximum net present value expected as the optimal element value.
Optionally, the constructing a net present value expected expression of the target oil reservoir based on the control parameter vector includes:
constructing a net present value expression of the target reservoir based on the control parameter vector and reservoir property variables of the target reservoir;
The net present expected expression is constructed from the plurality of reservoir properties of the target reservoir and the net present expression.
Optionally, the net present value expectation expression is:
Where g Y (x) is the net present value expectation, N e is the total number of reservoir properties, j is the number of reservoir properties, N t is the total number of time steps, i is the time step index, t i is the accumulated time since the start of production, v o and v w are the crude oil price and water treatment cost, respectively, Q oi and Q wi are the total oil and water production in time step t i, y is the reservoir property variable, y j is the reservoir property number j, and x is the control parameter variable.
Optionally, the iterating the element values of the control parameter vector in the expected expression of the net present value, and calculating the expected net present value corresponding to each generation of element values until the iteration stop condition is met, includes:
determining a sensitivity approximation expression for the net present value to the control parameter vector;
Generating an error control expression from the plurality of reservoir properties of the target reservoir and the control parameter vector, the error control expression for reducing errors in the sensitivity approximation expression;
And iterating the element values of the control parameter vector in the net present value expected expression based on a fastest descent method, the sensitivity similarity expression and the error control expression, and calculating a net present value expected corresponding to each generation of element values until an iteration stop condition is met.
Optionally, the determining a sensitivity approximation expression of the net present value to the control parameter vector includes:
Disturbing each piece of control parameter adjustment data in the control parameter vector by using a time-dependent Gaussian random variable to generate a plurality of realization parameters, wherein each realization parameter comprises disturbed data corresponding to each piece of control parameter adjustment data in the control parameter vector;
For any implementation parameter, determining a geological model corresponding to the implementation parameter, calculating a corresponding net present value according to the implementation parameter and the geological model, and taking the whole implementation parameter and the corresponding net present value as a to-be-processed element;
arranging all the elements to be processed to generate a corresponding realization set;
A cross-covariance approximation expression between a net present value expectation and the control parameter vector is determined based on the set of realizations and as the sensitivity approximation expression.
Optionally, the generating an error control expression according to the plurality of reservoir properties of the target reservoir and the control parameter vector includes:
Performing reservoir numerical simulation according to the reservoir properties and the control parameter vector to generate a corresponding accompanying gradient matrix;
Singular value decomposition is carried out on the accompanying gradient matrix to obtain corresponding singular vectors;
And generating a localization matrix for eliminating covariance pseudo-correlation influence based on the singular vector, and taking the localization matrix as the error control expression.
Optionally, the iteration is performed on the element values of the control parameter vector in the net present value expected expression based on the fastest descent method, the sensitivity approximation expression and the error control expression, and the net present value expected corresponding to each generation of element values is calculated until the iteration stop condition is met, including:
Determining the control parameter adjustment data in the control parameter vector as a primary element value of the control parameter vector, and calculating a corresponding net present value expectation according to the primary element value and the net present value expected expression;
Determining next generation element values based on a fastest descent method, the sensitivity approximation expression, the error control expression, and the initial values, and calculating corresponding net present value expectations;
And determining a new next generation element value based on the fastest descent method, the sensitivity approximation expression, the error control expression and the next generation element value until an iteration stop condition is satisfied.
In a second aspect, the present invention provides an oil reservoir injection and production optimization device, comprising:
The generation unit is used for generating a control parameter vector of a target oil reservoir, wherein the control parameter vector comprises control parameter adjustment data of each oil and gas well in a plurality of oil and gas wells of the target oil reservoir;
A construction unit, configured to construct a net present value expected expression of the target reservoir based on the control parameter vector; wherein the control parameter vector is included in the net present value expectation expression;
The iteration unit is used for carrying out iteration on the element values of the control parameter vector in the net present value expected expression with the aim of maximizing the net present value expected value, and calculating the net present value expected value corresponding to each generation of element value until the iteration stop condition is met;
a first determining unit for determining a maximum net present value expectation in an iterative process;
And the second determining unit is used for determining the element value expected to correspond to the maximum net present value as the optimal element value.
In a third aspect, the present invention provides a computer device comprising: the oil reservoir injection and production optimization method comprises a memory and a processor, wherein the memory and the processor are in communication connection, the memory stores computer instructions, and the processor executes the computer instructions so as to execute the oil reservoir injection and production optimization method according to the first aspect or any corresponding implementation mode.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon computer instructions for causing a computer to perform the reservoir injection and production optimization method of the first aspect or any of its corresponding embodiments.
The oil reservoir injection and production optimization method and the device provided by the invention can generate the control parameter vector of the target oil reservoir; the control parameter vector comprises control parameter adjustment data of each of a plurality of oil and gas wells of the target oil reservoir. Constructing a net present value expected expression of the target oil reservoir based on the control parameter vector; wherein the net present value expectation expression includes a control parameter vector. And iterating the element values of the control parameter vector in the net present value expected expression with the aim of maximizing the net present value expected expression, and calculating the net present value expected corresponding to each generation of element values until the iteration stop condition is met. And determining the maximum net present value expectation in the iterative process, and determining the element value corresponding to the maximum net present value expectation as the optimal element value. The invention can maximize the net present value expectation as the target to carry out the oil reservoir injection and production optimization, determine the optimal element value of the control parameter vector and enrich the means of oil reservoir injection and production optimization.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an oil reservoir injection and production optimization method provided by an embodiment of the invention;
FIG. 2 is a schematic diagram of determining L x and L y by actual correlation area fitting according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a relationship between ellipse, L x and L y fitting related areas according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of injection and production optimization performed by a correlation model according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an oil reservoir injection and production optimizing device according to an embodiment of the present invention;
Fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The reservoir injection and production optimization method of the present invention is described below with reference to fig. 1-4.
As shown in fig. 1, this embodiment proposes a first oil reservoir injection and production optimization method, which may include the following steps:
S101, generating a control parameter vector of a target oil reservoir, wherein the control parameter vector comprises control parameter adjustment data of each of a plurality of oil and gas wells of the target oil reservoir.
The target oil reservoir can be a certain oil reservoir needing injection and production optimization.
The control parameter adjustment data may include adjustment data of each time of the control parameters of the oil and gas well within the target period, for example, adjustment data of each time of the water injection pressure and the temperature of the oil and gas well within the target period. Specifically, the adjustment data of each time may be the difference between the current data and the last data.
Alternatively, the target period may be a period from the first mining time point to the present, or may be a partial period of the period until the first mining time point.
The number of data in the control parameter adjustment data of each oil and gas well may be the same.
Specifically, the elements in the control parameter vector X may be obtained by first traversing the control parameters of one well and then traversing all the wells. For an oil reservoir with N wells, assuming that the adjustment frequency of each well working system is m n, X can be used for representing a control variable vector, namely, a vector with the adjustment value of control parameters such as bottom hole flow pressure and the like as coordinates, and X can contain all well constraints of different control steps, namely, the control parameter adjustment data of each oil and gas well.
Where N x is the total number of control parameters for all wells, thenN is the well number.
S102, constructing a net present value expected expression of a target oil reservoir based on a control parameter vector; wherein the net present value expectation expression includes a control parameter vector.
Optionally, step S102 may include:
constructing a net present value expression of the target oil reservoir based on the control parameter vector and the reservoir property variable of the target oil reservoir;
A net present expected expression is constructed from the plurality of reservoir properties and the net present expression for the target reservoir.
Reservoir properties may include, among other things, permeability and porosity.
Specifically, the embodiment may construct a net present value expression of the target oil reservoir in advance based on the control parameter vector and the plurality of reservoir properties, and then construct a net present value expected expression of the target oil reservoir.
It should be noted that, the expected expression of the net present value may be obtained by optimizing the control parameter variables in the expression of the net present value by applying a set optimization method in this embodiment and considering the uncertainty of the reservoir model. The present embodiment may assume that there are N e different reservoir properties y j, targeting the maximization of net present value expectations to account for reservoir model uncertainty.
Alternatively, the net present value desired expression is:
Where g Y (x) is the net present value expectation, N e is the total number of reservoir properties, j is the number of reservoir properties, N t is the total number of time steps, i is the time step index, t i is the accumulated time since the start of production, v o and v w are the crude oil price and water treatment cost, respectively, Q oi and Q wi are the total oil and water production in time step t i, y is the reservoir property variable, y j is the reservoir property number j, and x is the control parameter variable.
Specifically, the present embodiment may first create a net present value expression:
Where g (x, y) is a net present value expression.
The subscript Y in g Y (x) represents the expected value of the geologic model probability density function. Since the desired way of determination is not changed during the production optimization, g Y (X) can be regarded only as a function of the control parameter variable X.
S103, iterating the element values of the control parameter vector in the net present value expected expression with the aim of maximizing the net present value expected expression, and calculating the net present value expected corresponding to each generation of element values until the iteration stop condition is met.
Specifically, the embodiment may iterate the element values of the control parameter vector in the net present value expected expression with the maximization of the net present value expected expression as a target, and may calculate the corresponding net present value expected according to the element values of the control parameter vector and the net present value expected expression after determining each generation of element values of the control parameter vector.
The iteration stop condition may be that the iteration number reaches a preset number, or that the net present value is expected to reach a preset threshold.
S104, determining the maximum net present value expectation in the iterative process.
Specifically, in this embodiment, the maximum value, that is, the maximum net present value expectation, may be determined from the net present value expectations corresponding to the values of the elements of each generation.
S105, determining the element value corresponding to the maximum net present value expectation as the optimal element value.
Specifically, the embodiment may determine, after determining that the maximum net present value is expected, an element value corresponding to the maximum net present value is expected, and the element value is used as an optimal element value of the control parameter vector.
The oil reservoir injection and production optimization method provided by the embodiment can generate the control parameter vector of the target oil reservoir; the control parameter vector comprises control parameter adjustment data of each of a plurality of oil and gas wells of the target oil reservoir. Constructing a net present value expected expression of the target oil reservoir based on the control parameter vector; wherein the net present value expectation expression includes a control parameter vector. And iterating the element values of the control parameter vector in the net present value expected expression with the aim of maximizing the net present value expected expression, and calculating the net present value expected corresponding to each generation of element values until the iteration stop condition is met. And determining the maximum net present value expectation in the iterative process, and determining the element value corresponding to the maximum net present value expectation as the optimal element value. According to the method and the device, the oil reservoir injection and production optimization can be carried out by taking the maximum net present value as a target, the optimal element value of the control parameter vector is determined, and the oil reservoir injection and production optimization means are enriched.
In the related technology, the oil reservoir injection and production optimization is an important direction in the field of oil reservoir production optimization research, and the oil reservoir injection and production optimization method in the related technology mainly comprises a concomitant gradient method, a no gradient method and a mixed gradient method. The method solves the true gradient with the gradient algorithm, has highest calculation efficiency, but needs to derive the Jacobian matrix in the oil reservoir numerical simulator, has very complex process and can not meet the requirement of actual large-scale complex oilfield optimization. The gradient-free method does not need complex gradient information and has good global property, but a large number of numerical simulation iterative computations are needed in the optimization process to converge to an optimal solution, the time is too long, the method is limited by the discomfort type and the set size of the optimization problem in practical application, the covariance estimation is not easy to cause pseudo-correlation, the convergence and the calculation accuracy are further influenced, and related improvement is needed to be made for the problem.
Based on fig. 1, this embodiment proposes a second method for optimizing oil reservoir injection and production, in which step S103 may include:
determining a sensitivity approximation expression of the net present value expectation to the control parameter vector;
Generating an error control expression according to the plurality of reservoir properties of the target reservoir and the control parameter vector, wherein the error control expression is used for reducing errors of the sensitivity approximation expression;
And iterating the element values of the control parameter vector in the net present value expected expression based on the fastest descent method, the sensitivity approximation expression and the error control expression, and calculating the net present value expected corresponding to each generation of element values until the iteration stop condition is met.
Optionally, the determining the approximate expression of the sensitivity of the net present value to the control parameter vector may include:
Disturbing each piece of control parameter adjustment data in the control parameter vector by using a time-dependent Gaussian random variable to generate a plurality of realization parameters, wherein each realization parameter comprises disturbed data corresponding to each piece of control parameter adjustment data in the control parameter vector;
For any implementation parameter, determining a geological model corresponding to the implementation parameter, calculating a corresponding net present value according to the implementation parameter and the geological model, and taking the implementation parameter and the corresponding net present value as a whole to-be-processed element;
arranging all elements to be processed to generate a corresponding realization set;
A cross-covariance approximation expression between the net present value expectation and the control parameter vector is determined based on the set of realizations and is used as a sensitivity approximation expression.
Optionally, the generating the error control expression according to the plurality of reservoir properties and the control parameter vector of the target reservoir may include:
carrying out oil reservoir numerical simulation according to the plurality of reservoir properties and the control parameter vector so as to generate a corresponding accompanying gradient matrix;
singular value decomposition is carried out on the accompanying gradient matrix to obtain corresponding singular vectors;
a localization matrix for eliminating covariance pseudo-correlation effects is generated based on the singular vectors, and the localization matrix is used as an error control expression.
Optionally, the foregoing method for controlling the element values of the control parameter vector in the net present value expected expression based on the fastest descent method and the sensitivity approximation expression and the error control expression iterates the element values of the control parameter vector in the net present value expected expression, and calculates the net present value expected corresponding to each generation of element values until the iteration stop condition is satisfied, which may include:
determining control parameter adjustment data in the control parameter vector as a primary element value of the control parameter vector, and calculating a corresponding net present value expectation according to the primary element value and the net present value expectation expression;
Determining next generation element values based on the fastest descent method, the sensitivity approximation expression, the error control expression and the initial values, and calculating corresponding net present value expectations;
And determining a new next generation element value based on the fastest descent method, the sensitivity approximation expression, the error control expression and the next generation element value until the iteration stop condition is met.
Specifically, in this embodiment, the element value of the control variable X that maximizes the objective function g Y (X) may be found by using the fastest descent method, where the formula of the fastest descent method is:
where l represents the iteration index, α is the step size of the adjustment parameter determining fastest descent method, G is the sensitivity matrix of G Y (x) to the control parameter variable, and the dimension is 1×n X.
In particular, the set optimization problem is ill-posed without regularization, and the present embodiment may use covariance matrix C x to provide preprocessing for the fastest rise mode before sensitivity matrix G to penalize frequent abrupt changes in control settings. In this case, the present embodiment may choose a gaussian covariance function to describe the time dependence between different controls of the same well to limit the frequency and magnitude of well control variations. Furthermore, depending on the capacity of the facility, different control parameters always have upper and lower limits (e.g., minimum and maximum bottom hole pressures and minimum and maximum liquid production and water injection volumes). The out-of-limit values in this embodiment are truncated and the total injection and production limits are complied with by redistributing the injection and production amounts between the wells proportionally according to the truncated values.
To calculate an approximation of the sensitivity matrix G of G Y (X) to the control parameter variable X, the present embodiment may build an implementation set Z, such as:
Where the set Z contains N e realizations Z k, where k=1, 2, …, N e.Xl,k are realization parameters corresponding to the control parameter variables, all well constraints including each control step can be generated by perturbing the control parameter adjustment data in the currently iterated control parameter variable X using a time-dependent gaussian random variable, where the variance of the gaussian perturbation comes from the desire for frequency and amplitude of well control variations. P k is a geologic model of propagation in EnRML. g Y(Xl,1,P1)、gY(Xl,2,P2) and Combining the set of control parameter variables with the set of geologic models, an implementation of control parameter variables X l,k is applied to a geologic model P k. G Y(Xl,k,Pk may then be calculated from the numerical simulation results), the construction of set Z involving N e simulation runs. It will be appreciated that the present embodiment may be able to take into account uncertainty in reservoir geological properties by way of set optimization.
The present embodiment may represent the cross-covariance between the control parameter variables X and g Y (X) by C x,g(x) and calculate its approximation from the set Z using the following manner.
Wherein:
At this time, the formula of the fastest descent method may be:
it is assumed that, in each iteration, the relationship between g Y (X) and the control parameter variable X may be approximately linear, such as:
since the cross covariance C x,g(x) is estimated using the monte carlo approach, i.e., the correlation approach of set Z, when the scale of set Z is small, it is subject to spurious correlations and the C x,g(x) estimation may be inaccurate. The embodiment can establish a singular value decomposition localization mode to filter out cross covariance exceeding a critical distance so as to improve calculation accuracy.
In the localization approach using singular value decomposition, the elements in the localization matrix may represent the correlation between each control parameter variable X and the numerical simulation observations g Y (X) (total oil and water production).
Wherein,AndIs obtained by numerical simulation calculation of the reservoir based on the control parameter vector X and the reservoir property y, and the gradient matrix G Q obtained in the numerical simulation calculation is the control parameter variable X and the observed valueAndThe gradient matrix between the two is defined as accompanying gradient matrix G QD of gradient matrix C Q in formula (1),AndCollectively denoted as Q (x, y).
(G QDQ(x,y),x)X=(Q(x,y),GQx)X -) Reinforcement of the reaction products-formula (1);
the gradient matrix G QD,k is computed for each group X l,k,Pk in the set Z by singular value decomposition of the accompanying gradient matrix G QD,k as in equation (2):
Wherein g (x) is shorthand for g Y (x). The embodiment can average the arithmetic of all N e right singular vectors V k for the well where the control variable is located The corresponding columns of (a) are mapped into grid blocks of the reservoir numerical simulation model, and the area obtained after the values of the singular vectors are properly truncated is defined as the total area of the white partial squares in fig. 2. In fig. 2, P1, P2, P3 and P4 each represent an oil well, and I1 represents a water injection well. For each well in which the control parameter variables are located, calculating a minimum value of a least squares formula to determine the correlation lengths L x and L y of the primary and secondary directions, the formula being:
If the observed value is AndThe position is within the relevant area, s is 1, and otherwise is 0.For controlling the Euclidean distance between the well where the parameter variable is located and the position where the observed value is located, the calculation formula is shown as formula (3) and formula (4).
Where θ is the principal direction of geologic modeling, the relationship of θ, L x, and L y may be as shown in FIG. 3. Delta x,δy is the coordinates of the location of the measurement in the north-south coordinate system with the well location of the control parameter variable as the origin. Delta x′ and delta t′ are two intermediate variables in the calculation process.
After obtaining L x,Ly, this embodiment may construct a localization matrix ρ x,g(x) with a size of N X×NX, for each element in the matrix, if the well where the control parameter variable corresponding to the horizontal coordinate is located is the same well as the well where the control parameter variable corresponding to the vertical coordinate is located, the element value is 1, if the wells are different, if the distance between the two wells is smaller than the relevant distance, the corresponding element in the localization matrix is 1, otherwise, it is 0. In the set optimization mode, this embodiment introduces the localization matrix to eliminate the influence of covariance pseudo-correlation, then:
In the embodiment, injection and production optimization is performed on 12 wells in total of 8 injection and 4 production in the egg model shown in fig. 4, and compared with a method without localization, the operation speed of the localization method is improved by 18%, and the iteration times are reduced by 26%. The embodiment establishes a complete oil reservoir injection acquisition and optimization mode based on singular value decomposition localization, can reduce the calculation cost to the greatest extent in the process of automatic optimization of oil field injection and production, avoids sinking into local optimum, effectively guides later development and adjustment, and has a good application prospect.
The method and the device can fully consider the pseudo-correlation caused by inaccurate covariance estimation of a small sample set in the set optimization process, introduce a singular value decomposition localization mode, greatly improve the accuracy of covariance estimation and improve the calculation efficiency of an injection-production optimization algorithm.
The oil reservoir injection and production optimization method provided by the embodiment can form an effective localized matrix calculation mode, reasonably obtains the correlation length of the localized matrix through singular value decomposition, and greatly improves the estimation accuracy of the covariance matrix in the set optimization mode. And an automatic algorithm for all calculation processes can be formed, and automatic optimization adjustment of oil field injection and production is realized through programming.
As shown in fig. 5, this embodiment proposes an oil reservoir injection and production optimization device, which may include:
A generating unit 101, configured to generate a control parameter vector of a target oil reservoir, where the control parameter vector includes control parameter adjustment data of each of a plurality of oil and gas wells of the target oil reservoir;
a construction unit 102, configured to construct a net present value expected expression of the target reservoir based on the control parameter vector; wherein the net present value expectation expression includes a control parameter vector;
An iteration unit 103, configured to iterate the element values of the control parameter vector in the net present value expectation expression with the objective of maximizing the net present value expectation, and calculate the net present value expectation corresponding to each generation of element values until the iteration stop condition is satisfied;
a first determining unit 104 for determining a maximum net present value expectation in an iterative process;
A second determining unit 105, configured to determine an element value corresponding to the maximum net present value expected as an optimal element value.
It should be noted that, the processing procedures of the generating unit 101, the constructing unit 102, the iterating unit 103, the first determining unit 104, and the second determining unit 105 and the beneficial effects thereof may refer to steps S101 to S105 in fig. 1, respectively, and are not described again.
Optionally, the construction unit 102 is further configured to:
constructing a net present value expression of the target oil reservoir based on the control parameter vector and the reservoir property variable of the target oil reservoir;
A net present expected expression is constructed from the plurality of reservoir properties and the net present expression for the target reservoir.
Alternatively, the net present value desired expression is:
Where g Y (x) is the net present value expectation, N e is the total number of reservoir properties, j is the number of reservoir properties, N t is the total number of time steps, i is the time step index, t i is the accumulated time since the start of production, v o and v w are the crude oil price and water treatment cost, respectively, Q oi and Q wi are the total oil and water production in time step t i, y is the reservoir property variable, y j is the reservoir property number j, and x is the control parameter variable.
Optionally, the iteration unit 103 is further configured to:
determining a sensitivity approximation expression of the net present value expectation to the control parameter vector;
Generating an error control expression according to the plurality of reservoir properties of the target reservoir and the control parameter vector, wherein the error control expression is used for reducing errors of the sensitivity approximation expression;
And iterating the element values of the control parameter vector in the net present value expected expression based on the fastest descent method, the sensitivity approximation expression and the error control expression, and calculating the net present value expected corresponding to each generation of element values until the iteration stop condition is met.
Optionally, the iteration unit 103 is further configured to:
Disturbing each piece of control parameter adjustment data in the control parameter vector by using a time-dependent Gaussian random variable to generate a plurality of realization parameters, wherein each realization parameter comprises disturbed data corresponding to each piece of control parameter adjustment data in the control parameter vector;
For any implementation parameter, determining a geological model corresponding to the implementation parameter, calculating a corresponding net present value according to the implementation parameter and the geological model, and taking the implementation parameter and the corresponding net present value as a whole to-be-processed element;
arranging all elements to be processed to generate a corresponding realization set;
A cross-covariance approximation expression between the net present value expectation and the control parameter vector is determined based on the set of realizations and is used as a sensitivity approximation expression.
Optionally, the iteration unit 103 is further configured to:
carrying out oil reservoir numerical simulation according to the plurality of reservoir properties and the control parameter vector so as to generate a corresponding accompanying gradient matrix;
singular value decomposition is carried out on the accompanying gradient matrix to obtain corresponding singular vectors;
a localization matrix for eliminating covariance pseudo-correlation effects is generated based on the singular vectors, and the localization matrix is used as an error control expression.
Optionally, the iteration unit 103 is further configured to:
determining control parameter adjustment data in the control parameter vector as a primary element value of the control parameter vector, and calculating a corresponding net present value expectation according to the primary element value and the net present value expectation expression;
Determining next generation element values based on the fastest descent method, the sensitivity approximation expression, the error control expression and the initial values, and calculating corresponding net present value expectations;
And determining a new next generation element value based on the fastest descent method, the sensitivity approximation expression, the error control expression and the next generation element value until the iteration stop condition is met.
The oil reservoir injection and production optimizing device provided by the embodiment can determine a plurality of reservoir properties of a target oil reservoir and generate a control parameter vector; the control parameter vector comprises control parameter adjustment data of each of a plurality of oil and gas wells of the target oil reservoir. Constructing a net present value expected expression of the target reservoir based on the control parameter vector and the plurality of reservoir properties; wherein the net present value expectation expression includes a control parameter vector. And iterating the element values of the control parameter vector in the net present value expected expression with the aim of maximizing the net present value expected expression, and calculating the net present value expected corresponding to each generation of element values until the iteration stop condition is met. And determining the maximum net present value expectation in the iterative process, and determining the element value corresponding to the maximum net present value expectation as the optimal element value. According to the method and the device, the oil reservoir injection and production optimization can be carried out by taking the maximum net present value as a target, the optimal element value of the control parameter vector is determined, and the oil reservoir injection and production optimization means are enriched.
The reservoir injection and production optimization device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application SPECIFIC INTEGRATED Circuit) Circuit, a processor and a memory that execute one or more software or firmware programs, and/or other devices that can provide the above functions.
The embodiment of the invention also provides computer equipment, which is provided with the oil reservoir injection and production optimizing device shown in the figure 5.
Referring to fig. 6, an alternative embodiment of the present invention provides a schematic structural diagram of a computer device, which includes: one or more processors 10, memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are communicatively coupled to each other using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the computer device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In some alternative embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple computer devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 10 is illustrated in fig. 6.
The processor 10 may be a central processor, a network processor, or a combination thereof. The processor 10 may further include a hardware chip, among others. The hardware chip may be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general-purpose array logic, or any combination thereof.
Wherein the memory 20 stores instructions executable by the at least one processor 10 to cause the at least one processor 10 to perform a method for implementing the embodiments described above.
The memory 20 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area. The storage data area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, memory 20 may optionally include memory located remotely from processor 10, which may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The memory 20 may include volatile memory, such as random access memory. The memory may also include non-volatile memory, such as flash memory, a hard disk, or a solid state disk. The memory 20 may also comprise a combination of the above types of memories.
The computer device also includes a communication interface 30 for the computer device to communicate with other devices or communication networks.
The embodiments of the present invention also provide a computer readable storage medium, and the method according to the embodiments of the present invention described above may be implemented in hardware, firmware, or as a computer code which may be recorded on a storage medium, or as original stored in a remote storage medium or a non-transitory machine readable storage medium downloaded through a network and to be stored in a local storage medium, so that the method described herein may be stored on such software process on a storage medium using a general purpose computer, a special purpose processor, or programmable or special purpose hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, a solid state disk or the like; further, the storage medium may also comprise a combination of memories of the kind described above. It will be appreciated that a computer, processor, microprocessor controller or programmable hardware includes a storage element that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the methods illustrated by the above embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410744387.5A CN118564215A (en) | 2024-06-11 | 2024-06-11 | A method and device for optimizing oil reservoir injection and production |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410744387.5A CN118564215A (en) | 2024-06-11 | 2024-06-11 | A method and device for optimizing oil reservoir injection and production |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN118564215A true CN118564215A (en) | 2024-08-30 |
Family
ID=92468158
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410744387.5A Pending CN118564215A (en) | 2024-06-11 | 2024-06-11 | A method and device for optimizing oil reservoir injection and production |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118564215A (en) |
-
2024
- 2024-06-11 CN CN202410744387.5A patent/CN118564215A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113052371B (en) | Residual oil distribution prediction method and device based on deep convolutional neural network | |
| Shirangi et al. | Closed-loop field development under uncertainty by use of optimization with sample validation | |
| CN104615862B (en) | A Method for Determining Well Locations in High Water-cut Oilfields Based on Evolutionary Algorithms | |
| CN102007485B (en) | Markov decision process-based decision support tool for reservoir development planning | |
| CN106716181B (en) | Tuning Object- or Event-Based Reservoir Models Using Multipoint Statistical Simulation | |
| Dehdari et al. | Sequential quadratic programming for solving constrained production optimization–case study from Brugge field | |
| CN104179499A (en) | Numerical simulation method considering oil reservoir parameter time variant | |
| CN106355003B (en) | Markov chain Monte-Carlo automatic history matching method and system based on t distributions | |
| EP2676217A2 (en) | System and method for uncertainty quantification in reservoir simulation | |
| CN109829217A (en) | Pressure break Fractured Reservoir productivity simulation method and device | |
| CN117574755A (en) | Hierarchical multi-level optimization method for horizontal well fracturing parameters in shale reservoir well factory | |
| CN108804382A (en) | A kind of automatic reverse method of parameter and device | |
| CN107016205A (en) | A kind of multi-model construction method of groundwater Numerical Simulation | |
| CN116523086A (en) | Single well production dynamic prediction method based on long-short-term memory depth neural network | |
| CN108133286B (en) | Underground water multi-target calculation method based on ground settlement substitution model | |
| CN118643746A (en) | An automated history matching method integrating geological modeling and numerical simulation proxy models | |
| CN108710734A (en) | Method for numerical simulation and device based on mesh adaption encryption and coarsening technique | |
| CN116882218B (en) | Oil reservoir numerical simulation method and device, computer equipment and storage medium | |
| CN116006168B (en) | A method and system for optimizing injection and production parameters based on connectivity analysis | |
| US11915181B2 (en) | Upper confidence bound algorithm for oilfield logic | |
| WO2017039680A1 (en) | Time-to-finish simulation forecaster | |
| CN118564215A (en) | A method and device for optimizing oil reservoir injection and production | |
| CN110306968A (en) | Irregular well pattern optimization method and its computer readable storage medium | |
| Yang et al. | Effects of stochastic simulations on multiobjective optimization of groundwater remediation design under uncertainty | |
| Li et al. | Ensembles‐based and GA‐based optimization for landfill gas production |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |