Phase Equilibrium Simulator

Simulate phase equilibria and generate phase diagrams.

VLE
LLE
SLE
Ternary
Properties

Vapor-Liquid Equilibrium (VLE)

°C
System temperature
kPa
System pressure
0 1
Mole fraction of component 1 in liquid phase

Thermodynamic Parameters

0 1
-2 2
-2 2

Liquid-Liquid Equilibrium (LLE)

°C
System temperature
kPa
System pressure

Interaction Parameters

0 1
-2 2
-2 2

Solid-Liquid Equilibrium (SLE)

kPa
System pressure
°C
Melting temperature of component 1
°C
Melting temperature of component 2

Thermodynamic Properties

kJ/mol
Enthalpy of fusion for component 1
kJ/mol
Enthalpy of fusion for component 2
0.5 2
0.5 2

Ternary System Analysis

°C
System temperature
kPa
System pressure

Composition Points

0 1
0 1
Automatically calculated

Compound Properties

°C
Temperature for property calculation
kPa
Pressure for property calculation

Custom Parameters

°C
Critical temperature
bar
Critical pressure

Compound Database

Water
H2O
Tb = 100°C
Ethanol
C2H5OH
Tb = 78.3°C
Methanol
CH3OH
Tb = 64.7°C
Benzene
C6H6
Tb = 80.1°C

Thermodynamic Models

NRTL

Non-Random Two Liquid model for VLE and LLE

UNIQUAC

Universal Quasi-Chemical model

UNIFAC

Group contribution method

Model Selection Guide:

  • NRTL: Recommended for polar and non-polar mixtures
  • UNIQUAC: Good for complex molecular structures
  • UNIFAC: Use when experimental data is limited
  • Ideal: For similar molecules and low pressures

Understanding Phase Equilibrium

Phase equilibrium describes the state where multiple phases (solid, liquid, gas) coexist in thermodynamic equilibrium. The distribution of components between phases is determined by temperature, pressure, and composition.

Key Insight: At equilibrium, the chemical potential of each component is equal in all phases. This fundamental principle governs all phase equilibrium calculations.

Types of Phase Equilibrium

VLE describes the distribution of components between vapor and liquid phases. Key concepts include:

  • Bubble Point: Temperature/pressure where the first bubble of vapor forms
  • Dew Point: Temperature/pressure where the first drop of liquid condenses
  • Relative Volatility: Ratio of vapor-liquid distribution coefficients (K-values)
  • Azeotropes: Mixtures with constant boiling point composition

Applications: Distillation, evaporation, condensation, absorption

Key Equations: Raoult's Law, Antoine Equation, Wilson, NRTL, UNIQUAC models

LLE describes the distribution of components between two immiscible liquid phases. Key concepts include:

  • Binodal Curve: Boundary between single-phase and two-phase regions
  • Tie Lines: Connect equilibrium compositions in the two phases
  • Critical Point: Temperature where the two phases become identical
  • Distribution Coefficient: Ratio of component concentrations in the two phases

Applications: Liquid-liquid extraction, solvent recovery, phase separation

Key Equations: NRTL, UNIQUAC, UNIFAC models for activity coefficients

SLE describes the equilibrium between solid and liquid phases. Key concepts include:

  • Melting Point Depression: Lowering of melting point by impurities
  • Eutectic Point: Composition with lowest melting temperature
  • Solid Solution: Homogeneous solid mixture of components
  • Phase Diagrams: Temperature-composition diagrams showing solid-liquid regions

Applications: Crystallization, freeze concentration, alloy formation, pharmaceutical purification

Key Equations: Schröder-van Laar equation, regular solution theory

Flash calculations determine the phase distribution when a mixture is partially vaporized or condensed. Key concepts include:

  • Vapor Fraction: Fraction of feed that becomes vapor (0 to 1)
  • K-values: Equilibrium ratios (yi/xi)
  • Rachford-Rice Equation: Fundamental equation for flash calculations
  • Phase Envelope: Region where two phases coexist

Applications: Separator design, process simulation, reservoir engineering

Key Equations: Rachford-Rice equation, successive substitution, Newton-Raphson method

Thermodynamic Models

Model Type Applications Advantages Limitations
Ideal Solution Simple Similar molecules, low pressure Simple calculation, no parameters needed Not accurate for real mixtures
Raoult's Law Simple Ideal mixtures, vapor pressure data available Simple, good for similar components Poor for non-ideal systems
Wilson Equation Local Composition Polar mixtures, miscible liquids Good for polar systems, binary parameters only Cannot predict LLE
NRTL Local Composition Polar and non-polar mixtures, LLE Can predict LLE, widely used Three parameters per binary
UNIQUAC Local Composition Complex mixtures, polymers Theoretical basis, group contribution possible Complex, requires molecular parameters
UNIFAC Group Contribution Mixtures with limited experimental data Predictive, no experimental data needed Less accurate than correlative models
Peng-Robinson Equation of State High pressure, hydrocarbons Good for vapor phases, high pressure Less accurate for polar compounds
Soave-Redlich-Kwong Equation of State Petroleum systems, natural gas Good for hydrocarbons, widely used Limited for polar compounds

Phase Equilibrium FAQs

Vapor-Liquid Equilibrium (VLE) describes the distribution of components between vapor and liquid phases at equilibrium. It is governed by the equality of chemical potentials in both phases.

Liquid-Liquid Equilibrium (LLE) describes the distribution of components between two immiscible liquid phases. This occurs when components have limited mutual solubility.

Key differences:

  • VLE involves phase change (vaporization/condensation)
  • LLE occurs between two liquid phases without phase change
  • VLE is temperature and pressure sensitive
  • LLE is more sensitive to composition and temperature
  • VLE calculations use vapor pressure data
  • LLE calculations use activity coefficient models

NRTL (Non-Random Two-Liquid) and UNIQUAC (UNIversal QUAsiChemical) are both local composition models used for non-ideal mixtures.

Use NRTL when:

  • Dealing with polar and non-polar mixtures
  • Predicting liquid-liquid equilibrium (LLE)
  • Working with systems containing water and organics
  • You have experimental binary parameters available

Use UNIQUAC when:

  • Working with complex molecular structures
  • Dealing with size and shape differences in molecules
  • You want a more theoretical basis for calculations
  • Extending to group contribution methods (UNIFAC)

Key considerations:

  • NRTL has three parameters per binary, UNIQUAC has two
  • UNIQUAC requires molecular structural parameters
  • NRTL is generally easier to parameterize
  • Both models work well for most applications

K-values (equilibrium ratios) are fundamental to phase equilibrium calculations:

Ki = yi / xi

Where:

  • yi = mole fraction of component i in vapor phase
  • xi = mole fraction of component i in liquid phase

Interpreting K-values:

  • K > 1: Component concentrates in vapor phase (volatile)
  • K = 1: Equal distribution between phases (azeotrope)
  • K < 1: Component concentrates in liquid phase (heavy)
  • K → 0: Component is non-volatile (stays in liquid)
  • K → ∞: Component is super-volatile (goes to vapor)

Relative volatility compares separation ease:

αij = Ki / Kj

Higher α values indicate easier separation by distillation.

Azeotropes are constant-boiling mixtures where vapor and liquid have identical compositions, creating distillation boundaries.

Causes of azeotrope formation:

  • Molecular interactions: Hydrogen bonding, dipole-dipole interactions
  • Non-ideal behavior: Deviations from Raoult's Law
  • Specific component combinations: Certain pairs form azeotropes naturally

Types of azeotropes:

  • Minimum-boiling: Boiling point lower than pure components (e.g., ethanol-water)
  • Maximum-boiling: Boiling point higher than pure components (e.g., chloroform-acetone)
  • Heterogeneous: Two liquid phases in equilibrium (e.g., water-benzene)

Impact on separation:

  • Conventional distillation cannot separate azeotropic mixtures
  • Special techniques required: extractive distillation, pressure-swing distillation, or membrane separation
  • Azeotropes define distillation boundaries in composition space

Common azeotropic systems:

  • Ethanol-Water: 95.6% ethanol at 78.2°C
  • Acetone-Chloroform: Maximum-boiling azeotrope
  • Benzene-Water: Heterogeneous azeotrope

The accuracy of phase equilibrium calculations depends on several factors:

Factors affecting accuracy:

  • Thermodynamic model selection: Appropriate model for the system
  • Parameter quality: Accuracy of binary interaction parameters
  • Data availability: Experimental data for parameter regression
  • System complexity: Number of components and their interactions
  • Operating conditions: Temperature and pressure ranges

Typical accuracy ranges:

  • Ideal systems: ±1-3% error in composition predictions
  • Non-ideal systems with good parameters: ±3-5% error
  • Complex systems with limited data: ±5-10% error
  • Predictive methods (UNIFAC): ±10-20% error

Improving accuracy:

  • Use experimental data to regress model parameters
  • Select appropriate thermodynamic model for the system
  • Validate predictions with experimental measurements
  • Consider uncertainties in input parameters
  • Use more sophisticated models for critical applications

Limitations:

  • Models are approximations of complex molecular behavior
  • Extrapolation beyond parameterization range reduces accuracy
  • Association phenomena (e.g., hydrogen bonding) are challenging to model
  • High-pressure systems require equations of state with volume translation