Gas reservoir development rule evaluation method, storage medium and equipment
By classifying carbonate gas wells and predicting with deep learning models, the problems of gas well production decline and edge and bottom water intrusion have been solved, and accurate evaluation of gas reservoir development patterns and future production predictions have been achieved, improving the scientific and scientific nature of gas field development. efficiency.
Patent Information
- Application Number
- CN202310294824.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2024-09-24
AI Technical Summary
During the development of carbonate gas reservoirs, problems such as gas well production decline and edge and bottom water intrusion are faced. Existing technologies are difficult to effectively identify edge and bottom water advancement and predict gas well pressure and production change patterns, and there is a lack of effective development pattern evaluation methods.
A gas reservoir development law evaluation method is proposed. By classifying gas wells and using the change laws of single well pressure, production, and water production, combined with FMB, PI index and LSTM methods, an analytical model and a deep neural network model are established to predict gas wells. production changes and conduct annual production allocation research.
Effectively identify wells with risk of water invasion in carbonate gas reservoirs with edge and bottom water, accurately evaluate gas reservoir development patterns from the pressure and production changes of single wells, and predict future production of gas reservoirs, which improves the scientificity and efficiency of gas field development.
Smart Images

Figure CN118690629A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of oil and gas exploration, and specifically relates to a gas reservoir development law evaluation method and a storage medium and equipment. Background Art
[0002] Carbonate gas reservoirs occupy a pivotal position in the world's oil and gas resources. my country's carbonate gas reservoirs are mainly distributed in the Sichuan, Tarim and Ordos basins. Due to their own characteristics, the development of carbonate gas reservoirs is also different from the development of conventional clastic gas reservoirs, and their development faces various problems. Sinopec's main gas fields, Puguang and Yuanba, are both reef-beach carbonate gas reservoirs. The gas fields have been producing steadily for more than 8 years, but are currently facing problems such as declining gas well production and edge and bottom water intrusion.
[0003] The study of development rules is an important issue in the development of carbonate salt gas fields. It is necessary to study the development rules of gas reservoirs, clarify the changing trends of gas well pressure, gas production, and water production, and use this to predict the future development dynamic indicators, recoverable reserves, and decline rules of gas reservoirs, so as to provide a reliable basis for the scientific and efficient development of gas fields.
[0004] This time, the main purpose is to deepen the understanding of gas reservoir exploitation characteristics and development laws through gas well dynamic analysis and research, and analyze the gas reservoir development effect. The research fully utilizes the development dynamic data, continuously studies and implements the production decline law and type, and strives to meet the actual gas reservoir situation, so that the predicted development technical indicators are correct and reliable.
[0005] Gas well dynamic analysis methods at home and abroad can be generally divided into conventional production dynamic analysis methods and emerging machine learning methods. Conventional production dynamic analysis methods started earlier and have more practical applications in the field, mainly including decline curve analysis methods and numerical simulation methods. The decline curve method uses the fitting of production data to calculate the future production change law of gas wells and reservoir parameters, while the numerical simulation method uses computers and basic seepage theory to simulate and fit the reservoir fluid seepage process to predict the gas well production. In 1908, Arnold and Anderson first proposed the decline curve analysis method. Later, in 1945, Arps proposed three production decline curve analysis methods by studying the relationship between the production and production time of oil and gas wells produced at a constant bottom hole pressure. They are used to analyze the production changes of oil and gas wells in the boundary control flow stage, and a typical decline curve chart was established based on these three methods. However, the Arps method is only applicable to the production prediction problem before the gas well production stage reaches the boundary control flow stage. In order to solve this problem, in 1980, Fetkovich combined the unstable seepage equation with the Arps production decline model based on the unstable seepage theory. This method clearly shows the production decline law in the unstable seepage stage. In 1993, Blasingame, based on the research results of predecessors, combined the nature of the change of gas PVT properties over time, and introduced regularized production, production integral, production integral derivative and material balance pseudo-time into the production decline formula of predecessors. The method proposed by Blasingame can more objectively and truly reflect the actual situation of gas reservoirs under variable bottom flow pressure production. In 2010, Valk proposed an extended exponential decline model, and in 2011, Duong proposed a new production decline model. Both the extended exponential decline model and the Duong decline model have been well applied in the production prediction of shale gas and tight gas.
[0006] The numerical simulation method is based on the various parameters of the actual oil and gas reservoir. First, a mathematical model is established. Through complex electronic computer calculations, the seepage of oil, gas and water in the underground during the oil and gas production process is simulated to describe the production dynamics of the oil and gas reservoir. In 1953, Bruce et al. first used numerical simulation methods to simulate the process of unstable seepage of one-dimensional gas phase. With the update and iteration of electronic computers and the improvement of numerical simulation methods, numerical simulation methods have gradually been widely used in the oil industry. At present, numerical simulation methods use geological data and geophysical data of oil and gas reservoirs to establish numerical models and fit them with production dynamic data. Under the condition of ensuring the accuracy of data and seepage mechanism, the production process of oil and gas reservoirs can be described with high precision. In 2011, Shabro et al. considered the effects of no slip and slip flow, Knudsen diffusion and Langmuir desorption in numerical simulation to predict the production of shale gas. In 2011, Frooqnia et al. used the rock physical parameters obtained by fluid mechanics theory and logging data to simulate the fluid flow in the wellbore and estimate the formation permeability. In 2013, Gan Bosong analyzed the factors affecting the production of a shale gas field in the United States through numerical simulation methods. In 2021, Wei Shiming and others simulated the production process of hydraulic fracturing and optimized the fracturing scheme for infill wells.
[0007] In the field of oil and gas production prediction research, machine learning methods mainly include fully connected neural networks, convolutional neural networks, recurrent neural networks and other methods. Among them, deep learning algorithms such as long short-term memory neural networks and gated recurrent neural networks based on recurrent neural networks are the most representative. In 2011, Bhattacharya et al. used the principal component analysis method (PCA) of machine learning to link the reservoir parameters and fracturing parameters of tight gas reservoirs with production, and predicted the decline rate and ultimate recovery. In 2014, Kuzma et al. combined the generative model (GM) with statistical methods and used a small amount of actual information to build a prediction model that can use production experience to capture the law of oil and gas seepage, so as to make accurate predictions. In 2015, KALANTARI et al. combined numerical simulation methods and machine learning algorithms to simulate and predict shale gas production at different times. In 2016, Zhu et al.
[16] proposed the use of a time series data analysis method, singular spectrum analysis (SSA), which predicts daily production by decomposing and reconstructing the time series matrix of production data. Its effect is similar to that of the conventional decline curve analysis method. In 2019, Gu Jianwei et al.
[19] used a long short-term memory neural network model to achieve long-term prediction capabilities for oil well production series data. In 2020, Temizel et al.
[20] analyzed tight shale reservoir data using a long short-term memory neural network (LSTM) and obtained production prediction results. In the prediction, factors such as production system were taken into account to ensure that the LSTM model could reflect the impact of production system on production. At the same time, the LSTM model was compared with the numerical simulation results to verify its ability to accurately predict long-term production. In 2020, Kim et al. extracted features for deep neural networks using stacked autoencoders to obtain reliable production predictions. In 2022, Werneck et al.
[27] used a stacked recurrent neural network to make short-term predictions of fluid rate and bottom hole pressure in oil and gas reservoirs for 30 days. Experiments on recurrent networks showed that long-term input data and the design of specific time data of key input segments can effectively improve the prediction of oil and gas production and pressure. In 2022, Li Xiangling et al. established a long short-term memory neural network deep learning model that can take into account manual operations. This deep learning model can learn the shut-in time, nozzle size and daily production time to predict the production of oil wells in the case of manual operations. In 2022, Chen Xue et al. predicted production based on a bidirectional gated recurrent unit network and a sparrow search algorithm. The results verified that the model helps capture complex production changes.
[0008] The idea of this research is: first, study the changing characteristics of single-well production, pressure, and water production of gas wells, classify different types of gas wells according to the changing laws of single-well production pressure, and analyze the changing laws of pressure and production of different types of gas wells; for stable production wells, according to the external transmission pressure, based on the analytical model, analyze the stable production time and the production decline after reaching the external transmission pressure, and use the arps decline and LSTM methods to predict the production of different types of wells and the overall expected production in 2022 and 2023. Summary of the invention
[0009] The method for evaluating the development law of carbonate gas reservoirs with edge and bottom water solves the following three problems: ①How to identify the advancement of edge and bottom water in gas wells under the influence of edge and bottom water; ②How to evaluate the development law of gas reservoirs from the pressure and production change law of a single well; ③How to carry out production allocation research for the next year. In order to solve the above problems in the prior art, the present invention proposes a method for evaluating the development law of gas reservoirs, a storage medium and a device.
[0010] In a first aspect, the present invention provides a method for evaluating gas reservoir development rules, comprising the following steps:
[0011] S1: Based on the production status of each well in the gas reservoir, each well is classified into different types of wells;
[0012] S2: Based on the variation rules of different types of gas wells in the gas reservoir obtained in step S1, production pattern diagrams of different types of gas wells are obtained;
[0013] S3: Finally, the development law of the entire gas reservoir is evaluated in combination with the changing law of the entire gas reservoir, and annual production allocation research is carried out.
[0014] As a specific implementation of the present invention, in step S1, the method for classifying the wells includes analyzing the changing rules of the wells, and the changing rules include single well pressure, production, and water production.
[0015] As a specific implementation of the present invention, the step S2 includes the following steps:
[0016] S21: Gas wells are divided into water-free wells and water-exposed wells based on water production, salinity, FMB and PI index;
[0017] S22: According to the changing rules of pressure, gas production, water production, etc., gas wells are divided into pressure drop only and pressure and production drop together;
[0018] S23: Create a development model diagram for the gas wells based on the production status, pressure drop rate, gas production per unit pressure drop, and external transmission pressure of each well.
[0019] As a specific implementation of the present invention, in step S2, two methods are used to carry out research on the same type of gas wells:
[0020] The first evaluation method is to evaluate the pressure and production change rules of each well in each classification, derive the pressure and production change rules, and carry out annual production allocation;
[0021] The second method is to combine the gas production and water production of the same type of gas wells, normalize the pressure curve, and conduct development law analysis based on the pressure and production change law of the same type of gas wells;
[0022] As a specific implementation of the present invention, in the step S1, during the classification evaluation process, the research methods used include FMB and PI index method.
[0023] As a specific implementation of the present invention, the analysis method of the change law includes: establishing an analytical model for stable production wells to make predictions; and making predictions for declining wells based on arps, analytical models, and LSTM methods.
[0024] As a specific implementation of the present invention, step S2 also includes developing law analysis on the changing law of gas wells of the same type, and the analysis methods include Arps decline and LSTM method.
[0025] As a specific implementation of the present invention, the LSTM method comprises the following steps:
[0026] A1: Preprocess the raw data to remove noise using the Savitzky-Golay filter;
[0027] A2: Of the data preprocessed in step A1, 50-80% of the data is used as a training set, and 5-25% of the data is used as a test set. The model parameters are updated using an optimization algorithm based on the test set error. Preferably, 70% of the data is used as a training set, and 15% of the data is used as a test set.
[0028] A3: The remaining 5-25% of the data preprocessed in step A1 is used as the model prediction set; preferably, 15% of the data is used as the model prediction set.
[0029] As a specific implementation of the present invention, the method for denoising raw data using a Savitzky-Golay filter comprises the following steps:
[0030] B1: Extract the data interval and select a maximum or minimum interval in the time dimension as the local fitting interval;
[0031] B2: Carry out local fitting and use Gaussian fitting function to fit the local interval data;
[0032] B3: Overall connection, merging local fitting results.
[0033] By applying the Savitzky-Golay filter, it is possible to filter out noise while ensuring that the shape and width of the signal remain unchanged.
[0034] As a specific implementation of the present invention, the normalized production data is converted during processing, that is, the production control parameters (production time, oil pressure, and gas and water production at the previous moment) are used as feature data, several time steps are used as a time window, and the current moment production corresponding to the last time step is used as label data. One time window corresponds to one sample, and different samples are constructed by moving the time window. The data is then converted into a three-dimensional matrix of input features (number of samples × time steps × number of features) and a corresponding two-dimensional matrix of production (number of samples × 1), which is used as training data for the long short-term memory deep neural network model. See the data conversion method. Figure 1 . The long short-term memory deep neural network algorithm is used to calculate the production dynamic data that needs to be predicted and its error. Finally, the production prediction model is obtained through error back propagation and continuous iterative training.
[0035] As a specific implementation of the present invention, in order to check whether the model being trained still has room for improvement, after the model is trained using the training set, based on the model's fitting effect on the training set and the model's prediction error results on the test set, if the model's performance on the training set and the test set is not good, the model hyperparameters are adjusted to improve the model's prediction accuracy. These hyperparameters include time steps, number of neurons, regularization coefficients, etc. Finally, the trained and optimized model is applied to the prediction set to predict future production dynamics.
[0036] In a second aspect, the present invention provides a computer-readable storage medium, wherein a computer program stored in the computer-readable storage medium can be executed by one or more processors to implement the method described in the first aspect.
[0037] In a third aspect, the present invention provides an electronic device comprising a memory and one or more processors, wherein the memory stores a computer program, and the memory and the one or more processors are communicatively connected to each other, and when the computer program is executed by the one or more processors, the method described in the first aspect is performed.
[0038] Compared with the prior art, the present invention has the following beneficial effects:
[0039] 1. It can effectively identify the risk wells of water invasion in carbonate gas reservoirs with edge and bottom water by analyzing the changing rules of pressure, gas production and water production, and combining the interpretation results of multiple well tests, FMB and PI index curves.
[0040] 2. Ability to evaluate the development law of gas reservoirs from the pressure and production variation law of a single well.
[0041] 3. It can predict the future production of gas reservoirs. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 It is a schematic diagram of the data processing process and model training of the present invention;
[0043] Figure 2 It is a superposition diagram of the double logarithmic curve of YB**3H in the embodiment of the present invention;
[0044] Figure 3 The FMB and PI index curves of the YB**3-1H well in the embodiment of the present invention;
[0045] Figure 4 This is a relationship diagram between the cumulative gas production and the cumulative water production of the YB**3-1H well in an embodiment of the present invention;
[0046] FIG5 shows different types of development modes in an embodiment of the present invention;
[0047] Figure 6 This is the decline curve of the YB2** well in the embodiment of the present invention;
[0048] Figure 7 This is a graph showing the relationship between production, pressure and time for four water-declining wells in an embodiment of the present invention;
[0049] Figure 8 The decline trend prediction of 4 water-declining wells in the embodiment of the present invention;
[0050] Fig. 9 This is the LSTM development trend prediction for the four water-declining wells in the embodiment of the present invention. DETAILED DESCRIPTION
[0051] The present invention will be further described below in conjunction with specific embodiments, but they do not constitute any limitation to the present invention.
[0052] Example
[0053] This embodiment provides a method for evaluating gas reservoir development rules, which is applied to the YB gas field. The specific details are as follows:
[0054] The YB gas field as a whole is currently in the stage of reducing pressure and stabilizing production. It has maintained stable production for 6 years. The current overall water-gas ratio is about 0.6m3 / 104m3, and edge and bottom water has been produced.
[0055] S1: Based on the production status of each well in the gas reservoir, each well is classified into different types of wells;
[0056] First, we conducted a classification and evaluation study on gas wells. Based on the production status of each well in the gas reservoir, we classified different types of wells by analyzing the changing rules of single well pressure, production, water production, etc. Finally, we divided the 33 wells into the following 3 categories and 5 subcategories based on the production status, pressure drop rate, gas production per unit pressure drop, and external transmission pressure of each well, as shown in Table 1:
[0057] Table 1 Classification of gas wells in YB gas field
[0058]
[0059] 1) Classification method of water production wells
[0060] A: Based on geological knowledge
[0061] B: Based on the water sample test data of each gas well, the water-gas ratio of the liquid-producing wells and the chemical properties are used to identify the type of produced fluid and determine whether it produces edge and bottom water. The judgment criteria are shown in Table 2, where the chloride ion of formation water in formation water wells is greater than 10,000 mg / L, and the potassium and sodium ions are basically greater than 10,000 mg / L; the chloride ion and potassium and sodium ion of the produced fluid of gas wells that do not produce water are less than 1,500 mg / L on average.
[0062] Table 2 Classification of produced liquids from YB gas field
[0063]
[0064] C: Pressure recovery data analysis
[0065] Take YB**3-1H well as an example. The well was put into production on August 31, 2016. Before water was seen, the gas well produced at a high rate and steadily. After the gas well produced edge and bottom water, the gas production was affected. In order to control water invasion, the gas production was reduced, the pressure drop rate was controlled, and water was controlled to produce gas. The gas well produced steadily at a relatively low rate and is currently in the stage of reducing pressure and stabilizing production. The water-gas ratio gradually increased from about 0.2 to about 0.6 at the end of 2017, which shows that the gas well has begun to produce edge and bottom water. As of March 31, 2022, the gas well has produced 5.4×108m 3 , cumulative water production 1.8×104m 3 The current oil pressure is 17.55MPa. The overall downward trend of oil pressure can be divided into two stages. Before March 20, the oil pressure decreased at a rate of about 4.45MPa / year (unit pressure drop gas production of 22 million), and then decreased at a rate of 2.67MPa / year (unit pressure drop gas production of 33 million). The well has not carried out pressure recovery test. Figure 2 As shown, the neighboring well YB**3H carried out four pressure recovery tests. The double logarithmic curves in 2017, 2018 and 2020 were all upward, indicating that the water body was constantly advancing, causing the pressure to be transmitted to the water body, forming an impermeability boundary feature; but the pressure recovery curve in 2019 dropped, and the water body showed energy replenishment.
[0066] D: FMB combined with PI index and AG chart
[0067] Combined with Figure 3 As shown in the FMB curve and PI index, it can be seen from the FMB curve of YB**3-1H well that the production index curve is rising, P / Z is showing an upward trend, and the overall water invasion is in the early stage of water invasion. Most of the water body has not invaded, and the overall water body is still providing displacement energy. Figure 4 shown.
[0068] Based on the above four methods, Well YB**3-1H is classified as a water-seeping well. And according to the pressure and production change rules, Well YB**3-1H is classified as a water-seeping stable production well.
[0069] 2) Classification mode
[0070] Based on the pressure and production variation patterns of different types of gas wells in the YB gas field, the production modes of these five types of gas wells are summarized as shown in Figure 5:
[0071] ① No water-stable production wells (17 wells): The pressure has not reached the external transmission pressure, and the gas wells are not affected by water bodies, and the unit pressure drop gas production remains unchanged. Figure 5a shown.
[0072] ② Wells with stable production after water penetration (6 wells): The pressure has not yet reached the external transmission pressure. The gas wells have low water production, but the water production is relatively low. The water production is controlled by reducing the gas production. However, the wells are still in the early stage of water invasion. Some high-permeability zones have water penetration. The water body mainly provides displacement energy, the pressure drop rate slows down, and the gas production per unit pressure drop increases. With the decrease of pressure and further invasion of water bodies, this type of well may develop into a well with decreasing water penetration. In severe cases, the wells are flooded and shut down. Figure 5b shown.
[0073] The remaining production modes are not listed here one by one.
[0074] S2: Based on the variation rules of different types of gas wells in the gas reservoir obtained in step S1, production pattern diagrams of different types of gas wells are obtained;
[0075] S21: Research on single well development rules
[0076] For stable production wells, a mechanism model is established to evaluate the development law of gas wells. Taking the YB**3-1H well as an example, the well is still in the stable production stage, and an analytical model is established to analyze the change law of the well's production pressure.
[0077] From the analysis results, it can be seen that in order to control the water invasion rate, it is recommended to reduce the production to control the water invasion. At present, the production is still stable at a lower gas production rate;
[0078] For a declining well, the production pressure change law of the well is predicted based on the production pressure change trend of the declining well. Figure 6As shown, taking the YB2** well as an example, the well was put into production on November 30, 2014, and entered the decline period from August 2018. Due to the production of edge and bottom water, the gas production and oil pressure decreased at the same time. The overall water-gas ratio gradually increased from about 0.2 to about 4.8. It can be seen that the edge and bottom water have invaded the gas well. The gas well is currently producing edge and low water, and water production affects gas production. The overall downward trend of oil pressure is consistent, generally decreasing at a rate of 4.1MPa / year. However, water production affects gas production. At present, the annual decline rate of the gas well is about 43.00%, the decline index b = 0, which is an exponential decline, qi = 181,700 cubic meters / day, Q = 512 million cubic meters, q2022 = 68,500 cubic meters / day, Q2022 = 468-435 = 33 million cubic meters.
[0079] S22: Research on development rules of wells of the same type
[0080] The production of four water-declining wells in Yuanba Gas Field was superimposed and the pressure was averaged to obtain Figure 7 and Figure 8 .
[0081] Overall, the gas production and pressure of the four wells decreased synchronously, and there were local impacts such as peak regulation, production adjustment, well opening and closing, blockage and unblocking.
[0082] In the later period, the oil pressure decreased at a rate of about 5.65MPa / year, and the gas production per unit pressure drop gradually decreased. The external transmission pressures of these wells were around 6.5MPa or below. The current average oil pressure is 25.12MPa, and it is expected that the pressure will drop to 19.47MPa by the end of 2022.
[0083] According to the overall decline law at this stage, the gas well decline index is b=0, which is an exponential decline, the same as the single well decline mode, and the decline rate is 37%. Combined with the total daily gas production of the four wells at present, it is estimated that the cumulative production of the water-seeking decline wells in 2022 can reach 96 million cubic meters, which is not much different from the total production of 93 million cubic meters of single wells. It is estimated that the daily gas production will be about 209,000 cubic meters / day by the end of 22.
[0084] In addition to the Arps decline analysis method, this study applied the LSTM method to predict the production change pattern of water-declining wells.
[0085] First, the Savitzky-Golay filter (SG filter) is used to process the data. The SG filter was proposed in 1964 and is a filtering method based on least squares fitting in the time domain. This method is mainly used for noise processing of data. This method can well retain the original characteristics of the data while reducing noise.
[0086] The basic formula of SG filter is:
[0087]
[0088] Where Y i , Y i * They are original data and smoothed values respectively; :C i is the SG polynomial fitting coefficient, m is the filter half length, N is the filter length, and its value is 2m+1.
[0089] Secondly, after data denoising, the production history data containing gas reservoir dynamic parameters need to be normalized. Normalization is a dimensionless data processing method that converts the physical values of the gas reservoir production system into relative mathematical relationships. Normalization is an effective way to simplify calculations and reduce values. Normalization is done by linearly transforming the values, and the linear transformation method will not cause the data to be "invalid" after data processing, but will improve the performance of the data in the model training process. The normalization calculation formula is as follows:
[0090]
[0091] Among them, x new is the normalized data; x old is the original data; x min is the minimum value of the original data; x max is the maximum value of the original data.
[0092] The effects of normalization are as follows:
[0093] (1) Convert the input data into data within the range of 0 to 1, making data processing more convenient and faster, and improving the error convergence speed during model training.
[0094] (2) The parameters are uniformly converted into dimensionless form so that the neural network can better consider input parameters of different forms.
[0095] (3) Avoid numerical problems: Avoid numerical problems caused by too large values, which may cause the model training to fail.
[0096] The normalized historical production data is converted into sequence data, that is, the production data is converted into historical production data of a time window size and the corresponding known parameter values, which are used as input parameters of the long short-term memory deep neural network model, and the long short-term memory deep neural network algorithm is used to calculate the production dynamic data that needs to be predicted.
[0097] Q'(t)=F(T(t),Q(t-1),T(t-1),Q(t-2),T(t-2),…,Q(tn)T(tn)) (3)
[0098] Where Q'(t) is the production data calculated by the neural network at the t-th time step; Q(t) is the actual production data at the t-th time step; T(t) is the parameter of the production dynamic data at the t-th time step, including pressure, production time, etc.; Q(t-1), T(t-1), Q(t-2), T(t-2),…, Q(tn)T(tn) represent the production and production control parameter data of the first n time steps.
[0099] For example, when predicting the production dynamics of a gas well in a declining period, the gas well production is controlled by the production time. The daily working time controlled by humans can be taken as T(t), and the production value that the model needs to predict can be taken as Q(t). The production time T(t) and the production Q(t-1) at the previous moment are used to predict the change pattern of the production Q(t).
[0100] The preprocessed data in the previous step is divided into three parts. The first 70% of the data is used as a training set to train the model; the next 15% of the data is used as a test set to make predictions and verify the effect of the model, and the optimization algorithm is used to update the model parameters based on the test set error; the last 15% of the data is used as the prediction set of the model.
[0101] The neural network model established by this method aims to use historical production dynamic data including production and production control parameters (such as nozzles, oil pressure, daily working hours, water production, mineralization, etc.) to predict the forecast index (such as gas production) data for a period of time in the future. The normalized production data is converted. The data conversion method is shown in Figure 1 . The production control parameters are used as feature data, several time steps are used as a time window, and the current output corresponding to the last time step is used as the label data. One time window corresponds to one sample, and different samples are constructed by moving the time window. The data is then converted into a three-dimensional matrix of input features (number of samples × time steps × number of features) and a corresponding two-dimensional matrix of output (number of samples × 1), which is used as training data for the deep learning neural network model. The long short-term memory deep neural network algorithm is used to calculate the production dynamic data to be predicted and calculate its error. Finally, the output prediction model is obtained through error back propagation and continuous iterative training.
[0102] In order to check whether there is still room for improvement in the model being trained, after the model is trained using the training set, based on the model's fitting effect on the training set and the model's prediction error results on the test set, if the model performs poorly on the training set and test set, the model hyperparameters are adjusted to improve the model's prediction accuracy. These hyperparameters include time steps, number of neurons, regularization coefficients, etc. Finally, the trained and optimized model is applied to the prediction set to predict future production dynamics.
[0103] S3: Evaluate the development law of the entire gas reservoir based on the changing laws of each well in the entire gas reservoir, and conduct annual production allocation research.
[0104] like Fig. 9 As shown, the LSTM method predicts that the cumulative production of water-declining wells can reach 96 million cubic meters in 2022, and the daily gas production is expected to be about 193,000 cubic meters / day by the end of 2022.
[0105] In summary, the gas reservoir development law evaluation method of the present invention can effectively identify the risk wells of water invasion in edge-bottom water carbonate gas reservoirs by analyzing the change law of pressure, gas production and water production, and combining the interpretation results of multiple well tests, FMB and PI index curves. The development law of the gas reservoir can be evaluated from the pressure and production change law of a single well. The future production of the gas reservoir can be predicted.
[0106] In one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by one or more processors to implement the method described in any of the above embodiments.
[0107] In one embodiment, an electronic device is provided, including a memory and one or more processors, wherein a computer program is stored in the memory, and the memory and the one or more processors are communicatively connected to each other. When the computer program is executed by the one or more processors, the method described in any of the above embodiments is performed.
[0108] In addition, it should be understood that the method or system disclosed in the embodiments provided in the present application can also be implemented in other ways. The method or system embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the methods and devices according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a computer program segment or a part of a computer program, and the module, computer program segment or a part of a computer program contains one or more computer programs for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings, and can actually be executed in parallel. They can also be executed in the opposite order sometimes, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of dedicated hardware and computer programs.
[0109] In the present application, the terms "comprises", "includes" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, device or device including the elements; if there is a description of "first", "second", etc., it is only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the order of the indicated technical features. In addition, in the description of the present application, unless otherwise specified, the terms "multiple" and "multiple" mean at least two.
[0110] Finally, it should be noted that, in the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "an example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0111] Although the embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary, and the contents described are only embodiments adopted for the convenience of understanding the present application, and are not intended to limit the present application. Any technician in the technical field to which the present application belongs can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present application, but the scope of protection of the present application shall still be based on the scope defined in the attached claims.
Claims
1. A method for evaluating gas reservoir development rules, characterized in that: The following steps are involved: S1: Based on the production status of each well in the gas reservoir, each well is classified into different types of wells; S2: Based on the variation rules of different types of gas wells in the gas reservoir obtained in step S1, production pattern diagrams of different types of gas wells are obtained; S3: Finally, the development law of the entire gas reservoir is evaluated based on the change law of each well in the entire gas reservoir, and annual production allocation research is carried out.
2. The method according to claim 1, characterized in that In the step S1, the method for classifying the wells includes analyzing the changing rules of the wells, wherein the changing rules include the single well pressure, production, and water production.
3. The method according to claim 1 or 2, characterized in that: The step S2 includes the following steps: S21: Gas wells are divided into water-free wells and water-exposed wells based on water production, salinity, FMB and PI index; S22: According to the changing rules of pressure, gas production, water production, etc., gas wells are divided into pressure drop only and pressure and production drop together; S23: Create a development model diagram for the gas wells based on the production status, pressure drop rate, gas production per unit pressure drop, and external transmission pressure of each well.
4. The method according to any one of claims 1 to 3, characterized in that: In step S2, two methods are used to study the same type of gas wells: The first evaluation method is to evaluate the pressure and production change rules of each well in each classification, derive the pressure and production change rules, and carry out annual production allocation; The second method is to combine the gas production and water production of the same type of gas wells, normalize the pressure curve, and conduct development law analysis based on the pressure and production change patterns of the same type of gas wells.
5. The method according to any one of claims 1 to 4, characterized in that: In the step S1, during the classification evaluation process, the research methods used include FMB and PI index method.
6. The method according to any one of claims 1 to 5, characterized in that: The analysis method of the change law includes: establishing an analytical model for stable production wells to make predictions; and making predictions based on arps, analytical models, and LSTM for declining wells.
7. The method according to any one of claims 1 to 6, characterized in that: The step S2 also includes conducting development law analysis on the changing law of gas wells of the same type, and the analysis methods include Arps decline and LSTM method.
8. The method according to any one of claims 1 to 7, characterized in that: The LSTM method comprises the following steps: A1: Preprocess the raw data to remove noise using the Savitzky-Golay filter; A2: Of the data preprocessed in step A1, 50-80% of the data is used as a training set, and 5-25% of the data is used as a test set. The optimization algorithm is used to update the model parameters based on the test set error. A3: The remaining 5-25% of the data preprocessed in step A1 is used as the model prediction set.
9. The method according to any one of claims 1 to 8, characterized in that: The method of denoising the raw data by using the Savitzky-Golay filter includes the following steps: B1: Extract the data interval and select a maximum or minimum interval in the time dimension as the local fitting interval; B2: Carry out local fitting and use Gaussian fitting function to fit the local interval data; B3: Overall connection, merging local fitting results.
10. A computer-readable storage medium, characterized in that: The computer program stored in the computer-readable storage medium can be executed by one or more processors to implement the method according to any one of claims 1 to 9.
11. An electronic device, characterized in that: The method comprises a memory and one or more processors, wherein a computer program is stored in the memory, and the memory and the one or more processors are communicatively connected with each other, and when the computer program is executed by the one or more processors, the method as described in any one of claims 1 to 9 is executed.
