PO.EoS.Envelope.PR Function
Description:
Phase envelope using Peng-Robinson EoS. Output: 'bubble_T', 'bubble_P', 'dew_T', 'dew_P' (arrays), or 'cricondenbar_P/T', 'cricondentherm_P/T', 'critical_P/T' (scalars).
Excel Function Syntax:
=PO.EoS.Envelope.PR(zi, props, output, kij, nPoints)
Parameters:
| Parameter | Description |
|---|---|
| zi | Mole fractions (N×1 range, must sum to 1.0). |
| props | Component properties (N×4 range: Tc, Pc, omega, Mw). |
| output | 'bubble_T', 'bubble_P', 'dew_T', 'dew_P', 'cricondenbar_P', 'cricondenbar_T', 'cricondentherm_P', 'cricondentherm_T', 'critical_P', 'critical_T'. |
| kij | Binary interaction parameter matrix (N×N). Omit in formula for default zeros. |
| nPoints | Number of points per curve. |
Used in Blueprints
Phase Envelope
Generates a phase envelope (P-T diagram boundaries) for a natural gas mixture using Peng-Robinson EoS. Returns: