Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD OF OPERATING AN OIL/GAS FACILITY BASED ON ACCURATE DETERMINATION OF CAPILLARY PRESSURE AND INTERFACIAL TENSION
Document Type and Number:
WIPO Patent Application WO/2020/163350
Kind Code:
A1
Abstract:
A computerized method and system for of operating an oil/gas facility for processing oil and gas from a reservoir. The method includes 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.

Inventors:
AL GHAMDI BANDER (SA)
Application Number:
PCT/US2020/016602
Publication Date:
August 13, 2020
Filing Date:
February 04, 2020
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SAUDI ARABIAN OIL CO (SA)
ARAMCO SERVICES CO (US)
International Classes:
E21B43/00; E21B43/12; E21B43/18
Foreign References:
US20100250206A12010-09-30
US20090157590A12009-06-18
Attorney, Agent or Firm:
LEASON, David et al. (US)
Download PDF:
Claims:
WHAT IS CLAIMED IS:

1. 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; 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.

2. The non-transitory computer-readable medium of claim 1, wherein the step of determining the PVT parameters includes calculations that account for both gas and condensate phase pressures.

3. The non-transitory computer-readable medium of claim 1, further including instructions for carrying out the step of determining of a phase region of the reservoir.

4. The non-transitory computer-readable medium of claim 3, wherein the step of controlling the setting of the oil/gas facility based on the determined PVT parameters includes adjusting surface facilities settings 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.

5. The non-transitory computer-readable medium of claim 3, wherein the step of controlling the setting of the oil/gas facility based on the determined PVT parameters includes adjusting surface facilities settings 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.

6. The non-transitory computer-readable medium of claim 3, wherein the step of controlling the setting of the oil/gas facility includes increasing a water injection rate to support reservoir pressure when the reservoir is operating in a two-phase gas-condensate region.

7. The non-transitory computer-readable medium of claim 1, wherein the PVT parameters include one or more parameters selected from the group consisting of: vaporized oil-gas ratio (Rv), solution-gas ratio (Rs), formation volume factor for gas (Bg) and formation volume factor for oil (Bo).

8. The non-transitory computer-readable medium of claim 7, further including instructions for carrying out the step of calculating one or more of 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) as a function of one or more of a gas pressure (Pg), an oil pressure (Po) and a pore throat radius (r).

9. A system for operating an oil/gas facility for processing oil and gas from a reservoir, the system comprising:

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 processors and a memory, the memory including program code instructions which, when executed by the one or more processors, 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; 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.

10. The system of claim 9, wherein the at least one facility component is an oil/gas separator.

11. The system of claim 9, wherein the step of determining the PVT parameters includes calculations that account for both gas and condensate phase pressures.

12. The system of claim 9, wherein the code executed by the one or more processors of the controller further includes instructions for carrying out the step of determining of a phase region of the reservoir.

13. The system of claim 12, wherein 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 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.

14. The system of claim 12, wherein 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.

15. The system of claim 12, further comprising:

a water injection pump for maintaining fluid pressure within the reservoir;

wherein the step of controlling a setting of the oil/gas facility includes increasing a water injection rate of the pump to support reservoir pressure when the reservoir is operating in a two- phase gas-condensate region.

16. The system of claim 9, wherein the PVT parameters 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).

17. The system of claim 16, wherein the code executed by the one or more processors of the controller further includes 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).p

Description:
METHOD OF OPERATING AN OIL/GAS FACILITY BASED ON ACCURATE DETERMINATION OF CAPILLARY PRESSURE AND INTERFACIAL TENSION

CROSS-REFERENCE TO PRIOR APPLICATION

[001] The present application claims priority to U.S. Patent Application No. 16/269,840, titled METHOD OF OPERATING AN OIL/GAS FACILITY BASED ON ACCURATE DETERMINATION OF CAPILLARY PRESSURE AND INTERFACIAL TENSION, filed on February 7, 2019 with the U.S. Patent and Trademark Office, which is hereby incorporated by reference in its entirety.

FIELD OF THE DISCLOSURE

[002] 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.

BACKGROUND OF THE DISCLOSURE

[003] 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.

[004] 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.

[005] 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. SUMMARY OF THE DISCLOSURE

[006] 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.

[007] In certain embodiments, the step of determining the PVT parameters includes calculations that account for both gas and condensate phase pressures.

[008] 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.

[009] 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.

[0010] 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.

[0011] In some implementations, the PVT parameters can comprise one or more parameters selected from the group consisting of: include vaporized oil-gas ratio (R v ), solution-gas ratio (R s ), formation volume factor for gas (B g ) and formation volume factor for oil (B 0 ). The vaporized oil-gas ratio (R v ), solution-gas ratio (R s ), formation volume factor for gas (B g ) and formation volume factor for oil (B 0 ) can be determined a function of gas pressure (P g ), oil pressure (P 0 ) and pore throat radius (r).

[0012] 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.

[0013] In certain embodiments, the at least one facility component is an oil/gas separator.

[0014] In certain embodiments, the step of determining the PVT parameters includes calculations that account for both gas and condensate phase pressures.

[0015] 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.

[0016] 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.

[0017] In certain implementations, the PVT parameters can include one or more of the following: a vaporized oil-gas ratio (R v ), a solution-gas ratio (R s ), a formation volume factor for gas (B g ) and a formation volume factor for oil (B 0 ). 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 (R v ), the solution-gas ratio (R s ), the formation volume factor for gas (B g ) and the formation volume factor for oil (B 0 ) as a function of gas pressure (P g ), oil pressure (P 0 ) and pore throat radius (r).

[0018] 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.

BRIEF DESCRIPTION OF THE DRAWINGS

[0019] FIG. 1 is a schematic block diagram of a simplified oil//gas production system in which the method of the present disclosure can be employed.

[0020] FIG. 2 a schematic cross-sectional view of an exemplary separator that can be controlled according to the methods disclosed herein.

[0021] FIG. 3 is a flow chart of an embodiment of a method for determining whether the reservoir fluid is single phase or two-phase according to the present disclosure.

[0022] FIG. 4 is a flow chart of an embodiment of a method for determining whether the single phase is condensate or gas according to the present disclosure.

[0023] FIG. 5 A is a flow chart of an embodiment of a method for determining the pore capillary pressure based on the values of equilibrium molar phase fraction according to the present disclosure.

[0024] FIG. 5B is a continuation of the flow chart of FIG. 5 A.

[0025] FIG. 6A is a flow chart of an embodiment of determining PVT properties of the reservoir gas incorporating capillary pressure according to the present disclosure

[0026] FIG. 6B is a continuation of FIG. 6A.

[0027] FIG. 6C is a continuation of FIG. 6B.

[0028] FIG. 6D is flow chart of a sub-procedure of the method of FIGS. 6 A to 6C.

[0029] FIG. 7 is an exemplary conventional pressure-temperature phase diagram according to the prior art used for reservoir classification. In this diagram the effect of capillary pressure is not taken into account.

[0030] FIG. 8 is a schematic flow diagram of a method of operating an oil/gas facility using improved PVT parameters according to an embodiment of the method disclosed herein. DETAILED DESCRIPTION OF CERTAIN EMBODIMENTS OF THE DISCLOSURE

[0031] 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.

[0032] 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 (P c ). 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.

[0033] 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 P c 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 P c 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.

[0034] 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 (R v ), solution gas-oil-ratio (R s ), and formation volume factors of gas and oil (B g and B 0 ). These parameters, referred to herein as “PVT parameters” herein, are useful for determining how settings should be controlled to optimized production.

[0035] The Walsh method is a known procedure for calculating these parameters. However, the conventional Walsh procedure uses a single phase pressure (P g , gas pressure), and does not account for two-phase pressures (P g and P 0 , 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 P g and P o . As a result of these procedures, the component ratios and formation factors are determined with greater accuracy than has been possible heretofore.

[0036] FIG. 1 is a schematic block diagram of a simplified oil//gas production system in which the method of the present disclosure can be employed. The system 100 includes one or more oil wells 105 that pumps fluid (gas and condensates) from an oil/gas reservoir 110. The reservoir 110 can include formations in which oil and gas is contained in small pore holes having diameters on the order of nanometers or microns. Gas and condensates drawn from the well 105 are delivered to a separator 120 in which the gas portion and condensate portion or separated from each other. In some embodiments, the system can include a plurality of separators arranged in series. The separated gas is supplied to a processing facility in which gas products are further refined and filtered. A controller 140, which can include one or more processors 142 and cache memory resources 144 is in communication with the separator 120 and the processing facility 130. The controller 140 can comprise a single device or can comprise a plurality of distributed, communicatively coupled devices. The controller 140 receives input data which can include real-time data received from downhole well sensors, well logs, and/or fluid and core sample data. The controller can execute a program including instructions for determining pore capillary pressure and PVT properties as described below, as well as a program for adjusting settings of facility components based on the determinations of capillary pressure and PVT properties.

[0037] FIG. 2 is a schematic cross-sectional view of an exemplary separator that can be controlled according to the methods disclosed herein. The separator 120 includes an inlet which receives fluid pumped from the reservoir 110 via an inlet 202. Fluid entering the inlet 202 is delivered to a cyclone 204 which separates the condensate phase (oil and water) from the vapor phase of the fluid. The separator includes level controller 206a and 206b that are operated by algorithmic control by controller 140 via wired or wireless connection. The level controllers 206a and 206b can be used to control valves leading an oil and waters outlets 210, 215. The oil outlet can lead to further separators or to a processing facility. A pressure controller 208 is also operated by algorithmic control by controller 140 by wired or wireless connection. The controller 140 thereby can set the vapor pressure within the separator, which determines the amount of oil that is separated, in order to maximize oil recovery according to the methods disclosed herein. The vapor temperature can be controlled indirectly via control of the pressure. A vapor outlet 220 delivers the vapor phase to additional separators or to the oil processing facility.

DETERMINATION OF BLACK-OIL PROPERTIES INCLUDING EFFECT OF

CAPILLARY PRESSURE

A. Determination whether mixture is Single-Phase vs. Two-Phase

[0038] 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. FIG. 3 is a flow chart of a sub-procedure in which it is initially determined whether the reservoir fluid, as described by input data, is single phase or two-phase. The procedure is guided by program code instructions (“algorithm”) that can be executed by the controller 140 or by another computing device that is operative to communicate the results of execution of the program code with the controller. In an initial preparatory step (300), the input data is received by the executing computing device. The input data includes reservoir fluid characterization for each phase component such as i) compositions (in molar units); ii) Critical Pressure (in psia); iii) Critical Temperature (R in degrees Kelvin); an iv) Acentric factor (unitless); v) Molecular Weight (lbm/lbmol); vi) Critical Volume (in cubic feet/lbm); and vii) a Parachor factor (unitless). This data can be acquired from experimental sensor data obtained from reservoir samples and also from Constant-Composition-Expansion, Constant-Volume-Depletion, and Chromatographic tests. In addition to the fluid characterization parameters, data is input regarding interactions between the phase components, selections of equation-of-state (EOS), initial reservoir pressure and temperature, pressures and temperatures under investigation, volume shift factors, separator conditions (pressure and temperature) and pore throat radius (r) in nanometers (nm).

[0039] 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 FIG.3 and other algorithms discussed below are executed by one or more processors based on program code instructions which utilize input data received or calculated in previous steps. The output of the present algorithm indicates whether the fluid is in a single-phase (gas or condensate) or in two phases (gas and condensate). In a first step of the algorithm (302), a mixture fugacity (f C i_o) is estimated as a function of fugacity ( f a ), overall composition of the ith component (ci) and original phase initial pressure (p f ):

fci_o— foί * Ci Pf ϊ i=l ,2, ...n c (1)

f =ί(oi -p f ) (2)

[0040] 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 (f gi ) is calculated using the original phase initial pressure and normalized second-phase vapor mole fractions (y)) and vapor/liquid equilibrium ratios ( K,):

fgi=fgi .y i · pf ; i=l,2,...n c (3)

y’i =(ci. - K_i)/(åi nc ( Ci - ¾ ) ) (4)

[0041] In a following step (306), liquid-like second mixture calculations are performed, analogous to those of step (302) by calculating the mixture fugacity (f d-g ) as a function of fugacity (f ), overall composition (ci) and original phase initial pressure (p f ) based on equations (1) and (2). In step (308), a liquid second-phase fugacity ( I ' M ) is determined using original phase initial pressure and the normalized second-phase liquid mole fractions (x)) using equations analogous to (3) and (4) but for the liquid second-phase.

[0042] 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. n c

Convergence criterion: — l) 2 < 10 10 ; i = 1,2, ... n c

(5) n c

Trivial solution criterion: y On Ki) 2 < KG 4 i = 1,2, ... n c (6)

[0043] 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

Ri=fci_o/fgi · l/(åi nc (ci · Ki ) (7)

For the liquid second phase, Ri is determined as

Ri=fii/f ci-g .åi nc (ci/ Ki ) (8)

[0044] 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

Sv=åi nc (ci · Ki ) (9)

In step (312b) a second test condition is calculated based on

S L =åi nc (ci/ Ki ) (10)

The mixture is determined, in step (314), to be two-phase if either Sv or S L 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 S L are less than one, or one of the tests produces a trivial solution and the other yields a value of Sv or S L less than one.

[0045] 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

[0046] After it is determined that the mixture is in a single phase, in a second sun-procedure shown in FIG. 4, the algorithm executes another test to determine whether the single phase is liquid or gas (i.e., whether the reservoir is a liquid condensate (oil) reservoir or a gas reservoir). This test employs equilibrium phase molar fraction in what are referred to as “Flash Calculations” in the art. In step (402) the percentage of oil and gas (Ki) is calculated using the following nonlinear equation in which a g is the equilibrium molar gas fraction, p ri is the system pressure divided by the critical temperature for the component, coi is the acentric factor of the component (i.e., variation from noble gas behavior), and T n is the system pressure divided by the critical temperature of the component. Equation (11) is the Rachford-Rice equation, and equation (13) is Wilson’s correlation for K-value estimation.

f(a g )=åi nc (ci(Ki - l))/(l+a g (Ki - l)) =0 ; i=l,2...,n c (11)

K; = y /xi ; i=l,2...,n c (12)

K i = l/p ri . exp 5 - 37(1+ “i )(1 - 1/T ri ) ; i=l,2...,n c (13)

[0047] Equation (11) is a nonlinear equation. Once the K, 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 a g new is calculated based on the previous estimate a g old as a new

g f r(ag )

in which f'(a g ) is calculated based on (11) above as

^A) = - åS l g g¾f = <> : i = 1,2 .... n c (15)

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

in which x is a value between -16 and -12 (e.g., -14)

[0048] 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 a g : i = 1,2 ... , n c (17) ; i = 1,2 n c (18)

[0049] 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. f gi = f li ; m = 1,2 ... , n c (19)

Z 3 + [(m- L + m 2 — 1)B— 1] Z 2 + [A + m 1 m 2 B 2 — (m- L + m 2 )B(B + 1)]Z— [AB + m 1 m 2 B 2 (B + 1)] = 0 (23)

in which

[0050] Once fugacities of the phases are known, in step (410), improved Ki new 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: i = 1,2 ... , n c (32)

[0051] 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

[0052] FIG. 5 A is a flow chart of an embodiment of a method for determining the pore capillary pressure based on the values of equilibrium molar phase fraction determined as described above. The method is similarly executed by the controller or another computing device in communication with the controller using stored program code instructions and input data. Certain investigations have demonstrated that capillary pressure inside the pores tends reduce the bubble point curve and increase the upper dew point curve. The fact that there is a capillary pressure means that if the system is in two-phase, gas pressure will be different than oil pressure with the same magnitude of capillary pressure. In a first step (500), the mixture fugacity (f C i_o) as determined as a function of fugacity, overall composition (ci) and oil pressure (p 0 ): fci_o Feί c i Po i = 1,2, ... n c (33)

4>ci = f(Ci . Po) (34)

[0053] In a following step (50g2), the vapor second-phase fugacity (f gi ) is determined using gas pressure and the normalized second-phase vapor mole fractions (y' j ) : fgi 'l^gi y i - Pg i = 1,2, ... n c (35) [0054] In step (504), which is analogous to step (500), liquid-like second mixture calculations are initiated by calculating the mixture fugacity ( f ti-g ) as a function of fugacity, overall composition ( ) and gas pressure (p g ):

f Ci g f ί . C j . Pg i = 1,2, ... n c (37)

Feί = f( Pg) (38)

[0055] In step (506), which is analogous to step (502), the liquid second-phase fugacity if ] ,) is determined based on the oil pressure and the normalized second-phase liquid mole fractions ( x 'i) :

fli— Fΐί x'i- Po i = 1,2, ... n c (39)

[0056] 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 FIG. 3. In step (512), a new saturation pressure (bubble point or dew point) can be determined.

[0057] 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). FIG. 5B is a continuation of the flow chart of FIG. 5 A. In step (516) molecular weights of the phases are determined, and the densities of the phases are determined in step (518):

; i = 1,2 n c (41)

MW i O = £y«

; i = 1,2 ... , n c (42)

/ lbm\ p MW q

(43)

7 f^t J) = - ZgRT

flbm\ p MW I

(44)

* M = ZiRT

[0058] In step (520), the densities are recalculated using volume shift calculations: MW i

Pish (45)

V L

MWg

Pvsh (46)

Vv

in which

ci = sibi (49)

b t = 0.0778 R ^ (50)

P ci

[0059] 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

5.4402 r '

xί = /3 / i = 1,2... ,n c (56)

(57) i = 1,2 ... , n c (58) for T ri < 1.5 ; i = l,2...,n c (59)

17.78.10 _5 (4.58r r i-1.67) 0 · 625

LL l = forT ri > 1.5 ; i = 1,2 ... ,n c (60)

Ti

[0060] In step (524), based on the results of the full Flash calculations above, the interfacial tension (IFT) and capillary pressure (P c ) can be calculated as:

P c =— (r=pore radius) (70)

The values of interfacial tension and capillary pressure constitute the is the final output of the procedures shown in the flow charts of FIGS. 5A and 5B.

D.l Determination of PVT properties (Gas Reservoir)

[0061] FIG. 6A is a flow chart of an embodiment of a method of determining PVT properties of the reservoir gas that incorporates the effects of capillary pressure. Similar to the methods above the method is executed by the controller or other computing device in communication with the controller based on stored program code instructions and input data. This method is implemented based on a system that employs three separators. The steps of the flow chart apply if has been determined that the reservoir is a single-phase gas reservoir. In a first step (600) an initial value for the wellstream gas volume input to the separator is set. In some implementations this value is set at G e =l,000,000 scf (standard cubic feet). In step (602), the number of moles in the PVT cell of the reservoir is calculated as:

[0062] The molecular weight and density of the PVT cell are then determined in step (604) using a shift factor at saturation pressure:

MW T = å ct * MWt (72)

PT P vsh (73)

[0063] In step (606) the volume of the PVT cell is calculated as

V T (ft 3 ) = ^ºL (74)

PT

[0064] 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 FIG. 6D to which reference is directed. In step (672), full Flash calculations described above are executed using the temperature and pressure readings at a first separator. The output of this process comprises: i) X j l: liquid composition from the first separator; ii) y 1 : gas composition from the first separator; iii) a g 1 : equilibrium gas molar fraction from the first separator; and iv) a 0 1 : equilibrium oil molar fraction from the first separator.

[0065] In steps (674) and (676), full Flash calculations are performed for the second and third separators, yielding analogous outputs.

[0066] In step (678) the total molar fractions of the surface gas and stock-tank oil are calculated as:

y 0 = a g l*a g 2*a g 3 (75)

y = l-y 0 (molar fraction of surface gas) (76)

x 0 = a g 3 (molar fraction of stock-tank oil) (77)

[0067] Returning to FIG. 6A, the total volume of surface gas initially present in the reservoir fluid is calculated in step (610) based on the y g value in equation (76) as:

G= g *n r *379.56 (78)

[0068] Similarly, the total volume of surface oil initial present in the reservoir fluid is calculated as:

N=(y 0 *n r *Mlf 57O )/(p S7O )*5.615) (in standard barrels) (79)

in which MW ST0 : 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 (cb).

PSTO '· I s the density of oil phase after the volume-shift ( p lsh ) obtained from execution of the full 1 Flash Calculations using the third Separator pressure and temperature and liquid composition from the second separator (cb).

[0069] 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)*10 6 (volatilized oil-gas ratio) (80)

B gi = ( V T (RB ) *G)*10 3 (initial gas formation volume factor) (81)

[0070] 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:

Po = Pg - Pcgo (82)

[0071] Referring to FIG. 6B, which is a continuation of FIG. 6A, in a following step (620), for all pressure values generated above the saturation pressure level, full Flash calculation are performed using only the single gas phase pressure. The output of the calculations on the pressure values are stored for future use in step (622). With respect to the saturation pressure, in step (624), full Flash Calculations are performed using the two-phase pressure (oil and gas). The output of this calculation is stored in step (626). However, since oil forms as droplets at saturation pressure, the properties of oil are not reflected on the PVT table of outcomes. In step (628), at each pressure point (1 . . k . . n) the following PVT properties are determined: (volume of the PVT cell) (83)

(B y ) k = (¾ i *V r (RB) k )l V T (RB ) (Gas formation volume factor) (84)

(fiv) k = Rvi (volatilized oil/gas ratio) (85)

[0072] For each generated pressure point, the output of the full Flash calculations includes The following properties are zero because of the absence of the oil phase at each pressure point:

[0073] 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: (p g )j , (p V sh)j > ( Pg)j > an d ( Wg)j . The output of the full Flash Calculations also includes the following properties for the oil phase at each pressure point: Po) j , (Pish) j, (,Po)j, and (MW 0 )j.

[0074] Referring to FIG. 6C, which is a continuation of FIG. 6B, in the following calculation step of the PVT algorithm (640), the following PVT properties are calculated at each pressure point (denoted with a subscript“j”):

mber of moles before excess gas removed) (86) (number of moles of oil) (87)

(gas volume in PVT cell prior to remove of excess gas) (88) (volume of oil in the PVT cell) (89)

( Vg)j = V r (RB) j - (V 0 )j (gas volume in PVT cell) (90) (¾) ; ( excess g as volume removed from PVT cell) (91)

(n g )j = [(¾) * ( p vsh )j * 5.615 \/{MW g ) . (moles of gas) (92)

C n greg)j = [(Vgreg j * (fivsh) j * 5.615 ]/{MW g (moles of excess gas) (93) (n T )j = ( n T )j_ 1 * (n greg )j (updated no. of moles in PVT cell) (94) ( c i)j = {[( x i)j * ( n o )j] + [(yi)j * ( n g)j]}/ ( n T )j (updated overall composition of PVT cell)

(95)

[0075] In step (642), the first Separator pressure and temperature and gas phase composition (ydj obtained in step (608) and the output of the full Flash Calculations described above are used to determine: i) (x ig l) the liquid composition from the first separator; ii) {y ig l) : the gas composition from the first separator; iii) a gg 1 : the equilibrium gas molar fraction from the first separator; and iv) a og 1 : 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 (x ig l) and the output of the full Flash Calculations to determine: i)(x ig 2) : ii) the liquid composition from the second separator; ( ig 2) : the gas composition from the second separator; iii) a gg 2 : the equilibrium gas molar fraction from the second separator; and iv) a og 2 : 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 and the output of the full Flash Calculations are used to

determine: i) ( ^ x ig 3^ : the liquid composition from the third separator; ii) ( ig 3 ^ ) : the gas composition from the third separator; iii) a gg 3: the equilibrium gas molar fraction from the third separator; and iv) a og 3: the equilibrium oil molar fraction from the third separator.

[0076] In step (648), the molar fraction of surface gas is calculated by the controller from:

(y 0 );= <¾! * a og 2 * a og 3 (96)

as

[0077] 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:

[0078] 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: C N fe)j

i.Rv)j /le6 (100)

(¾) = [¾);/(¾] * 1000 (101)

[0079] Thereafter, step (642), (644), (646), (648) and (650) are repeated for the oil phase with the full Flash calculations. These steps are collectively grouped under step (654).

D.2 Determination of PVT properties (Oil Reservoir)

[0080] If the reservoir has been determined to be better characterized as an oil reservoir, some of the steps described above in section D.l 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: and oil formation volume factor:

0 W k = (V o ) k /(N fo ) k (103)

OPERATING AN OIL/GAS FACILITY USING IMPROVED PVT PROPERTIES

[0081] 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.

[0082] FIG. 7 is a pressure-temperature phase diagram used for reservoir classification that does not take into account the effect of capillary pressure. In the diagram, the middle vertical section, starting at the critical point labeled is referred to as the Gas-Condensate two-phase region (labeled +CP). As the fluid in reservoir is being produced isothermally, the saturation pressure (bubble point) at the constant temperature increases when the capillary pressure effect is accounted for. This implies that, at constant temperature, the critical point, and the two- phase region (+CP) is reached earlier in the life of the reservoir, yielding a higher Condensate- to-Gas-Ratio (CGR).

[0083] FIG. 8 is a flow diagram showing a control scheme, executed by the controller based on stored program code instruction, for adjusting surface facilities pressure and temperature to accommodate changes in composition according to the present disclosure. In FIG. 8 the controller 140 receives input data and the outputs of the algorithms discussed above with reference to FIGS. 3-6D including capillary pressure and PVT parameter values. Using the PVT parameter outputs, which describe the oil/gas composition, including the vaporized oil gas ratio (R v ), the solution gas-oil ratio (R s ), and the formation volume factors for oil (B 0 ) and gas (B g ), as well as data concerning current reservoir conditions, the controller executes a control algorithm adapted to control setting of the surface facilities. In part, the control algorithm adjusts the pressure and temperature at surface facilities accommodate the changes in the PVT values (i.e., relative oil/gas composition) when the pore capillary pressure is properly accounted for. In addition, in cases in which injection is required to maintain the reservoir pressure in the gas-condensate reservoirs, correct assessment of the saturation pressure is important in maintaining reservoir pressure above the saturation point to maintain single-phase conditions and thereby avoid condensate formation and blockage. When gas- condensate operation is detected, the controller 140 the controller can execute program code adapted to increase water injection rates to increase injection pressure up to the elevated saturation pressure level associated with capillary pressure in this phase region.

[0084] Returning again to FIG. 7, in the region to the left of the critical point (labeled -CP)_as the reservoir is being produced isothermally, the saturation pressure decreases when the effect of capillary pressure is accounted for. This implies that in this phase region, production of dry oil can continue beyond expectations before the reservoir pressure decreases to the lower saturation pressure at which a 2-phase split occurs. The algorithm executed by the controller 140 can detect that the reservoir is operating in this phase region and can control surface facilities settings accordingly to accommodate the longer period of dry oil production.

[0085] More generally, the methods disclosed herein provide greater accuracy in the calculation of reservoir pressures, saturation pressures, composition ratio, and oil recovery.

[0086] 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.

[0087] 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.

[0088] 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.

[0089] 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.

[0090] 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.

[0091] 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.