A fast-updating history matching paradigm based on multi-stage historical experience transfer

Through the rapid update history matching paradigm of multi-stage historical experience migration, the reservoir historical data is used to reduce the sample requirements in the new stage, solving the problems of resource waste and high computational cost in the traditional method, and realizing the rapid update and development of reservoir history matching. Improved accuracy.

CN118552338BActive Publication Date: 2024-10-29CHINA UNIV OF PETROLEUM (EAST CHINA)
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411027890.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-10-29
Estimated Expiration
2044-07-30

AI Technical Summary

Technical Problem

Traditional reservoir history matching methods have high requirements on the number of samples in the new stage, and are difficult to handle the uncertainty of reservoir geological parameters, resulting in a waste of resources and increased computational costs, as well as insufficient convergence performance and generalization capabilities.

Method used

A fast-updating history matching paradigm based on multi-stage historical experience transfer is adopted. Through dimensionality reduction and Gaussian random sampling of the prior geological model, a proxy model of the historical and target stages is established, coupled with adaptive weights through meta-regression and combined with an optimization algorithm. Search geological parameters, reduce reliance on expensive samples, and improve fitting speed and accuracy.

Benefits of technology

Effectively utilize historical data, reduce resource waste, improve fitting speed and accuracy, enhance generalization capabilities, avoid local optimality, improve convergence performance, and achieve rapid updates of reservoir history matching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552338B_ABST
    Figure CN118552338B_ABST
Patent Text Reader

Abstract

This invention discloses a rapid historical fitting paradigm based on multi-stage historical experience transfer, relating to the field of reservoir historical fitting technology. Based on a prior geological model of the reservoir, this invention acquires prior information and performs dimensionality reduction on the prior geological model. After determining the dimensionality reduction information, Gaussian random sampling is performed at each historical stage of the oilfield's production cycle to obtain historical experience and establish a historical stage surrogate model. Then, Gaussian random sampling simulation is performed at the target stage to establish a target stage surrogate model. The historical stage surrogate model and the target stage surrogate model are coupled to establish a historical experience transfer model, which is then combined with an optimization algorithm to search for optimal geological parameters. This method introduces transfer learning from historical stages to the target stage, significantly reducing the number of samples required for the target stage. This shortens the fitting time and improves the speed and accuracy of historical fitting for new reservoir stages, achieving rapid updates to reservoir historical fitting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of reservoir history matching, and in particular to a fast-updating history matching paradigm based on multi-stage historical experience migration. Background Art

[0002] Traditional history matching methods have certain limitations when applied to the history matching of the new stage of the reservoir. They need sufficient expensive samples of the new stage to achieve a good fitting effect. When the sample volume of the new stage of the reservoir is very scarce, the historical matching effect is difficult to guarantee because the reservoir is located underground where it is difficult to be directly observed and there is a large uncertainty in the reservoir characteristics (such as saturation, permeability and other parameters). In addition, reservoir history matching is a process of continuous correction. There is a large amount of expensive data in the history of reservoir development. Most traditional history matching methods ignore these historical data and start history matching from scratch, resulting in a waste of resources.

[0003] At present, some history matching methods try to use proxy models to replace real numerical simulators, so as to save the time cost of new stage fitting, but it still does not change the dependence of new stage fitting on the number of samples, and the accuracy of proxy models is often difficult to guarantee. In addition, existing methods are also difficult to deal with the uncertainty of reservoir geological parameters. In the study of reservoir history matching, the local optimum in the inversion process limits the convergence performance of the algorithm, increases the time and computational cost, which puts higher requirements on the convergence performance and generalization ability of existing fitting methods.

[0004] Therefore, it is urgent to propose a fast-updating history fitting paradigm based on multi-stage historical experience migration. With the help of historical experience migration, the dependence of the new stage of the reservoir on the expensive number of samples can be reduced, and while enhancing the generalization ability, it can continuously break away from the local optimum, improve the convergence performance, and achieve rapid updating of reservoir history fitting. Summary of the invention

[0005] The present invention aims to overcome the defects of traditional reservoir history matching methods and provides a fast updating history matching paradigm based on multi-stage historical experience migration, which solves the requirement of existing reservoir history matching methods on the number of samples in the target stage. By performing transfer learning on historical experience and making full use of historical stage samples, it not only avoids the waste of reservoir historical data, but also effectively improves the speed and accuracy of reservoir history matching in the new stage, thereby realizing the rapid updating of reservoir history matching.

[0006] To achieve the above object, the present invention adopts the following technical solution:

[0007] A fast updating history matching paradigm based on multi-stage historical experience migration includes the following steps:

[0008] Step 1, according to the prior geological model of the oil reservoir, obtain prior information and normalize the prior geological model, select a suitable variance explanation ratio, perform dimensionality reduction processing on the prior geological model through principal component analysis, obtain the prior geological model information after dimensionality reduction, and obtain dimensionality reduction information;

[0009] Step 2: According to each historical stage in the oil reservoir exploitation cycle, Gaussian random sampling is performed using dimensionality reduction information and prior information in each historical stage to establish a historical geological parameter field, and the simulated response values ​​corresponding to the geological parameters are obtained through real numerical simulation to construct a historical stage proxy model;

[0010] Step 3, in the target stage, the geological parameter field is obtained by Gaussian random sampling of sample points, and a real numerical simulation is performed to establish a proxy model for the target stage. The proxy model for the historical stage is coupled with the adaptive weight of the proxy model for the target stage through meta-regression to establish a historical experience migration model;

[0011] Step 4: Combine the historical experience migration model with the optimization algorithm to search the geological parameter space to determine the optimal geological parameters.

[0012] Preferably, the geological model is a permeability field model, the geological parameter field is a permeability field, and the geological parameter is permeability.

[0013] Preferably, the step 1 includes the following steps:

[0014] Step 1.1, based on the prior geological model of the reservoir, obtain prior information, including the number, dimension, and upper bound of the prior permeability field , Nether and mean ;

[0015] Step 1.2, normalize the prior permeability field, as shown in formula (1):

[0016] (1)

[0017] In the formula, is the normalized permeability parameter; is the number of rows of the prior permeability field; is the number of columns of the prior permeability field before dimensionality reduction, used to represent the dimension of the prior permeability field; is the permeability parameter of the prior permeability field;

[0018] Step 1.3, perform principal component analysis and dimensionality reduction on the normalized prior permeability field based on the singular value decomposition covariance matrix, as shown in formula (2):

[0019] (2)

[0020] In the formula, is the dimension of the prior permeability field after dimensionality reduction, and ; For one Matrix of For one phalanx; is the transposed matrix of matrix V, For one Matrix of

[0021] Set the variance explanation ratio to determine the retained dimensions for:

[0022] (3)

[0023] In the formula, is a diagonal matrix The ordinal number of the eigenvalue; is a diagonal matrix, a diagonal matrix The eigenvalues ​​are arranged on the diagonal in descending order; is the variance explanation ratio, which is used to indicate the percentage of information retained after dimension reduction by principal component analysis;

[0024] Obtaining the upper bound of the prior permeability field after principal component analysis dimensionality reduction , Nether , mean and variance , and get the dimensionality reduction information.

[0025] Preferably, the step 2 comprises the following steps:

[0026] Step 2.1: Divide the oil reservoir production cycle into In each historical stage, combined with the dimension reduction information, Gaussian random sampling was used to establish the historical geological parameter field for each historical stage.

[0027] Using Gaussian distribution function Random sampling to determine the reduced-dimensional permeability field for:

[0028] (4)

[0029] in,

[0030] (5)

[0031] In the formula, is a variable; is the mean of the Gaussian distribution; is the standard deviation of the Gaussian distribution; is the natural exponential function;

[0032] Step 2.2: Reduce the permeability field Reconstruct to the original dimension and get the historical permeability field for:

[0033] (6)

[0034] In the formula, is the transposed matrix of the compression coefficients of the principal component analysis;

[0035] Step 2.3: historical permeability field Denormalization, combined with the upper bound of the prior permeability field and the lower bound Boundary absorption is applied to the historical permeability field, as shown in formula (7):

[0036] (7)

[0037] In the formula, is the historical permeability field after denormalization;

[0038] Use historical permeability fields to perform numerical simulations to obtain simulation response values ;

[0039] Step 2.4, construct historical stage proxy models for each historical stage based on the prior permeability field and simulated response value after dimensionality reduction;

[0040] The historical stage proxy model is:

[0041] (8)

[0042] In the formula, is an approximate true function; is the serial number of the neuron center; is the total number of neuron centers; For the The weight coefficients of radial basis function units; is the radial basis kernel function, or , For sample points The center point of the neuron selected by the radial basis function The Euclidean distance between .

[0043] Preferably, the step 3 comprises the following steps:

[0044] Step 3.1, set the target stage and use the Gaussian distribution function Random sampling to obtain the permeability field after dimension reduction in the target stage Repeat steps 2.1 to 2.3 to process the permeability field after dimensionality reduction , obtain the reconstructed permeability field after denormalization The initial permeability field is used as the initial permeability field to perform numerical simulation and obtain the simulation response value. , and then according to the initial permeability field and the simulated response value of the target stage Establishing the target stage agent model ;

[0045] Step 3.2, based on the Tchebycheff method of multi-objective problem decomposition, the historical stage proxy model and the target stage proxy model are regarded as models of different objective tasks and combined into a specified stage to solve the history matching problem of the reservoir, as shown in formula (9):

[0046] (9)

[0047] In the formula, To take the minimum value; is the set of all targets; is the set of decision variables; is a set of meta-regression coefficients, which represents the set of weights of all objective functions, including the weights of each objective function, and the cumulative sum of the weights of all objective functions is 1. The objective function is a historical stage proxy model or a target stage proxy model; is the maximum value function; is the serial number of the objective function; is the total number of objective functions; For the The weight of the objective function; For the objective function; For the a reference point for a target;

[0048] Step 3.3, combining multiple historical stage proxy models with the target stage proxy model based on meta-regression, the process is as follows:

[0049] (10)

[0050] in,

[0051] (11)

[0052] In the formula, is the mean square error function; is the data sequence number; is the total number of sample data; It is the serial number of the historical stage; is the total number of historical stages; For the The weight of the historical stage proxy model corresponding to each historical stage; For the The historical stage proxy model corresponding to the historical stage is The predicted value of data; is the weight of the proxy model in the target phase; Proxy model for the target stage For The predicted value of data; For the The numerical simulation response value of the data;

[0053] Thus, the historical experience migration model is obtained as follows:

[0054] (12)

[0055] In the formula, is the common prediction value based on the historical stage proxy model and the target stage proxy model; For new samples; For the The predicted value of the historical stage proxy model for the new sample corresponding to the historical stage; Proxy model for the target stage The predicted value for new samples.

[0056] Preferably, the step 4 comprises the following steps:

[0057] Step 4.1, select the optimization algorithm, preset the historical experience migration model in the optimization algorithm, set the optimization termination condition of the optimization algorithm, and perform iterative optimization;

[0058] During the iterative optimization process, the historical experience migration model is used to predict the response values ​​of each geological model and determine whether the preset optimization termination condition is met. If the preset optimization termination condition is not met, the geological model is updated and the iterative optimization continues. Otherwise, the iterative optimization is stopped to obtain the optimal geological model.

[0059] Step 4.2, use the optimal geological model determined in step 4.1 to perform numerical simulation, obtain the response value corresponding to the optimal geological model and add it to the database of the historical experience migration model. After updating the historical experience migration model, use the optimization algorithm to iteratively optimize until the preset optimization termination conditions are reached to determine the optimal geological parameters.

[0060] Preferably, the optimization algorithm is a differential evolution algorithm among gradient-free algorithms.

[0061] The beneficial technical effects brought by the present invention are:

[0062] (1) The present invention proposes a fast-updating historical matching paradigm based on multi-stage historical experience migration. Compared with the traditional reservoir history matching method, it makes full use of the expensive samples of the reservoir history stage and uses the historical experience to guide the current stage of historical matching, thereby avoiding the waste of resources caused by the need to start historical matching from scratch when the traditional reservoir history matching method is applied to the new stage. At the same time, the method of the present invention uses the prior knowledge and historical laws provided by the historical stage, so that the new model does not need to explore the entire parameter space from scratch, but is optimized based on the existing knowledge, which reduces the exploration cost of the new model and accelerates the convergence speed of the model.

[0063] (2) The method of the present invention is based on a multi-stage coupled historical experience migration model. It uses the fitting results of different stages provided by the historical stage model as historical constraints, avoiding the problem of unreasonable parameter combination in the new stage fitting process, and is more conducive to guiding the new model to search within a more reasonable parameter range, thereby improving the fitting efficiency and accuracy. At the same time, the method of the present invention uses the historical stage model to smooth the target stage model. By integrating historical data, the historical experience migration model can smooth out some noise caused by the small number of samples during the fitting process, reduce the fitting fluctuations caused by the small number of samples, and improve the robustness of reservoir history fitting.

[0064] (3) The method of the present invention constructs a historical experience transfer model based on meta-regression, realizes adaptive adjustment of the weights of different models, makes full use of the effective information in the historical stage proxy model, and avoids overfitting of the historical experience transfer model to new data.

[0065] (4) The fast-updating history matching paradigm based on multi-stage historical experience migration proposed by the method of the present invention can be extended and applied to other history matching methods. For example, multiple long short-term memory recurrent neural networks (LSTMs) are used as agents for the history and target stages to construct a migration model, and the ensemble smoother for multi-data assimilation (ESMDA) in the data assimilation algorithm is combined as an optimization algorithm. This helps traditional history matching methods to apply historical experience and improve the performance of traditional history matching methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 The flowchart of the present invention is a rapid update history matching paradigm based on multi-stage historical experience migration.

[0067] Figure 2 Schematic diagram of the prior permeability field.

[0068] Figure 3 This is the effect diagram of principal component analysis dimensionality reduction; Figure 3 In the figure, (a) is the prior permeability field, (b) is the prior permeability field after dimensionality reduction, (c) is the dimension contribution distribution diagram, and (d) is the principal component contribution histogram.

[0069] Figure 4 This is a performance comparison diagram of the method of the present invention and the traditional radial basis function agent-assisted differential evolution method when the target stage samples are the same; Figure 4 In the figure, (a) is the iteration diagram of the two methods when the target stage samples are the same, and (b) is the box plot of the two methods when the target stage samples are the same.

[0070] Figure 5 The permeability field inversion effect diagram of the two methods when the samples in the target stage are the same; Figure 5 In the figure, (a) is the inverted permeability field of the traditional radial basis function proxy-assisted differential evolution method, (b) is the inverted permeability field of the method of the present invention, and (c) is the real permeability model.

[0071] Figure 6 The difference diagrams of the inverted permeability fields and the true permeability fields by the two methods are shown; Figure 6 In the figure, (a) is the difference diagram between the permeability field inverted by the traditional radial basis function proxy-assisted differential evolution method and the true permeability field, and (b) is the difference diagram between the permeability field inverted by the method of the present invention and the true permeability field.

[0072] Figure 7 This is a performance comparison chart of the two methods when the number of samples in the target stage is different; Figure 7 In the figure, (a) is the iteration diagram of the two methods when the number of samples in the target stage is different, and (b) is the box plot of the two methods when the number of samples in the target stage is different.

[0073] Figure 8 Local iteration graph of the performance of the two methods when the target phase samples are different.

[0074] Fig. 9 The permeability field inversion effect diagram of the method of the present invention under different sampling numbers; Fig. 9 Among them, (a) is the real permeability field diagram, (b) is the permeability field inversion effect diagram of the method of the present invention when the sampling number is 150, (c) is the permeability field inversion effect diagram of the method of the present invention when the sampling number is 100, and (d) is the permeability field inversion effect diagram of the method of the present invention when the sampling number is 50.

[0075] Fig.10 It is a difference diagram between the permeability field inverted by the method of the present invention and the true permeability field under different sampling numbers; Fig.10In the figure, (a) is the difference diagram between the permeability field inverted by the method of the present invention and the true permeability field when the sampling number is 150, (b) is the difference diagram between the permeability field inverted by the method of the present invention and the true permeability field when the sampling number is 100, and (c) is the difference diagram between the permeability field inverted by the method of the present invention and the true permeability field when the sampling number is 50.

[0076] In the figure, REFDE is the traditional radial basis function agent-assisted differential evolution method, HETS-DE is the method of the present invention, 150_HETS-DE is the method of the present invention when the sampling number is 150, 100_HETS-DE is the method of the present invention when the sampling number is 100, and 50_HETS-DE is the method of the present invention when the sampling number is 50. DETAILED DESCRIPTION

[0077] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0078] Take a study area as an example. The study area contains 60×60 grid blocks with uneven permeability distribution. The grid block size is 8 m×8 m×4m. The mean logging permeability of all grid blocks is 6.38, the variance is 0.58, and the permeability unit is mD. There are 5 wells in the study area, including 1 water injection well and 4 production wells. The water injection well number is I1 and the production well number is P1~P4. The water injection well operates with a fixed water injection rate of 200m³ / d, and the production wells operate at a constant bottom hole pressure of 350bar. The reservoir history data is obtained by 3000 days of simulated production to provide data for reservoir history fitting.

[0079] For the above study area, a fast updating history matching paradigm based on multi-stage historical experience migration proposed by the present invention is adopted, such as Figure 1 As shown, it specifically includes the following sub-steps:

[0080] Step 1, according to the prior geological model of the reservoir, obtain the prior information and normalize the prior geological model, select the appropriate variance explanation ratio, perform dimensionality reduction processing on the prior geological model through principal component analysis, obtain the prior geological model information after dimensionality reduction, and obtain the dimensionality reduction information, including the following sub-steps:

[0081] Step 1.1, based on the prior geological model of the reservoir, in this embodiment, the permeability field model of the study area is used as the geological model, that is, the prior geological model is the prior permeability field, the geological parameter field of the reservoir is specifically the permeability field, and the geological parameter is specifically the permeability.

[0082] According to the prior permeability field of the reservoir , using Stanford geostatistical modeling software to obtain prior information, including the number, dimension, and upper bound of the prior permeability fields , Nether and mean In this embodiment, the sequential Gaussian simulation algorithm in the Stanford geostatistical modeling software is used to randomly generate 500 prior permeability fields with a dimension of 3600. The mean and variance of the generated prior permeability fields are the same as the mean and variance of the well logging permeability of the grid block. The distribution of the real permeability field of the model is as follows: Figure 2 shown.

[0083] Step 1.2: In order to make all parameters in the prior permeability field within the same scale range and avoid the instability of parameter values ​​caused by large differences in the order of magnitude of parameter values, the prior permeability field is normalized, as shown in formula (1):

[0084] (1)

[0085] In the formula, is the normalized permeability parameter; is the number of rows of the prior permeability field; is the number of columns of the prior permeability field before dimensionality reduction, used to represent the dimension of the prior permeability field; is the permeability parameter of the prior permeability field.

[0086] Step 1.3, perform principal component analysis and dimensionality reduction on the normalized prior permeability field based on the singular value decomposition covariance matrix, as shown in formula (2):

[0087] (2)

[0088] In the formula, is the dimension of the prior permeability field after dimensionality reduction, and ; For one Matrix of For one phalanx; is the transposed matrix of matrix V, For one The matrix of .

[0089] The three matrices on the right side of formula (2) can be multiplied to obtain the prior permeability field, and The closer the value is to , the result of multiplying the three matrices on the right side of the equation is closer to the prior permeability field, thereby reducing the dimension of the prior permeability field.

[0090] Set the variance explanation ratio to determine the retained dimensions for:

[0091] (3)

[0092] In the formula, is a diagonal matrix The ordinal number of the eigenvalue; is a diagonal matrix, a diagonal matrix The eigenvalues ​​are arranged on the diagonal in descending order; Variance explanation ratio is used to indicate the percentage of information retained after dimension reduction by principal component analysis.

[0093] In this embodiment The value is 0.05, which means that 95% of the information is retained after the principal component analysis dimensionality reduction in this embodiment. Figure 3 As shown in Figure 2, by choosing to retain 95% of the variance explanation ratio, the dimension of the prior permeability field is reduced from 3600 to 101. Obtain the upper bound of the prior permeability field after principal component analysis dimensionality reduction , Nether , mean and variance , and get the dimensionality reduction information.

[0094] Step 2: According to each historical stage in the oil reservoir exploitation cycle, Gaussian random sampling is performed using dimensionality reduction information and prior information in each historical stage to establish a historical geological parameter field, and the simulated response values ​​corresponding to the geological parameters are obtained through real numerical simulation to construct a historical stage proxy model, including the following sub-steps:

[0095] Step 2.1: Divide the oil reservoir production cycle into Historical stage, combined with the dimensionality reduction information obtained in step 1.3, that is, the upper bound of the prior permeability field after principal component analysis dimensionality reduction , Nether , mean and variance , Gaussian random sampling is used to establish historical geological parameter fields for each historical stage.

[0096] In this embodiment, the Gaussian distribution function is used Random sampling to determine the reduced-dimensional permeability field for:

[0097] (4)

[0098] in,

[0099] (5)

[0100] In the formula, is a variable; is the mean of the Gaussian distribution; is the standard deviation of the Gaussian distribution; is a natural exponential function.

[0101] In this embodiment, the simulation development process of the reservoir geological model is set to three stages, totaling 100 steps, and each time step is set to 30 days. The three stages correspond to 0-33 steps, 0-66 steps, and 0-100 steps, that is, 0-990 days, 0-1980 days, and 0-3000 days, respectively. The first two stages are used as historical stages, and the last stage is the target stage.

[0102] Step 2.2: Reduce the permeability field Reconstruct to the original dimension and get the historical permeability field for:

[0103] (6)

[0104] In the formula, The transposed matrix of the compression coefficients for principal component analysis.

[0105] Step 2.3: historical permeability field Denormalization, combined with the upper bound of the prior permeability field and the lower bound Boundary absorption is applied to the historical permeability field, as shown in formula (7):

[0106] (7)

[0107] In the formula, is the historical permeability field after denormalization.

[0108] Use historical permeability fields to perform numerical simulations to obtain simulation response values .

[0109] Following the control variable principle, in the first two stages of this embodiment, only 1000 samples are randomly generated using the standard normal distribution, and numerical simulation is directly performed to obtain the corresponding simulated response values ​​as historical data.

[0110] In step 2.4, for each historical stage, the radial basis function is used to construct the historical stage proxy model of the reduced-dimensional prior permeability field and the simulated response value, as shown in formula (8):

[0111] (8)

[0112] In the formula, is an approximate true function; is the serial number of the neuron center; is the total number of neuron centers; For the The weight coefficients of radial basis function units; is the radial basis kernel function, or , For sample points The center point of the neuron selected by the radial basis function The Euclidean distance between .

[0113] In this embodiment, the radial basis function of the Gaussian kernel function is used to establish a historical stage proxy model for each historical stage. ,in, is the serial number of the historical stage, For the A historical stage agency model for a historical stage.

[0114] Step 3: In the target stage, the geological parameter field is obtained by Gaussian random sampling of sample points, and a real numerical simulation is performed to establish a proxy model for the target stage. The historical stage proxy model is coupled with the target stage proxy model by adaptive weights through meta-regression to establish a historical experience migration model, which specifically includes the following sub-steps:

[0115] Step 3.1, establish a target stage proxy model for the target stage.

[0116] In this embodiment, the target stage is set, using the Gaussian distribution function Random sampling to obtain the permeability field after dimension reduction in the target stage Repeat steps 2.1 to 2.3 to process the permeability field after dimensionality reduction , obtain the reconstructed permeability field after denormalization The initial permeability field is used as the initial permeability field to perform numerical simulation and obtain the simulation response value. , and then according to the initial permeability field and the simulated response value of the target stage Establishing the target stage agent model .

[0117] Step 3.2, based on the Tchebycheff method of multi-objective problem decomposition, the historical stage proxy model and the target stage proxy model are regarded as models of different objective tasks and combined into a specified stage to solve the history matching problem of the reservoir, as shown in formula (9):

[0118] (9)

[0119] In the formula, To take the minimum value; is the set of all targets; is the set of decision variables; is a set of meta-regression coefficients, which represents the set of weights of all objective functions, including the weights of each objective function, and the cumulative sum of the weights of all objective functions is 1. The objective function is a historical stage proxy model or a target stage proxy model; is the maximum value function; is the serial number of the objective function; is the total number of objective functions; For the The weight of the objective function; For the objective function; For the A reference point for a target.

[0120] Step 3.3, based on meta-regression, multiple historical stage proxy models are combined with the target stage proxy model to obtain:

[0121] (10)

[0122] in,

[0123] (11)

[0124] In the formula, is the mean square error function; is the data sequence number; is the total number of sample data; It is the serial number of the historical stage; is the total number of historical stages; For the The weight of the historical stage proxy model corresponding to each historical stage; For the The historical stage proxy model corresponding to the historical stage is The predicted value of data; is the weight of the proxy model in the target phase; Proxy model for the target stage For The predicted value of data; For the The numerical simulation response value of the data.

[0125] In this embodiment, the goal of the meta-regression is to minimize the predicted square error, combined with the optimal value of the meta-regression coefficient, so that the product of the predicted value of the historical stage proxy model and the target stage proxy model and the meta-regression coefficient is closest to the true response value of the data.

[0126] By coupling the historical stage proxy model with the target stage proxy model adaptive weight, a historical experience transfer model is constructed, as shown in formula (12):

[0127] (12)

[0128] In the formula, is the common prediction value based on the historical stage proxy model and the target stage proxy model; For new samples; For the The predicted value of the historical stage proxy model for the new sample corresponding to the historical stage; Proxy model for the target stage The predicted value for new samples.

[0129] Step 4, combining the historical experience migration model with the optimization algorithm to search the geological parameter space to determine the optimal geological parameters, specifically including the following sub-steps:

[0130] Step 4.1, select the optimization algorithm, preset the historical experience migration model in the optimization algorithm, set the optimization termination condition of the optimization algorithm, and perform iterative optimization.

[0131] During the iterative optimization process, the historical experience migration model is used to predict the response values ​​of each geological model and determine whether the preset optimization termination conditions are met. If the preset optimization termination conditions are not met, the geological model is updated and the iterative optimization continues. Otherwise, the iterative optimization is stopped to obtain the optimal geological model.

[0132] Step 4.2, use the optimal geological model determined in step 4.1 to perform numerical simulation, obtain the response value corresponding to the optimal geological model and add it to the database of the historical experience migration model. After updating the historical experience migration model, use the optimization algorithm to perform iterative optimization until the preset optimization termination condition is reached.

[0133] In order to further verify the technical effect of the method of the present invention. In this embodiment, the fast update history fitting method (HETS-DE) proposed by the present invention and the traditional radial basis function agent-assisted differential evolution method (RBFDE) are used as controls, and the performance of the two methods is tested from two aspects. On the one hand, the fast update history fitting method and the traditional agent-assisted evolution method are trained with the same number of the same samples in the target stage to compare the performance of the two methods; on the other hand, the fast update history fitting method and the traditional radial basis function agent-assisted differential evolution algorithm use the same sample set, but the number of samples used by the former is 25%, 50%, and 75% of the latter, respectively, and the sample selection is sorted according to the default sample set. In this case, the fast update performance of the fast update history fitting method is compared.

[0134] The first aspect is to test the performance of the fast update history matching method proposed in the present invention and the traditional radial basis function agent-assisted differential evolution method using the same number of samples in the target phase.

[0135] Figure 4 This is a performance comparison chart of the method of the present invention and the traditional radial basis function agent-assisted differential evolution method when the target stage samples are the same. The two methods use the same 200 target stage initial samples, that is, accurate numerical simulation 200 times, and then iterate until the preset final numerical simulation number of 1000 times is reached. At the same time, considering the randomness of the differential evolution algorithm, both methods are independently run 10 times. Analysis Figure 4 It can be seen from the iteration diagram in that the final convergence effect of the method of the present invention is better than that of the traditional radial basis function agent-assisted differential evolution method. The traditional radial basis function agent-assisted differential evolution method falls into a local optimum after about 450 numerical simulations, while the method of the present invention continues to converge. Figure 4 The box plot in further shows the distribution of the optimal values ​​of the objective functions of the two methods. After comparison, it can be seen that the distribution of the optimal values ​​of the objective functions of the rapid update history fitting method is overall lower than that of the traditional radial basis function proxy-assisted differential evolution method, and it has better performance than the traditional radial basis function proxy-assisted differential evolution method.

[0136] Furthermore, the method of the present invention and the traditional radial basis function agent-assisted differential evolution method were used to calculate the oil production and water production of each production well, respectively, and the fitting of the oil production and water production of each production well was compared. The initial model had a large calculation deviation due to the uncertainty of random modeling. The production data fitted by the two methods after iteration were close to the true model results. However, in comparison, the fitting effect of the method of the present invention was slightly better than that of the traditional radial basis function agent-assisted differential evolution method.

[0137] Figure 5 The permeability field inversion effect diagram of the two methods when the target stage samples are the same. Figure 6 The difference diagram between the permeability field inverted by the two methods and the true permeability field is shown in Figure 2. Figure 5 and Figure 6 It can be seen that, although they are similar in general, there are differences in some parts. Compared with the traditional radial basis function agent-assisted differential evolution method, the permeability field restored by the method of the present invention has a better effect.

[0138] Furthermore, the historical fitting objective functions and cumulative permeability difference values ​​of the two methods are compared, as shown in Table 1.

[0139] Table 1 Sample history matching results

[0140] .

[0141] As can be seen from Table 1, for the historical matching objective function and the cumulative permeability difference values ​​of the two methods, it can be seen that the method of the present invention has better performance.

[0142] Second aspect: In the target phase, the number of samples used by the fast update history matching method proposed in the present invention is less than the number of samples used by the traditional radial basis function proxy-assisted differential evolution method, and the performance of the two is tested.

[0143] In order to better reflect the rapid update effect of the method of the present invention, in the target stage, the number of samples used by the traditional radial basis function agent-assisted differential evolution method is set to 200, while the number of samples used by the method of the present invention is set to 150, 100 and 50 respectively. The method of the present invention is tested under the conditions of 150, 100 and 50 samples respectively, and the performance of the two methods is compared by running them independently for 10 times. Figure 7 As shown, compared Figure 7 It can be seen from the iteration diagram in that the optimal values ​​of the objective functions of the various methods are very close, but the traditional radial basis function agent-assisted differential evolution method is still weaker than the method of the present invention, which once again proves the fast convergence performance of the method of the present invention. At the same time, the convergence performance of the method of the present invention under the conditions of sampling 100 times and 150 times in the target stage is almost the same as that of the method of the present invention under the condition of sampling 200 times, indicating that the historical experience migration model constructed by the method of the present invention through historical data information has a strong guiding role, and the number of sampling in the target stage has little effect on the convergence performance of the method of the present invention.

[0144] Furthermore, the local iteration graphs of the performance of the two methods are compared when the target stage samples are different, such as Figure 8 As shown, the iterative results of the comprehensive local numerical simulation of 300-1000 times and Figure 7 The box plots of the two methods with different target stage sample numbers show that the overall effect of the method of the present invention is better than the traditional radial basis function agent-assisted differential evolution method, and the root mean square error of the historical experience migration model in the method of the present invention is maintained at 10 -6 .

[0145] The fitting of the oil production and water production of each production well by the method of the present invention under different sampling numbers was obtained, and the fitting under the conditions of sampling numbers of 150, 100 and 50 was analyzed. It was found that the fitting of production data was good, but the fitting degree of oil production of production well P4 was slightly weaker than that when the method of the present invention adopted the sampling number of 200 times.

[0146] Fig. 9 The permeability field inversion effect of the method of the present invention under different sampling numbers. Fig.10The figure is a difference diagram of the permeability field inverted by the method of the present invention under different sampling numbers and the true permeability field. Combined with the history fitting results of the method of the present invention under different sampling numbers, as shown in Table 2, the optimal objective function value and the cumulative permeability difference value of the history fitting of the method of the present invention under the conditions of 150, 100 and 50 sampling numbers are compared. It is found that the inversion effect of the method of the present invention under the three sampling number conditions is significantly better than the inversion effect of the traditional radial basis function proxy assisted differential evolution method, and is closer to the real model, thereby proving the feasibility of the method of the present invention for rapid update of reservoir history fitting.

[0147] Table 2 Historical matching results of the method of the present invention under different sampling numbers

[0148] .

[0149] In summary, the method of the present invention is significantly innovative in the field of reservoir history matching. The method of the present invention can successfully utilize expensive samples in the historical stage of the reservoir, which not only increases the fitting accuracy and convergence performance, but also reduces the number of samples required in the target stage, and realizes the rapid update of reservoir history matching. At the same time, the paradigm of using reservoir historical stage samples to achieve rapid updates proposed by the method of the present invention can also be applied to other history matching methods, which is conducive to improving the performance of traditional history matching algorithms.

[0150] Of course, the above description is not a limitation of the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by technicians in this technical field within the essential scope of the present invention should also fall within the protection scope of the present invention.

Claims

1. A fast-updating history matching paradigm based on multi-stage historical experience migration, characterized in that: The following steps are involved: Step 1, according to the prior geological model of the oil reservoir, obtain prior information and normalize the prior geological model, select a suitable variance explanation ratio, perform dimensionality reduction processing on the prior geological model through principal component analysis, obtain the prior geological model information after dimensionality reduction, and obtain dimensionality reduction information; Step 2: According to each historical stage in the oil reservoir exploitation cycle, Gaussian random sampling is performed using dimensionality reduction information and prior information in each historical stage to establish a historical geological parameter field, and the simulated response values ​​corresponding to the geological parameters are obtained through real numerical simulation to construct a historical stage proxy model; Step 3, in the target stage, the geological parameter field is obtained by Gaussian random sampling of sample points, and a real numerical simulation is performed to establish a proxy model for the target stage. The proxy model for the historical stage is coupled with the adaptive weight of the proxy model for the target stage through meta-regression to establish a historical experience migration model; Step 4, combining the historical experience migration model with the optimization algorithm to search the geological parameter space to determine the optimal geological parameters; The geological model is a permeability field model, the geological parameter field is a permeability field, and the geological parameter is permeability; The step 1 includes the following steps: Step 1.1, based on the prior geological model of the reservoir, obtain prior information, including the number, dimension, and upper bound of the prior permeability field , Nether and mean ; Step 1.2, normalize the prior permeability field, as shown in formula (1): (1) In the formula, is the normalized permeability parameter; is the number of rows of the prior permeability field; is the number of columns of the prior permeability field before dimensionality reduction, used to represent the dimension of the prior permeability field; is the permeability parameter of the prior permeability field; Step 1.3, perform principal component analysis and dimensionality reduction on the normalized prior permeability field based on the singular value decomposition covariance matrix, as shown in formula (2): (2) In the formula, is the dimension of the prior permeability field after dimensionality reduction, and ; For one Matrix of For one phalanx; is the transposed matrix of matrix V, For one Matrix of Set the variance explanation ratio to determine the retained dimensions for: (3) In the formula, is a diagonal matrix The ordinal number of the eigenvalue; is a diagonal matrix, a diagonal matrix The eigenvalues ​​are arranged on the diagonal in descending order; is the variance explanation ratio, which is used to indicate the percentage of information retained after dimension reduction by principal component analysis; Obtaining the upper bound of the prior permeability field after principal component analysis dimensionality reduction , Nether , mean and variance , get the dimension reduction information; The step 2 comprises the following steps: Step 2.1: Divide the oil reservoir production cycle into In each historical stage, combined with the dimension reduction information, Gaussian random sampling was used to establish the historical geological parameter field for each historical stage. Using Gaussian distribution function Random sampling to determine the reduced-dimensional permeability field for: (4) in, (5) In the formula, is a variable; is the mean of the Gaussian distribution; is the standard deviation of the Gaussian distribution; is the natural exponential function; Step 2.2: Reduce the permeability field Reconstruct to the original dimension and obtain the historical permeability field for: (6) In the formula, is the transposed matrix of the compression coefficients of the principal component analysis; Step 2.3: historical permeability field Denormalization, combined with the upper bound of the prior permeability field and the lower bound Boundary absorption is applied to the historical permeability field, as shown in formula (7): (7) In the formula, is the historical permeability field after denormalization; Use historical permeability fields to perform numerical simulations to obtain simulation response values ; Step 2.4, construct historical stage proxy models for each historical stage based on the prior permeability field and simulated response value after dimensionality reduction; The historical stage proxy model is: (8) In the formula, is an approximate true function; is the serial number of the neuron center; is the total number of neuron centers; For the The weight coefficients of radial basis function units; is the radial basis kernel function, or , For sample points The center point of the neuron selected by the radial basis function The Euclidean distance between ; The step 3 comprises the following steps: Step 3.1, set the target stage and use the Gaussian distribution function Random sampling to obtain the permeability field after dimension reduction in the target stage Repeat steps 2.1 to 2.3 to process the permeability field after dimensionality reduction , obtain the reconstructed permeability field after denormalization The initial permeability field is used as the initial permeability field to perform numerical simulation and obtain the simulation response value. , and then according to the initial permeability field and the simulated response value of the target stage Establishing the target stage agent model ; Step 3.2, based on the Tchebycheff method of multi-objective problem decomposition, the historical stage proxy model and the target stage proxy model are regarded as models of different objective tasks and combined into a specified stage to solve the history matching problem of the reservoir, as shown in formula (9): (9) In the formula, To take the minimum value; is the set of all targets; is the set of decision variables; is a set of meta-regression coefficients, which represents the set of weights of all objective functions, including the weights of each objective function, and the cumulative sum of the weights of all objective functions is 1. The objective function is a historical stage proxy model or a target stage proxy model; is the maximum value function; is the serial number of the objective function; is the total number of objective functions; For the The weight of the objective function; For the objective function; For the a reference point for a target; Step 3.3, combining multiple historical stage proxy models with the target stage proxy model based on meta-regression, the process is as follows: (10) in, (11) In the formula, is the mean square error function; is the data sequence number; is the total number of sample data; It is the serial number of the historical stage; is the total number of historical stages; For the The weight of the historical stage proxy model corresponding to each historical stage; For the The historical stage proxy model corresponding to the historical stage is The predicted value of data; is the weight of the proxy model in the target phase; Proxy model for the target stage For The predicted value of data; For the The numerical simulation response value of the data; Thus, the historical experience migration model is obtained as follows: (12) In the formula, is the common prediction value based on the historical stage proxy model and the target stage proxy model; For new samples; For the The predicted value of the historical stage proxy model for the new sample corresponding to the historical stage; Proxy model for the target stage The predicted value for new samples.

2. The fast updating history matching paradigm based on multi-stage historical experience migration according to claim 1 is characterized in that: The step 4 comprises the following steps: Step 4.1, select the optimization algorithm, preset the historical experience migration model in the optimization algorithm, set the optimization termination condition of the optimization algorithm, and perform iterative optimization; During the iterative optimization process, the historical experience migration model is used to predict the response values ​​of each geological model and determine whether the preset optimization termination condition is met. If the preset optimization termination condition is not met, the geological model is updated and the iterative optimization continues. Otherwise, the iterative optimization is stopped to obtain the optimal geological model. Step 4.2, use the optimal geological model determined in step 4.1 to perform numerical simulation, obtain the response value corresponding to the optimal geological model and add it to the database of the historical experience migration model. After updating the historical experience migration model, use the optimization algorithm to iteratively optimize until the preset optimization termination conditions are reached to determine the optimal geological parameters.

3. The fast updating history matching paradigm based on multi-stage historical experience migration according to claim 2 is characterized in that: The optimization algorithm is a differential evolution algorithm among gradient-free algorithms.

Citation Information

Patent Citations

  • Multi-model automatic history fitting method

    CN112395763A

  • Historical fitting method based on deep autoregression network and continuous learning strategy

    CN115935834A