Compositional Simulation

Chapter 13, Frontier Topics in Reservoir Simulation

Learning objectives

  • Say when a black-oil model stops being enough and what a compositional model carries instead
  • Solve the Rachford-Rice equation for the vapour fraction of a feed and read its asymptotes and root
  • Read a tie line and apply the lever rule on a pressure-composition diagram
  • Compare an equation-of-state fluid with the black-oil case it stands beside, and say what it matches and what it misses

When Two Curves Are Not Enough

The black-oil model of Section 9.1 describes a reservoir oil by two functions of pressure, Rs and Bo, fitted to one fluid. That is enough while the fluid stays what it was: an oil whose dissolved gas is the gas that comes out of it. It is not enough when the composition itself changes, as when a gas of another composition is injected, or when a volatile oil or a gas condensate trades its light and heavy components between the phases as the pressure falls. A compositional model carries the components and, in every cell at every step, flashes the mixture with an equation of state into the liquid and vapour that coexist. This section runs that flash on the book's few-component Ogbon fluid and sets it against the black-oil case: where they agree, and where they do not. No simulation in this book is compositional; the Ogbon field is run as black oil throughout.

At 1500 psia a feed of methane and n-decane that is 60 % methane splits into aliquid with 38.0 % methane and a vapour with 99.7 %, and the lever rule puts 36 % ofthe moles in the vapour. The Ogbon fluid at 800 psia is 12.2 % vapour by moles, theroot of the Rachford-Rice function; its bubble point is 1181 psia, 15 psi underStanding's 1196 psia.(a) Methane and n-decane, psia00.51025005000methane, mole fraction(b) Rachford-Rice, the Ogbon fluid-0.500.51-101vapour fraction, mole fraction(c) Vapour (mole fraction) against pressure01500300000.20.4psia(d) Against the black-oil case0.711.1EOS fluid over the casebubble pointgas-oil ratiogas gravityoil gravityKey: the bubble line (blue) and the dew line (red) of methane and n-decane, the hatched loop betweenthem, the tie line (black) with the feed on it; in (b) the function (black), its asymptotes (dashed) andits root; in (c) the vapour fraction, the bubble point (orange, dashed) and the field's pressure (black,dashed); in (d) 1, agreement, dashed.Vapour fraction by the lever rule 0.36 (vapour per mole of feed, 60 % methane, between 38.0 % and99.7 %). Vapour fraction of the Ogbon fluid 0.122 (vapour per mole of the Ogbon fluid at 800 psia,between the asymptotes −0.296 and 1.003). Bubble point by the equation of state 1181 psia (Standing's1196 psia (Section 9.1) is 15 psi, 1.3 %, higher). Separator gas-oil ratio 367 scf/stb (the case's364 scf/stb; gas gravity 0.701 against 0.70). Stock-tank oil gravity 0.67 (the case's 0.80, 78.9 against45.4 degrees API).

The Flash and the Rachford-Rice Equation

A flash takes a feed of overall mole fractions ziz_i at a pressure and a temperature and splits it into a liquid xix_i and a vapour yiy_i, with β\beta moles of vapour per mole of feed. With the K-value Ki=yi/xiK_i = y_i / x_i the material balance gives xi=zi/[1+β(Ki−1)]x_i = z_i / [1 + \beta (K_i - 1)], and requiring each phase's mole fractions to sum to one leaves the Rachford-Rice equation,

g(β)=∑izi(Ki−1)1+β(Ki−1)=0,g(\beta) = \sum_i \frac{z_i (K_i - 1)}{1 + \beta (K_i - 1)} = 0,

which falls from plus to minus infinity between the asymptotes 1/(1−Kmax⁡)1/(1 - K_{\max}) and 1/(1−Kmin⁡)1/(1 - K_{\min}) and so has one root there. Plate (b) draws it for the Ogbon fluid at 800 psia: the asymptotes are at −0.296 and 1.003 and the root is 0.122, so 12.2 % of the moles are vapour. A root outside 0 to 1 means one phase.

Where the K-Values Come From

The K-values are not given. They start from Wilson's estimate and are replaced by the ratio of each component's fugacity coefficient in the liquid to that in the vapour, Ki=φiL/φiVK_i = \varphi_i^{L} / \varphi_i^{V}, with the coefficients from Peng and Robinson's equation of state (1976); the split is solved again and the cycle repeats until the fugacities agree, which is successive substitution as Penn State's PNG 520 notes set it out. The components' properties are Whitson and Brulé's Table A-1A, and every binary interaction parameter is zero, since none was read. Every bubble point, vapour fraction and density in this section comes from that one machinery.

The Lever Rule on a Two-Component Diagram

With two components the phase rule leaves no freedom once the pressure is chosen: each pressure has one tie line, and the same balance for the light component gives the vapour fraction by the lever rule, β=(z−x)/(y−x)\beta = (z - x) / (y - x). Plate (a) draws methane and n-decane at the field's 153 °F, the book's illustration, since the Ogbon fluid has four components and does not fit a flat diagram. At 1500 psia the tie line runs from 38.0 % to 99.7 % methane; a feed of 60 % methane lies 0.22 from the liquid end of a tie line 0.617 long, so 36 % of the moles are vapour, and since the feed is near the liquid, most of it is liquid. At 3000 psia the liquid end has moved to 62.6 %, past the feed, and the same feed is one phase. The loop closes near 4842 psia, the highest pressure at which a tie line converges.

The Ogbon Fluid Against the Black-Oil Case

The Ogbon field has no PVT sample, so its fluid here is the book's own: four components, 30 % methane, 3 % ethane, 5 % propane and 62 % n-decane by moles, chosen in steps of 0.01 so that a single-stage separator flash gives a gas-oil ratio and a gas gravity near the black-oil case's. It is not fitted to the bubble point or to the oil, and it is not Section 9.2's three-component mixture, whose bubble point at the field's temperature is 2256 psia. Plate (d) sets three of its results over the case's in Section 9.1, and the bubble point is the fourth:

  • The bubble point is 1181 psia by the equation of state and 1196 psia by Standing's correlation, the case's: 15 psi, 1.3 %, apart. Both are models, and neither is a measurement.
  • The separator gas-oil ratio is 367 scf/stb against the case's 364, and the gas gravity 0.701 against 0.70.
  • The stock-tank oil is not the case's: a specific gravity of 0.67 against 0.80, which is 78.9 against 45.4 °API. That oil is 97.5 % n-decane by moles, the heaviest of the fluid's four components, and the equation of state, with no volume shift, makes liquids too light.

The few-component fluid therefore matches the bubble point and the gas but not the oil's density: it matches what it was chosen for. A fluid for a real compositional study would be tuned to measurements of the oil. The Ogbon field has none, so the book does not tune this one, and says what it misses.

The Field Does Not Need It

The Ogbon field starts at 2847 psia (Section 9.1), 1666 psi above the equation-of-state bubble point and 1651 psi above Standing's, and every cell of the flow grid starts between 2613 and 3184 psia. At those pressures the flash finds one phase, a liquid, and a black-oil table gives the same answer. A waterflood raises the pressure: Section 12.4 reads the grid's mean pressure rising, and Section 13.4 reads the rise in every cell, 97 to 350 psi at 30 years. Section 13.4's depletion thought experiment holds Ogbon-1 at the bubble point and goes no lower. The oil of the book's waterflood therefore stays above its bubble point throughout, and black oil is enough for it.

What a Compositional Run Would Add

The exchange of components is what the black-oil tables cannot hold. A gas injected into an oil can take the oil's lighter components into itself and leave the oil heavier, changing both fluids as it goes; that vaporising exchange is named here and not simulated, since the Ogbon field's injector puts in water (Section 12.4). A compositional run flashes every cell at every step, each flash an iteration, so its cost grows with the number of components and of cells; that is why a few components are kept, and why black oil is used wherever it is enough.

References

  • Penn State University. PNG 520 course notes, lessons 11 and 17: the Peng-Robinson equation of state and the isothermal flash.
  • The chemicals package for Python. Documentation of its Rachford-Rice and flash functions.
  • Whitson, C. H. and Brulé, M. R. (2000). Phase Behavior. SPE Monograph 20, Society of Petroleum Engineers, Richardson, Texas. Table A-1A.

This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.