Phase Envelope
Description
Generates a phase envelope (P-T diagram boundaries) for a natural gas mixture using Peng-Robinson EoS. Returns:
- Bubble curve (T, P arrays): boundary where liquid begins to vaporize
- Dew curve (T, P arrays): boundary where vapor begins to condense
- Special points: cricondenbar (max P), cricondentherm (max T), critical point
The array outputs (bubble_T, bubble_P, etc.) can be used directly for charting in Excel.
Spreadsheet Preview
21 rows x 6 columns
How to use this blueprint
- In Excel, go to the Petroleum Office ribbon tab and click Blueprint Manager
- Search for Phase Envelope
- Click on the blueprint to preview the spreadsheet template
- Click Insert to place it into your worksheet. Modify the input values to match your data.