EoS Phase Envelope

Traces a fluid's bubble and dew curves with Peng-Robinson and marks the reservoir, the separator, the critical point and the cricondentherm.

Equation of State 123 rows × 12 columnsMicrosoft 365

Use this blueprint

How to use this blueprint
  1. In Excel, go to the Petroleum Office ribbon tab and click Blueprint Manager
  2. Search for EoS Phase Envelope
  3. Click on the blueprint to preview
  4. Click Insert to place it into your worksheet. Modify the input values to match your data.

Requires the Petroleum Office add-in for Excel. Needs Microsoft 365 or Excel 2024: it uses a function Excel 2016 doesn't have (LAMBDA), which shows #NAME? there.

Get Petroleum Office

Description

Where do the reservoir and the separator sit on a fluid's phase envelope? You enter the C7+ molecular weight and gravity, the tuning raise on the methane–C7+ interaction parameter, the reservoir and first-stage separator conditions, and a temperature and pressure for single saturation points. You read off the bubble and dew curves in °F and psia, the critical point, cricondenbar and cricondentherm, the bubble and dew pressures and temperatures at the typed conditions, and the fluid's type by McCain's rules.

Parameters:

  • Fluid: the C7+ molecular weight ENV_PlusMw and specific gravity ENV_PlusSG, and the methane–C7+ kij raise ENV_dKij over the Nikos matrix (the EoS Tuning to PVT Data sheet's knob)
  • Conditions: the reservoir temperature ENV_TRes (°F) and pressure ENV_PRes (psig), and the first-stage separator's ENV_TSep and ENV_PSep
  • Single saturation points: the temperature ENV_TSat of the bubble and dew pressures and the pressure ENV_PSat of the bubble and dew temperatures

How to use it: Type the PVT report's composition and C7+, the kij raise the EoS Tuning to PVT Data sheet matched to its bubble point, the reservoir's initial pressure and temperature and the separator's conditions. A fluid with a split C7+ needs the split's rows in the property table. The chart draws the bubble and dew curves with the reservoir, the first-stage separator and the critical point marked. The cricondenbar is the highest pressure two phases can coexist at and the cricondentherm the highest temperature. Read the reservoir check (undersaturated oil or not), the separator check (two-phase or not), and the saturation check, which compares each single-point saturation temperature with the curve it should sit on.

Method: The property table is the fluid model's: database critical properties for the defined components, the C7+ characterised from its molecular weight and gravity, and Peneloux shifts from the Peng-Robinson volume-shift correlation, the C7+'s fitted to its gravity. The kij are the Nikos matrix at the reservoir temperature with the methane–C7+ pair raised.

  • Envelope: the Peng-Robinson envelope tracer traces both curves and closes them at the critical point; each of the 25 points per curve is its own cell, converted from kelvin and pascals to °F and psia. The critical point, cricondenbar and cricondentherm are its scalar outputs.
  • Single points: the Peng-Robinson bubble and dew pressures at TSat, and the bubble and dew temperatures at PSat. The curves' own saturation temperatures at PSat are interpolated where the rising bubble curve and the dew curve cross it, and each solver's answer is checked against them within 5 °F.
  • Fluid type: a flash of the feed at 60 °F and 1 atm gives the vapour fraction and the stock-tank oil; its shifted density gives the API gravity, the vapour at the ideal gas volume gives the GOR, and McCain's classification from GOR, API and C7+ gives the type.
  • Checks: the reservoir is an undersaturated oil when it lies above the bubble point and left of the critical temperature; the separator is two-phase when its flash's vapour fraction is inside (0, 1).

Example: The default fluid is the EoS family's reference fluid, the Big Butte crude of Ahmed's Reservoir Engineering Handbook (Table 3-1) at 247 °F, with its first-stage separator at 28 psig and 130 °F (Table 3-6) and an assumed reservoir pressure of 4,000 psig. The kij are Nikos's with the methane–C7+ pair raised by 0.10, which puts the bubble point on the lab's.

The tuned crude has its bubble point at 1,945 psig at 247 °F (the lab's 1,936, +0.5 %), and 1,845 psig at 200 °F. Its critical point is far to the right, at 714 °F and 1,206 psia, so at 247 °F it is a black oil well left of critical; the cricondenbar is 2,082 psia at 386 °F and the cricondentherm 736 °F. The reservoir at 4,000 psig sits above the bubble curve, an undersaturated oil, and the separator at 28 psig and 130 °F is inside the envelope, flashing half the feed's moles to gas. At 1,000 psig the bubble curve crosses at −14 °F and the dew curve at 730 °F; the dew-temperature solver agrees (731 °F) and the bubble-temperature solver too (−14 °F), so both solvers sit on the curves. The lower dew point at 200 °F is 0.16 psia, a vacuum. A single-stage flash to stock-tank conditions gives 639 scf/STB and 39.8 °API with 40.66 mol % C7+: a black oil by McCain's rules.

Functions used

Names it defines (63)
NameRefers toComment
PO.EoS.Char.Volshift =LAMBDA(tc, pc, omega, eos, IF(OR(tc<=0, pc<=0), NA(), IF(eos="SRK", (0.0115831168+0.411844152*omega)*tc*1.8/(pc/6894.757)*0.028316846592/453.59237, IF(eos="PR", 0.50033*(0.25969-(0.29056-0.08775*omega))*8.314462618*tc/pc, NA())))) Peneloux volume shift c (m3/mol) of a component from Tc (K), Pc (Pa) and omega, for the EoS named: "SRK" (Peneloux, Ahmed Eq. 15-107) or "PR" (Pedersen's PR form). Subtract sum(z*c) from the EoS molar volume.
PO.FL.Type.Classify =LAMBDA(gor, api, cplus, IF(OR(gor<0, api<0, cplus<0, cplus>1), NA(), IF(cplus>=0.125, IF(AND(gor<1750, api<45, cplus>0.2), 1, 2), IF(OR(gor<15000, cplus>=0.04), 3, IF(gor<100000, 4, 5))))) McCain reservoir fluid type from GOR (scf/STB), stock-tank API and C7+ mole fraction: 1 black oil, 2 volatile oil, 3 gas condensate, 4 wet gas, 5 dry gas. C7+ of 0.125 or more is an oil.
ENV_PlusMw $B$4 C7+ molecular weight, lb/lb-mol
ENV_PlusSG $B$5 C7+ specific gravity at 60 °F, water = 1
ENV_dKij $B$6 Methane–C7+ kij raise over Nikos (EoS Tuning)
ENV_TRes $B$7 Reservoir temperature, °F
ENV_PRes $B$8 Reservoir pressure, psig
ENV_TSep $B$9 First-stage separator temperature, °F
ENV_PSep $B$10 First-stage separator pressure, psig
ENV_TSat $B$12 Temperature of the bubble and dew pressures, °F
ENV_PSat $B$13 Pressure of the bubble and dew temperatures, psig
ENV_Inputs $B$4:$B$13 The C7+ molecular weight and gravity, the methane–C7+ kij raise, the reservoir and first-stage separator temperatures and pressures, and the temperature and pressure of the single saturation points
ENV_Fluid $A$19:$G$29 Each component with its critical temperature, pressure and acentric factor, molar mass, mole fraction and Peneloux volume shift
ENV_Names $A$19:$A$29 Component names
ENV_Props $B$19:$E$29 Property table: Tc (K), Pc (Pa), omega, Mw (kg/mol)
ENV_Z $F$19:$F$29 Mole fractions
ENV_Shift $G$19:$G$29 Peneloux volume shift per component, m3/mol
ENV_Kij $B$33:$L$43 Nikos kij for Peng-Robinson with the methane-C7+ pair raised by the tuning knob
ENV_TK $B$46 Reservoir temperature, absolute, K
ENV_TSatK $B$47 Saturation-point temperature, absolute, K
ENV_PSatPa $B$48 Saturation-point pressure, absolute, Pa
ENV_PbRes $B$49 Bubble point at the reservoir temperature, psig
ENV_Pb $B$50 Bubble-point pressure at TSat, psig
ENV_Pdew $B$51 Dew-point pressure at TSat, psia
ENV_TbCurve $B$52 Bubble temperature at PSat, on the curve, °F
ENV_Tb $B$53 Bubble temperature at PSat, by Tb.PR, °F
ENV_TdewCurve $B$54 Dew temperature at PSat, on the curve, °F
ENV_Tdew $B$55 Dew temperature at PSat, by Tdew.PR, °F
ENV_Tc $B$56 Critical temperature, °F
ENV_Pc $B$57 Critical pressure, psia
ENV_Pcb $B$58 Cricondenbar, the highest two-phase P, psia
ENV_Tcb $B$59 Temperature of the cricondenbar, °F
ENV_Tct $B$60 Cricondentherm, the highest two-phase T, °F
ENV_Pct $B$61 Pressure of the cricondentherm, psia
ENV_VSep $B$62 Separator vapour fraction, frac
ENV_Vst $B$63 Stock-tank flash vapour fraction, one stage, frac
ENV_RhoSt $B$64 Stock-tank oil density, one stage, g/cm³
ENV_APISt $B$65 Stock-tank oil gravity, one stage, °API
ENV_GORSt $B$66 Gas-oil ratio, one stage, scf/STB
ENV_PlusZ $B$67 C7+ mole fraction of the feed, frac
ENV_Class $B$68 Fluid type class (1 black oil to 5 dry gas)
ENV_Type $B$69 Fluid type, McCain's rules
ENV_Check $B$70 Saturation check verdict
ENV_CheckNote $C$70 Saturation check comment
ENV_ResCheck $B$71 Reservoir check verdict
ENV_ResCheckNote $C$71 Reservoir check comment
ENV_SepCheck $B$72 Separator check verdict
ENV_SepCheckNote $C$72 Separator check comment
ENV_Results $B$46:$B$72 The absolute temperatures and pressure, the bubble point at the reservoir, the single saturation points beside the curves', the critical point, cricondenbar and cricondentherm, the separator's vapour fraction, the fluid type and the three checks
ENV_Markers $A$76:$C$79 The reservoir, the first-stage separator, the critical point and the bubble point at the reservoir temperature, in °F and psia
ENV_Curve $A$85:$F$109 The bubble and dew curves of the envelope in °F and psia, and the temperature where each crosses PSat
ENV_R0 $B$112 Rankine at 0 °F, °R
ENV_RK $B$113 Rankine in a kelvin, °R/K
ENV_PaPsi $B$114 Pascals in a psi, Pa/psi
ENV_Patm $B$115 Atmospheric pressure, psig to psia, psi
ENV_Tsc $B$116 Temperature of a specific gravity, 60 °F, K
ENV_Psc $B$117 Pressure of a specific gravity, 1 atm, Pa
ENV_RhoW $B$118 Density of water at 60 °F, kg/m³
ENV_Gkg $B$119 Grams in a kilogram, and kg/m³ in a g/cm³, g/kg
ENV_R $B$120 Gas constant, J/(mol·K)
ENV_FtBbl $B$121 Cubic feet in a barrel, ft³/bbl
ENV_N $B$122 Points per envelope curve (the table rows)
ENV_TolT $B$123 Largest saturation-temperature gap accepted, °F

Details

Inserts123 rows × 12 columns
CategoryEquation of State
For agents and toolsDescriptor (.md)
TagsEoS · phase-envelope · phase-diagram · cricondenbar · cricondentherm · critical-point · bubble-point · dew-point · saturation · fluid-type · Peng-Robinson

Need a custom calculation? Request a blueprint