A method and device for predicting remaining oil distribution based on historical and predicted reservoir knowledge

By establishing a complete data set and combining the LSTM model and the Kriging interpolation method, the existing technology problems of heavy data preprocessing workload and low prediction efficiency are solved, and efficient and accurate remaining oil distribution prediction is achieved, taking into account the physical laws and reservoir Expert experience provides complete data support.

CN114638401BActive Publication Date: 2024-10-18BEIJING SANOTECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210158923.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-21
Publication Date
2024-10-18
Estimated Expiration
2042-02-21

AI Technical Summary

Technical Problem

The existing technology requires a heavy workload in early data preprocessing, and each grid unit must be calculated separately, resulting in low efficiency in remaining oil distribution prediction.

Method used

By establishing a complete data set based on historical and predicted reservoir knowledge, combined with the LSTM model and Kriging interpolation method, we can predict single well production and set reservoir boundary conditions and physical constraints to achieve the interpolation evolution of the oil, gas and water three-phase saturation field. The remaining oil distribution prediction results are obtained.

Benefits of technology

It improves the efficiency and accuracy of remaining oil distribution prediction, provides an efficient, accurate, and interpretable method, takes into account physical laws and reservoir expert experience, extrapolates more reservoir information, and provides a complete and robust prediction data support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114638401B_ABST
    Figure CN114638401B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for predicting the distribution of remaining oil based on historical and predicted reservoir knowledge, belonging to the field of oil development technology; the method includes: establishing a complete data set according to the historical dynamic and static monitoring data related to the target reservoir oil well; using the complete data set to train and test the LSTM model; using the trained LSTM model to predict the production of a single well at a preset time; obtaining the three-phase saturation of the single well at a preset time according to the production prediction results and the experience of reservoir experts; according to the three-phase saturation of the single well and setting the reservoir boundary conditions and physical constraints, using the Kriging method to interpolate and evolve the oil, gas and water three-phase saturation field at the preset time, and obtain the prediction result of the distribution of remaining oil in the target reservoir. The present invention takes into account many physical laws and reservoir expert experience, and extrapolates more reservoir information from incomplete and discrete reservoir monitoring data, providing complete and robust data support for the prediction of the distribution of remaining oil.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of oil development, and in particular to a method and device for predicting the distribution of residual oil based on historical and predicted reservoir knowledge. Background Art

[0002] Knowing the distribution of remaining oil has always been an important means to improve the recovery rate of oil reservoirs in the middle and late stages of development. However, due to the influence of reservoir heterogeneity, the dispersion of remaining oil has intensified and the distribution characteristics have become more complex, and there is great uncertainty in predicting its distribution.

[0003] Related technologies generally use artificial intelligence to calculate the remaining oil distribution. This method grids the reservoir and establishes an SVM classification model to determine whether water is present in the grid cells. A deep learning model for predicting oil-water distribution is built with the long short-term memory network as the core, thereby realizing the prediction of the remaining oil distribution.

[0004] However, this method requires a lot of work in the early stage of data preprocessing, and each grid cell must be calculated separately, resulting in low prediction efficiency. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a method and device for predicting the distribution of remaining oil based on historical and predicted reservoir knowledge, which can solve the problems of large workload in early data preprocessing, and low prediction efficiency due to the need to calculate each grid unit separately.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] In one aspect, a method for predicting remaining oil distribution based on historical and predicted reservoir knowledge is provided, the method comprising:

[0008] Establish a complete data set based on historical dynamic and static monitoring data of target oil reservoir wells;

[0009] Using the complete data set to train and test the LSTM model;

[0010] Use the trained LSTM model to predict the production of a single well at a preset time;

[0011] Obtaining the three-phase saturation of the single well at the preset time according to the production prediction results and the experience of reservoir experts;

[0012] According to the three-phase saturation of a single well and the reservoir boundary conditions and physical constraints, the Kriging method is used to interpolate the oil, gas and water three-phase saturation field at the preset time to obtain the prediction result of the remaining oil distribution in the target reservoir.

[0013] In an optional embodiment, a complete data set is established based on the dynamic and static monitoring data of the target reservoir, including:

[0014] Obtain historical dynamic and static data from on-site monitoring of the target reservoir to form an initial data set;

[0015] The initial data set is cleaned according to the experience of reservoir experts to obtain the dynamic and static monitoring data set of the target reservoir.

[0016] In an optional embodiment, a complete data set is established based on the dynamic and static monitoring data set of the target reservoir, including:

[0017] Use function fitting method to complete the historical wellhead pressure data of a single well;

[0018] According to the Bernoulli equation and the analysis of reservoir formation pressure changes, the historical bottom hole pressure data of a single well is completed;

[0019] Use Kriging method to complete the historical pressure field distribution data of the block;

[0020] Based on the relative permeability curve and formation fluid flow analysis, complete the historical phase saturation data of a single well;

[0021] The Kriging method is used to complete the historical saturation distribution data of the block.

[0022] In an optional embodiment, the establishment of a complete data set based on the historical data related to the oil wells includes:

[0023] Based on the Bernoulli equation and the analysis of reservoir formation pressure changes, the historical bottom hole pressure data of a single well is completed from the two aspects of well opening and well closing;

[0024] Considering whether the resistance loss along the fluid flow can be ignored and the setting of block boundary conditions, the Kriging method is used to complete the historical pressure field distribution data of the block;

[0025] The seepage process of horizontal wells is simplified into plane radial flow and spherical centripetal flow, and the vertical well is simplified into plane radial flow. Based on the relative permeability curve and formation fluid flow analysis, the historical phase saturation data of single wells are supplemented from the two aspects of well opening and well closing.

[0026] On the basis of considering boundary conditions and physical constraints, the influence of well logging saturation data is introduced, and the Kriging method is used to complete the historical saturation distribution data of the block.

[0027] In an optional embodiment, the step of establishing a complete data set based on historical dynamic and static monitoring data related to the target oil reservoir and oil wells includes:

[0028] Normalize the historical dynamic and static monitoring data related to the target oil reservoir wells, and establish a complete data set based on the normalized historical dynamic and static monitoring data related to the target oil reservoir wells.

[0029] In an optional embodiment, the step of establishing a complete data set based on historical dynamic and static monitoring data related to the target oil reservoir and oil wells includes:

[0030] The complete data set is divided so that a preset proportion of the data set is used as a training set and the remaining proportion of the data set is used as a test set.

[0031] In an optional embodiment, the step of obtaining the three-phase saturation of the single well at the preset time according to the production prediction result and the experience of reservoir experts includes:

[0032] The three-phase saturation of a single production well at the preset time is obtained based on the production prediction results and the experience of reservoir experts.

[0033] In an optional embodiment, the obtaining of the single well three-phase saturation at the preset time according to the production prediction result and reservoir expert experience also includes:

[0034] The switch well status and injection conditions of the injection well at the preset time are determined according to the reservoir development management plan, and the three-phase saturation of the single well of the injection well at the preset time is obtained according to the reservoir analysis.

[0035] In an optional embodiment, the obtaining of the single well three-phase saturation at the preset time according to the production prediction result and reservoir expert experience also includes:

[0036] Boundary conditions and physical constraints are set according to the three-phase saturation of the single production well and the single injection well at the preset time, and the oil, gas and water three-phase saturation field at the preset time is evolved using Kriging interpolation.

[0037] On the other hand, a device for predicting remaining oil distribution based on historical and predicted reservoir knowledge is provided, the device comprising a readable storage medium storing a computer program for executing any of the above-mentioned methods.

[0038] The method provided by the embodiment of the present invention has at least the following beneficial effects:

[0039] The method provided by the embodiment of the present invention combines deep learning technology with traditional interpolation methods by using historical dynamic reservoir knowledge, static reservoir data and predicted future reservoir information, thereby providing an efficient, accurate and interpretable method for predicting the remaining oil distribution. As an important part of the interpolation evolution prediction process of the remaining oil distribution, the method provided by the embodiment of the present invention takes into account many physical laws and the experience of reservoir experts, and extrapolates more reservoir information from incomplete and discrete reservoir monitoring data, thereby providing complete and robust data support for the prediction of the remaining oil distribution. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A flow chart of a method for predicting the distribution of remaining oil based on historical and predicted reservoir knowledge;

[0041] Figure 2 A simplified flow chart of a method for predicting remaining oil distribution based on historical and predicted reservoir knowledge;

[0042] Figure 3 The oil saturation distribution prediction results and comparison results are shown in Figure 1: (a) prediction results; (b) comparison results;

[0043] Figure 4 The gas saturation distribution prediction results and comparison results are as follows: (a) prediction results; (b) comparison results;

[0044] Figure 5 The water saturation distribution prediction results and comparison results: (a) prediction results; (b) comparison results. DETAILED DESCRIPTION

[0045] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0046] The prediction accuracy of the typical flow unit analysis method is low, so it is considered to combine the deep learning technology that has emerged in recent years and the classic interpolation algorithm to establish a data-driven method to predict the remaining oil distribution. In most cases, the deep learning model is considered to be an unexplainable black box because it does not consider any prior knowledge, including physical formulas, expert experience, etc. The interpolation algorithm is also based on prior data points to evolve unknown point data. Therefore, prior knowledge is crucial to the data-driven method. The physical laws involved can not only extrapolate more reservoir information and guide the deep learning model and interpolation algorithm to obtain the correct solution, but also constrain the single data-driven model to enhance the robustness and interpretability of the model. The new idea of ​​combining deep learning models with classical algorithms and supplemented by physical constraints can fully explore the "implicit relationship" between data input and output, and provide a very potential method for accurately predicting the remaining oil distribution. In view of this, the embodiment of the present invention provides a remaining oil distribution prediction method based on historical and predicted reservoir knowledge to solve the above technical problems.

[0047] On the one hand, please also refer to Figure 1 and Figure 2 , Figure 1 The figure is a flow chart of a method for predicting the distribution of remaining oil based on historical and predicted reservoir knowledge. Figure 2 The following is a simplified flow chart of a method for predicting the distribution of remaining oil based on historical and predicted reservoir knowledge. The method includes:

[0048] S101. Establish a complete data set based on historical dynamic and static monitoring data related to oil wells in the target oil reservoir.

[0049] S102. Use the complete data set to train and test the LSTM model.

[0050] S103. Use the trained LSTM model to predict the production of a single well at a preset time.

[0051] S104. Obtain the three-phase saturation of a single well at a preset time according to the production prediction result and the experience of reservoir experts.

[0052] S105. According to the three-phase saturation of a single well and the reservoir boundary conditions and physical constraints, the Kriging method is used to interpolate the evolution of the oil, gas and water three-phase saturation field at a preset time to obtain the prediction result of the remaining oil distribution in the target reservoir.

[0053] The method provided by the embodiment of the present invention has at least the following beneficial effects:

[0054] The method provided by the embodiment of the present invention combines deep learning technology with traditional interpolation methods by using historical dynamic reservoir knowledge, static reservoir data and predicted future reservoir information, thereby providing an efficient, accurate and interpretable method for predicting the remaining oil distribution. As an important part of the interpolation evolution prediction process of the remaining oil distribution, the method provided by the embodiment of the present invention takes into account many physical laws and the experience of reservoir experts, and extrapolates more reservoir information from incomplete and discrete reservoir monitoring data, thereby providing complete and robust data support for the prediction of the remaining oil distribution.

[0055] It should be noted that Kriging is a regression algorithm that performs spatial modeling and prediction (interpolation) of random processes / random fields based on covariance functions. In certain random processes, such as intrinsic stationary processes, Kriging can give the best linear unbiased prediction (BLUP), so it is also called spatial BLUP in statistics.

[0056] The method provided by the embodiment of the present invention will be further explained and described below through optional embodiments.

[0057] S101. Establish a complete data set based on historical dynamic and static monitoring data related to oil wells in the target oil reservoir.

[0058] The dynamic and static monitoring data provided by the embodiments of the present invention include, but are not limited to: porosity distribution, permeability distribution, initial oil saturation distribution, reservoir effective thickness distribution map, relative permeability curve, oil-water viscosity, etc.

[0059] In an optional embodiment, a complete data set is established based on the dynamic and static monitoring data of the target reservoir, including:

[0060] Obtain on-site dynamic and static monitoring data of the target reservoir to form an initial data set.

[0061] The initial data set is cleaned according to the experience of reservoir experts to obtain dynamic and static monitoring data of the target reservoir.

[0062] Furthermore, dynamic and static monitoring data are collected from the reservoir site to form an initial data set. It should be noted that the original reservoir data often contain data errors, such as: the production well has production but the nozzle size is 0, the injection well has no injection volume but has injection pressure, and the same dynamic data recording time point is repeated but the data is not uniform. Therefore, these erroneous data are cleaned according to the experience of reservoir site experts. For the case where the production well has production but the nozzle size is 0, the production data is corrected to 0; for the case where the injection well has no injection volume but has injection pressure, the injection volume is corrected to 0; for the case where the same dynamic data recording time point is repeated but the data is not uniform, only the first occurrence of the data is retained.

[0063] S102. Use the complete data set to train and test the LSTM model.

[0064] Data missing is also a problem with reservoir record data, so it is necessary to complete the reservoir historical data based on physical laws.

[0065] In an optional embodiment, S101, establishing a complete data set based on historical data related to the oil well, including:

[0066] S1011. Use a function fitting method to complete the historical wellhead pressure data of a single well.

[0067] Furthermore, the historical wellhead flow pressure data of a single well is completed, and the distribution law of the wellhead flow pressure monitoring data of a single well is analyzed according to actual experience and physical background, and based on its monitoring data, a complete wellhead flow pressure curve is obtained by using the function fitting method. Furthermore, the historical wellhead flow pressure data of a single well is completed according to the following formula:

[0068]

[0069] in, For a single well at a time point i∈[1,n],n∈N * The wellhead flow pressure monitoring data. The evaluation index determination coefficient (R-Square, R2) is used to evaluate the fitting accuracy of the function f(x), and the formula is:

[0070]

[0071] Among them, Yidata is the monitoring value of the i-th sample, Yipred is the fitting value, is the mean of Yipred, and N is the total number of samples.

[0072] For monitoring points whose monitoring values ​​do not fall on the fitting curve, their fitting curve values ​​are replaced by the monitoring values:

[0073]

[0074] Among them, P Head (x) is the continuous wellhead flow pressure curve that retains the monitoring data information.

[0075] It should be noted that the function fitting method provided in the embodiment of the present invention includes but is not limited to: linear fitting, polynomial fitting, Gaussian fitting, power exponential fitting, etc. The specific selection of the fitting method requires the analysis of the distribution law of the wellhead pressure monitoring value, and taking R2 as the evaluation standard, the fitting method with the largest R2 value of the fitting result is selected.

[0076] S1012. According to the Bernoulli equation and the analysis of the change of reservoir formation pressure, the historical bottom hole pressure data of the single well is completed. Further, according to the Bernoulli equation and the analysis of the change of reservoir formation pressure, the historical bottom hole pressure data of the single well is completed from the two aspects of opening and closing the well.

[0077] Furthermore, the historical bottom hole pressure data of a single well is completed. According to the Bernoulli equation:

[0078] P Bottom =P Head +ρ Fluid HkDJ

[0079] Among them, P Bottom is the bottom hole flowing pressure value, P Head is the wellhead flowing pressure, ρ Fluid is the fluid density, g is the acceleration of gravity, and H is the well depth. Without considering the effect of pressure changes during the process of fluid flowing from the bottom of the well to the surface, the fluid density calculation formula is as follows:

[0080]

[0081] Among them, ρ j is the density of the jth fluid, V j is the volume of the jth fluid. If the well is in the shut-in period, V j Therefore, it is necessary to complete the bottom hole pressure value during the shut-in period based on the experience of reservoir experts. Assume the shut-in time:

[0082]

[0083] in, It's time to close the well. The time when the well is reopened after being shut in. According to reservoir analysis, during the shut-in period, the bottom flow pressure of the production well will gradually increase, and at most increase to the formation pressure value; the bottom flow pressure of the injection well will gradually decrease, and at most decrease to the formation pressure value. The bottom hole pressure at any moment will be affected by human factors, such as controlling the size of the nozzle, etc. The bottom hole pressure at the moment cannot accurately reflect the change of bottom hole pressure during the shut-in period. The bottom hole pressure at the moment reflects the change of bottom hole pressure during the shut-in period. The bottom hole pressure at time is taken as the surrounding M wells The average pressure value at the moment is as follows:

[0084]

[0085] in, The well is closed The bottom hole pressure at the time, The mth adjacent well of the closed well is The bottom hole pressure at the time. Moment and The bottom hole pressure change between the times is linear, so the equidistant interpolation method is used to complete the bottom hole pressure data of the unknown shut-in time period. The formula is as follows:

[0086] in, The well is closed The bottom hole pressure at a given time point, The well is closed Bottom hole flowing pressure at a point in time.

[0087] S1013. Considering whether the resistance loss along the fluid flow can be ignored and the setting of block boundary conditions, the Kriging method is used to complete the historical pressure field distribution data of the block.

[0088] Since horizontal wells require multiple sets of coordinates to characterize their well trajectories, S1013 needs to consider whether the resistance loss along the fluid flow can be ignored.

[0089] Furthermore, the historical pressure field distribution data of the block is completed. Based on the bottom hole flow pressure data of each well, the Kriging method is used to obtain the pressure field distribution. Before interpolation, the boundary condition is set to a constant pressure boundary condition, and its value is the formation pressure value, and the corresponding bottom hole flow pressure is given to the appropriate position according to the well location coordinates of each well. For vertical wells, the influence of the well trajectory is not considered, and each well uses a set of coordinates to represent the well location. For horizontal wells, the influence of the well trajectory needs to be considered, and each well uses multiple sets of coordinates to represent the well location. Therefore, it is necessary to determine whether the resistance loss along the flow of the fluid in the horizontal well can be ignored. The formula for calculating the resistance loss along the flow is:

[0090]

[0091] Among them, ΔP is the resistance loss along the way, μ is the dynamic viscosity, Q is the flow rate, L fluidis the fluid flow distance, d is the wellbore diameter, and Re is the Reynolds number. If the calculated ΔP is much smaller than the bottom hole pressure value, ΔP can be ignored, and the same bottom hole pressure value is given for each set of coordinates of the horizontal well; if ΔP is not negligible, then according to the pressure drop direction of the actual well trajectory of the reservoir, the bottom hole pressure values ​​of multiple sets of coordinates are given in an arithmetic progression with a tolerance of ΔP.

[0092] S1014, simplifying the seepage process of horizontal wells into planar radial flow and spherical centripetal flow, simplifying vertical wells into planar radial flow, and completing the historical phase saturation data of a single well from two aspects of opening and closing the well according to the relative permeability curve and formation fluid flow analysis. In the actual production process of the oil reservoir, wells are often closed, so the embodiment of the present invention completes the historical bottom hole pressure data of a single well from two aspects of opening and closing the well.

[0093] It should be noted that the relative permeability curve needs to be combined with the actual situation of the reservoir. Each single well may have its own relative permeability curve, or the wells in a certain area may have the same relative permeability curve.

[0094] Furthermore, the historical phase saturation data of a single well is completed. The phase saturation data is completed by using the two relationships of phase permeability curve and the sum of the saturation of each phase being 1. For production wells, the flow of fluid in horizontal wells is simplified to the plane radial flow in the horizontal section and the spherical centripetal flow at the tail end, where the radius of the spherical centripetal flow is considered to be much larger than the wellbore radius. Therefore, the production formula of the horizontal well is:

[0095]

[0096] Among them, Q horizontal is the horizontal well production formula, K is the permeability, L is the horizontal well length, P e is the formation pressure, R e is the distance from the outer boundary to the wellbore, R w is the wellbore radius. A vertical well is considered to be a planar radial flow, so the production formula of a vertical well is:

[0097]

[0098] According to the above two formulas, the relative permeability of the j-phase fluid can be derived:

[0099]

[0100] Among them, K a is the absolute permeability. After calculating the relative permeability of the j-th phase fluid, the saturation of the remaining phase fluids can be obtained according to the phase permeability curve. Then, the phase saturation of the j-th phase fluid is obtained by subtracting the sum of the saturations of the remaining phase fluids from 1.

[0101] For injection wells, the residual oil saturation of each phase fluid except the injection phase can be directly obtained according to the phase permeability curve, and the saturation of each phase fluid except the injection phase is considered to be its residual oil saturation. Therefore, the injection phase saturation can be obtained by subtracting the residual oil saturation of the remaining phase fluids from 1.

[0102] During the shut-in period, the production well has no production and the injection well has no injection phase, so the above process cannot be used. The saturation change pattern of the production well during the shut-in period is complex, but it will eventually be reflected at the time of reopening the well. think Time has come The time saturation changes are linear, so the production well is shut in for a long time. The unknown saturation of can be completed using the equidistant interpolation method:

[0103]

[0104] in, For production wells The saturation of the jth phase at time, Production wells in The saturation of the jth phase at time, For production wells The saturation of the j-th phase at time.

[0105] During the shut-in period of the injection well, since the bottom hole pressure is not lower than the formation pressure, the fluid around the wellbore will not flow into the wellbore, so it is considered that the saturation of each phase is the same as The saturation at each moment is consistent, and the formula is as follows:

[0106]

[0107] in, The injection well is The saturation of the jth phase at time, The injection well is The saturation of the j-th phase at time.

[0108] S1015. Use the Kriging method to complete the historical saturation distribution data of the block.

[0109] In an optional embodiment, based on the consideration of boundary conditions and physical constraints, the influence of logging saturation data is introduced, and the Kriging method is used to complete the historical saturation distribution data of the block.

[0110] Well logging saturation data is often less, but it contains important practical information about the reservoir. Therefore, S1015 needs to use well logging saturation data to affect the distribution of the Kriging interpolation field.

[0111] Furthermore, the historical saturation distribution data of the block is completed. Based on the saturation data of each well, the Kriging method is used to obtain the saturation distribution data of the block. Before interpolation, the boundary condition is set to the initial saturation of the block. The sum of all phase saturations at each location is constrained to be 1. If there are other physical constraints in the reservoir, they are also set in the same way. In addition, if the reservoir has well logging saturation data, it is placed according to its well location coordinates so that the well logging saturation affects the distribution of saturation in the surrounding field. After all conditions are set, interpolation is performed to complete the block saturation distribution data.

[0112] In an optional embodiment, S101 includes:

[0113] Normalize the historical dynamic and static monitoring data related to the target oil reservoir wells, and establish a complete data set based on the normalized historical dynamic and static monitoring data related to the target oil reservoir wells.

[0114] Data normalization. The scales of reservoir data vary greatly. Using data of different scales may induce numerical problems. In order to eliminate the influence of dimension and improve the convergence speed of the model, Min-Max Scaling is used to normalize the data, which also helps to speed up the convergence speed of the model. The normalization formula is as follows:

[0115]

[0116] Among them, x i is the i-th data before normalization, is the normalized ith data, For x i The minimum value of max{x i} is x i The maximum value of .

[0117] The data set after data cleaning, completion and normalization is defined as D.

[0118] In an optional embodiment, a complete data set is established based on historical dynamic and static monitoring data related to the target oil reservoir wells, including:

[0119] The complete data set is divided so that the preset proportion of the data set is used as the training set and the remaining proportion of the data set is used as the test set.

[0120] As an example, the first 90% of the dataset can be used as the training set and the remaining 10% as the test set.

[0121] S102. Use the complete data set to train and test the LSTM model.

[0122] The LSTM model of each production well is trained using the training set data and tested on the test set. The model output must include the production of various fluids, such as oil production, gas production, and water production. The dynamic input of LSTM is set to daily oil production, daily gas production, daily water production, nozzle size, and switch well status. The static input is porosity, permeability, and initial water saturation. The output is daily oil production, daily gas production, and daily water production. The evaluation index R2 is used to evaluate the accuracy of model training.

[0123] S103. Use the trained LSTM model to predict the production of a single well at a preset time.

[0124] Use the LSTM model as the yield feature learner, set the LSTM model input and output, and train and test it.

[0125] As an example, in the test set, the time point at which the remaining oil distribution needs to be predicted is determined to be T+1. It is considered that the remaining oil distribution at T+1 needs to be predicted, so the current time is T, and the data sets at and before T are known. The trained LSTM model is used to predict the production at T+1.

[0126] Please also see Figures 3 to 5 , Figures 3 to 5 The prediction results and control results of the oil saturation field, gas saturation field and water saturation field of the target oil reservoir at the same time are displayed in turn. By comparing the prediction results with the control results, it can be seen that the remaining oil distribution prediction method based on historical and predicted oil reservoir knowledge provided by an embodiment of the present invention can predict the distribution of the remaining oil saturation field of the target oil reservoir with high accuracy, and can well solve the problem of remaining oil distribution prediction.

[0127] S104. Obtain the three-phase saturation of a single well at a preset time according to the production prediction result and the experience of reservoir experts.

[0128] In an optional embodiment, the three-phase saturation of a single well at a preset time is obtained according to the production prediction result and the experience of reservoir experts, including:

[0129] The three-phase saturation of a single production well at a preset time is obtained based on the production prediction results and the experience of reservoir experts.

[0130] S104 calculates the three-phase saturation process of a single production well at time T+1, taking into account whether the production well is shut in at the predicted time T+1. Different calculation methods need to be used in different situations.

[0131] Furthermore, as an example, the three-phase saturation of a single production well at time T+1 is calculated. The trained LSTM model is used to predict the daily oil, gas, and water production of a single production well at time T+1. If the three productions of the single well at time T+1 are predicted to be 0, it means that the well was shut in at time T+1, the formation fluid flow is small, and time T+1 and time T are adjacent times. It is believed that the differences in oil saturation distribution, gas saturation distribution, and water saturation distribution between time T+1 and time T are negligible. Therefore, according to the well location coordinates, the three-phase saturation is obtained from the saturation field at time T as the saturation of the well at time T+1.

[0132] If the daily oil, gas and water production of the single well at time T+1 is not predicted to be 0, the three-phase saturation at time T+1 is calculated based on the predicted production and the fifth step. It is worth mentioning that the LSTM prediction result may show that the daily oil production is 0 but the daily gas or water production is not 0, but this does not conform to the actual reservoir. It is believed that the LSTM model with such a result has not learned the production change characteristics of the well, and returns to S102 to retrain the LSTM model of the well.

[0133] In an optional embodiment, obtaining the three-phase saturation of a single well at a preset time according to the production prediction result and the experience of reservoir experts also includes:

[0134] The switch well status and injection conditions of the injection well at the preset time are determined according to the reservoir development management plan, and the three-phase saturation of the single well of the injection well at the preset time is obtained according to the reservoir analysis.

[0135] The switch-on / off state of the injection well and the type of injected fluid at time T+1 are determined according to the reservoir development and management plan, and different calculation methods are required for different situations. Further, as an example, the three-phase saturation of a single injection well at time T+1 is calculated. The switch-on / off state of the injection well and the type of injected fluid at time T+1 can be obtained at time T according to the reservoir development and management plan. If the production site decides to close the injection well at time T+1, since its bottom hole flow pressure is not lower than the formation pressure, the fluid near the well cannot flow into the wellbore, then the three-phase saturation of the well at time T+1 is considered to be the same as at time T. Similarly, if the production site decides to maintain the injection conditions at time T at time T+1, then the three-phase saturation of the well at time T+1 is also considered to be the same as at time T. If it is decided to adjust the type of injected fluid at time T+1, the three-phase saturation at time T+1 is calculated according to the fifth step process.

[0136] In an optional embodiment, obtaining the three-phase saturation of a single well at a preset time according to the production prediction result and the experience of reservoir experts also includes:

[0137] Boundary conditions and physical constraints are set according to the three-phase saturation of single production wells and single injection wells at the preset time, and Kriging interpolation is used to evolve the oil, gas and water three-phase saturation field at the preset time.

[0138] It should be noted that the physical constraints include but are not limited to: the sum of the three-phase saturations at the same grid point is 1. According to the actual situation of the reservoir, if there are other physical constraints, the constrained Kriging interpolation process needs to be set in the same way.

[0139] Furthermore, as an example, the remaining oil distribution at time T+1 is interpolated and evolved. The remaining oil distribution at time T+1 is obtained using the Kriging method. Before interpolation, the three-phase saturation data of each well is placed at its well location coordinates, and the outer boundary conditions are set as the initial saturation conditions of the block, and the sum of the three-phase saturation of each grid point is set to 1. In addition, if other constraints need to be set at the reservoir site, the corresponding constraint interpolation process is also performed. Output the remaining oil distribution prediction results and compare them with the control results in the test set. The prediction accuracy is evaluated using the R2 indicator.

[0140] Furthermore, the method provided in the embodiment of the present invention also includes using the evaluation index R2 to evaluate the remaining oil distribution prediction result.

[0141] On the other hand, a device for predicting remaining oil distribution based on historical and predicted reservoir knowledge is provided, the device comprising a readable storage medium on which a computer program is stored, the computer program being used to execute any of the above methods.

[0142] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for predicting remaining oil distribution based on historical and predicted reservoir knowledge, characterized in that: The method comprises: Establish a complete data set based on historical dynamic and static monitoring data of target oil reservoir wells; Using the complete data set to train and test the LSTM model; Use the trained LSTM model to predict the production of a single well at a preset time; Obtaining the three-phase saturation of the single well at the preset time according to the production prediction results and the experience of reservoir experts; According to the three-phase saturation of a single well and the reservoir boundary conditions and physical constraints, the Kriging method is used to interpolate the oil, gas and water three-phase saturation field at the preset time to obtain the prediction result of the remaining oil distribution in the target reservoir. Among them, a complete data set is established based on the dynamic and static monitoring data set of the target reservoir, including: Use function fitting method to complete the historical wellhead pressure data of a single well; Based on the Bernoulli equation and the analysis of reservoir formation pressure changes, the historical bottom hole pressure data of a single well is completed from the two aspects of well opening and well closing; Considering whether the resistance loss along the fluid flow can be ignored and the setting of block boundary conditions, the Kriging method is used to complete the historical pressure field distribution data of the block; The seepage process of horizontal wells is simplified into plane radial flow and spherical centripetal flow, and the vertical well is simplified into plane radial flow. Based on the relative permeability curve and formation fluid flow analysis, the historical phase saturation data of single wells are supplemented from the two aspects of well opening and well closing. Based on the consideration of boundary conditions and physical constraints, the influence of well logging saturation data is introduced, and the Kriging method is used to complete the historical saturation distribution data of the block; The complete data set is established based on the historical dynamic and static monitoring data of the target oil reservoir and oil wells, including: Normalize the historical dynamic and static monitoring data of the target oil reservoir oil wells, and establish a complete data set based on the normalized historical dynamic and static monitoring data of the oil wells; The complete data set is divided so that a preset proportion of the data set is used as a training set and the remaining proportion of the data set is used as a test set.

2. The method according to claim 1, characterized in that The dynamic and static monitoring data sets are formed by cleaning and merging the initial data sets of the target reservoir, including: Obtain historical dynamic and static data from on-site monitoring of the target reservoir to form an initial data set; The initial data set is cleaned according to the experience of reservoir experts to obtain the dynamic and static monitoring data set of the target reservoir.

3. The method according to claim 1, characterized in that The method of obtaining the three-phase saturation of the single well at the preset time according to the production prediction result and the experience of reservoir experts includes: The three-phase saturation of a single production well at the preset time is obtained based on the production prediction results and the experience of reservoir experts.

4. The method according to claim 3, characterized in that The step of obtaining the three-phase saturation of the single well at the preset time according to the production prediction result and the experience of reservoir experts also includes: The switch well status and injection conditions of the injection well at the preset time are determined according to the reservoir development management plan, and the three-phase saturation of the single well of the injection well at the preset time is obtained according to the reservoir analysis.

5. The method according to claim 4, characterized in that The step of obtaining the three-phase saturation of the single well at the preset time according to the production prediction result and the experience of reservoir experts also includes: Boundary conditions and physical constraints are set according to the three-phase saturation of the single production well and the single injection well at the preset time, and the oil, gas and water three-phase saturation field at the preset time is evolved using Kriging interpolation.

6. A remaining oil distribution prediction device based on historical and predicted reservoir knowledge, characterized in that: The device comprises a readable storage medium on which a computer program is stored, and the computer program is used to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • A prediction method for remaining oil distribution of a water flooding development oil field based on deep learning

    CN109948841A

  • Residual oil distribution prediction method and device based on deep convolutional neural network

    CN113052371A