This simulation shows the pressure–temperature (P–T) phase envelope of a methane/n-heptane mixture of fixed composition, calculated with the Peng–Robinson equation of state. Inside the envelope, vapor and liquid coexist. At temperatures between the critical point and the cricondentherm, lowering the pressure at constant temperature first condenses liquid: this is retrograde condensation. It happens in the pink region, which lies between the upper dew-point curve and the curve of maximum liquid volume.
For a mixture, the dew-point curve on a P–T diagram extends to temperatures above the mixture critical temperature, out to the cricondentherm, the highest temperature at which two phases coexist. At a temperature between the critical temperature and the cricondentherm, a vertical (constant-T) line crosses the dew curve twice. In an isothermal depressurization from single-phase vapor, liquid condenses at the upper dew point even though the pressure is decreasing (isothermal retrograde condensation). The liquid volume rises to a maximum and then falls back to zero at the lower dew point. Retrograde condensation occurs only between the upper dew point and the pressure of maximum liquid volume; the pink region is bounded by the upper dew-point curve and the curve of maximum liquid volume, which runs from the critical point to the cricondentherm.
Similarly, when the critical point lies below the cricondenbar (the highest pressure at which two phases coexist), heating a liquid at a pressure between the critical pressure and the cricondenbar crosses the bubble curve twice. Liquid vaporizes, passes through a minimum liquid volume, and then condenses as the temperature continues to rise (retrograde vaporization). The retrograde region for heating is bounded by the bubble curve and the curve of minimum liquid volume along isobars.
The P–x–y diagram at the current temperature explains this behavior. The vapor (dew) curve, y versus P, bends back toward lower methane fractions as it approaches the mixture critical point at the top of the loop. A vertical line at the feed composition z1 can therefore cross the dew curve twice.
Peng–Robinson equation of state:
Mixing rules (van der Waals one-fluid, with k12 = 0) and fugacity coefficient:
Flash calculation (Rachford–Rice, closed form for a binary): the vapor mole fraction V of the mixture is
The K values are updated from the fugacity coefficients until the fugacities of each component are equal in the two phases (successive substitution, finished with Newton's method near the critical point). Every value shown is calculated from the equation of state at the selected temperature and pressure; a dash is shown if the calculation does not converge.
Liquid volume fraction: both phases are at the same T and P, so the molar volume of each phase is ZRT/P and
The liquid is much denser than the vapor, so the liquid volume fraction is much smaller than the liquid mole fraction, except near the critical point, where the two densities approach each other. Quality lines are curves of constant liquid volume fraction; they all meet at the critical point.
Constants: methane Tc = 190.6 K, Pc = 46.0 bar, ω = 0.011, M = 16.04 g/mol; n-heptane Tc = 540.2 K, Pc = 27.4 bar, ω = 0.351, M = 100.20 g/mol.
Symbols
This simulation was created in the Department of Chemical and Biological Engineering at University of Colorado Boulder for LearnChemE.com by John L. Falconer using Claude AI. It was prepared with financial support from the National Science Foundation (DUE 2336987 and 2336988). Address any questions or comments to LearnChemE@gmail.com.