The present invention relates to oil and gas production, and, more particularly, relates to a method of operating an oil/gas separation facility based on accurate determination of downhole capillary pressure and interfacial tension in oil/gas reservoirs.
Due to the partial inaccessibility and complexity of oil/gas reservoirs, it is not always possible to obtain accurate field-experimental data of all of the numerous parameters that can affect production from the reservoirs. Mathematical models for predicting values of reservoir parameters have been developed to compensate for this problem. However, there are important parameters that are typically poorly modeled or not accounted for at all.
One important example of parameters that are not generally adequately determined is pore capillary pressure. To date, the industry standard is to calculate capillary pressure from core samples, which is not necessarily commensurate with capillary pressure inside of the pores within a reservoir. Since pore capillary pressure has a direct effect on fluid saturation pressure, it also has a direct impact on the ultimate recovery of fluids from the reservoir.
It would therefore be advantageous to provide a method of accurately determining pore capillary pressure in oil/gas reservoirs for adapting control settings for separation and other production processes in view of that determination so as to optimize fluid recovery.
The present disclosure provides embodiments of a non-transitory computer-readable medium comprising instructions which, when executed by a computer system, cause the computer system to carry out a method of operating an oil/gas facility for processing oil and gas from a reservoir, including steps of receiving input data concerning condensate phase and gas phase components in the reservoir, the input data characterizing both phase components, determining a pore capillary pressure of the reservoir based on the received input data which characterizes the phase components, determining PVT parameters of the reservoir phase components based on the determined pore capillary pressure, and controlling a setting of the oil/gas facility based on the determined PVT parameters of the reservoir phase components.
In certain embodiments, the step of determining the PVT parameters includes calculations that account for both gas and condensate phase pressures.
In further embodiments, the non-transitory computer-readable medium further includes instructions for carrying out the step of determining of a phase region of the reservoir.
Using the accurate PVT parameters that take into account capillary pressure, adjustments can be made depending on conditions of the reservoir. For example, surface facilities settings can be adjusted to accommodate a higher saturation pressure and condensate-to-gas ratio due to the pore capillary pressure when the reservoir is operating in a two-phase gas-condensate region. In other instances, surface facilities settings can be adjusted to accommodate a lower saturation pressure and larger dry oil production due to the pore capillary pressure when the reservoir is operating in a dissolved-gas phase region.
In addition, water injection rates can be adjusted to support reservoir pressure when the reservoir is operating in a two-phase gas-condensate region depending upon the accurate PVT parameters calculated according to the present disclosure.
In some implementations, the PVT parameters can comprise one or more parameters selected from the group consisting of: include vaporized oil-gas ratio (Rv), solution-gas ratio (Rs), formation volume factor for gas (Bg) and formation volume factor for oil (Bo). The vaporized oil-gas ratio (Rv), solution-gas ratio (Rs), formation volume factor for gas (Bg) and formation volume factor for oil (Bo) can be determined a function of gas pressure (Pg), oil pressure (Po) and pore throat radius (r).
The present disclosure also provides a system for operating an oil/gas facility for processing oil and gas from a reservoir. The system comprises at least one facility component having a setting that is configured to be adjusted based on a current saturation pressure of the reservoir; and a controller including one or more processor and memory, the memory including program code instructions that when executed by the one or more processors. The controller, executing the instructions, carries out the steps of: receiving input data concerning condensate phase and gas phase components in the reservoir, the input data characterizing both phase components; determining a pore capillary pressure of the reservoir based on the received input data which characterizes the phase components; determining PVT parameters of the reservoir phase components based on the determined pore capillary pressure; and controlling the setting of the at least one facility component based on the determined PVT parameters of the reservoir phase components.
In certain embodiments, the at least one facility component is an oil/gas separator.
In certain embodiments, the step of determining the PVT parameters includes calculations that account for both gas and condensate phase pressures.
The code executed by the one or more processors of the controller can further include instructions for carrying out the step of determining of a phase region of the reservoir. Depending on the state of the reservoir, the step of setting of the oil/gas facility based on the determined PVT parameters can include adjusting the at least one facility component to accommodate a higher saturation pressure and condensate-to-gas ratio due to the pore capillary pressure when the reservoir is operating in a two-phase gas-condensate region. In other instances, the step of setting of the oil/gas facility based on the determined PVT parameters includes adjusting the at least one facility component to accommodate a lower saturation pressure and larger dry oil production due to the pore capillary pressure when the reservoir is operating in a dissolved-gas phase region.
In some embodiments, the disclosed system includes a water injection pump for maintaining fluid pressure within the reservoir. In such embodiments, the step of controlling a setting of the oil/gas facility can include increasing a water injection rate of the pump to support reservoir pressure when the reservoir is operating in a two-phase gas-condensate region.
In certain implementations, the PVT parameters can include one or more of the following: a vaporized oil-gas ratio (Rv), a solution-gas ratio (Rs), a formation volume factor for gas (Bg) and a formation volume factor for oil (Bo). The code executed by the one or more processors of the controller can further include instructions for carrying out the step of calculating one or more of the following parameters: the vaporized oil-gas ratio (Rv), the solution-gas ratio (Rs), the formation volume factor for gas (Bg) and the formation volume factor for oil (Bo) as a function of gas pressure (Pg), oil pressure (Po) and pore throat radius (r).
These and other aspects, features, and advantages can be appreciated from the following description of certain embodiments of the invention and the accompanying drawing figures and claims.
By way of overview, the present invention provides a method of operating surface oil/gas processing facilities based on an accurate determination of downhole pore capillary pressure. The oil and gas (condensate and gas) within the reservoir is a two-phase system that is affected by temperature and pressure. Knowledge of when the single phases split into two-phase gas/condensate mixture is important factor in optimizing production because phase-splitting is associated with blockage of reservoir pores, leading to sub-optimal extraction rates.
There is a critical temperature and pressure at which the phase compositions and all phase properties are identical. The critical temperature and pressure is affected by pore capillary pressure (Pc). In the Gas-Condensate phase space (i.e., a Temperature/Pressure diagram) to the right of the critical point, as the reservoir fluids are extracted at constant temperature (isothermally), an accurate modeling of the capillary pressure predicts an increase in saturation pressure (relative to conventional modeling). Accordingly, when the temperature is above the critical point, the two-phase region is attained earlier in the life of the reservoir, which implies a higher Condensate-to-Gas-Ratio (CGR) for production. The pressure and temperature maintained at surface facilities such as condensate/gas as oil/gas separators can be adjusted by a controller to accommodate the change in CGR composition.
Conversely, in the Gas-Condensate phase space to the left of the critical point, which is a single-phase Condensate region, as the reservoir fluid is being produced isothermally, an accurate modelling of Pc predicts a decrease saturation pressure. In this event, the production of dry oil is predicted will continue beyond expectations before a two-phase split occurs due to lower saturation pressure (2-phase split). The temperature and pressure of the separation facilities can be adjusted in this case as well to maximize condensate production. In addition, in cases in which water injection is used to maintain reservoir pressure above the saturation point to maintain a single phase, accurate modelling of Pc predicts that a higher injection rate is required to maintain pressure above saturation relative to conventional modeling. In these non-limiting examples, the controller of the facility adjusts facility settings to optimize condensate production and to avoid phase splitting which leads to pore blockage.
Also disclosed herein is an method for determining pore capillary pressure created inside the pores as a function of pore throat radius, and a method of determining the effects of accurately determined capillary pressure on fluid phase behavior and parameters used in reservoir Black-Oil Simulators, including vaporized oil-gas-ratio (Rv), solution gas-oil-ratio (Rs), and formation volume factors of gas and oil (Bg and Bo). These parameters, referred to herein as “PVT parameters” herein, are useful for determining how settings should be controlled to optimized production.
The Walsh method is a known procedure for calculating these parameters. However, the conventional Walsh procedure uses a single phase pressure (Pg, gas pressure), and does not account for two-phase pressures (Pg and Po, condensate partial pressure). Accounting for two phase pressures changes the properties of the fluid; generally, when two-phase pressures are accounted for, the effect is for modeled reservoir fluid to split into gas and condensate phases earlier during production that predicted conventionally. Embodiments of the methods disclosed herein also include determining the contents of the reservoir fluids based on multiple phases, referred to as an “unconventional flash” procedure. The results of the unconventional flash procedure are used as inputs to a modified Walsh procedure that accounts for both Pg and Po. As a result of these procedures, the component ratios and formation factors are determined with greater accuracy than has been possible heretofore.
A. Determination Whether Mixture is Single-Phase vs. Two-Phase
Embodiments of the method of the present invention begin with a method for determining pore capillary pressure in a target reservoir. This method can be sub-divided into several procedures that are performed in sequence.
After entering all the reservoir data, the algorithm is executed to determine the stability of the fluid-in-place under the input conditions. The algorithm includes numerous calculations that use the input data to determine intermediate parameters, and final output from the intermediate parameters. All calculation or determination steps in the present algorithm of
f
ci_o=ϕci·ci·pf; i=1, 2, . . . nc (1)
ϕci=f(ci·pf) (2)
The fugacity is a correction to ideal gas pressure made for real gases and condensed phases. It is required for correct determinations of chemical equilibrium. In a following step (304), the vapor second-phase fugacity (fgi) is calculated using the original phase initial pressure and normalized second-phase vapor mole fractions (y′i) and vapor/liquid equilibrium ratios (Ki):
f
gi=ϕgi·y′i·pf; i=1, 2, . . . nc (3)
y′
i=(ci·K_i)/(Σinc(ci·Ki)) (4)
In a following step (306), liquid-like second mixture calculations are performed, analogous to those of step (302) by calculating the mixture fugacity (fci_g) as a function of fugacity (ϕci), overall composition (ci) and original phase initial pressure (pf) based on equations (1) and (2). In step (308), a liquid second-phase fugacity (fli) is determined using original phase initial pressure and the normalized second-phase liquid mole fractions (x′i) using equations analogous to (3) and (4) but for the liquid second-phase.
The K values (vapor/liquid equilibrium ratios) are updated iteratively in step (310) until either convergence or a trivial solution is achieved. Determination of the K-values is performed for each of the created phases separately by checking for the conditions described by equations (9) and (10) as follows.
In equation (5), values of Ri are determined for the vapor second phase and the liquid second phase. For the vapor second phase, Ri is determined as
R
i
=f
ci_o
/f
gi·1/(Σinc(ci·Ki) (7)
For the liquid second phase, Ri is determined as
R
i
=f
li
/f
ci_g·Σinc(ci/Ki) (8)
Once either convergence has occurred or the trivial solution is obtained, it can then be determined whether the mixture is considered to be two phase or a single phase. In step (312a) a first test condition is calculated based on
S
V=Σinc(ci·Ki) (9)
In step (312b) a second test condition is calculated based on
S
L=Σinc(ci/Ki) (10)
The mixture is determined, in step (314), to be two-phase if either SV or SL from equation (9) or (10) is greater than one. The mixture is determined to be single phase if both tests produces in a trivial solution, both of SV and SL are less than one, or one of the tests produces a trivial solution and the other yields a value of SV or SL less than one.
In step (316), if it is determined that the mixture is two-phase, the controller or other computing device generates an alert to the user (e.g., process engineer) that the mixture is determined to be in two-phases. Better results for calculation of PVT properties for process control are generally obtained outside of the two-phase region. Accordingly, the alert can request that the user readjust the initial temperature and pressure inputs.
B. Determination Whether the Reservoir is an Oil or Gas Reservoir
After it is determined that the mixture is in a single phase, in a second sun-procedure shown in
f(αg)=Σlnc(ci(Ki−1))/(1+αg(Ki−1))=0; i=1, 2 . . . , nc (11)
K
i
=y
i
/x
i
; i=1, 2 . . . , nc (12)
K
i=1/pri·exp5.37(1+ω
Equation (11) is a nonlinear equation. Once the Ki values have been estimated for each component, in step (404) a calculation known as a Newton-Raphson procedure is used to obtain solutions to equation (11) to determine the equilibrium molar fraction of the gas phase. The Newton-Raphson procedure is an iterative technique that has a rapid rate of convergence. A new estimate of equilibrium molar fraction αgnew is calculated based on the previous estimate αgold as
in which f″(αg) is calculated based on (11) above as
In applying the Newton-Raphson procedure in step (404), the algorithm includes a configurable threshold for setting an acceptable accuracy for the procedure. In some embodiments the criteria can be set as
|αgnew−αgold|<1.10−x (16)
in which x is a value between −16 and −12 (e.g., −14)
In addition to the Newton-Raphson procedure, which concerns equilibrium molar estimations, a further set of Fugacity procedures are calculated in order to reach a final convergence (solution) for equilibrium molar phase fractions. In step (406), the composition of each phase is calculated based on the solution for αg
Equilibrium is satisfied when the potential net transfer of each component between the two phases is approximately zero. This occurs when the fugacity of the gas phase of component i is equal to the fugacity of the liquid phase of the same component (shown in equation 19). In step (408), the fugacities of the phases are calculated based on the condition expressed in equation (23) below employing the expressions in equations (19-22) restated using the terms of equations (24-30). In the equations below, the parameter Z is the compressibility factor of the gas phase.
Once fugacities of the phases are known, in step (410), improved Kinew values are calculated based on the fugacity values using equation (31).
The following is the final criterion to be checked to indicate convergence of the bigger loop:
Once this criterion is met the estimated values of equilibrium molar phase fractions are considered final. For example, if the calculated equilibrium molar vapor fraction is 1, this means that the system is in a single phase and it is found initially in a gaseous form. Alternatively, if the calculated equilibrium molar vapor fraction is zero, this means the initial state of the fluids-in-place is 100 percent oil.
C. Determination of Capillary Pressure
f
ci_o=ϕci·ci·po; i=1, 2, . . . nc (33)
ϕci=f(ci·po) (34)
In a following step (50g2), the vapor second-phase fugacity (fgi) is determined using gas pressure and the normalized second-phase vapor mole fractions (y′i):
In step (504), which is analogous to step (500), liquid-like second mixture calculations are initiated by calculating the mixture fugacity (fci_g) as a function of fugacity, overall composition (ci) and gas pressure (pg):
f
ci_g=ϕci·ci·pg; i=1, 2 . . . nc (37)
ϕci=f(ci·pg) (38)
In step (506), which is analogous to step (502), the liquid second-phase fugacity (fli) is determined based on the oil pressure and the normalized second-phase liquid mole fractions (x′i):
In the following step (508), the K-values (in equation (40)) for each of the phases are updated with criteria as described above (equations (5) and (6)) until convergence or trivial solution is achieved. In step (510), it is determined whether the mixture is considered to be in single phase or in two phases in the same manner as described above with respect to step (314) of
Using the new saturation pressure, an additional set of full Flash calculations including the physical properties of the oil and gas phases is executed in step (514).
In step (520), the densities are recalculated using volume shift calculations:
in which
The calculation of the molecular weight and modified density parameters enables the determination of the viscosity of each phase. In step (522), the viscosities are determined according to the viscosity model known as the Lorenz-Bay-Clark correlation, as follows:
in which
In step (524), based on the results of the full Flash calculations above, the interfacial tension (IFT) and capillary pressure (Pc) can be calculated as:
The values of interfacial tension and capillary pressure constitute the is the final output of the procedures shown in the flow charts of
D.1 Determination of PVT Properties (Gas Reservoir)
The molecular weight and density of the PVT cell are then determined in step (604) using a shift factor at saturation pressure:
MWT=Σci*MWi (72)
ρT=ρvsh (73)
In step (606) the volume of the PVT cell is calculated as
In the following step (608), the molar fractions of surface gas and stock-tank oil using the separator conditions are determined. This step includes a number of sub-procedures shown in the flow chart of
In steps (674) and (676), full Flash calculations are performed for the second and third separators, yielding analogous outputs.
In step (678) the total molar fractions of the surface gas and stock-tank oil are calculated as:
y
o=αg1*αg2*αg3 (75)
y
g=1−yo (molar fraction of surface gas) (76)
x
o=αg3 (molar fraction of stock-tank oil) (77)
Returning to
G=y
g
*n
T*3790.56 (78)
Similarly, the total volume of surface oil initial present in the reservoir fluid is calculated as:
N=(yo*nT*MWSTO)/(ρSTO)*5.615) (in standard barrels) (79)
in which
MWSTO: Is the molecular weight of oil obtained from execution of the full flash Calculations using the third Separator pressure and temperature and liquid composition from the second separator (xi3).
ρSTO: Is the density of oil phase after the volume-shift (ρlsh) obtained from execution of the full 1 Flash Calculations using the third Separator pressure and temperature and liquid composition from the second separator (xi3).
From the values for G and N, in steps (612) and (614) respectively, the volatilized oil-gas ratio and initial gas formation volume factor are determined:
R
vi=(N/G)*106 (volatilized oil-gas ratio) (80)
B
gi=(VT(RB)*G)*103 (initial gas formation volume factor) (81)
In step (616), a range of gas pressures is generated from the initial pressure until a new saturation pressure is determined based on the capillary pressure effect and the previously calculated saturated pressure. In step (618), the oil phase pressures corresponding to the range of pressures is determined based on:
p
o
=p
g
−p
cgo (82)
Referring to
V
T(RB)k=(nT*MWT)/[(ρvsh)k*5.615] (volume of the PVT cell) (83)
(Bg)k=(Bgi*V(RB)k)/VT(RB) (Gas formation volume factor) (84)
(Rv)k=Rvi (volatilized oil/gas ratio) (85)
For each generated pressure point, the output of the full Flash calculations includes (ρg)k, (ρvsh)k, (μg)k, and (MWg)k. The following properties are zero because of the absence of the oil phase at each pressure point: (ρo)k, (ρlsh)k, (MWo)k, (Bo)k, and (RS)k.
In step (630), an additional, descending range of pressures are generated from a point just below the saturation pressure to a lower limit value such as 500 psia. Since the steps thus far are still operating based on identification of the reservoir as a gas reservoir, the newly generated pressure values are still considered gas phase-only pressure, and do not fully account for a two-phase solution. Therefore, in step (632), the oil pressure is calculated for each of the newly generated pressure values based on equation (43) above. In step (634), the controller performs full Flash Calculations using the two-phase pressures (oil and gas); the output of these calculations is stored in step (636). The following output of the full phase calculations for each pressure point includes: (μg)j, (ρvsh)j, (μg)j, and (MWg)j. The output of the full Flash Calculations also includes the following properties for the oil phase at each pressure point: (ρo)1, (ρlsh)j, (μo)j, and (MWo)j.
Referring to
(ng
(no)j=(nT)j*(1−αg)j (number of moles of oil) (87)
(Vg
(Vo)j=[(no)j*(MWl)j]/[(ρlsh)j*5.615] (volume of oil in the PVT cell) (89)
(Vg)j=VT(RB)j−(Vo)j (gas volume in PVT cell) (90)
(Vgreg)j=(Vg
(ng)j=[(Vg)j*(ρvsh)j*5.615]/(MWg)j (moles of gas) (92)
(ngreg)j=[(Vgreg)j*(ρvsh)j*5.615]/(MWg)j (moles of excess gas) (93)
(nT)j=(nT)j−1*(ngreg)j (updated no. of moles in PVT cell) (94)
(ci)j={[(xi)j*(no)j]+[(yi)j*(ng)j]}/(nT)j (updated overall composition of PVT cell) (95)
In step (642), the first Separator pressure and temperature and gas phase composition (yi)j obtained in step (608) and the output of the full Flash Calculations described above are used to determine: i) (xig1)j: the liquid composition from the first separator; ii) (yig1)j: the gas composition from the first separator; iii) αgg1: the equilibrium gas molar fraction from the first separator; and iv) αog1: the equilibrium oil molar fraction from the first separator. In the following step (644) of the algorithm, the second Separator pressure and temperature and liquid composition from the first separator (xig1)j and the output of the full Flash Calculations to determine: i) (xig2)j: ii) the liquid composition from the second separator; (yig2)j: the gas composition from the second separator; iii) αgg2: the equilibrium gas molar fraction from the second separator; and iv) αog2: the equilibrium oil molar fraction from the second separator. Similarly, in step (646) the third Separator pressure and temperature and liquid composition from the second separator (xig2)j and the output of the full Flash Calculations are used to determine: i) (xig3)j: the liquid composition from the third separator; ii) (yig3)j: the gas composition from the third separator; iii) αgg3: the equilibrium gas molar fraction from the third separator; and iv) αog3: the equilibrium oil molar fraction from the third separator.
In step (648), the molar fraction of surface gas is calculated by the controller from:
(yo)j=αog1*αog2*αog3 (96)
as
(yg)j=1−(yo)j (97)
From the calculations of equations (96) and (97), in step (650) the controller calculates the volume of surface gas in the reservoir gas and the stock-tank oil in the reservoir gas as:
(Gfg)j=(yg)j*(ng)j*379.56 (98)
(Nfg)j=[(yo)j*(ng)j*MWSTO]/[(ρlsh)j*5.615] (99)
Using the values obtained from equations (98) and (99), in step (652) the controller determines the volatized oil-gas ratio and gas formation volume factor as follows:
Thereafter, step (642), (644), (646), (648) and (650) are repeated for the oil phase (xi)j with the full Flash calculations. These steps are collectively grouped under step (654).
D.2 Determination of PVT Properties (Oil Reservoir)
If the reservoir has been determined to be better characterized as an oil reservoir, some of the steps described above in section D. 1 are repeated. In particular, all of steps (600) through (652) are repeated at generated pressure point above saturation, at saturation and below saturation to 500 psia. The procedures yield values for solution gas-oil ratio:
(Rs)k=(Gfo)k/(Nfo)k (102)
and oil formation volume factor:
(Bo)k=(Vo)k/(Nfo)k (103)
The above-described algorithm determines PVT properties, i.e., gas/oil ratios and oil and gas formation factors, taking pore capillary pressure and two-phase pressures into account. Accordingly, the calculations of the PVT parameters are deemed to be more accurate than conventional calculations. The more accurate parameters can be used as inputs to control algorithms that set separator and/or other processing parameters based upon the improved input data. For example, accounting for two-phase pressure enables the single-phase fluid initially found in the reservoir to split into gas and oil earlier during production.
Returning again to
More generally, the methods disclosed herein provide greater accuracy in the calculation of reservoir pressures, saturation pressures, composition ratio, and oil recovery.
It is to be understood that any structural and functional details disclosed herein are not to be interpreted as limiting the systems and methods, but rather are provided as a representative embodiment and/or arrangement for teaching one skilled in the art one or more ways to implement the methods.
It is to be further understood that like numerals in the drawings represent like elements through the several figures, and that not all components and/or steps described and illustrated with reference to the figures are required for all embodiments or arrangements.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising”, when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Terms of orientation are used herein merely for purposes of convention and referencing, and are not to be construed as limiting. However, it is recognized these terms could be used with reference to a viewer. Accordingly, no limitations are implied or to be inferred.
Also, the phraseology and terminology used herein is for the purpose of description and should not be regarded as limiting. The use of “including,” “comprising,” or “having,” “containing,” “involving,” and variations thereof herein, is meant to encompass the items listed thereafter and equivalents thereof as well as additional items.
While the invention has been described with reference to exemplary embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications will be appreciated by those skilled in the art to adapt a particular instrument, situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this invention, but that the invention will include all embodiments falling within the scope of the appended claims.