A method and device for simulating capacity data distribution
Through historical production capacity data and various production capacity decline models, a production capacity data distribution simulation method is constructed, which solves the problem of low accuracy of oil and gas reservoir production capacity prediction and achieves more accurate production capacity data distribution simulation and prediction.
Patent Information
- Application Number
- CN202311715661.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-13
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2043-12-13
AI Technical Summary
Existing oil and gas reservoir productivity prediction calculations have low accuracy and lack mature numerical simulation technology.
A simulation method of production capacity data distribution is used to determine the target production capacity decline model through historical production capacity data, obtain the target curve parameters, construct a suggested probability distribution function, and calculate the acceptance probability. If the acceptance probability is greater than the threshold, the posterior distribution is determined to be the production capacity decline model. The predicted production capacity data distribution uses hyperbolic decline models, power law decline models, nonlinear expansion models, expanded exponential decline models and variable decline rate correction models, etc.
It improves the accuracy of oil and gas reservoir productivity prediction calculations, enables a more comprehensive simulation of productivity data distribution, and enhances the accuracy of prediction.
Smart Images

Figure CN117744354B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of capacity simulation, and in particular to a method and device for simulating capacity data distribution. Background Art
[0002] At present, capacity refers to the ability of oil and gas reservoirs to produce fluids in the formation state. It is the basic data for reservoir capacity evaluation and development plan formulation, and is also an important parameter for determining the lower limit of reservoir physical properties. The capacity of oil and gas reservoirs is determined by the reservoir's own conditions, engineering factors, and oil and gas properties. The factors that affect the geological characteristics of the reservoir are complex and multifaceted.
[0003] However, there is currently no mature numerical simulation technology for oil and gas reservoirs, which results in low calculation accuracy for oil and gas reservoir productivity prediction. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a method and device for simulating capacity data distribution, which can achieve the purpose of improving the accuracy of capacity forecast calculation.
[0005] In a first aspect, an embodiment of the present application provides a method for simulating capacity data distribution, the method comprising:
[0006] According to the historical production capacity data, a target production capacity decline simulation curve corresponding to the target production capacity decline model is determined, and target curve parameters are obtained from the target production capacity decline simulation curve; wherein the target production capacity decline model is a model for simulating the production capacity change trend of the oil and gas reservoir;
[0007] Determining a suggestion probability distribution function according to the target curve parameters, so as to determine a target suggestion probability from the suggestion probability distribution function;
[0008] Determine a target acceptance probability according to the target suggestion probability and the target posterior probability; the target acceptance probability is used to characterize the similarity between the capacity data distribution predicted according to the target capacity decline model and the posterior distribution corresponding to the target posterior probability, the target posterior probability is determined according to the prior distribution of the target capacity decline simulation curve, and the target capacity decline model includes at least one of the following items: a hyperbolic decline model, a power law decline model, a nonlinear expansion model, an extended exponential decline model, and a variable decline rate correction model;
[0009] If it is detected that the target acceptance probability is greater than a preset probability threshold, the posterior distribution corresponding to the target posterior probability is determined to be the capacity data distribution predicted by the target capacity decline model.
[0010] In a second aspect, an embodiment of the present application further provides a device for simulating capacity data distribution, the device comprising:
[0011] A curve parameter determination module is used to determine a target capacity decline simulation curve corresponding to a target capacity decline model according to historical capacity data, and obtain target curve parameters from the target capacity decline simulation curve; wherein the target capacity decline model is a model for simulating the capacity change trend of oil and gas reservoirs;
[0012] A suggestion probability determination module, used to determine a suggestion probability distribution function according to the target curve parameters, so as to determine a target suggestion probability from the suggestion probability distribution function;
[0013] An acceptance probability determination module is used to determine a target acceptance probability according to the target suggestion probability and the target posterior probability; the target acceptance probability is used to characterize the similarity between the capacity data distribution predicted according to the target capacity decline model and the posterior distribution corresponding to the target posterior probability, the target posterior probability is determined according to the prior distribution of the target capacity decline simulation curve, and the target capacity decline model includes at least one of the following items: a hyperbolic decline model, a power law decline model, a nonlinear expansion model, an extended exponential decline model, and a variable decline rate correction model;
[0014] The production distribution determination module is used to determine that the posterior distribution corresponding to the target posterior probability is the capacity data distribution predicted by the target capacity decline model if it is detected that the target acceptance probability is greater than a preset probability threshold.
[0015] The simulation method and device of capacity data distribution provided in the embodiment of the present application, wherein, firstly, a target capacity decline simulation curve corresponding to a target capacity decline model is determined according to historical capacity data, and target curve parameters are obtained from the target capacity decline simulation curve; wherein the target capacity decline model is a model for simulating the capacity change trend of oil and gas reservoirs; then, a suggested probability distribution function is determined according to the target curve parameters to determine the target suggested probability from the suggested probability distribution function; then, a target acceptance probability is determined according to the target suggested probability and the target posterior probability; wherein the target acceptance probability is used to characterize the similarity between the capacity data distribution predicted according to the target capacity decline model and the posterior distribution corresponding to the target posterior probability, the target posterior probability is determined according to the prior distribution of the target capacity decline simulation curve, and the target capacity decline model includes at least one of the following items: a hyperbolic decline model, a power law decline model, a nonlinear expansion model, an extended exponential decline model, and a variable decline rate correction model; finally, if it is detected that the target acceptance probability is greater than a preset probability threshold, the posterior distribution corresponding to the target posterior probability is determined to be the capacity data distribution predicted by the target capacity decline model. The embodiment of the present application can more comprehensively simulate the production capacity data distribution of oil and gas reservoirs through the above method, thereby achieving the purpose of improving the accuracy of production capacity prediction calculations.
[0016] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A flowchart of a method for simulating capacity data distribution provided in an embodiment of the present application;
[0019] Figure 2 The hyperbolic decline model of the Dingye 1 well provided in the embodiment of the present application is a 30-year EUR simulation result after multiple iterations;
[0020] Figure 3 The EUR simulation results of the extended exponential decline model corresponding to the Dingye 1 well provided in the examples of the present application;
[0021] Figure 4 The EUR simulation results of the hyperbolic decline model corresponding to the Dingye 2 well provided in the examples of the present application;
[0022] Figure 5 The EUR simulation results of the power-law decline model corresponding to the Dongye Shen 1 well provided in the embodiment of the present application;
[0023] Figure 6 The EUR simulation results of the nonlinear extended model corresponding to the Weiye 1 well provided in the embodiment of the present application;
[0024] Figure 7 The EUR simulation results of the nonlinear extended model corresponding to the Yongye 1 well provided in the examples of the present application;
[0025] Figure 8 The EUR simulation results of the hyperbolic decline model corresponding to the #244785 well provided in the embodiment of the present application;
[0026] Fig. 9 The EUR simulation results of the variable decline rate correction model corresponding to the Jiliye Oil Well 1 provided in the embodiment of the present application;
[0027] Fig.10 The error factors (τ) corresponding to the productivity decline models of the seven wells provided in the embodiment of the present application are: P50 ) Statistical charts;
[0028] Fig.11 The 10-year EUR corresponding to P10, P50 and P90 of the seven wells provided in the examples of this application y10 Statistical graph of simulation results;
[0029] Fig.12 The seven wells provided in the present embodiment have EUR values of 10, 20, and 30 years. P50 Statistical graph of simulation results;
[0030] Fig.13 A schematic diagram of the structure of a device for simulating the distribution of production capacity data provided in an embodiment of the present application;
[0031] Fig.14 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0033] At present, capacity refers to the ability of oil and gas reservoirs to produce fluids in the formation state. It is the basic data for reservoir capacity evaluation and development plan formulation, and is also an important parameter for determining the lower limit of reservoir physical properties. The capacity of oil and gas reservoirs is determined by the reservoir's own conditions, engineering factors, and oil and gas properties. The factors that affect the geological characteristics of the reservoir are complex and multifaceted.
[0034] However, there is currently no mature numerical simulation technology for oil and gas reservoirs, which results in low calculation accuracy for oil and gas reservoir productivity prediction.
[0035] Based on this, the embodiments of the present application provide a method and device for simulating the distribution of production capacity data, which can achieve the purpose of improving the accuracy of production capacity forecast calculation.
[0036] See also Figure 1 , Figure 1 This is a flow chart of a method for simulating the distribution of production capacity data provided in an embodiment of the present application. Figure 1 As shown in , the simulation method provided by the embodiment of the present application includes:
[0037] S101. Determine a target capacity decline simulation curve corresponding to a target capacity decline model according to historical capacity data, and obtain target curve parameters from the target capacity decline simulation curve; wherein the target capacity decline model is a model for simulating a capacity change trend of an oil and gas reservoir;
[0038] S102, determining a suggestion probability distribution function according to the target curve parameters, so as to determine a target suggestion probability from the suggestion probability distribution function;
[0039] S103, determining a target acceptance probability according to the target suggestion probability and the target posterior probability; the target acceptance probability is used to characterize the similarity between the capacity data distribution predicted according to the target capacity decline model and the posterior distribution corresponding to the target posterior probability, the target posterior probability is determined according to the prior distribution of the target capacity decline simulation curve, and the target capacity decline model includes at least one of the following items: a hyperbolic decline model, a power law decline model, a nonlinear expansion model, an extended exponential decline model, and a variable decline rate correction model;
[0040] S104. If it is detected that the target acceptance probability is greater than a preset probability threshold, the posterior distribution corresponding to the target posterior probability is determined to be the capacity data distribution predicted by the target capacity decline model.
[0041] The embodiment of the present application can more comprehensively simulate the production capacity data distribution of the oil and gas reservoir through steps S101 to S104, thereby achieving the purpose of improving the calculation accuracy of production capacity prediction.
[0042] The following is an exemplary description of the above steps S101 to S104:
[0043] In step S101, a target capacity decline simulation curve corresponding to a target capacity decline model is determined based on historical capacity data, and target curve parameters are obtained from the target capacity decline simulation curve; wherein the target capacity decline model is a model for simulating the capacity change trend of oil and gas reservoirs.
[0044] Here, the entire life cycle of an oil and gas reservoir can be divided into three stages: a capacity construction period, during which the oil and gas production will increase rapidly as the oil wells that exploit the oil and gas reservoir are developed and put into production; followed by a relatively long period of high production / stable production, during which the oil and gas production is relatively stable; and finally, a production decline period, during which the time of final depletion varies from one oil and gas reservoir to another. The embodiment of this application only analyzes the production decline period of the oil and gas reservoir, and determines a target production decline model that can evaluate different types of oil and gas reservoirs based on the production decline data characteristics of different types of oil and gas reservoirs during the production decline period.
[0045] Among them, different types of oil and gas reservoirs include unconventional oil and gas reservoirs, water-bearing reservoirs, and complex reservoirs. The target production capacity decline model includes a hyperbolic decline model or a nonlinear expansion model suitable for unconventional oil and gas reservoirs, a power-law decline model suitable for water-bearing reservoirs, and an extended exponential decline model or a variable decline rate correction model suitable for complex reservoirs.
[0046] In an optional embodiment, the target oil and gas reservoir corresponding to the hyperbolic decline model is an unconventional oil and gas reservoir, the permeability of the unconventional oil and gas reservoir is greater than the first permeability threshold and the pressure value is greater than the preset pressure threshold, and the decline rate of the unconventional oil and gas reservoir is greater than the preset rate threshold; here, the first permeability threshold, the preset pressure threshold and the preset rate threshold are all summarized from the historical production capacity data, and are data critical values that characterize the production capacity decline data characteristics of the unconventional oil and gas reservoir. Exemplarily, the unconventional oil and gas reservoir includes a shale gas layer or a shale oil layer. The decline rate refers to the rate of change of production per unit time or the percentage of production decline per unit time. The size of the decline rate reflects the quality of the stable production situation of the unconventional oil and gas reservoir. The smaller the decline rate, the better the stable production situation. The decline rate is determined according to the degree of change in production of the oil wells that exploit the unconventional oil and gas reservoir after it is put into production.
[0047] For unconventional oil and gas reservoirs, if it is detected that the permeability of the unconventional oil and gas reservoir is greater than a first permeability threshold and the pressure value is greater than a preset pressure threshold, and the decline rate of the unconventional oil and gas reservoir is greater than a preset rate threshold, the hyperbolic decline model is determined as the target production capacity decline model of the unconventional oil and gas reservoir.
[0048] Here, the hyperbolic decline model, such as the Arps model, can be used to describe the production capacity decline law of unconventional oil and gas reservoirs such as shale gas layers or shale oil layers. Among them, the hyperbolic decline model is simple and widely used, and can well fit the production capacity decline law of unconventional oil and gas reservoirs, and is more accurate in the short-term production capacity prediction of unconventional oil and gas reservoirs.
[0049] Exemplary, hyperbolic decline models include:
[0050]
[0051] Among them, q t represents daily production capacity, q0 represents initial production capacity, n Arps represents the decline index, D0 represents the initial decline rate, and t represents the actual production time. Specifically, the model parameters of the hyperbolic decline model include q0, n Arps and D0.
[0052] Here, the daily production capacity is q t represents the daily recoverable resources of unconventional oil and gas reservoirs, and the daily production capacity q t The unit is m 3 / d; initial capacity q0 refers to the amount of resources obtained from the first exploitation of unconventional oil and gas reservoirs. The unit of initial capacity q0 is m 3 / d; decreasing index n Arps There is a preset range of values, such as 0 to 1 or greater than 1, which can be selected according to actual conditions. The initial decline rate D0 refers to the rate of change of output per unit time in the initial stage of output decline.
[0053] Specifically, for unconventional oil and gas reservoirs, without considering complex seepage theory, the regularity between production capacity and time is determined only based on the measured data of shale gas layers or shale oil layers, so a more accurate production capacity prediction can be obtained by using the hyperbolic decline model. In order to accurately describe the coalbed methane layer or shale gas layer, the decline index n of the hyperbolic decline model is Arps Always greater than 1.
[0054] In an optional embodiment, the target oil and gas reservoir corresponding to the nonlinear extension model is a horizontal well section in an unconventional oil and gas reservoir, and the fracture permeability of the horizontal well section is greater than the second permeability threshold. The drilling of a horizontal well section with a preset length in an unconventional oil and gas reservoir is a horizontal well. The nonlinear extension model can be used to describe the capacity decline problem of the horizontal well. For example, in the process of shale oil and gas production, the nonlinear extension model can better capture the behavior of horizontal wells at different capacity decline stages.
[0055] For a horizontal well, if it is detected that the fracture permeability of the horizontal well is greater than the second permeability threshold, the nonlinear expansion model is determined as the target capacity decline model corresponding to the horizontal well.
[0056] Long-term linear flow has been observed in wells corresponding to unconventional oil and gas reservoirs. This type of linear flow can exist in various types of fractures. For fracture flow under constant flow pressure, the logarithmic curve of cumulative production and time will appear as a straight line with a uniform slope regardless of the fracture type. The production data of most unconventional oil and gas reservoirs show a fracture-dominated flow state. Even after several years of production, it is difficult to reach the later flow state without pseudo-radial flow and boundary flow. The matrix permeability and oil leakage area cannot be determined. Therefore, compared with fractures, the contribution of the matrix to production capacity can be ignored.
[0057] Since nonlinear extension models, such as the Duong model, can better capture the behavior of horizontal wells at different production decline stages, nonlinear extension models can be used to estimate the daily production capacity of horizontal wells where fracture flow is dominant and matrix contribution can be ignored.
[0058] Exemplary, nonlinear expansion models include:
[0059]
[0060] Among them, q0 represents the initial capacity, α Duong represents the time intercept constant, m Duong represents the slope parameter. Specifically, the model parameters of the nonlinear expansion model include q0, α Duong and m Duong .
[0061] Here, the time intercept constant α Duong The value ranges from 0.8 to 2, and the slope parameter m Duong The value ranges from 1 to 1.2.
[0062] In an optional embodiment, the target oil and gas reservoir corresponding to the power law decline model is a water-bearing reservoir, and the water content of the water-bearing reservoir is greater than a preset water content threshold. The water-bearing reservoir refers to a reservoir whose water content is greater than a preset water content threshold. Here, the preset water content threshold is summarized from historical production capacity data and is a data critical value that characterizes the production capacity decline data characteristics of the water-bearing reservoir. Exemplarily, the water-bearing reservoir can be an oil field for water injection production.
[0063] For the water-bearing reservoir, if it is detected that the water content of the water-bearing reservoir is greater than a preset water content threshold, the power law decline model is determined as the target capacity decline model of the water-bearing reservoir.
[0064] Here, the power law decline model, such as the PLE model, can be used to describe the law of capacity decline of water-bearing reservoirs. The power law decline model takes into account the impact of water injection on capacity and is suitable for the analysis of water-bearing reservoirs. Among them, the power law decline model is more effective in describing the law of capacity decline of water-bearing reservoirs and can better predict water-bearing reservoirs.
[0065] An exemplary power law decline model includes:
[0066]
[0067] Among them, D ∞-PLE represents an infinite time constant, D 1-PLE Represents the intercept constant per unit time, n PLR represents the time index, and t represents the actual production time. Specifically, the model parameters of the power law decline model include D ∞-PLE , D 1-PLE and n PLE .
[0068] Here, LN(D ∞-PLE ) generally takes values between (-13 and -3), LN(D 1-PLE ) is generally between (-4.6~-0.1), n PLE Generally between (0~1).
[0069] Specifically, for water-bearing reservoirs, the power-law decline model is more flexible and can more easily match various parameters in water-bearing reservoir applications, thereby obtaining a more accurate production capacity prediction.
[0070] In an optional embodiment, the target oil and gas reservoir corresponding to the extended exponential decline model is a first complex reservoir, and the first complex reservoir includes multiple decline rates. The first complex reservoir has a more complex capacity decline, such as a carbonate layer or a fractured reservoir; the second complex reservoir usually has heterogeneity and multiple decline rates, such as a coalbed methane or a water-bearing gas field.
[0071] For the first complex reservoir, if it is detected that the first complex reservoir contains multiple decline rates, the extended exponential decline model is determined as the target productivity decline model of the complex reservoir.
[0072] Here, extended exponential decline models, such as the SEPD model, can be used to describe reservoirs with multiple decline rates and complex capacity decline. It can better fit these complex situations, can better fit multiple decline mechanisms, and will be more accurate in simulating long-term capacity decline.
[0073] Since the actual production capacity decline of the first complex reservoir is determined by a large number of exponential decay individuals, but each exponential decay has a specific time constant distribution, the extended exponential decay model is used to describe the first complex reservoir. The extended exponential decay model can point out that the stretched exponential decay of a function is formed by the accumulation of a series of "fat-tailed" pure exponential decay probability distributions based on the time constant.
[0074] Exemplary, extended exponential decline models include:
[0075]
[0076] Among them, n SPED represents the indicator parameter, τ SPED represents the time constant. Specifically, the model parameters of the extended exponential decrease model include n SPED and τ SPED .
[0077] Here, the time constant τ SPED The value is generally between 100 and 400, indicating parameter n SPED Generally it is between 0.2 and 0.8.
[0078] In an optional embodiment, the target oil and gas reservoir corresponding to the variable decline rate correction model is a second complex reservoir, which has heterogeneous characteristics and contains multiple decline rates.
[0079] For the second complex reservoir, if it is detected that the second complex reservoir has heterogeneity characteristics and contains multiple decline rates, the variable decline rate correction model is determined as the target capacity decline model of the complex reservoir.
[0080] Here, variable decline rate correction models, such as the VDMA model, can provide more accurate capacity decline simulation results, better capture the effects of heterogeneity and multiple capacity decline mechanisms, and are suitable for second complex reservoirs with heterogeneous characteristics and multiple decline rates.
[0081] Specifically, according to the well type, number of fracturing stages, distance between wells and fracturing stages, and matrix permeability, linear, bilinear, and multiple fracture flows will appear in the second complex reservoir in the early stage of fracturing, and boundary flow, composite linear flow, and post-linear flow dominated by simulated reservoir volume will appear in the later stage. Fracture permeability decreases with time in a power-law function. Any type of linear flow can be simulated by a power-law equation, and any type of boundary-controlled flow can be approximated by a constant decay rate model or an exponential decay model. After continuous analysis, here, for the second complex reservoir, a variable decline rate correction model is used to simulate the law of capacity decline, which can obtain more accurate simulation results.
[0082] Exemplarily, the variable descent rate correction model includes:
[0083]
[0084] Among them, n VDMA represents the decline rate exponent, D 0-VDMA Specifically, the model parameters of the variable descent rate correction model include n VDMA and D 0-VDMA .
[0085] Here, LN(D 0-VDMA ) is between -9.2 and -0.1, LN(n VDMA ) is between -4.6 and -2.3.
[0086] The embodiment of the present application selects a target capacity decline model that conforms to the capacity decline data characteristics of different types of oil and gas reservoirs. Since the capacity decline data characteristics of different types of oil and gas reservoirs are different, the adapted target capacity decline models are also different. This can match different target capacity decline models for different types of oil and gas reservoirs in a targeted manner, which helps to improve the accuracy of the capacity simulation of the target capacity decline model for different types of oil and gas reservoirs.
[0087] Specifically, in step S101, based on historical capacity data, the MCMC algorithm is used to construct a target capacity decline simulation curve under different distribution trends corresponding to the target capacity decline model.
[0088] Here, the MCMC algorithm refers to the Markov Chain Monte Carlo method (MCMC), which introduces the Markov process into the Monte Carlo simulation to achieve dynamic simulation in which the sampling distribution changes as the simulation proceeds, thus making up for the defect that the traditional Monte Carlo integration can only perform static simulation.
[0089] Among them, the target capacity decrease simulation curves under different distribution trends include the target capacity decrease simulation curve under the first distribution trend, the target capacity decrease simulation curve under the second distribution trend and the target capacity decrease simulation curve under the third distribution trend. The first distribution trend is smaller than the second distribution trend, the second distribution trend is smaller than the third distribution trend, the quantile value corresponding to the first distribution trend is smaller than the quantile value corresponding to the second distribution trend, and the quantile value corresponding to the second distribution trend is smaller than the quantile value corresponding to the third distribution trend.
[0090] The distribution trend can be represented by quantile values, such as quantile values of 10%, 50%, and 90%. When the quantile value is 50%, it means that among all the estimated capacity results determined by the target capacity decline simulation curve, there is a 50% probability that it will fall above the estimated capacity corresponding to the 50% quantile value. At this time, the risk level of the estimated capacity determined by the target capacity decline simulation curve falling on the estimated capacity corresponding to the 50% quantile value is 50%; when the quantile values are 10% and 90%, according to the definitions of confidence interval and confidence level, the quantile values of 10% and 90% can be used as the two endpoints of the confidence interval respectively, so that a confidence level of 80% can be obtained, that is, among all the estimated capacity results estimated by the target capacity decline simulation curve, there is an 80% chance that the estimated capacity distribution interval of the oil and gas reservoir is between EUR P10 ~EUR P90 In the range, EUR P10 Indicates the estimated production capacity corresponding to the 10% percentile value, EUR P90 Indicates the estimated capacity corresponding to the 90% percentile value. At this time, the risk level for the estimated capacity determined by the target capacity decline simulation curve falling between the estimated capacity corresponding to the 10% percentile value and the estimated capacity corresponding to the 90% percentile value is 80%. The risk level represents the accuracy of the capacity of the oil and gas reservoir estimated by the target capacity decline simulation curve.
[0091] In an optional embodiment, step S101 specifically includes:
[0092] Step 1011: Based on the historical capacity data, the MCMC algorithm is used to fit the initial capacity decline simulation curves under different distribution trends corresponding to the target capacity decline models of different types of oil and gas reservoirs; wherein the historical capacity data is used to train the target capacity decline model.
[0093] Here, based on historical capacity data, the MCMC algorithm of Bayesian theorem is used to fit the initial capacity decline simulation curve under different distribution trends corresponding to the target capacity decline model of different types of oil and gas reservoirs. The initial capacity decline simulation curve can reflect the capacity attenuation trend of different types of oil and gas reservoirs (such as coalbed methane or shale gas layers). Among them, historical capacity data can also train the target capacity decline model.
[0094] Step 1012: obtaining a plurality of target fitting values from the initial capacity decline simulation curve, and obtaining a target real value corresponding to each target fitting value from the historical capacity data;
[0095] In this step, the target fitting value and the corresponding target true value correspond to the same time, that is, multiple target fitting values are obtained from the initial capacity decline simulation curve, and the target true value at the same time as each target fitting value is obtained from the historical capacity data.
[0096] Here, the fitting effect of each initial capacity decline simulation curve can be evaluated based on the closeness between the target fitting value and the target true value.
[0097] Step 1013: Determine the error factor corresponding to each target fitting value according to the target fitting value and the target true value, so as to obtain multiple error factors corresponding to the initial capacity decline simulation curve.
[0098] Here, the initial capacity reduction simulation curve corresponding to the error factor is the initial capacity reduction simulation curve under the second distribution trend. Exemplarily, the initial capacity reduction simulation curve corresponding to the error factor is above the estimated capacity corresponding to the 50% quantile value.
[0099] For example, the error factor is used to quantitatively describe the reliability of the estimated capacity results of the initial capacity decline simulation curve corresponding to different target capacity decline models. The error factor expression is as follows:
[0100]
[0101] Among them, EUR CPEOH Represents the actual cumulative capacity obtained from historical energy storage data, EUR P50 Represents the cumulative estimated capacity corresponding to the 50% quantile (P50) simulated by the initial capacity reduction simulation curve. τ P50 Represents the error factor corresponding to the 50% quantile value (P50). This method can fully quantify the uncertainty of the simulated capacity of the initial capacity decline simulation curve. The smaller the error factor, the smaller the uncertainty of the simulation result, and the more reliable the simulation result will be.
[0102] Step 1014: If the ratio between the number of error factors smaller than the preset error threshold and the number corresponding to all error factors among the multiple error factors is greater than the preset threshold, the initial capacity decline simulation curve is determined as the target capacity decline simulation curve.
[0103] Step 1015: If the ratio between the number of error factors smaller than the preset error threshold among the multiple error factors and the number corresponding to all error factors is not greater than the preset threshold, the initial capacity decline simulation curve is corrected based on the change trend between the multiple target true values to obtain the target capacity decline simulation curve.
[0104] In steps 1014 to 1015, the accuracy of the initial capacity decline simulation curve in simulating the capacity can be evaluated by the proportion of the number of error factors that are less than a preset error threshold. If the accuracy of the initial capacity decline simulation curve in simulating the capacity is high, the initial capacity decline simulation curve can be directly determined as the target capacity decline simulation curve to determine the cumulative estimated capacity of different types of oil and gas reservoirs under different distribution trends during the capacity decline period. If the accuracy of the initial capacity decline simulation curve in simulating the capacity is not high, the initial capacity decline simulation curve needs to be corrected to obtain a target capacity decline simulation curve with higher accuracy, which is conducive to improving the prediction accuracy of the cumulative estimated capacity of different types of oil and gas reservoirs during the capacity decline period.
[0105] Then, after obtaining the target capacity decline simulation curve, the target curve parameters are obtained from the target capacity decline simulation curve. Specifically, the target curve parameters are associated with the model parameters of the target capacity decline model.
[0106] Exemplarily, when the target capacity decline model is a hyperbolic decline model, the target curve parameters include an initial decline rate, a decline index, and an initial capacity; taking the hyperbolic decline model Arps as an example, each target curve parameter includes ln(q0), ln(D0), and n Arps , where q0 represents the initial capacity, D0 represents the initial decline rate, and n Arps Indicates a decreasing index.
[0107] When the target capacity decline model is a power law decline model, the target curve parameters include infinite time constant, intercept constant per unit time, time index and initial capacity; taking the power law decline model PLE model as an example, the various target curve parameters include ln(q0), ln(D 1-PLE )、ln(D ∞-PLE ) and n PLE , where q0 represents the initial capacity, D ∞-PLE represents an infinite time constant, D 1-PLE Represents the intercept constant per unit time, n PLE Represents the time index.
[0108] When the target capacity decline model is a nonlinear expansion model, the target curve parameters include the time intercept constant, the slope parameter and the initial capacity. Taking the nonlinear expansion model Duong model as an example, the target curve parameters include ln(q0), m Duong and α Duong , where q0 represents the initial capacity, m Duong represents the slope parameter, α Duong represents the time intercept constant.
[0109] When the target capacity decline model is an extended exponential decline model, the target curve parameters include indicator parameters, time constants and initial capacity. Taking the extended exponential decline model SPED model as an example, the target curve parameters include ln(q0), τ SPED and n SPED , where q0 represents the initial capacity, n SPED represents the indicator parameter, τ SPED Represents the time constant.
[0110] When the target capacity decline model is a variable decline rate correction model, the target curve parameters include the decline rate index, the initial decline rate and the initial capacity. Taking the variable decline rate correction model VDMA model as an example, the target curve parameters include ln(q0), ln(D 0-VDMA )、ln(n VDMA ), where q0 represents the initial capacity, D 0-VDMA represents the initial decline rate, n VDMA Represents the declining rate exponent.
[0111] In step S102, a suggestion probability distribution function is determined according to the target curve parameters to obtain a target suggestion probability from the suggestion probability distribution function.
[0112] When performing MCMC sampling in the embodiment of the present application, since the posterior distribution is unknown, it is necessary to extract samples from the proposed distribution. Here, by constructing a Markov chain with the expected posterior distribution and sampling from the posterior distribution, a dynamic simulation of the sampling distribution can be achieved. Exemplarily, the samples before the extracted node s in the Markov chain (1, 2...s-1) and the samples after the unextracted node s (s+1, s+2...). Based on the Markov chain of Bayesian theory, the sample distribution of node s is only related to the samples extracted from node s-1, and has nothing to do with the samples extracted from nodes 1, 2...s-2.
[0113] Specifically, samples are extracted from the proposed distribution: θ1, θ2…θn, forming a Markov chain as a sample of the expected distribution. For each node S in the Markov chain, a first candidate parameter θ is sampled from the proposed distribution. proposalThe target acceptance probability α represents the first candidate parameter θ proposal The probability of being accepted (θ s =θ proposal ), the probability of being rejected is (1-α)(θ s =θ s-1 ), where θ s-1 Indicates the second candidate parameter.
[0114] Wherein, step S102 specifically includes:
[0115] Step 1021: A Markov chain is formed using the target curve parameters to obtain a first candidate parameter corresponding to the target node and a second candidate parameter corresponding to a node preceding the target node from the Markov chain.
[0116] The first candidate parameter may be any one of the target curve parameters, the second candidate parameter may be any other one of the target curve parameters, and the first candidate parameter is different from the second candidate parameter.
[0117] Step 1022: According to the target curve parameter corresponding to any node in the Markov chain, determine the sample standard deviation, the upper limit and the lower limit of the target curve parameter corresponding to any node.
[0118] Step 1023: Determine a first cumulative distribution function and a second cumulative distribution function corresponding to any node according to the second candidate parameter, the sample standard deviation, the upper limit and the lower limit, and the first cumulative distribution function and the second cumulative distribution function are in a standard normal distribution;
[0119] Here, the first cumulative distribution function corresponding to any node is determined according to the second candidate parameter, the sample standard deviation and the upper limit of the value, and the second cumulative distribution function corresponding to any node is determined according to the second candidate parameter, the sample standard deviation and the lower limit of the value.
[0120] Step 1024, determine the suggested probability distribution function based on the first candidate parameter, the second candidate parameter, the sample standard deviation corresponding to any node, and the first cumulative distribution function and the second cumulative distribution function corresponding to any node, so as to determine the target suggested probability from the suggested probability distribution function; wherein the target suggested probability includes the first target suggested probability of the first candidate parameter and the second target suggested probability of the second candidate parameter.
[0121] Here, it is recommended that the probability distribution function q needs to be symmetric (such as normal distribution), that is, q(x|y)=q(y|x). Since the target curve parameter θ has a value range under a specific geological-engineering background in different target capacity decline models, the embodiment of the present application assumes that the proposed probability distribution function q is an independent truncated normal distribution, and the formula of the proposed probability distribution function q is as follows:
[0122]
[0123] Among them, θ represents a target curve parameter on the target capacity reduction simulation curve, σ θ ,θ upper and θ lower are the sample standard deviation, upper limit and lower limit of the target curve parameter θ, and Φ is the cumulative distribution function of the standard normal distribution.
[0124] Exemplarily, the target suggestion probability includes a first target suggestion probability of the first candidate parameter and a second target suggestion probability of the second candidate parameter. The first target suggestion probability can be expressed as q(θ proposal |θ s-1 ), the second target suggestion probability can be expressed as q(θ s-1 |θ proposal ).
[0125] On the basis of the above step S102, step S103 includes: determining the target acceptance probability according to the target suggestion probability and the target posterior probability.
[0126] Here, the target acceptance probability is used to characterize the similarity between the capacity data distribution predicted by the target capacity decline model and the posterior distribution corresponding to the target posterior probability, which is determined based on the prior distribution of the target capacity decline simulation curve. In other words, the target acceptance probability α refers to the possibility that the Markov chain generated by the Metropolis algorithm has the same distribution as the posterior distribution of θ under the condition of historical capacity data y, where the posterior distribution refers to the distribution of historical capacity data y.
[0127] In an optional embodiment, the target posterior probability includes a first target posterior probability of the first candidate parameter and a second target posterior probability of the second candidate parameter, and then step S103 specifically includes:
[0128] Step 1031: Determine a first standard posterior probability of the first candidate parameter by using a ratio between a first target posterior probability of the first candidate parameter corresponding to the target node and a first suggestion probability of the first candidate parameter;
[0129] Step 1032: Determine a second standard posterior probability of the second candidate parameter by using the ratio between the second target posterior probability of the second candidate parameter corresponding to the previous node of the target node and the second suggestion probability of the second candidate parameter;
[0130] Step 1033: derive the target acceptance probability by using the ratio between the first standard posterior probability and the second standard posterior probability.
[0131] Furthermore, step 1031 to step 1032 can be expressed by the following formula:
[0132]
[0133] in, represents the first standard posterior probability, represents the second standard posterior probability, π(θ proposal |y) represents the first target posterior probability, π(θ s-1 |y) represents the second target posterior probability, q(θ proposal |θ s-1 ) represents the first suggestion probability, q(θ s-1 |θ proposal ) represents the second suggestion probability.
[0134] Specifically, θ proposal The first standard posterior probability is equal to the first target posterior probability π(θ proposal |y) divided by the given θ s-1 θ under the condition proposal The first suggestion probability q(θ proposal |θ s-1 ), and θ s-1 The second standard posterior probability is equal to the second target posterior probability π(θ s-1 |y) divided by the given θ proposal θ under the condition s-1 The second suggestion probability q(θ s-1 |θ proposal ). The target acceptance probability α can be calculated in the above way. Under the target acceptance probability α, when the Markov chain generated by the Metropolis algorithm is long enough, the result will converge to the expected posterior distribution. Among them, the target acceptance probability does not exceed 1.
[0135] In an optional embodiment, step 1033 specifically includes:
[0136] Step 10331: Determine a third cumulative distribution function and a fourth cumulative distribution function corresponding to any node according to the first candidate parameter, the sample standard deviation, the upper limit and the lower limit, and the third cumulative distribution function and the fourth cumulative distribution function are standard normal distributions.
[0137] Specifically, a third cumulative distribution function corresponding to any node is determined according to the first candidate parameter, the sample standard deviation and the upper limit of the value, and a fourth cumulative distribution function corresponding to any node is determined according to the first candidate parameter, the sample standard deviation and the lower limit of the value.
[0138] Step 10332: Determine the target proportional function corresponding to each node in the Markov chain according to the proportional relationship between the first target function and the second target function; the first target function refers to the difference between the first cumulative distribution function and the second cumulative distribution function, and the second target function refers to the difference between the third cumulative distribution function and the fourth cumulative distribution function;
[0139] Step 10333: Determine the target acceptance probability by using the ratio between the first target posterior probability and the second target posterior probability and the target proportion function corresponding to each node in the Markov chain.
[0140] Specifically, according to the description of step 10331 to step 10333, the target acceptance probability can be calculated using the following formula:
[0141]
[0142] in, represents the first cumulative distribution function, represents the second cumulative distribution function, represents the third cumulative distribution function, represents the fourth cumulative distribution function, π(θ proposal |y) represents the first target posterior probability, π(θ s-1 |y) represents the second target posterior probability.
[0143] Specifically, step S103 determines the first target posterior probability and the second target posterior probability by the following steps:
[0144] Step 103a: Determine a priori probability density function according to the independently distributed target curve parameters.
[0145] Exemplarily, the prior distribution density function is expressed as follows:
[0146]
[0147] Among them, A includes a1, a2, and a3, a1, a2, or a3 represents each target curve parameter, and A represents the product of each target curve parameter of the target capacity decline simulation curve. Here, as long as the boundary value range of a1, a2, and a3 is set large enough, the Markov chain can perform reliable sampling.
[0148] Step 103b, determine a first likelihood function based on the sample standard deviation of the least squares estimated capacity residual and the sample standard deviation corresponding to the target curve parameter of the target capacity decline simulation curve; wherein the sample standard deviation of the least squares estimated capacity residual is determined by historical capacity data and simulated capacity data determined according to the target capacity decline simulation curve.
[0149] Here, for the first likelihood function, it is assumed that the sample standard deviation of the residual between the actual capacity obtained by historical capacity data and the capacity calculated using the target curve parameters of the target capacity reduction simulation curve follows a normal distribution N(0, σ), where σ is the sample standard deviation of the least squares estimated capacity residual, σ proposal is the sample standard deviation corresponding to the first candidate parameter:
[0150]
[0151] Among them, f(y|θ proposal ) represents the first likelihood function, σ represents the sample standard deviation of the least squares estimated capacity residual, σ proposal Indicates the sample standard deviation corresponding to the first candidate parameter.
[0152] Here, the expression of the sample standard deviation σ is as follows:
[0153]
[0154] Among them, y i and is the historical capacity data of the i-th production day and the capacity data simulated by the target capacity reduction simulation curve, and t is the number of days or months that can be produced. Because the nonlinear regression model contains 3 variables, the sum of the squares of the residuals is divided by t-3.
[0155] For each target capacity decline simulation curve, the first candidate parameter θ proposal , calculate the standard deviation σ of the residual between the actual daily (monthly) capacity and the capacity calculated using the target curve parameters of the target capacity reduction simulation curve proposal The calculation formula is as follows:
[0156]
[0157] in, Represents the capacity data simulated and calculated by randomly sampling parameters from the proposed distribution according to the target capacity decline simulation curve.
[0158] Step 103c: determine the posterior probability density function by using the product of the prior probability density function and the first likelihood function, so as to determine a first target posterior probability of the first candidate parameter and a second target posterior probability of the second candidate parameter according to the posterior probability density function.
[0159] Exemplarily, according to Bayesian theory, the expression of the posterior probability density function is as follows:
[0160] π(θ proposal |y)∝f(y|θ proposal )π(θ proposal )
[0161] Among them, π(θ proposal |y) represents the posterior probability density function, f(y|θ proposal ) represents the first likelihood function, π(θ proposal ) represents the prior probability density function.
[0162] Furthermore, by substituting the formula corresponding to the first likelihood function and the prior probability density function into the formula of the target acceptance probability, the formula of the target acceptance probability can be obtained as follows:
[0163]
[0164] Among them, α represents the target acceptance probability, σ represents the sample standard deviation of the least squares estimated capacity residual, and σ proposal represents the sample standard deviation corresponding to the first candidate parameter, σ s-1 represents the sample standard deviation corresponding to the second candidate parameter, A represents the product of each target curve parameter of the target capacity reduction simulation curve, σ θ Represents the sample standard deviation of the target curve parameter corresponding to any node, θ upper Indicates the upper limit of the target curve parameter corresponding to any node, θ lower Indicates the lower limit of the target curve parameter corresponding to any node, θ proposal represents the first candidate parameter, θ s-1 Indicates the second candidate parameter.
[0165] In an optional embodiment, the target acceptance probability is associated with the product of each target curve parameter of the target capacity decline simulation curve;
[0166] When the target capacity decline model is a hyperbolic decline model, the target curve parameters of the target capacity decline simulation curve include ln(q0), ln(D0) and n Arps , then the formula for the target acceptance probability is as follows:
[0167]
[0168] Among them, q0 represents the initial capacity, D0 represents the initial decline rate, and n Arps Indicates a decreasing index.
[0169] For example, ln(q0),ln(D0),n Arps The relevant value ranges of the three parameters are as follows:
[0170] ln(q0) upper =13.8; ln(D0) upper =3.91;
[0171] ln(q0) lower =-4.61; ln(D0) lower =-8;
[0172]
[0173] When the target capacity decline model is a power law decline model, the target curve parameters of the target capacity decline simulation curve include ln(q0), ln(D 1-PLE )、ln(D ∞-PLE ) and n PLE , then the formula for the target acceptance probability is as follows:
[0174]
[0175] Among them, q0 represents the initial capacity, D ∞-PLE represents an infinite time constant, D 1-PLE Represents the intercept constant per unit time, n PLE Represents the time index.
[0176] For example, ln(q0),ln(D 1-PLE ),ln(D ∞-PLE ) and n PLE The relevant value ranges of the four parameters are as follows: ln(q0) upper =13.8ln(D 1-PLE ) upper =-0.1; ln(D ∞-PLE ) upper =-3; ln(q0) lower =-4.61; ln(D 1-PLE ) lower =-4.6; ln(D ∞-PLE ) lower =-13;
[0177]
[0178] When the target capacity decline model is a nonlinear expansion model, the target curve parameters of the target capacity decline simulation curve include ln(q0), m Duong and α Duong , then the formula for the target acceptance probability is as follows:
[0179]
[0180]
[0181] Among them, q0 represents the initial capacity, mDuong represents the slope parameter, α Duong represents the time intercept constant.
[0182] For example, ln(q0),m Duong ,α Duong The relevant value ranges of the three parameters are as follows:
[0183] ln(q0) upper =1;
[0184] ln(q0) lower =-40;
[0185]
[0186] When the target capacity decline model is an extended exponential decline model, the target curve parameters of the target capacity decline simulation curve include ln(q0), τ SPED and n SPED , then the formula for the target acceptance probability is as follows:
[0187]
[0188] Among them, q0 represents the initial capacity, n SPED represents the indicator parameter, τ SPED Represents the time constant.
[0189] For example, ln(q0),n SPED ,τ SPED The relevant value ranges of the three parameters are as follows:
[0190] ln(q0) upper =13.8;
[0191] ln(q0) lower =-4.61;
[0192]
[0193] When the target capacity decline model is a variable decline rate correction model, the target curve parameters of the target capacity decline simulation curve include ln(q0), ln(D 0-VDMA )、ln(n VDMA ), then the formula for the target acceptance probability is as follows:
[0194]
[0195] Among them, q0 represents the initial capacity, D 0-VDMA represents the initial decline rate, nVDMA Represents the declining rate exponent.
[0196] For example, ln(q0),ln(D 0-VDMA ),n VDMA The relevant value ranges of the three parameters are as follows:
[0197] ln(q0) upprr =13.8; ln(D 0-VDMA ) upper =0.1; ln(n VDMA ) upper =0;
[0198] ln(q0) lower =-4.61; ln(D 0-VDMA ) lower =-9.2; ln(n VDMA ) lower =-4.6;
[0199]
[0200] In step S104, if it is detected that the target acceptance probability is greater than the preset probability threshold, the posterior distribution corresponding to the target posterior probability is determined to be the capacity data distribution predicted by the target capacity decline model.
[0201] Here, through step S104, the capacity data distribution predicted by the target capacity decline model can be accurately determined according to the size relationship between the target acceptance probability and the preset probability threshold, which is conducive to improving the simulation accuracy of the capacity data distribution. In the simulation calculation process, a random number between 0 and 1 is generated. If the random number is less than the target acceptance probability α, then θ is accepted. proposal Therefore, the value range of the preset probability threshold is between 0 and 1. In order to improve the simulation accuracy of the capacity data distribution, the preset probability threshold is set to 1 in the embodiment of the present application.
[0202] Taking the target capacity decline model as a hyperbolic decline model as an example, the target acceptance probability is explained as follows:
[0203] Assume that the target capacity reduction simulation curves are ln(q0), ln(D0), n Arps The prior distribution of is an independent uniform distribution with a constrained value range. Taking the hyperbolic decreasing model Arps model as an example, -4.61 <ln(q0)<13.8,-8<ln(D0)<3.91,0<n Arps <10, where q0 is in Mcf / d and D0 is 1 / d. Target curve parameters ln(q0), ln(D0), n Arps The prior distribution density function of is expressed as:
[0204]
[0205] -4.61 <ln(q0)<13.8,-8<ln(D0)<3.91,0<n Arps <10;
[0206] The above boundary value ranges of ln(q0) and ln(D0) are set large enough so that the Markov chain can reliably sample the initial production and the decline rate. Arps as the initial parameters of the Markov chain.
[0207] For the first likelihood function, it is assumed that the sample standard deviation of the residual between the actual capacity obtained from historical capacity data and the capacity calculated using the target curve parameters of the target capacity reduction simulation curve follows a normal distribution N(0, σ), where σ is the sample standard deviation of the least squares estimated capacity residual, σ proposal is the sample standard deviation corresponding to the first candidate parameter:
[0208]
[0209] Among them, f(y|θ proposal ) represents the first likelihood function, σ represents the sample standard deviation of the least squares estimated capacity residual, σ proposal Indicates the sample standard deviation corresponding to the first candidate parameter.
[0210] Here, the expression of the sample standard deviation σ is as follows:
[0211]
[0212] Among them, y i and is the historical capacity data of the i-th production day and the capacity data simulated by the target capacity reduction simulation curve, and t is the number of days or months that can be produced. Because the nonlinear regression model contains 3 variables, the sum of the squares of the residuals is divided by t-3.
[0213] is the capacity calculation value calculated by the least squares estimation parameters, and the formula is as follows:
[0214]
[0215] The parameter terms with double dot top marks represent the least squares estimated parameters.
[0216] For each target capacity decline simulation curve, the first candidate parameter θ proposal, calculate the standard deviation σ of the residual between the actual daily (monthly) capacity and the capacity calculated using the target curve parameters of the target capacity reduction simulation curve proposal The calculation formula is as follows:
[0217]
[0218] in, It represents the capacity data simulated and calculated by randomly sampling parameters from the recommended distribution according to the target capacity reduction simulation curve. The calculation formula is as follows:
[0219]
[0220] Among them, the parameter items with a wavy top mark represent recommended parameters.
[0221] According to Bayesian theory, the posterior probability density function is expressed as follows:
[0222] π(θ proposal |y)∝f(y|θ proposal )π(θ proposal )
[0223] According to the proposed distribution q(θ proposal |θ s-1 ), and the posterior distribution π(θ proposal |y), calculate the target acceptance probability α corresponding to each target curve parameter. In the Metropolis algorithm, given the target curve parameter ln(q0) of node s-1 s-1 、ln(D0) s-1 and The recommended distributions of the model parameters of the hyperbolic decreasing model at node s are ln(q0) proposal ~N(ln(q0) s-1 , 0.1), ln(D0) proposal ~N(ln(D0) s-1 , 0.2) and Where N(μ, σ) represents the normal distribution (mean μ, standard deviation σ). The model parameters of the hyperbolic decline model include q0, D0 and n Arps .
[0224] In order to obtain good capacity simulation results in MCMC simulation, in the actual simulation process, the standard deviations of the recommended distributions of model parameters corresponding to each target capacity decline model are different. Taking the hyperbolic decline model as an example, the standard deviations of the recommended distributions are (0.1, 0.2 and 0.1) respectively.
[0225] Furthermore, the R language program calculation process of the MCMC algorithm based on the hyperbolic decline model is given:
[0226] (1) Set the date to t, with production days as the unit, let t = 1, q0 be the initial capacity, ln(D0) and n Arps The initial value of is set to the least squares parameter estimate of the hyperbolic decreasing model Arps model;
[0227] (2) Generate a sample θ from the proposed distribution in the proposed probability distribution function proposal (ln(q0),ln(D0),n Arps );
[0228] (3) Calculate the target acceptance probability α according to the following formula:
[0229]
[0230] (4) Generate a random number between 0 and 1;
[0231] (5) If the random number is less than the target acceptance probability α, then accept θ proposal ,θ s =θ proposal , otherwise θ s =θ s-1 ;
[0232] (6) s = s + 1. If s < the maximum chain length (i.e. the set maximum number of iterations), return to step (1);
[0233] (7) When the maximum number of iterations is reached, the calculation is completed.
[0234] (8) Calculate and output EUR P10 EUR P50 EUR P90 , error factor τ P50 , and the corresponding model parameters for different EUR.
[0235] The embodiment of the present application can more comprehensively simulate the production capacity data distribution of oil and gas reservoirs through the above-mentioned method, thereby achieving the purpose of improving the calculation accuracy of production capacity prediction, which helps to improve the accuracy of production capacity prediction.
[0236] In an optional embodiment, the embodiment of the present application further includes step 105: determining the cumulative estimated production capacity of different types of oil and gas reservoirs under different distribution trends during the production capacity decline period based on the target production capacity decline simulation curve.
[0237] Here, since the target capacity decline simulation curves under different distribution trends include the target capacity decline simulation curve under the first distribution trend, the target capacity decline simulation curve under the second distribution trend and the target capacity decline simulation curve under the third distribution trend, when predicting the cumulative estimated capacity under different distribution trends, the target capacity decline simulation curve under which distribution trend is used is selected according to demand. Since different types of oil and gas reservoirs have different target capacity decline models, different target capacity decline models have different target capacity decline simulation curves. Furthermore, for each type of oil and gas reservoir, there are three target capacity decline simulation curves under different distribution trends for users to use, so as to determine the cumulative estimated capacity of different types of oil and gas reservoirs under different distribution trends during the capacity decline period.
[0238] Optionally, step 105 specifically includes:
[0239] Step 1051: Obtain the preset life span corresponding to each oil and gas well for exploiting different types of oil and gas reservoirs. The preset life span corresponding to each oil and gas well can be determined according to the actual environment, reservoir type, etc. For example, the preset life span can include 10 years, 20 years and 30 years.
[0240] Step 1052: Divide the preset life span into multiple target time periods according to the preset time period. For example, if the target time period can be monthly, the preset life span is classified according to the monthly period to obtain the estimated production capacity corresponding to each month.
[0241] Step 1053, determining the estimated capacity corresponding to each target time period under different distribution trends from the target capacity reduction simulation curve under different distribution trends;
[0242] Step 1054: sum up the estimated production capacities corresponding to each target time period under different distribution trends to obtain the cumulative estimated production capacities of the oil and gas wells under different distribution trends within the preset life span.
[0243] The above method can be used to determine the cumulative estimated production capacity for a period of time in the future, such as 10 years, 20 years, and 30 years. For example, by adding up the estimated production capacity of each month within the preset life span of the oil and gas well, the cumulative estimated production capacity of each oil and gas well can be obtained, and the formula is as follows:
[0244]
[0245] Among them, EUR represents the cumulative estimated capacity, q t Indicates the estimated production capacity corresponding to each target time period (month), m total Indicates the number of target time periods (months).
[0246] For example, we can use the historical production capacity data of 7 coalbed methane wells or shale gas wells in three basins in China and the United States, such as the Shahezi Formation in the Songliao Basin, the Longmaxi Formation in the Sichuan Basin and the Eagle Ford coalbed methane or shale gas layer in the Maverick Basin in North America. The MCMC algorithm is used to construct the corresponding Markov chain of the target capacity decline model for the historical production capacity data of the 7 wells (such as Dingye 1 well, Dingye 2 well, #244785 well, Dingyeshen 1 well, Weiye 1 well, Yongye 1 well and Jiliyeyou 1 well). The number of iterations is uniformly set to 1000 to verify the adaptability of different target capacity decline models and estimate the uncertainty of cumulative capacity.
[0247] Specifically, based on the Markov Chain Monte Carlo method (MCMC), the target capacity decline simulation curves under different time periods (10, 20 and 30 years) and different distribution trends (50% and 80%) are simulated. In the process of the Markov chain converging to the expected distribution (stationary posterior distribution), the EUR value of multiple random sampling simulations will not maintain a value, but stabilize in a fixed interval after a short fluctuation period, so that users can use the target capacity decline simulation curve to obtain accurate cumulative estimated capacity of different types of oil and gas reservoirs under different distribution trends during the capacity decline period. In order to ensure the accuracy of the prediction of the target capacity decline simulation curve, the reliability of the MCMC simulation program can be verified through convergence and uncertainty analysis.
[0248] like Figure 2 As shown, Figure 2 The EUR value of the Dingye 1 well after 1000 iterations of the hyperbolic decline model is described. The EUR value is calculated using the target capacity decline simulation curve of 1000 iterations to obtain the EUR value of the Dingye 1 well in 30 years. As can be seen from the figure, the EUR value moves in the range of 10 million to 20 million cubic meters, with no obvious fluctuation period (the initial value fluctuation range is close to 500 to 4500), indicating that the overall convergence is good.
[0249] Furthermore, the acquired historical capacity data can be divided into two parts. It is assumed that the first half of the historical capacity data is used for modeling, and the second half of the historical capacity data is used for model verification and prediction. Figure 3 to Figure 9 As shown, Figure 3 to Figure 9 The historical production capacity data and cumulative estimated production capacity forecast results of seven coalbed methane or shale gas wells are shown in Table 1. The MCMC simulation results of the estimated production capacity of each well are listed in Table 1. The EUR values corresponding to P90, P50, and P10 for 10, 20, and 30 years can be obtained respectively. Figure 3 to Figure 9The target capacity reduction simulation curve in the calculation is used to obtain the cumulative estimated capacity for 10, 20 and 30 years of production. From the simulation results, the change trends of the target capacity reduction simulation curves corresponding to the optimal estimate and P50 are almost the same. The fact that the actual cumulative capacity falls within the envelope range of P10 to P90 determines the risk of the target capacity reduction model to calculate EUR. In other words, in the next 10, 20 or 30 years (y10, y30 and y50), the estimated capacity has an 80% probability of falling within EUR P10 ~EUR P90 The range of the data is large, which makes the production capacity prediction accuracy of different types of oil and gas reservoirs higher.
[0250] Table 1 MCMC simulation results of the cumulative estimated production capacity of each well
[0251]
[0252] Furthermore, if Fig.10 As shown in Figure 2, based on the production data of 5 coalbed methane or shale gas wells in the Longmaxi Formation of the Sichuan Basin, 1 coalbed methane or shale gas well in the Shahezi Formation of the Songliao Basin, and 1 coalbed methane or shale gas well in the Eagle Ford of North America, the five most suitable target capacity decline models for these 7 wells were further analyzed. Fig.10 In the figure, the convergence verification index of the MCMC simulation results of different target capacity decline models is listed.
[0253] For example, the single-peak slow-tail production decline trend of Yongye 1 well and Weiye 1 well is more suitable for the nonlinear expansion model. For the monotonic decline steep tail mode of production similar to Jiliye Oil 1 well, the simulation effects of the extended exponential decline model, power law decline model, hyperbolic decline model and variable decline rate correction model are relatively good, among which the variable decline rate correction model has the best simulation effect. As the slowness of the tail of the monotonic decline in production changes, the applicability of different models varies greatly: for example, the slow tail trend of the monotonic decline in production of Dongye Shen 1 well is more suitable for the power law decline model, while the slow tail trend of the monotonic decline in production of Dingye 1 well is more suitable for the extended exponential decline model, and the slow tail trend of the monotonic decline in production of Dingye 2 well is best simulated by the hyperbolic decline model.
[0254] For example, these seven wells are typical representatives of the marine coalbed methane or shale gas in the Sichuan Basin of China, the terrestrial coalbed methane or shale gas in the Songliao Basin, and the marine coalbed methane or shale gas in Eagle Ford of North America. The calculation results can truly reflect the estimated production capacity of coalbed methane or shale gas under the same process conditions in the next 10 years, as well as its uncertainty fluctuation space.
[0255] Specifically, Fig.11 As shown in the figure, comparing the calculation results of seven wells, EUR P50The result is closest to the best-fit value. The 10-year single-well recoverable capacity of Yongye 1 and #244785 wells is the highest, reaching 85.09 million cubic meters (Duong model, #244785 well: EUR 10y-P50 ) and 71.355 million cubic meters (Duong model, Yongye 1 well: EUR 10y-P50 ), while the 10-year recoverable capacities of Dingye 1, Dingye 2, Dongye Shen 1, Weiye 1 and Jiliye Oil 1 are similar, fluctuating between 10 and 30 million cubic meters. Considering the reliability of the MCMC simulation results of a single well, the simulation results of well #244785 and Yongye 1 are more uncertain. Due to the small number of data points, the numerical simulation uncertainty of well #244785 is the largest, and its EUR y10 There is an 80% probability distribution in the range of 59.7 million to 129.59 million cubic meters. Although Yongye 1 well has enough data points, its production capacity fluctuates greatly during the production process. Due to the large fluctuations in production capacity data, the simulation results are highly uncertain. y10 There is an 80% probability that it will be distributed in the range of 42.22 to 107.22 million square meters.
[0256] The EUR calculation results of other wells have less uncertainty, such as the EUR of Dingye 1 well. y10 There is an 80% probability distribution in the range of 7.14-19.88 million cubic meters, and the fluctuation range is relatively small. It is worth noting that the only continental coalbed methane or shale gas well among the 7 typical wells, Jili Shale Oil 1 Well, has an 80% probability distribution in the range of 6.25-10.80 million according to the calculation results. This well belongs to vertical well fracturing, and the EUR simulation results are similar to those of Dingye 1 Well, which further confirms the potential of continental coalbed methane or shale gas recoverable resources, and then the capacity prediction method in the embodiment of this application can more accurately predict the estimated capacity of each well in the future.
[0257] Furthermore, if Fig.12 As shown in the figure, the simulation results are observed from the perspective of future sustainable production time. The EUR of the recoverable production capacity of each well in the next 10, 20 and 30 years is P50 The more discrete the distribution of simulation values, the longer the stable production period in the future. On the contrary, the more convergent the distribution of simulation values, the less stable the production capacity of the well can be maintained for more than 10 years. That is, whether it is 20 years or 30 years, the simulation results are not much different from the recoverable reserves of 10 years. According to the simulation results of these 7 wells, the longest recoverable period of Dongye Shen 1 well and Jili Yeyou 1 well is 10 years, and EUR y10-P50 EUR y20-P50 and EUR y30-P50There is almost no difference, with the values concentrated at 21.46 million cubic meters and 8.1 million cubic meters respectively, followed by Weiye 1 Well (31.92-39.62 million cubic meters), Dingye 1 Well (14.01-28.46 million cubic meters) and Dingye 2 Well (23.62-41.35 million cubic meters). The typical wells with the highest estimated recoverable production and the ability to maintain stable production for 30 years are Yongye 1 Well (71.35-116.56 million cubic meters) and North America's #244785 Well (85.09-171.27 million cubic meters). These two wells have the highest recoverable production, but their expected production capacity growth rate has significantly decreased in the 30th year. For example, the EUR of Yongye 1 Well is EUR 2. y20-P50 EUR y10-P50 The increase was 26.78 million square meters, higher than EUR y30-P50 EUR y20-P50 The increase was 18.43 million square meters.
[0258] Therefore, in the process of CBM or shale gas stratum deployment and planning, the production capacity of CBM or shale gas is reasonably predicted, and the cumulative estimated production capacity of single wells with different distribution trends (P10, P50, P90) in the mining life cycle (10 years, 20 years, 30 years) of CBM or shale gas strata is estimated through the simulation results of the target production capacity decline simulation curve, so as to solve the problem of low production capacity prediction accuracy of oil and gas reservoirs in the actual production and development process, which helps to improve the accuracy of production capacity prediction.
[0259] Based on the same inventive concept, an embodiment of the present application also provides a simulation device for capacity data distribution corresponding to the simulation method for capacity data distribution. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the above-mentioned simulation method in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0260] See also Fig.13 , Fig.13 A schematic diagram of the structure of a device for simulating the distribution of production capacity data provided in an embodiment of the present application. Fig.13 As shown in , the simulation device 1300 includes:
[0261] The curve parameter determination module 1301 is used to determine the target capacity decline simulation curve corresponding to the target capacity decline model according to the historical capacity data, and obtain the target curve parameters from the target capacity decline simulation curve; wherein the target capacity decline model is a model for simulating the capacity change trend of the oil and gas reservoir;
[0262] A suggestion probability determination module 1302 is used to determine a suggestion probability distribution function according to the target curve parameters, so as to determine a target suggestion probability from the suggestion probability distribution function;
[0263] The acceptance probability determination module 1303 is used to determine the target acceptance probability according to the target suggestion probability and the target posterior probability; the target acceptance probability is used to characterize the similarity between the capacity data distribution predicted according to the target capacity decline model and the posterior distribution corresponding to the target posterior probability, and the target posterior probability is determined according to the prior distribution of the target capacity decline simulation curve, and the target capacity decline model includes at least one of the following items: a hyperbolic decline model, a power law decline model, a nonlinear expansion model, an extended exponential decline model, and a variable decline rate correction model;
[0264] The production distribution determination module 1304 is used to determine that the posterior distribution corresponding to the target posterior probability is the capacity data distribution predicted by the target capacity decline model if it is detected that the target acceptance probability is greater than a preset probability threshold.
[0265] In an optional embodiment of the present application, the target curve parameter is associated with a model parameter of the target capacity decline model;
[0266] Wherein, when the target capacity decline model is a hyperbolic decline model, the target curve parameters include an initial decline rate, a decline index and an initial capacity;
[0267] When the target capacity decline model is a power law decline model, the target curve parameters include an infinite time constant, an intercept constant per unit time, a time index and an initial capacity;
[0268] When the target capacity decline model is a nonlinear expansion model, the target curve parameters include a time intercept constant, a slope parameter and an initial capacity;
[0269] When the target capacity decline model is an extended exponential decline model, the target curve parameters include an indicator parameter, a time constant and an initial capacity;
[0270] When the target capacity decline model is a variable decline rate correction model, the target curve parameters include a decline rate index, an initial decline rate and an initial capacity.
[0271] In an optional embodiment of the present application, the target oil and gas reservoir corresponding to the hyperbolic decline model is an unconventional oil and gas reservoir, the permeability of the unconventional oil and gas reservoir is greater than a first permeability threshold and the pressure value is greater than a preset pressure threshold, and the decline rate of the unconventional oil and gas reservoir is greater than a preset rate threshold;
[0272] The target oil and gas reservoir corresponding to the nonlinear extension model is a horizontal well section in an unconventional oil and gas reservoir, and the fracture permeability of the horizontal well section is greater than a second permeability threshold;
[0273] The target oil and gas reservoir corresponding to the power law decline model is a water-bearing reservoir, and the water content of the water-bearing reservoir is greater than a preset water content threshold;
[0274] The target oil and gas reservoir corresponding to the extended exponential decline model is a first complex reservoir, and the first complex reservoir includes multiple decline rates;
[0275] The target oil and gas reservoir corresponding to the variable decline rate correction model is a second complex reservoir, which has heterogeneous characteristics and contains multiple decline rates.
[0276] In an optional embodiment of the present application, the suggestion probability determination module 1302 is specifically used to:
[0277] Using the target curve parameters to form a Markov chain, so as to obtain a first candidate parameter corresponding to a target node and a second candidate parameter corresponding to a node preceding the target node from the Markov chain;
[0278] Determine, according to the target curve parameter corresponding to any node in the Markov chain, the sample standard deviation, the upper limit and the lower limit of the target curve parameter corresponding to any node;
[0279] Determine a first cumulative distribution function and a second cumulative distribution function corresponding to any node according to the second candidate parameter, the sample standard deviation, the upper limit of the value, and the lower limit of the value, wherein the first cumulative distribution function and the second cumulative distribution function are standard normal distributions;
[0280] Determine a suggestion probability distribution function based on the first candidate parameter, the second candidate parameter, the sample standard deviation corresponding to any node, and the first cumulative distribution function and the second cumulative distribution function corresponding to any node, so as to determine a target suggestion probability from the suggestion probability distribution function; wherein the target suggestion probability includes a first target suggestion probability of the first candidate parameter and a second target suggestion probability of the second candidate parameter.
[0281] In an optional embodiment of the present application, the target posterior probability includes a first target posterior probability of a first candidate parameter and a second target posterior probability of a second candidate parameter, and the acceptance probability determination module 1303 is specifically used to:
[0282] Determine a first standard posterior probability of the first candidate parameter by using a ratio between a first target posterior probability of the first candidate parameter corresponding to the target node and a first suggestion probability of the first candidate parameter;
[0283] Determine a second standard posterior probability of the second candidate parameter by using a ratio between a second target posterior probability of the second candidate parameter corresponding to a previous node of the target node and a second suggestion probability of the second candidate parameter;
[0284] The target acceptance probability is obtained by using the ratio between the first standard posterior probability and the second standard posterior probability.
[0285] In an optional embodiment of the present application, the acceptance probability determination module 1303 is further configured to:
[0286] Determine, according to the first candidate parameter, the sample standard deviation, the upper limit of the value, and the lower limit of the value, a third cumulative distribution function and a fourth cumulative distribution function corresponding to any node, wherein the third cumulative distribution function and the fourth cumulative distribution function are standard normal distributions;
[0287] Determine the target proportional function corresponding to each node in the Markov chain according to the proportional relationship between the first target function and the second target function; the first target function refers to the difference between the first cumulative distribution function and the second cumulative distribution function, and the second target function refers to the difference between the third cumulative distribution function and the fourth cumulative distribution function;
[0288] The target acceptance probability is determined by using the ratio between the first target posterior probability and the second target posterior probability and the target proportion function corresponding to each node in the Markov chain.
[0289] In an optional embodiment of the present application, the acceptance probability determination module 1303 is further configured to determine the first target posterior probability and the second target posterior probability through the following steps:
[0290] Determine the prior probability density function according to the target curve parameters of the independent distribution;
[0291] Determine a first likelihood function according to a sample standard deviation of the least squares estimated capacity residual and a sample standard deviation corresponding to a target curve parameter of the target capacity decline simulation curve; wherein the sample standard deviation of the least squares estimated capacity residual is determined by historical capacity data and simulated capacity data determined according to the target capacity decline simulation curve;
[0292] A posterior probability density function is determined using the product of the prior probability density function and the first likelihood function to determine a first target posterior probability of the first candidate parameter and a second target posterior probability of the second candidate parameter based on the posterior probability density function.
[0293] In an optional embodiment of the present application, the target acceptance probability is associated with the product of each target curve parameter of the target capacity decline simulation curve;
[0294] The formula for the target acceptance probability is:
[0295]
[0296] Among them, α represents the target acceptance probability, σ represents the sample standard deviation of the least squares estimated capacity residual, and σ proposal represents the sample standard deviation corresponding to the first candidate parameter, σ s-1 represents the sample standard deviation corresponding to the second candidate parameter, A represents the product of each target curve parameter of the target capacity decline simulation curve, σ θ Represents the sample standard deviation of the target curve parameter corresponding to any node, θ upper Indicates the upper limit of the target curve parameter corresponding to any node, θ lower Indicates the lower limit of the target curve parameter corresponding to any node, θ proposal represents the first candidate parameter, θ s-1 Represents the second candidate parameter.
[0297] In an optional embodiment of the present application, when the target capacity decline model is a hyperbolic decline model, the target curve parameters of the target capacity decline simulation curve include ln(q0), ln(D0) and n Arps , where q0 represents the initial capacity, D0 represents the initial decline rate, and n Arps represents a decreasing index;
[0298] When the target capacity decline model is a power law decline model, the target curve parameters of the target capacity decline simulation curve include ln(q0), ln(D 1-PLE )、ln(D ∞-PLE ) and n PLE , where q0 represents the initial capacity, D ∞-PLE represents an infinite time constant, D 1-PLE Represents the intercept constant per unit time, n PLE represents the time index;
[0299] When the target capacity decline model is a nonlinear expansion model, the target curve parameters of the target capacity decline simulation curve include ln(q0), m Duong and α Duong , where q0 represents the initial capacity, m Duong represents the slope parameter, α guong represents the time intercept constant;
[0300] When the target capacity decline model is an extended exponential decline model, the target curve parameters of the target capacity decline simulation curve include ln(q0), τ SPED and n SPED , where q0 represents the initial capacity, n SPEDrepresents the indicator parameter, τ SPED represents the time constant;
[0301] When the target capacity decline model is a variable decline rate correction model, the target curve parameters of the target capacity decline simulation curve include ln(q0), ln(D 0-VDMA )、ln(n VDMA ), where q0 represents the initial capacity, D 0-VDMA represents the initial decline rate, n VDMA Represents the declining rate exponent.
[0302] The device for simulating the distribution of production capacity data provided in the embodiment of the present application can more comprehensively simulate the distribution of production capacity data of oil and gas reservoirs through the above-mentioned method, thereby achieving the purpose of improving the calculation accuracy of production capacity prediction, and helping to improve the accuracy of production capacity prediction.
[0303] See also Fig.14 , Fig.14 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.14 As shown in , the electronic device 1400 includes a processor 1401 , a memory 1402 and a bus 1403 .
[0304] The memory 1402 stores machine-readable instructions executable by the processor 1401. When the electronic device 1400 is running, the processor 1401 communicates with the memory 1402 via the bus 1403. When the machine-readable instructions are executed by the processor 1401, the above-mentioned Figure 1 The steps of the method for simulating the distribution of production capacity data in the method embodiment shown, and the specific implementation method thereof can be referred to the method embodiment, which will not be described in detail here.
[0305] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 The steps of the method for simulating the distribution of production capacity data in the method embodiment shown, and the specific implementation method thereof can be referred to the method embodiment, which will not be described in detail here.
[0306] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0307] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0308] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0309] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0310] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0311] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for simulating capacity data distribution, characterized in that: The simulation method comprises: According to the historical production capacity data, the MCMC algorithm is used to construct the target production capacity decline simulation curve under different distribution trends corresponding to the target production capacity decline model, and the target curve parameters are obtained from the target production capacity decline simulation curve; wherein, the target production capacity decline model is used to simulate the production capacity change trend of the oil and gas reservoir; the target curve parameters are associated with the model parameters of the target production capacity decline model; when the target production capacity decline model is a hyperbolic decline model, the target curve parameters include the initial decline rate, the decline index and the initial production capacity, wherein the initial decline rate refers to the rate of change of production per unit time in the initial stage of production decline, the initial production capacity represents the amount of resources obtained by the first exploitation of unconventional oil and gas reservoirs, and the decline index has a preset range of values; when the target production capacity decline model is a power law decline model, the target curve parameters include an infinite time constant, an intercept constant per unit time, a time index and the initial production capacity, wherein the infinite time constant The value of the natural logarithm is between -13 and -3, the value of the natural logarithm of the intercept constant per unit time is between -4.6 and -0.1, and the time index is between 0 and 1; when the target capacity decline model is a nonlinear expansion model, the target curve parameters include a time intercept constant, a slope parameter and an initial capacity, wherein the time intercept constant is between 0.8 and 2, and the slope parameter is between 1 and 1.2; when the target capacity decline model is an extended exponential decline model, the target curve parameters include an indication parameter, a time constant and an initial capacity, wherein the time constant is between 100 and 400, and the indication parameter is between 0.2 and 0.8; when the target capacity decline model is a variable decline rate correction model, the target curve parameters include a decline rate index, an initial decline rate and an initial capacity, wherein the value of the natural logarithm of the initial decline rate is between -9.2 and -0.1, and the value of the natural logarithm of the decline rate index is between -4.6 and -2.3; According to the target curve parameters, a suggestion probability distribution function is determined to determine the target suggestion probability from the suggestion probability distribution function; wherein, according to the target curve parameters, a suggestion probability distribution function is determined to determine the target suggestion probability from the suggestion probability distribution function, including: using the target curve parameters to form a Markov chain to obtain a first candidate parameter corresponding to a target node and a second candidate parameter corresponding to a node preceding the target node from the Markov chain; according to the target curve parameters corresponding to any node in the Markov chain, a sample standard deviation, an upper value limit and a lower value limit of the target curve parameters corresponding to any node are determined; according to the second candidate parameters, the sample standard deviation, the upper value limit and the lower value limit, a first cumulative distribution function and a second cumulative distribution function corresponding to any node are determined, and the first cumulative distribution function and the second cumulative distribution function are standard normal distributions; according to the first candidate parameters, the second candidate parameters, the sample standard deviation corresponding to any node, and the first cumulative distribution function and the second cumulative distribution function corresponding to any node, a suggestion probability distribution function is determined to determine the target suggestion probability from the suggestion probability distribution function; Among them, the formula of the proposed probability distribution function q is as follows: in, Represents the target curve parameters on the target capacity reduction simulation curve, and is the target curve parameter The sample standard deviation, upper limit and lower limit of the value, Φ is the cumulative distribution function of the standard normal distribution; The target suggestion probability includes the first target suggestion probability of the first candidate parameter and the second target suggestion probability of the second candidate parameter. The first target suggestion probability is expressed as q(θ proposal ∣θ s-1 ), the second target suggestion probability is expressed as q(θ s-1 ∣θ proposal ); Determine the target acceptance probability according to the target suggestion probability and the target posterior probability; the target acceptance probability is used to characterize the similarity between the capacity data distribution predicted according to the target capacity decline model and the posterior distribution corresponding to the target posterior probability, the target posterior probability is determined according to the prior distribution of the target capacity decline simulation curve, and the target capacity decline model includes at least one of the following items: a hyperbolic decline model, a power law decline model, a nonlinear expansion model, an extended exponential decline model, and a variable decline rate correction model; wherein the target posterior probability includes a first target posterior probability of a first candidate parameter and a second target posterior probability of a second candidate parameter, and determining the target acceptance probability according to the target suggestion probability and the target posterior probability includes: determining a first standard posterior probability of the first candidate parameter corresponding to the target node by using the ratio between the first target posterior probability of the first candidate parameter and the first target suggestion probability of the first candidate parameter; determining a second standard posterior probability of the second candidate parameter by using the ratio between the second target posterior probability of the second candidate parameter corresponding to the previous node of the target node and the second target suggestion probability of the second candidate parameter; obtaining the target acceptance probability by using the ratio between the first standard posterior probability and the second standard posterior probability; If it is detected that the target acceptance probability is greater than a preset probability threshold, the posterior distribution corresponding to the target posterior probability is determined to be the capacity data distribution predicted by the target capacity decline model.
2. The simulation method according to claim 1, characterized in that: The target oil and gas reservoir corresponding to the hyperbolic decline model is an unconventional oil and gas reservoir, the permeability of the unconventional oil and gas reservoir is greater than a first permeability threshold and the pressure value is greater than a preset pressure threshold, and the decline rate of the unconventional oil and gas reservoir is greater than a preset rate threshold; The target oil and gas reservoir corresponding to the nonlinear extension model is a horizontal well section in an unconventional oil and gas reservoir, and the fracture permeability of the horizontal well section is greater than a second permeability threshold; The target oil and gas reservoir corresponding to the power law decline model is a water-bearing reservoir, and the water content of the water-bearing reservoir is greater than a preset water content threshold; The target oil and gas reservoir corresponding to the extended exponential decline model is a first complex reservoir, and the first complex reservoir includes multiple decline rates; The target oil and gas reservoir corresponding to the variable decline rate correction model is a second complex reservoir, which has heterogeneous characteristics and contains multiple decline rates.
3. The simulation method according to claim 1, characterized in that: The step of obtaining the target acceptance probability by using the ratio between the first standard posterior probability and the second standard posterior probability includes: Determine, according to the first candidate parameter, the sample standard deviation, the upper limit of the value, and the lower limit of the value, a third cumulative distribution function and a fourth cumulative distribution function corresponding to any node, wherein the third cumulative distribution function and the fourth cumulative distribution function are standard normal distributions; Determine the target proportional function corresponding to each node in the Markov chain according to the proportional relationship between the first target function and the second target function; the first target function refers to the difference between the first cumulative distribution function and the second cumulative distribution function, and the second target function refers to the difference between the third cumulative distribution function and the fourth cumulative distribution function; The target acceptance probability is determined by using the ratio between the first target posterior probability and the second target posterior probability and the target proportion function corresponding to each node in the Markov chain.
4. The simulation method according to claim 1, characterized in that: The first target posterior probability and the second target posterior probability are determined by the following steps: Determine the prior probability density function according to the target curve parameters of the independent distribution; Determine a first likelihood function according to a sample standard deviation of the least squares estimated capacity residual and a sample standard deviation corresponding to a target curve parameter of the target capacity decline simulation curve; wherein the sample standard deviation of the least squares estimated capacity residual is determined by historical capacity data and simulated capacity data determined according to the target capacity decline simulation curve; A posterior probability density function is determined using the product of the prior probability density function and the first likelihood function to determine a first target posterior probability of the first candidate parameter and a second target posterior probability of the second candidate parameter based on the posterior probability density function.
5. The simulation method according to claim 4, characterized in that: The target acceptance probability is associated with the product of each target curve parameter of the target capacity decline simulation curve; The formula for the target acceptance probability is: Among them, α represents the target acceptance probability, σ represents the sample standard deviation of the least squares estimated capacity residual, and σ proposal represents the sample standard deviation corresponding to the first candidate parameter, σ s-1 represents the sample standard deviation corresponding to the second candidate parameter, A represents the product of each target curve parameter of the target capacity decline simulation curve, σ θ Represents the sample standard deviation of the target curve parameter corresponding to any node, θ upper Indicates the upper limit of the target curve parameter corresponding to any node, θ lower Indicates the lower limit of the target curve parameter corresponding to any node, θ proposal represents the first candidate parameter, θ s-1 Represents the second candidate parameter.
6. The simulation method according to claim 5, characterized in that: When the target capacity decline model is a hyperbolic decline model, the target curve parameters of the target capacity decline simulation curve include ln(q0), ln(D0) and n Arps , where q0 represents the initial capacity, D0 represents the initial decline rate, and n Arps represents a decreasing index; When the target capacity decline model is a power law decline model, the target curve parameters of the target capacity decline simulation curve include ln(q0), ln(D 1-PLE )、ln(D ∞-PLE ) and n PLE , where q0 represents the initial capacity, D ∞-PLE represents an infinite time constant, D 1-PLE Represents the intercept constant per unit time, n PLE represents the time index; When the target capacity decline model is a nonlinear expansion model, the target curve parameters of the target capacity decline simulation curve include ln(q0), m Duong and α Duong , where q0 represents the initial capacity, m Duong represents the slope parameter, α Duong represents the time intercept constant; When the target capacity decline model is an extended exponential decline model, the target curve parameters of the target capacity decline simulation curve include ln(q0), τ SPED and n SPED , where q0 represents the initial capacity, n SPED represents the indicator parameter, τ SPED represents the time constant; When the target capacity decline model is a variable decline rate correction model, the target curve parameters of the target capacity decline simulation curve include ln(q0), ln(D 0-VDMA )、ln(n VDMA ), where q0 represents the initial capacity, D 0-VDMA represents the initial decline rate, n VDMA Represents the declining rate exponent.
7. A device for simulating the distribution of production capacity data, characterized in that: The simulation device comprises: The curve parameter determination module is used to construct the target capacity decline simulation curve under different distribution trends corresponding to the target capacity decline model using the MCMC algorithm according to the historical capacity data, and obtain the target curve parameters from the target capacity decline simulation curve; wherein the target capacity decline model is a model for simulating the capacity change trend of the oil and gas reservoir; the target curve parameters are associated with the model parameters of the target capacity decline model; when the target capacity decline model is a hyperbolic decline model, the target curve parameters include the initial decline rate, the decline index and the initial capacity, wherein the initial decline rate refers to the rate of change of production per unit time in the initial stage of production decline, the initial capacity represents the amount of resources obtained by the first exploitation of unconventional oil and gas reservoirs, and the decline index has a preset range of values; when the target capacity decline model is a power law decline model, the target curve parameters include an infinite time constant, an intercept constant per unit time, a time index and the initial capacity, wherein the infinite time constant, the intercept constant per unit time, the ... The value of the natural logarithm of the time limit constant is between -13 and -3, the value of the natural logarithm of the intercept constant per unit time is between -4.6 and -0.1, and the time index is between 0 and 1; when the target capacity decline model is a nonlinear expansion model, the target curve parameters include a time intercept constant, a slope parameter and an initial capacity, wherein the time intercept constant is between 0.8 and 2, and the slope parameter is between 1 and 1.2; when the target capacity decline model is an extended exponential decline model, the target curve parameters include an indication parameter, a time constant and an initial capacity, wherein the time constant is between 100 and 400, and the indication parameter is between 0.2 and 0.8; when the target capacity decline model is a variable decline rate correction model, the target curve parameters include a decline rate index, an initial decline rate and an initial capacity, wherein the value of the natural logarithm of the initial decline rate is between -9.2 and -0.1, and the value of the natural logarithm of the decline rate index is between -4.6 and -2.3; A suggestion probability determination module is used to determine a suggestion probability distribution function according to the target curve parameters, so as to determine the target suggestion probability from the suggestion probability distribution function; wherein the suggestion probability determination module is specifically used to: form a Markov chain using the target curve parameters to obtain a first candidate parameter corresponding to the target node and a second candidate parameter corresponding to the previous node of the target node from the Markov chain; determine the sample standard deviation, the upper limit and the lower limit of the target curve parameter corresponding to any node according to the target curve parameter corresponding to any node in the Markov chain; determine the first cumulative distribution function and the second cumulative distribution function corresponding to any node according to the second candidate parameter, the sample standard deviation, the upper limit and the lower limit, and the first cumulative distribution function and the second cumulative distribution function are standard normal distributions; determine the suggestion probability distribution function according to the first candidate parameter, the second candidate parameter, the sample standard deviation corresponding to any node, and the first cumulative distribution function and the second cumulative distribution function corresponding to any node, so as to determine the target suggestion probability from the suggestion probability distribution function; wherein the formula of the suggestion probability distribution function q is as follows: in, Represents the target curve parameters on the target capacity reduction simulation curve, and is the target curve parameter The sample standard deviation, upper limit and lower limit of the value, Φ is the cumulative distribution function of the standard normal distribution; The target suggestion probability includes the first target suggestion probability of the first candidate parameter and the second target suggestion probability of the second candidate parameter. The first target suggestion probability is expressed as q(θ proposal ∣θ s-1 ), the second target suggestion probability is expressed as q(θ s-1 ∣θ proposal ); An acceptance probability determination module is used to determine a target acceptance probability according to the target suggestion probability and the target posterior probability; the target acceptance probability is used to characterize the similarity between the capacity data distribution predicted according to the target capacity decline model and the posterior distribution corresponding to the target posterior probability, the target posterior probability is determined according to the prior distribution of the target capacity decline simulation curve, and the target capacity decline model includes at least one of the following items: a hyperbolic decline model, a power law decline model, a nonlinear expansion model, an extended exponential decline model, and a variable decline rate correction model; wherein the target posterior probability includes a first target posterior probability of a first candidate parameter and a second candidate parameter. The second target posterior probability, the target acceptance probability is determined according to the target suggestion probability and the target posterior probability, including: determining the first standard posterior probability of the first candidate parameter corresponding to the target node by using the ratio between the first target posterior probability of the first candidate parameter and the first target suggestion probability of the first candidate parameter; determining the second standard posterior probability of the second candidate parameter by using the ratio between the second target posterior probability of the second candidate parameter corresponding to the previous node of the target node and the second target suggestion probability of the second candidate parameter; obtaining the target acceptance probability by using the ratio between the first standard posterior probability and the second standard posterior probability; The production distribution determination module is used to determine that the posterior distribution corresponding to the target posterior probability is the capacity data distribution predicted by the target capacity decline model if it is detected that the target acceptance probability is greater than a preset probability threshold.
