Distillation MESH stage balances (tridiagonal)
SeparationA three-stage slice of a distillation column at fixed K-values and constant molal overflow — the component material balances form the classic tridiagonal system the inside-out inner loop solves.
Governing equation
- Liquid mole fraction of the light component on stage j — the unknowns.
- Liquid molal overflow (mol s⁻¹), constant.
- Vapor molal overflow (mol s⁻¹), constant.
- Equilibrium ratio y/x (fixed in the inner loop).
- Feed / boundary source on stage j (reflux on top, feed on the middle stage).
Derivation
- 1
Component material balance on stage j: liquid down from above plus vapor up from below plus feed equals liquid and vapor leaving.
- 2
Equilibrium closes the vapor composition; in the inside-out inner loop the K-values are frozen, making the balances linear in x.
- 3
Constant molal overflow makes L and V stage-independent; each row couples only to its neighbours, so the system is tridiagonal (the Thomas algorithm).
Jacobian
The matrix of the residual vector with respect to the unknowns, at the representative operating point. Every value below is computed by the exact forward-mode autodiff engine the solver uses — click a non-zero cell to see the symbolic derivative, each one verified against that engine in our test suite. This is the block a Newton step factorizes.
| ∂/∂x1 | ∂/∂x2 | ∂/∂x3 | |
|---|---|---|---|
| Stage 1 balance | |||
| Stage 2 balance (feed) | |||
| Stage 3 balance |
Shaded cells are non-zero (the sparsity pattern); blanks are structural zeros.
For the residual Stage 1 balance with respect to x1. This exact expression is asserted equal to the autodiff value in the test suite.
Operating point
Representative operating point — a real solution of this instance.
References
- Seader, Henley & Roper, Separation Process Principles, 3rd ed., Ch. 10.
- Boston, J.F. & Sullivan, S.L. (1974). A new class of solution methods for multicomponent, multistage separation processes. Can. J. Chem. Eng. 52.