---
cid: po.bp.eos.phase.envelope
hub: eos
tags: [EoS, phase-envelope, phase-diagram, cricondenbar, cricondentherm, critical-point, bubble-point, dew-point, saturation, fluid-type, Peng-Robinson]
facets: { discipline: reservoir, property: phase-envelope, model: pr, method-type: mechanistic }
title: EoS Phase Envelope
summary: "Traces a fluid's bubble and dew curves with Peng-Robinson and marks the reservoir, the separator, the critical point and the cricondentherm."
slug: po.eos.phase.envelope
type: worksheet
---

# EoS Phase Envelope

## 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.

## Validity

Peng-Robinson with one lumped C7+ and the Nikos kij raised on one pair: the bubble point is tuned to the lab's, the rest of the envelope isn't measured. The dew side of a black oil's envelope, from about 420 °F at atmospheric pressure to the cricondentherm, and its critical point depend on the C7+'s critical properties and move a lot with its characterisation; split the C7+ with the C7+ Characterization and Lumping sheet before reading them as numbers. The single-point solvers can land on a different root than the traced curve; the sheet shows the curve's crossing beside each one and the saturation check says when they differ by more than 5 °F. Older versions of the bubble-temperature solver returned a bubble temperature far below the curve here (−194 °F), a liquid-liquid edge rather than a bubble point; the current one finds the bubble point. Above the critical pressure there is no dew point, and above the cricondenbar no bubble point; the check says so. The 25 points per curve resample the solver's trace; between them the chart is straight lines.

Named alternatives: the SRK envelope with the Elliot-Daubert kij; a CCE at reservoir temperature for the bubble point (the EoS Tuning to PVT Data sheet); the critical-point solver of a dedicated PVT package.

## References

- Ahmed, T. (2006). *Reservoir Engineering Handbook*, 3rd ed. Gulf Professional Publishing, Tables 3-1 to 3-6 (the Big Butte crude).
- Michelsen, M.L. (1980). "Calculation of Phase Envelopes and Critical Points for Multicomponent Mixtures." *Fluid Phase Equilibria* 4(1–2), 1–10.
- McCain, W.D. Jr. (1994). "Heavy Components Control Reservoir Fluid Behavior." *Journal of Petroleum Technology* 46(9), 746–750.
- Whitson, C.H. and Brulé, M.R. (2000). *Phase Behavior*. SPE Monograph 20, ch. 1 (phase diagrams of the five reservoir fluids) and ch. 4.
- Peng, D.-Y. and Robinson, D.B. (1976). "A New Two-Constant Equation of State." *Ind. Eng. Chem. Fundam.* 15(1), 59–64.
- Nikos, V., Kalogerakis, N., Mehrotra, A.K. and Svrcek, W.Y. (1986). "Phase Behavior of Systems Comprising North Sea Reservoir Fluids and Injection Gases." *JPT* 38(12), 1221–1233.

## Functions used

`PO.EoS.Envelope.PR`, `PO.EoS.Pb.PR`, `PO.EoS.Pdew.PR`, `PO.EoS.Tb.PR`, `PO.EoS.Tdew.PR`, `PO.EoS.Flash.PR`, `PO.EoS.Mixture.Mw`, `PO.EoS.Vm.PR`, `PO.EoS.Component.Props`, `PO.EoS.Pseudo.Props`, `PO.EoS.Char.Volshift`, `PO.EoS.Kij.Matrix`, `PO.PVT.API.FromSGoil`, `PO.FL.Type.Classify`

## Spreadsheet: EosPhaseEnvelope

|     | A                                                                                                                                                                                               | B                                                                                                                                                                                                                                                                                                        | C                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | D                                                                              | E                                                                                                                       | F                                                                                                                       | G                                                                      | H                                                                  | I                                                                  | J                                                                  | K                                                                   | L                                                                           |
|-----|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------|--------------------------------------------------------------------|--------------------------------------------------------------------|--------------------------------------------------------------------|---------------------------------------------------------------------|-----------------------------------------------------------------------------|
| 1   | EoS Phase Envelope                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                          | Petroleum Office                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 2   | Blue cells on yellow are inputs. Type the fluid, the reservoir and separator conditions and the saturation-point temperature and pressure; the envelope, its markers and the fluid type follow. |                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 3   | Fluid and Conditions                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 4   | C7+ molecular weight                                                                                                                                                                            | 196                                                                                                                                                                                                                                                                                                      | lb/lb-mol                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 5   | C7+ specific gravity at 60 °F                                                                                                                                                                   | 0.8494                                                                                                                                                                                                                                                                                                   | water = 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 6   | Methane–C7+ kij raise over Nikos (EoS Tuning)                                                                                                                                                   | 0.1                                                                                                                                                                                                                                                                                                      | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 7   | Reservoir temperature                                                                                                                                                                           | 247                                                                                                                                                                                                                                                                                                      | °F                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 8   | Reservoir pressure                                                                                                                                                                              | 4000                                                                                                                                                                                                                                                                                                     | psig                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 9   | First-stage separator temperature                                                                                                                                                               | 130                                                                                                                                                                                                                                                                                                      | °F                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 10  | First-stage separator pressure                                                                                                                                                                  | 28                                                                                                                                                                                                                                                                                                       | psig                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 11  | Single Saturation Points                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 12  | Temperature of the bubble and dew pressures                                                                                                                                                     | 200                                                                                                                                                                                                                                                                                                      | °F                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 13  | Pressure of the bubble and dew temperatures                                                                                                                                                     | 1000                                                                                                                                                                                                                                                                                                     | psig                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 16  | Property Table                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 17  | How to use it: the PVT report's composition and C7+ molecular weight and gravity, and the kij raise the EoS Tuning sheet matched to the lab's bubble point.                                     |                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 18  | Component                                                                                                                                                                                       | Tc (K)                                                                                                                                                                                                                                                                                                   | Pc (Pa)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ω (—)                                                                          | Mw (kg/mol)                                                                                                             | zi (frac)                                                                                                               | Shift c (m³/mol)                                                       |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 19  | carbon dioxide                                                                                                                                                                                  | =INDEX(PO.EoS.Component.Props(A19),1,1)                                                                                                                                                                                                                                                                  | =INDEX(PO.EoS.Component.Props(A19),1,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | =INDEX(PO.EoS.Component.Props(A19),1,3)                                        | =INDEX(PO.EoS.Component.Props(A19),1,4)                                                                                 | 0.0025                                                                                                                  | =PO.EoS.Char.Volshift(B19,C19,D19,"PR")                                |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 20  | nitrogen                                                                                                                                                                                        | =INDEX(PO.EoS.Component.Props(A20),1,1)                                                                                                                                                                                                                                                                  | =INDEX(PO.EoS.Component.Props(A20),1,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | =INDEX(PO.EoS.Component.Props(A20),1,3)                                        | =INDEX(PO.EoS.Component.Props(A20),1,4)                                                                                 | 0.0088                                                                                                                  | =PO.EoS.Char.Volshift(B20,C20,D20,"PR")                                |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 21  | methane                                                                                                                                                                                         | =INDEX(PO.EoS.Component.Props(A21),1,1)                                                                                                                                                                                                                                                                  | =INDEX(PO.EoS.Component.Props(A21),1,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | =INDEX(PO.EoS.Component.Props(A21),1,3)                                        | =INDEX(PO.EoS.Component.Props(A21),1,4)                                                                                 | 0.2394                                                                                                                  | =PO.EoS.Char.Volshift(B21,C21,D21,"PR")                                |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 22  | ethane                                                                                                                                                                                          | =INDEX(PO.EoS.Component.Props(A22),1,1)                                                                                                                                                                                                                                                                  | =INDEX(PO.EoS.Component.Props(A22),1,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | =INDEX(PO.EoS.Component.Props(A22),1,3)                                        | =INDEX(PO.EoS.Component.Props(A22),1,4)                                                                                 | 0.1167                                                                                                                  | =PO.EoS.Char.Volshift(B22,C22,D22,"PR")                                |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 23  | propane                                                                                                                                                                                         | =INDEX(PO.EoS.Component.Props(A23),1,1)                                                                                                                                                                                                                                                                  | =INDEX(PO.EoS.Component.Props(A23),1,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | =INDEX(PO.EoS.Component.Props(A23),1,3)                                        | =INDEX(PO.EoS.Component.Props(A23),1,4)                                                                                 | 0.0936                                                                                                                  | =PO.EoS.Char.Volshift(B23,C23,D23,"PR")                                |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 24  | i-butane                                                                                                                                                                                        | =INDEX(PO.EoS.Component.Props(A24),1,1)                                                                                                                                                                                                                                                                  | =INDEX(PO.EoS.Component.Props(A24),1,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | =INDEX(PO.EoS.Component.Props(A24),1,3)                                        | =INDEX(PO.EoS.Component.Props(A24),1,4)                                                                                 | 0.0139                                                                                                                  | =PO.EoS.Char.Volshift(B24,C24,D24,"PR")                                |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 25  | n-butane                                                                                                                                                                                        | =INDEX(PO.EoS.Component.Props(A25),1,1)                                                                                                                                                                                                                                                                  | =INDEX(PO.EoS.Component.Props(A25),1,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | =INDEX(PO.EoS.Component.Props(A25),1,3)                                        | =INDEX(PO.EoS.Component.Props(A25),1,4)                                                                                 | 0.0461                                                                                                                  | =PO.EoS.Char.Volshift(B25,C25,D25,"PR")                                |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 26  | i-pentane                                                                                                                                                                                       | =INDEX(PO.EoS.Component.Props(A26),1,1)                                                                                                                                                                                                                                                                  | =INDEX(PO.EoS.Component.Props(A26),1,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | =INDEX(PO.EoS.Component.Props(A26),1,3)                                        | =INDEX(PO.EoS.Component.Props(A26),1,4)                                                                                 | 0.015                                                                                                                   | =PO.EoS.Char.Volshift(B26,C26,D26,"PR")                                |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 27  | n-pentane                                                                                                                                                                                       | =INDEX(PO.EoS.Component.Props(A27),1,1)                                                                                                                                                                                                                                                                  | =INDEX(PO.EoS.Component.Props(A27),1,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | =INDEX(PO.EoS.Component.Props(A27),1,3)                                        | =INDEX(PO.EoS.Component.Props(A27),1,4)                                                                                 | 0.0248                                                                                                                  | =PO.EoS.Char.Volshift(B27,C27,D27,"PR")                                |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 28  | n-hexane                                                                                                                                                                                        | =INDEX(PO.EoS.Component.Props(A28),1,1)                                                                                                                                                                                                                                                                  | =INDEX(PO.EoS.Component.Props(A28),1,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | =INDEX(PO.EoS.Component.Props(A28),1,3)                                        | =INDEX(PO.EoS.Component.Props(A28),1,4)                                                                                 | 0.0326                                                                                                                  | =PO.EoS.Char.Volshift(B28,C28,D28,"PR")                                |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 29  | C7+                                                                                                                                                                                             | =INDEX(PO.EoS.Pseudo.Props(ENV_PlusMw,ENV_PlusSG),1,1)                                                                                                                                                                                                                                                   | =INDEX(PO.EoS.Pseudo.Props(ENV_PlusMw,ENV_PlusSG),1,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | =INDEX(PO.EoS.Pseudo.Props(ENV_PlusMw,ENV_PlusSG),1,3)                         | =INDEX(PO.EoS.Pseudo.Props(ENV_PlusMw,ENV_PlusSG),1,4)                                                                  | 0.4066                                                                                                                  | =PO.EoS.Vm.PR(ENV_Tsc,ENV_Psc,1,B29:E29,"L")-E29/(ENV_PlusSG*ENV_RhoW) |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 31  | Tuned kij: Nikos With the Methane–C7+ Pair Raised by the Knob                                                                                                                                   |                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 32  | kij (—)                                                                                                                                                                                         | =A19                                                                                                                                                                                                                                                                                                     | =A20                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | =A21                                                                           | =A22                                                                                                                    | =A23                                                                                                                    | =A24                                                                   | =A25                                                               | =A26                                                               | =A27                                                               | =A28                                                                | =A29                                                                        |
| 33  | =A19                                                                                                                                                                                            | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),1,1)                                                                                                                                                                                                                                        | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),1,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),1,3)              | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),1,4)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),1,5)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),1,6)      | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),1,7)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),1,8)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),1,9)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),1,10)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),1,11)          |
| 34  | =A20                                                                                                                                                                                            | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),2,1)                                                                                                                                                                                                                                        | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),2,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),2,3)              | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),2,4)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),2,5)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),2,6)      | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),2,7)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),2,8)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),2,9)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),2,10)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),2,11)          |
| 35  | =A21                                                                                                                                                                                            | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),3,1)                                                                                                                                                                                                                                        | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),3,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),3,3)              | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),3,4)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),3,5)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),3,6)      | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),3,7)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),3,8)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),3,9)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),3,10)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),3,11)+ENV_dKij |
| 36  | =A22                                                                                                                                                                                            | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),4,1)                                                                                                                                                                                                                                        | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),4,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),4,3)              | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),4,4)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),4,5)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),4,6)      | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),4,7)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),4,8)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),4,9)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),4,10)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),4,11)          |
| 37  | =A23                                                                                                                                                                                            | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),5,1)                                                                                                                                                                                                                                        | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),5,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),5,3)              | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),5,4)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),5,5)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),5,6)      | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),5,7)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),5,8)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),5,9)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),5,10)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),5,11)          |
| 38  | =A24                                                                                                                                                                                            | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),6,1)                                                                                                                                                                                                                                        | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),6,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),6,3)              | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),6,4)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),6,5)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),6,6)      | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),6,7)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),6,8)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),6,9)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),6,10)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),6,11)          |
| 39  | =A25                                                                                                                                                                                            | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),7,1)                                                                                                                                                                                                                                        | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),7,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),7,3)              | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),7,4)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),7,5)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),7,6)      | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),7,7)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),7,8)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),7,9)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),7,10)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),7,11)          |
| 40  | =A26                                                                                                                                                                                            | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),8,1)                                                                                                                                                                                                                                        | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),8,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),8,3)              | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),8,4)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),8,5)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),8,6)      | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),8,7)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),8,8)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),8,9)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),8,10)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),8,11)          |
| 41  | =A27                                                                                                                                                                                            | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),9,1)                                                                                                                                                                                                                                        | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),9,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),9,3)              | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),9,4)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),9,5)                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),9,6)      | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),9,7)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),9,8)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),9,9)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),9,10)  | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),9,11)          |
| 42  | =A28                                                                                                                                                                                            | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),10,1)                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),10,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),10,3)             | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),10,4)                                                      | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),10,5)                                                      | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),10,6)     | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),10,7) | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),10,8) | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),10,9) | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),10,10) | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),10,11)         |
| 43  | =A29                                                                                                                                                                                            | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),11,1)                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),11,2)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),11,3)+ENV_dKij    | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),11,4)                                                      | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),11,5)                                                      | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),11,6)     | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),11,7) | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),11,8) | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),11,9) | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),11,10) | =INDEX(PO.EoS.Kij.Matrix(ENV_Names,ENV_Props,"Nikos",ENV_TK),11,11)         |
| 45  | Saturation Points, Critical Point and Fluid Type                                                                                                                                                |                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 46  | Reservoir temperature, absolute                                                                                                                                                                 | =(ENV_TRes+ENV_R0)/ENV_RK                                                                                                                                                                                                                                                                                | K                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 47  | Saturation-point temperature, absolute                                                                                                                                                          | =(ENV_TSat+ENV_R0)/ENV_RK                                                                                                                                                                                                                                                                                | K                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 48  | Saturation-point pressure, absolute                                                                                                                                                             | =(ENV_PSat+ENV_Patm)*ENV_PaPsi                                                                                                                                                                                                                                                                           | Pa                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 49  | Bubble point at the reservoir temperature                                                                                                                                                       | =PO.EoS.Pb.PR(ENV_TK,ENV_Z,ENV_Props,ENV_Kij)/ENV_PaPsi-ENV_Patm                                                                                                                                                                                                                                         | psig                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 50  | Bubble-point pressure at TSat                                                                                                                                                                   | =PO.EoS.Pb.PR(ENV_TSatK,ENV_Z,ENV_Props,ENV_Kij)/ENV_PaPsi-ENV_Patm                                                                                                                                                                                                                                      | psig                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 51  | Dew-point pressure at TSat                                                                                                                                                                      | =PO.EoS.Pdew.PR(ENV_TSatK,ENV_Z,ENV_Props,ENV_Kij)/ENV_PaPsi                                                                                                                                                                                                                                             | psia                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 52  | Bubble temperature at PSat, on the curve                                                                                                                                                        | =IF(COUNT(E85:E109)=0,NA(),SUM(E85:E109))                                                                                                                                                                                                                                                                | °F                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 53  | Bubble temperature at PSat, by Tb.PR                                                                                                                                                            | =PO.EoS.Tb.PR(ENV_PSatPa,ENV_Z,ENV_Props,ENV_Kij)*ENV_RK-ENV_R0                                                                                                                                                                                                                                          | °F                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 54  | Dew temperature at PSat, on the curve                                                                                                                                                           | =IF(COUNT(F85:F109)=0,NA(),SUM(F85:F109))                                                                                                                                                                                                                                                                | °F                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 55  | Dew temperature at PSat, by Tdew.PR                                                                                                                                                             | =PO.EoS.Tdew.PR(ENV_PSatPa,ENV_Z,ENV_Props,ENV_Kij)*ENV_RK-ENV_R0                                                                                                                                                                                                                                        | °F                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 56  | Critical temperature                                                                                                                                                                            | =PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"critical_T",ENV_Kij,ENV_N)*ENV_RK-ENV_R0                                                                                                                                                                                                                            | °F                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 57  | Critical pressure                                                                                                                                                                               | =PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"critical_P",ENV_Kij,ENV_N)/ENV_PaPsi                                                                                                                                                                                                                                | psia                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 58  | Cricondenbar, the highest two-phase P                                                                                                                                                           | =PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"cricondenbar_P",ENV_Kij,ENV_N)/ENV_PaPsi                                                                                                                                                                                                                            | psia                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 59  | Temperature of the cricondenbar                                                                                                                                                                 | =PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"cricondenbar_T",ENV_Kij,ENV_N)*ENV_RK-ENV_R0                                                                                                                                                                                                                        | °F                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 60  | Cricondentherm, the highest two-phase T                                                                                                                                                         | =PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"cricondentherm_T",ENV_Kij,ENV_N)*ENV_RK-ENV_R0                                                                                                                                                                                                                      | °F                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 61  | Pressure of the cricondentherm                                                                                                                                                                  | =PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"cricondentherm_P",ENV_Kij,ENV_N)/ENV_PaPsi                                                                                                                                                                                                                          | psia                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 62  | Separator vapour fraction                                                                                                                                                                       | =PO.EoS.Flash.PR((ENV_TSep+ENV_R0)/ENV_RK,(ENV_PSep+ENV_Patm)*ENV_PaPsi,ENV_Z,ENV_Props,"V",ENV_Kij)                                                                                                                                                                                                     | frac                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 63  | Stock-tank flash vapour fraction, one stage                                                                                                                                                     | =PO.EoS.Flash.PR(ENV_Tsc,ENV_Psc,ENV_Z,ENV_Props,"V",ENV_Kij)                                                                                                                                                                                                                                            | frac                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 64  | Stock-tank oil density, one stage                                                                                                                                                               | =PO.EoS.Mixture.Mw(PO.EoS.Flash.PR(ENV_Tsc,ENV_Psc,ENV_Z,ENV_Props,"x",ENV_Kij),ENV_Props)/(PO.EoS.Vm.PR(ENV_Tsc,ENV_Psc,PO.EoS.Flash.PR(ENV_Tsc,ENV_Psc,ENV_Z,ENV_Props,"x",ENV_Kij),ENV_Props,"L",ENV_Kij)-SUMPRODUCT(PO.EoS.Flash.PR(ENV_Tsc,ENV_Psc,ENV_Z,ENV_Props,"x",ENV_Kij),ENV_Shift))/ENV_Gkg | g/cm³                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 65  | Stock-tank oil gravity, one stage                                                                                                                                                               | =PO.PVT.API.FromSGoil(ENV_RhoSt*ENV_Gkg/ENV_RhoW)                                                                                                                                                                                                                                                        | °API                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 66  | Gas-oil ratio, one stage                                                                                                                                                                        | =ENV_Vst/(1-ENV_Vst)*ENV_R*ENV_Tsc/ENV_Psc/(PO.EoS.Mixture.Mw(PO.EoS.Flash.PR(ENV_Tsc,ENV_Psc,ENV_Z,ENV_Props,"x",ENV_Kij),ENV_Props)/(ENV_RhoSt*ENV_Gkg))*ENV_FtBbl                                                                                                                                     | scf/STB                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 67  | C7+ mole fraction of the feed                                                                                                                                                                   | =INDEX(ENV_Z,ROWS(ENV_Z))                                                                                                                                                                                                                                                                                | frac                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 68  | Fluid type class (1 black oil to 5 dry gas)                                                                                                                                                     | =PO.FL.Type.Classify(ENV_GORSt,ENV_APISt,ENV_PlusZ)                                                                                                                                                                                                                                                      | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 69  | Fluid type, McCain's rules                                                                                                                                                                      | =""&CHOOSE(ENV_Class,"Black oil","Volatile oil","Gas condensate","Wet gas","Dry gas")                                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 70  | Saturation check                                                                                                                                                                                | =IF(NOT(ISNUMBER(ENV_TbCurve)),"WARN",IF(NOT(ISNUMBER(ENV_TdewCurve)),"WARN",IF(OR(NOT(ISNUMBER(ENV_Tb)),NOT(ISNUMBER(ENV_Tdew))),"WARN",IF(ABS(ENV_Tb-ENV_TbCurve)>ENV_TolT,"WARN",IF(ABS(ENV_Tdew-ENV_TdewCurve)>ENV_TolT,"WARN","PASS")))))                                                           | =IF(NOT(ISNUMBER(ENV_TbCurve)),"PSat is above the cricondenbar; the fluid has no bubble temperature there",IF(NOT(ISNUMBER(ENV_TdewCurve)),"PSat is above the dew curve, which ends at the critical pressure; the fluid has no dew temperature there",IF(OR(NOT(ISNUMBER(ENV_Tb)),NOT(ISNUMBER(ENV_Tdew))),"a single-point solver found no saturation temperature; read the curve's",IF(ABS(ENV_Tb-ENV_TbCurve)>ENV_TolT,"the single-point bubble temperature is "&TEXT(ENV_Tb-ENV_TbCurve,"0")&" °F off the bubble curve; read the curve's",IF(ABS(ENV_Tdew-ENV_TdewCurve)>ENV_TolT,"the single-point dew temperature is "&TEXT(ENV_Tdew-ENV_TdewCurve,"0")&" °F off the dew curve; read the curve's","the single-point bubble and dew temperatures sit on the envelope's curves"))))) |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 71  | Reservoir check                                                                                                                                                                                 | =IF(ENV_TRes>=ENV_Tc,"WARN",IF(ENV_PRes<ENV_PbRes,"WARN","PASS"))                                                                                                                                                                                                                                        | =IF(ENV_TRes>=ENV_Tc,"the reservoir is right of the critical point; the fluid is a gas there, not an oil",IF(ENV_PRes<ENV_PbRes,"the reservoir is below the bubble point; free gas is in the reservoir","the reservoir is above the bubble curve and left of the critical point, an undersaturated oil"))                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 72  | Separator check                                                                                                                                                                                 | =IF(OR(ENV_VSep<=0,ENV_VSep>=1),"WARN","PASS")                                                                                                                                                                                                                                                           | =IF(OR(ENV_VSep<=0,ENV_VSep>=1),"the separator is outside the envelope; the feed is single-phase there","the separator is inside the envelope, two-phase")                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 74  | The Points Marked on the Envelope                                                                                                                                                               |                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 75  | Point                                                                                                                                                                                           | T (°F)                                                                                                                                                                                                                                                                                                   | P (psia)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 76  | Reservoir                                                                                                                                                                                       | =ENV_TRes                                                                                                                                                                                                                                                                                                | =ENV_PRes+ENV_Patm                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 77  | First-stage separator                                                                                                                                                                           | =ENV_TSep                                                                                                                                                                                                                                                                                                | =ENV_PSep+ENV_Patm                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 78  | Critical point                                                                                                                                                                                  | =ENV_Tc                                                                                                                                                                                                                                                                                                  | =ENV_Pc                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 79  | Bubble point at the reservoir temperature                                                                                                                                                       | =ENV_TRes                                                                                                                                                                                                                                                                                                | =ENV_PbRes+ENV_Patm                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 81  | The Envelope: 25 Points per Curve                                                                                                                                                               |                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 82  | Nothing to edit: each point is one element of PO.EoS.Envelope.PR's curve, in °F and psia, so each keeps its format.                                                                             |                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 83  | Columns E and F interpolate the temperature where the rising bubble curve and the dew curve cross PSat, the curves' own saturation temperatures.                                                |                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 84  | Bubble T (°F)                                                                                                                                                                                   | Bubble P (psia)                                                                                                                                                                                                                                                                                          | Dew T (°F)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | Dew P (psia)                                                                   | Tb at PSat (°F)                                                                                                         | Tdew at PSat (°F)                                                                                                       |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 85  | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),1)*ENV_RK-ENV_R0                                                                                                            | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),1)/ENV_PaPsi                                                                                                                                                                                                                         | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),1)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),1)/ENV_PaPsi  | =""                                                                                                                     | =""                                                                                                                     |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 86  | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),2)*ENV_RK-ENV_R0                                                                                                            | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),2)/ENV_PaPsi                                                                                                                                                                                                                         | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),2)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),2)/ENV_PaPsi  | =IF(AND(B85<(ENV_PSat+ENV_Patm),B86>=(ENV_PSat+ENV_Patm)),A85+((ENV_PSat+ENV_Patm)-B85)*(A86-A85)/(B86-B85),"")         | =IF(AND(D85<(ENV_PSat+ENV_Patm),D86>=(ENV_PSat+ENV_Patm)),C85+((ENV_PSat+ENV_Patm)-D85)*(C86-C85)/(D86-D85),"")         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 87  | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),3)*ENV_RK-ENV_R0                                                                                                            | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),3)/ENV_PaPsi                                                                                                                                                                                                                         | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),3)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),3)/ENV_PaPsi  | =IF(AND(B86<(ENV_PSat+ENV_Patm),B87>=(ENV_PSat+ENV_Patm)),A86+((ENV_PSat+ENV_Patm)-B86)*(A87-A86)/(B87-B86),"")         | =IF(AND(D86<(ENV_PSat+ENV_Patm),D87>=(ENV_PSat+ENV_Patm)),C86+((ENV_PSat+ENV_Patm)-D86)*(C87-C86)/(D87-D86),"")         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 88  | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),4)*ENV_RK-ENV_R0                                                                                                            | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),4)/ENV_PaPsi                                                                                                                                                                                                                         | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),4)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),4)/ENV_PaPsi  | =IF(AND(B87<(ENV_PSat+ENV_Patm),B88>=(ENV_PSat+ENV_Patm)),A87+((ENV_PSat+ENV_Patm)-B87)*(A88-A87)/(B88-B87),"")         | =IF(AND(D87<(ENV_PSat+ENV_Patm),D88>=(ENV_PSat+ENV_Patm)),C87+((ENV_PSat+ENV_Patm)-D87)*(C88-C87)/(D88-D87),"")         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 89  | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),5)*ENV_RK-ENV_R0                                                                                                            | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),5)/ENV_PaPsi                                                                                                                                                                                                                         | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),5)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),5)/ENV_PaPsi  | =IF(AND(B88<(ENV_PSat+ENV_Patm),B89>=(ENV_PSat+ENV_Patm)),A88+((ENV_PSat+ENV_Patm)-B88)*(A89-A88)/(B89-B88),"")         | =IF(AND(D88<(ENV_PSat+ENV_Patm),D89>=(ENV_PSat+ENV_Patm)),C88+((ENV_PSat+ENV_Patm)-D88)*(C89-C88)/(D89-D88),"")         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 90  | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),6)*ENV_RK-ENV_R0                                                                                                            | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),6)/ENV_PaPsi                                                                                                                                                                                                                         | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),6)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),6)/ENV_PaPsi  | =IF(AND(B89<(ENV_PSat+ENV_Patm),B90>=(ENV_PSat+ENV_Patm)),A89+((ENV_PSat+ENV_Patm)-B89)*(A90-A89)/(B90-B89),"")         | =IF(AND(D89<(ENV_PSat+ENV_Patm),D90>=(ENV_PSat+ENV_Patm)),C89+((ENV_PSat+ENV_Patm)-D89)*(C90-C89)/(D90-D89),"")         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 91  | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),7)*ENV_RK-ENV_R0                                                                                                            | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),7)/ENV_PaPsi                                                                                                                                                                                                                         | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),7)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),7)/ENV_PaPsi  | =IF(AND(B90<(ENV_PSat+ENV_Patm),B91>=(ENV_PSat+ENV_Patm)),A90+((ENV_PSat+ENV_Patm)-B90)*(A91-A90)/(B91-B90),"")         | =IF(AND(D90<(ENV_PSat+ENV_Patm),D91>=(ENV_PSat+ENV_Patm)),C90+((ENV_PSat+ENV_Patm)-D90)*(C91-C90)/(D91-D90),"")         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 92  | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),8)*ENV_RK-ENV_R0                                                                                                            | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),8)/ENV_PaPsi                                                                                                                                                                                                                         | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),8)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),8)/ENV_PaPsi  | =IF(AND(B91<(ENV_PSat+ENV_Patm),B92>=(ENV_PSat+ENV_Patm)),A91+((ENV_PSat+ENV_Patm)-B91)*(A92-A91)/(B92-B91),"")         | =IF(AND(D91<(ENV_PSat+ENV_Patm),D92>=(ENV_PSat+ENV_Patm)),C91+((ENV_PSat+ENV_Patm)-D91)*(C92-C91)/(D92-D91),"")         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 93  | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),9)*ENV_RK-ENV_R0                                                                                                            | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),9)/ENV_PaPsi                                                                                                                                                                                                                         | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),9)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),9)/ENV_PaPsi  | =IF(AND(B92<(ENV_PSat+ENV_Patm),B93>=(ENV_PSat+ENV_Patm)),A92+((ENV_PSat+ENV_Patm)-B92)*(A93-A92)/(B93-B92),"")         | =IF(AND(D92<(ENV_PSat+ENV_Patm),D93>=(ENV_PSat+ENV_Patm)),C92+((ENV_PSat+ENV_Patm)-D92)*(C93-C92)/(D93-D92),"")         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 94  | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),10)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),10)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),10)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),10)/ENV_PaPsi | =IF(AND(B93<(ENV_PSat+ENV_Patm),B94>=(ENV_PSat+ENV_Patm)),A93+((ENV_PSat+ENV_Patm)-B93)*(A94-A93)/(B94-B93),"")         | =IF(AND(D93<(ENV_PSat+ENV_Patm),D94>=(ENV_PSat+ENV_Patm)),C93+((ENV_PSat+ENV_Patm)-D93)*(C94-C93)/(D94-D93),"")         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 95  | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),11)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),11)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),11)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),11)/ENV_PaPsi | =IF(AND(B94<(ENV_PSat+ENV_Patm),B95>=(ENV_PSat+ENV_Patm)),A94+((ENV_PSat+ENV_Patm)-B94)*(A95-A94)/(B95-B94),"")         | =IF(AND(D94<(ENV_PSat+ENV_Patm),D95>=(ENV_PSat+ENV_Patm)),C94+((ENV_PSat+ENV_Patm)-D94)*(C95-C94)/(D95-D94),"")         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 96  | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),12)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),12)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),12)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),12)/ENV_PaPsi | =IF(AND(B95<(ENV_PSat+ENV_Patm),B96>=(ENV_PSat+ENV_Patm)),A95+((ENV_PSat+ENV_Patm)-B95)*(A96-A95)/(B96-B95),"")         | =IF(AND(D95<(ENV_PSat+ENV_Patm),D96>=(ENV_PSat+ENV_Patm)),C95+((ENV_PSat+ENV_Patm)-D95)*(C96-C95)/(D96-D95),"")         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 97  | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),13)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),13)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),13)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),13)/ENV_PaPsi | =IF(AND(B96<(ENV_PSat+ENV_Patm),B97>=(ENV_PSat+ENV_Patm)),A96+((ENV_PSat+ENV_Patm)-B96)*(A97-A96)/(B97-B96),"")         | =IF(AND(D96<(ENV_PSat+ENV_Patm),D97>=(ENV_PSat+ENV_Patm)),C96+((ENV_PSat+ENV_Patm)-D96)*(C97-C96)/(D97-D96),"")         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 98  | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),14)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),14)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),14)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),14)/ENV_PaPsi | =IF(AND(B97<(ENV_PSat+ENV_Patm),B98>=(ENV_PSat+ENV_Patm)),A97+((ENV_PSat+ENV_Patm)-B97)*(A98-A97)/(B98-B97),"")         | =IF(AND(D97<(ENV_PSat+ENV_Patm),D98>=(ENV_PSat+ENV_Patm)),C97+((ENV_PSat+ENV_Patm)-D97)*(C98-C97)/(D98-D97),"")         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 99  | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),15)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),15)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),15)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),15)/ENV_PaPsi | =IF(AND(B98<(ENV_PSat+ENV_Patm),B99>=(ENV_PSat+ENV_Patm)),A98+((ENV_PSat+ENV_Patm)-B98)*(A99-A98)/(B99-B98),"")         | =IF(AND(D98<(ENV_PSat+ENV_Patm),D99>=(ENV_PSat+ENV_Patm)),C98+((ENV_PSat+ENV_Patm)-D98)*(C99-C98)/(D99-D98),"")         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 100 | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),16)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),16)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),16)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),16)/ENV_PaPsi | =IF(AND(B99<(ENV_PSat+ENV_Patm),B100>=(ENV_PSat+ENV_Patm)),A99+((ENV_PSat+ENV_Patm)-B99)*(A100-A99)/(B100-B99),"")      | =IF(AND(D99<(ENV_PSat+ENV_Patm),D100>=(ENV_PSat+ENV_Patm)),C99+((ENV_PSat+ENV_Patm)-D99)*(C100-C99)/(D100-D99),"")      |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 101 | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),17)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),17)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),17)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),17)/ENV_PaPsi | =IF(AND(B100<(ENV_PSat+ENV_Patm),B101>=(ENV_PSat+ENV_Patm)),A100+((ENV_PSat+ENV_Patm)-B100)*(A101-A100)/(B101-B100),"") | =IF(AND(D100<(ENV_PSat+ENV_Patm),D101>=(ENV_PSat+ENV_Patm)),C100+((ENV_PSat+ENV_Patm)-D100)*(C101-C100)/(D101-D100),"") |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 102 | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),18)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),18)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),18)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),18)/ENV_PaPsi | =IF(AND(B101<(ENV_PSat+ENV_Patm),B102>=(ENV_PSat+ENV_Patm)),A101+((ENV_PSat+ENV_Patm)-B101)*(A102-A101)/(B102-B101),"") | =IF(AND(D101<(ENV_PSat+ENV_Patm),D102>=(ENV_PSat+ENV_Patm)),C101+((ENV_PSat+ENV_Patm)-D101)*(C102-C101)/(D102-D101),"") |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 103 | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),19)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),19)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),19)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),19)/ENV_PaPsi | =IF(AND(B102<(ENV_PSat+ENV_Patm),B103>=(ENV_PSat+ENV_Patm)),A102+((ENV_PSat+ENV_Patm)-B102)*(A103-A102)/(B103-B102),"") | =IF(AND(D102<(ENV_PSat+ENV_Patm),D103>=(ENV_PSat+ENV_Patm)),C102+((ENV_PSat+ENV_Patm)-D102)*(C103-C102)/(D103-D102),"") |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 104 | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),20)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),20)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),20)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),20)/ENV_PaPsi | =IF(AND(B103<(ENV_PSat+ENV_Patm),B104>=(ENV_PSat+ENV_Patm)),A103+((ENV_PSat+ENV_Patm)-B103)*(A104-A103)/(B104-B103),"") | =IF(AND(D103<(ENV_PSat+ENV_Patm),D104>=(ENV_PSat+ENV_Patm)),C103+((ENV_PSat+ENV_Patm)-D103)*(C104-C103)/(D104-D103),"") |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 105 | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),21)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),21)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),21)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),21)/ENV_PaPsi | =IF(AND(B104<(ENV_PSat+ENV_Patm),B105>=(ENV_PSat+ENV_Patm)),A104+((ENV_PSat+ENV_Patm)-B104)*(A105-A104)/(B105-B104),"") | =IF(AND(D104<(ENV_PSat+ENV_Patm),D105>=(ENV_PSat+ENV_Patm)),C104+((ENV_PSat+ENV_Patm)-D104)*(C105-C104)/(D105-D104),"") |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 106 | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),22)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),22)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),22)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),22)/ENV_PaPsi | =IF(AND(B105<(ENV_PSat+ENV_Patm),B106>=(ENV_PSat+ENV_Patm)),A105+((ENV_PSat+ENV_Patm)-B105)*(A106-A105)/(B106-B105),"") | =IF(AND(D105<(ENV_PSat+ENV_Patm),D106>=(ENV_PSat+ENV_Patm)),C105+((ENV_PSat+ENV_Patm)-D105)*(C106-C105)/(D106-D105),"") |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 107 | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),23)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),23)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),23)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),23)/ENV_PaPsi | =IF(AND(B106<(ENV_PSat+ENV_Patm),B107>=(ENV_PSat+ENV_Patm)),A106+((ENV_PSat+ENV_Patm)-B106)*(A107-A106)/(B107-B106),"") | =IF(AND(D106<(ENV_PSat+ENV_Patm),D107>=(ENV_PSat+ENV_Patm)),C106+((ENV_PSat+ENV_Patm)-D106)*(C107-C106)/(D107-D106),"") |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 108 | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),24)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),24)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),24)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),24)/ENV_PaPsi | =IF(AND(B107<(ENV_PSat+ENV_Patm),B108>=(ENV_PSat+ENV_Patm)),A107+((ENV_PSat+ENV_Patm)-B107)*(A108-A107)/(B108-B107),"") | =IF(AND(D107<(ENV_PSat+ENV_Patm),D108>=(ENV_PSat+ENV_Patm)),C107+((ENV_PSat+ENV_Patm)-D107)*(C108-C107)/(D108-D107),"") |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 109 | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_T",ENV_Kij,ENV_N),25)*ENV_RK-ENV_R0                                                                                                           | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"bubble_P",ENV_Kij,ENV_N),25)/ENV_PaPsi                                                                                                                                                                                                                        | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_T",ENV_Kij,ENV_N),25)*ENV_RK-ENV_R0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | =INDEX(PO.EoS.Envelope.PR(ENV_Z,ENV_Props,"dew_P",ENV_Kij,ENV_N),25)/ENV_PaPsi | =IF(AND(B108<(ENV_PSat+ENV_Patm),B109>=(ENV_PSat+ENV_Patm)),A108+((ENV_PSat+ENV_Patm)-B108)*(A109-A108)/(B109-B108),"") | =IF(AND(D108<(ENV_PSat+ENV_Patm),D109>=(ENV_PSat+ENV_Patm)),C108+((ENV_PSat+ENV_Patm)-D108)*(C109-C108)/(D109-D108),"") |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 111 | Calculation Constants                                                                                                                                                                           |                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 112 | Rankine at 0 °F                                                                                                                                                                                 | 459.67                                                                                                                                                                                                                                                                                                   | °R                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 113 | Rankine in a kelvin                                                                                                                                                                             | 1.8                                                                                                                                                                                                                                                                                                      | °R/K                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 114 | Pascals in a psi                                                                                                                                                                                | 6894.757                                                                                                                                                                                                                                                                                                 | Pa/psi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 115 | Atmospheric pressure, psig to psia                                                                                                                                                              | 14.7                                                                                                                                                                                                                                                                                                     | psi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 116 | Temperature of a specific gravity, 60 °F                                                                                                                                                        | 288.705556                                                                                                                                                                                                                                                                                               | K                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 117 | Pressure of a specific gravity, 1 atm                                                                                                                                                           | 101325                                                                                                                                                                                                                                                                                                   | Pa                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 118 | Density of water at 60 °F                                                                                                                                                                       | 999.016                                                                                                                                                                                                                                                                                                  | kg/m³                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 119 | Grams in a kilogram, and kg/m³ in a g/cm³                                                                                                                                                       | 1000                                                                                                                                                                                                                                                                                                     | g/kg                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 120 | Gas constant                                                                                                                                                                                    | 8.314462618                                                                                                                                                                                                                                                                                              | J/(mol·K)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 121 | Cubic feet in a barrel                                                                                                                                                                          | 5.614583                                                                                                                                                                                                                                                                                                 | ft³/bbl                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 122 | Points per envelope curve (the table rows)                                                                                                                                                      | 25                                                                                                                                                                                                                                                                                                       | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |
| 123 | Largest saturation-temperature gap accepted                                                                                                                                                     | 5                                                                                                                                                                                                                                                                                                        | °F                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                |                                                                                                                         |                                                                                                                         |                                                                        |                                                                    |                                                                    |                                                                    |                                                                     |                                                                             |

## Lambdas

| Name | RefersTo | Comment |
|------|----------|---------|
| 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. |

## Names

| Name | RefersTo | Comment |
|------|----------|---------|
| 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 |

---

## Related Blueprints
- [EoS PT Flash](/blueprint/po.eos.flash.calculation.md)
- [EoS Fluid Model Setup](/blueprint/po.eos.fluid.model.setup.md)
- [Binary Interaction Parameters](/blueprint/po.eos.kij.estimation.md)
- [EoS Separator Test](/blueprint/po.eos.separator.test.md)
- [EoS Tuning to PVT Data](/blueprint/po.eos.tuning.setup.md)
- [C7+ Characterization and Lumping](/blueprint/po.eos.c7plus.characterization.md)

