Description
How does a reservoir fluid split into liquid and vapour at a given temperature and pressure? You enter the flash temperature and pressure, the C7+ molecular weight and gravity, and the tuning raise on the methane–C7+ interaction parameter. You read off the vapour fraction and the phase state, each phase's composition, K-values, molar mass and shifted density, the bubble point at the flash temperature, the K-values of four components against pressure, and the fluid's type by McCain's rules.
Parameters:
- Conditions: the flash temperature
EFL_T(°F) and pressureEFL_P(psig), and the K-value curve's pressure stepEFL_dP - Fluid: the C7+ molecular weight
EFL_PlusMwand specific gravityEFL_PlusSG, and the methane–C7+ kij raiseEFL_dKijover the Nikos matrix (the EoS Tuning to PVT Data sheet's knob)
How to use it: Type the PVT report's composition and C7+ into the property table, the kij raise the EoS Tuning to PVT Data sheet matched to its bubble point, and the temperature and pressure to flash at. Read the phase-state check first: a vapour fraction inside 0 to 1 is two-phase, outside it the fluid is a single phase and the compositions are the feed's. The balance check confirms that every component balances and that the K-values agree with the two phases' fugacities. The log chart draws the K-values of methane, propane, n-hexane and the C7+ against pressure at the flash temperature; they close on 1 towards the bubble point.
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, Peneloux shifts from the Peng-Robinson volume-shift correlation, and the C7+'s shift fitted to its gravity. The kij are the Nikos matrix at the flash temperature with the methane–C7+ pair raised. The inputs are converted to kelvin and pascals in named cells.
- Flash: the Peng-Robinson flash returns V, L, x, y and K, one element per cell. V is the Rachford-Rice root of Σ zi(Ki − 1)/(1 + V(Ki − 1)) = 0; the sheet evaluates that sum at V as its residual.
- K from fugacities: the ratio of each component's liquid and vapour fugacity coefficients, recomputed from the flash's x and y; at equilibrium it equals y/x.
- Bubble point: the Peng-Robinson bubble point of the feed at the flash temperature, with the tuned kij.
- Phases: each phase's molar mass from its composition; density Mw/(Vm − Σ xi·ci), with Vm the Peng-Robinson molar volume of that phase.
- Fluid type: a flash of the feed at 60 °F and 1 atm gives the stock-tank oil, whose shifted density gives the API gravity; the vapour at the ideal gas volume gives the GOR; McCain's classification from GOR, API and C7+ gives the type.
Example: The default fluid is the EoS family's reference fluid, the Big Butte crude of Ahmed's Reservoir Engineering Handbook (Table 3-1), flashed at its reservoir temperature of 247 °F and 1,000 psig, below its bubble point. The kij are Nikos's with the methane–C7+ pair raised by 0.10, which puts the bubble point on the lab's 1,936 psig.
At 247 °F and 1,000 psig, 945 psi below the bubble point, 21.8 mol % of the Big Butte crude is vapour. The Rachford-Rice residual at that root is 1E-11, every component balances to 1E-17, and the K-values from the fugacities equal y/x. Methane's K is 5.21 and the C7+'s 0.0026, so the vapour is 65 % methane and the liquid 52 % C7+. The liquid's molar mass is 122 lb/lb-mol and its shifted density 0.692 g/cm³; the vapour's are 24.3 and 0.058. On the chart methane's K falls from 23.6 at 200 psig to 3.5 at 1,600 psig, towards 1 at the bubble point. Flashed to stock-tank conditions in one stage the fluid gives 639 scf/STB and 39.8 °API with 40.66 mol % C7+: a black oil.
Functions used
PO.EoS.Component.Props(name)
Returns component properties (Tc, Pc, omega, Mw) as a row array from the database. Spills horizontally into 4 cells.
PO.EoS.Pseudo.Props(Mw, SG, [method])
Returns pseudo-component Tc [K], Pc [Pa], omega and Mw [kg/mol] of a petroleum cut from its Mw [g/mol] and specific gravity by Riazi-Daubert (1987), Kesler-Lee (1976) or Twu (1984), as a row of 4 cells in the layout of PO.EoS.Component.Props.
PO.EoS.Vm.PR(T, P, zi, props, phase, kij)
Calculates molar volume using Peng-Robinson EoS, [m3/mol].
PO.EoS.Kij.Matrix(names, props, method, [T])
Generates the N×N binary interaction parameter matrix using correlation. Methods: 'Nikos' (PR, T-dependent), 'Elliot-Daubert' (SRK), 'Chueh-Prausnitz'. Returns N rows by N columns, both in the order of names: symmetric, with zeros on the diagonal.
PO.EoS.Flash.PR(T, P, zi, props, output, kij)
PT Flash calculation using Peng-Robinson EoS. Returns V (vapor fraction), L (liquid fraction), x (liquid composition), y (vapor composition), or K (K-values) by output; x, y and K are each a column, one value per component in the order of zi and props.
PO.EoS.Pb.PR(T, zi, props, kij)
Calculates bubble point pressure using Peng-Robinson EoS, [Pa].
PO.EoS.Mixture.Mw(zi, props)
Calculates mixture molecular weight from mole fractions and property table, [kg/mol].
PO.PVT.API.FromSGoil(SG_oil)
Converts oil specific gravity to API gravity, [dAPI].
PO.EoS.Ki.PR(T, P, x, y, props, kij)
Calculates K-values (equilibrium ratios Ki = φL/φV) using Peng-Robinson EoS, [dimensionless]. Returns a column, one value per component in the order of x, y and props.
Names (57)
| Name | Refers to | Comment |
|---|---|---|
PO.EoS.Char.VolshiftLAMBDA |
=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.ClassifyLAMBDA |
=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. |
EFL_T |
$B$4 |
Flash temperature, °F |
EFL_P |
$B$5 |
Flash pressure, psig |
EFL_PlusMw |
$B$6 |
C7+ molecular weight, lb/lb-mol |
EFL_PlusSG |
$B$7 |
C7+ specific gravity at 60 °F, water = 1 |
EFL_dKij |
$B$8 |
Methane–C7+ kij raise over Nikos (EoS Tuning) |
EFL_dP |
$B$9 |
K-value curve pressure step, psi |
EFL_Inputs |
$B$4:$B$9 |
The flash temperature and pressure, the C7+ molecular weight and gravity, the methane–C7+ kij raise and the K-value curve's pressure step |
EFL_Fluid |
$A$14:$G$24 |
Each component with its critical temperature, pressure and acentric factor, molar mass, mole fraction and Peneloux volume shift |
EFL_Names |
$A$14:$A$24 |
Component names |
EFL_Props |
$B$14:$E$24 |
Property table: Tc (K), Pc (Pa), omega, Mw (kg/mol) |
EFL_Z |
$F$14:$F$24 |
Mole fractions |
EFL_Shift |
$G$14:$G$24 |
Peneloux volume shift per component, m3/mol |
EFL_Kij |
$B$28:$L$38 |
Nikos kij for Peng-Robinson with the methane-C7+ pair raised by the tuning knob |
EFL_TK |
$B$41 |
Flash temperature, absolute, K |
EFL_Pa |
$B$42 |
Flash pressure, absolute, Pa |
EFL_V |
$B$43 |
Vapour fraction V (Rachford-Rice root), frac |
EFL_L |
$B$44 |
Liquid fraction L, frac |
EFL_State |
$B$45 |
Phase state |
EFL_RR |
$B$46 |
Rachford-Rice residual at V |
EFL_Pb |
$B$47 |
Bubble point at the flash temperature, psig |
EFL_MwL |
$B$48 |
Liquid molar mass, lb/lb-mol |
EFL_MwV |
$B$49 |
Vapour molar mass, lb/lb-mol |
EFL_RhoL |
$B$50 |
Liquid density, shifted, g/cm³ |
EFL_RhoV |
$B$51 |
Vapour density, shifted, g/cm³ |
EFL_MB |
$B$52 |
Largest mole-balance error |
EFL_KGap |
$B$53 |
Largest K gap, flash against Ki.PR |
EFL_Vst |
$B$54 |
Stock-tank flash vapour fraction, one stage, frac |
EFL_RhoSt |
$B$55 |
Stock-tank oil density, one stage, g/cm³ |
EFL_APISt |
$B$56 |
Stock-tank oil gravity, one stage, °API |
EFL_GORSt |
$B$57 |
Gas-oil ratio, one stage, scf/STB |
EFL_PlusZ |
$B$58 |
C7+ mole fraction of the feed, frac |
EFL_Class |
$B$59 |
Fluid type class (1 black oil to 5 dry gas) |
EFL_Type |
$B$60 |
Fluid type, McCain's rules |
EFL_Check |
$B$61 |
Phase-state check verdict |
EFL_CheckNote |
$C$61 |
Phase-state check comment |
EFL_BalanceCheck |
$B$62 |
Balance check verdict |
EFL_BalanceCheckNote |
$C$62 |
Balance check comment |
EFL_Results |
$B$41:$B$62 |
The absolute temperature and pressure, the vapour and liquid fractions, the phase state and Rachford-Rice residual, the bubble point, each phase's molar mass and density, the balance and K-value gaps, the fluid type and the two checks |
EFL_Phases |
$A$67:$G$77 |
Each component's feed, liquid and vapour mole fractions, its K-value from the flash and from the fugacities, and its mole balance |
EFL_X |
$C$67:$C$77 |
Liquid composition x |
EFL_Y |
$D$67:$D$77 |
Vapour composition y |
EFL_K |
$E$67:$E$77 |
K-values from the flash, y/x |
EFL_Curve |
$A$82:$E$89 |
Pressure and the K-values of methane, propane, n-hexane and the C7+ at it, at the flash temperature |
EFL_R0 |
$B$92 |
Rankine at 0 °F, °R |
EFL_RK |
$B$93 |
Rankine in a kelvin, °R/K |
EFL_PaPsi |
$B$94 |
Pascals in a psi, Pa/psi |
EFL_Patm |
$B$95 |
Atmospheric pressure, psig to psia, psi |
EFL_Tsc |
$B$96 |
Temperature of a specific gravity, 60 °F, K |
EFL_Psc |
$B$97 |
Pressure of a specific gravity, 1 atm, Pa |
EFL_RhoW |
$B$98 |
Density of water at 60 °F, kg/m³ |
EFL_Gkg |
$B$99 |
Grams in a kilogram, and kg/m³ in a g/cm³, g/kg |
EFL_R |
$B$100 |
Gas constant, J/(mol·K) |
EFL_FtBbl |
$B$101 |
Cubic feet in a barrel, ft³/bbl |
EFL_TolRR |
$B$102 |
Largest residual or mole balance accepted |
EFL_TolK |
$B$103 |
Largest K-value gap accepted, % |
Details
| Inserts | 103 rows × 12 columns |
| Category | Equation of State |
| For agents and tools | Descriptor (.md) |
Related Blueprints
Binary Interaction Parameters
Estimates binary interaction parameters for PR and SRK and shows how they shift the bubble point and flash against no kij.
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.
EoS Separator Test
Simulates a two-stage separator test with Peng-Robinson and compares the GOR, Bo and stock-tank API by stage with the lab's.
EoS Tuning to PVT Data
Tunes a Peng-Robinson model to the lab bubble point, density and CCE data and reports how well each observation is matched.
EoS Fluid Model Setup
Sets up a Peng-Robinson fluid with component critical properties, a C7+ pseudo-component and volume shifts for the other EoS sheets.
C7+ Characterization and Lumping
Splits a C7+ fraction into single carbon numbers with a gamma distribution and lumps them back into a few pseudo-components for an EoS.
Need a custom calculation? Request a Blueprint

