An interactive Streamlit app to visualize the McCabe-Thiele method for binary distillation.
This tool helps you understand how operating lines, and feed conditions determine the design of a distillation column.
- Interactive sliders for:
- Feed composition (
xF) - Distillate composition (
xD) - Bottom composition (
xB) - Reflux ratio (
R) - Relative volatility (
α)
- Feed composition (
- Assumes q = 1 (saturated liquid feed)
- Plots:
- Equilibrium curve
- Rectifying section line
- Stripping section line
- Feed line (vertical, since
q = 1)
Rectifying Section:
y = (R / (R + 1)) * x + xD / (R + 1)
Stripping Section:
y = ((y_int − xB) / (xF − xB)) * (x − xB) + xB
Flow-based Stripping Line:
y = (L′ / V′) * x − (B / V′) * xB