Overview
Overview
Reactive distillation carries out a chemical reaction and a separation in the same column. Here the equilibrium-limited liquid-phase reaction takes place in the middle section of a distillation column. Because the lightest product (C) is continuously drawn off at the top and the heaviest product (D) at the bottom, the reaction is pushed toward completion. Nearly pure C and D can therefore be obtained from an A/B feed in a single unit, with no separate reactor, no downstream separation train and no recycle of unreacted A and B.
A+B⇌C+D
This notebook builds the complete set of steady-state material balances for the column, solves them simultaneously, and plots the liquid and vapor composition profiles of A, B, C and D versus stage number. Curves are red (A), blue (B), green (C) and magenta (D). The shaded bands mark the column sections: rectifying (light green), reactive (light blue) and stripping (light red).
Problem statement
Problem statement
◼
Components and volatilities. The relative volatilities are given with respect to the heaviest component D: =7, =4 and =3 (and =1). The volatility order is therefore C > A > B > D.
α
CD
α
AD
α
BD
α
DD
◼
Reaction. occurs in the liquid phase with rate and equilibrium constant =0.25.
A+B⇌C+D
r=k-
x
A
x
B
x
C
x
D
K
eq
K
eq
◼
Column. There are 17 equilibrium stages, numbered from the top, plus a total condenser (labelled stage 0 in the code, so is the distillate and reflux composition). Stage 17 is the reboiler.
x
i,0
◼
Sections. Rectifying zone: stages 1 to 5 (no reaction). Reactive zone: stages 6 to 14. Stripping zone: stages 15 to 17 (no reaction). The feed enters on stage 10, inside the reactive zone.
◼
Feed. kmol/h of saturated liquid containing 50 mol % A and 50 mol % B (no C or D).
F=100
◼
Specified operating variables. Damköhler number , reflux ratio and reboil ratio (see below). The default values are , and .
Da
R
s
Da=5
R=9
s=10
Modeling assumptions
Modeling assumptions
◼
Steady state, with every stage an equilibrium stage (vapor and liquid leaving a stage are in equilibrium).
◼
Constant molal overflow (CMO): the vapor flow is the same on every stage, the liquid flow is above the feed stage and below it (the feed is a saturated liquid).
V
L
L′=L+F
◼
Heat effects (heats of reaction and mixing) are neglected, which is what makes CMO valid.
◼
Ideal vapor-liquid equilibrium described by constant relative volatilities.
◼
The reaction occurs only in the liquid phase and only on the reactive stages. The liquid holdup and the rate constant are the same on every reactive stage.
H
k
◼
Total condenser: the reflux has the same composition as the distillate. The reboiler is treated as an equilibrium stage.
Dimensionless parameters
Dimensionless parameters
The three numbers below can be changed in the first input cell. They are the only inputs you normally need to touch.
◼
Damköhler number : the ratio of the liquid residence time per stage () to the characteristic reaction time (). Here is the liquid holdup on a stage, the reaction rate constant and the liquid flow rate in the top section of the column. In the balances the reaction term of a reactive stage is .
Da=
H/L
1/k
H/L
1/k
H
k
L
Hkr=DaLr
◼
Reflux ratio : liquid returned to the column divided by the distillate flow.
R=L/Dist
◼
Reboil ratio : vapor generated in the reboiler divided by the bottoms flow. (In the code and equations, and denote the distillate and bottoms flow rates; the italic is the flow, the upright B is the component.)
s=V/B
Dist
B
B
Limiting cases: for no reaction takes place and no C or D appears in the column. For very large the reactive stages approach reaction equilibrium, i.e. .
Da=0
Da
r=0
Model equations
Model equations
Index is the stage number and is the component, with and the liquid and vapor mole fractions leaving stage . The stoichiometric coefficients are ==-1 and ==+1. Only , and are independent unknowns, because =1---.
n
i
x
i,n
y
i,n
n
ν
A
ν
B
ν
C
ν
D
x
A
x
B
x
C
x
D
x
A
x
B
x
C
Vapor-liquid equilibrium (relative volatilities with respect to D):
y
i,n
α
i,D
x
i,n
α
A,D
x
A,n
α
B,D
x
B,n
α
C,D
x
C,n
x
D,n
Dimensionless reaction rate on stage (the rate constant is absorbed in ):
n
k
Da
r
n
x
A,n
x
B,n
x
C,n
x
D,n
K
eq
Component balance on a reactive stage (stages 6 to 9 use the liquid flow , stages 11 to 14 use ; non-reactive stages simply omit the last term):
L
L′
V(-)+L(-)+DaL=0
y
i,n+1
y
i,n
x
i,n-1
x
i,n
ν
i
r
n
Feed stage (stage 10, with feed composition ):
x
F,i
V(-)+L-L′+DaL+F=0
y
i,11
y
i,10
x
i,9
x
i,10
ν
i
r
10
x
F,i
Total condenser and reboiler:
V=(L+Dist)
y
i,1
x
i,0
V+B=L′
y
i,17
x
i,17
x
i,16
Flow relations: , , , and .
V=Dist+L
R=L/Dist
L′=L+F
Dist+B=F
s=V/B
Solution method
Solution method
The unknowns are the five flows , , , and , plus , and on stages 0 to 17 (54 values), i.e. 59 unknowns in total. The balances above give exactly 59 nonlinear algebraic equations, which are solved all at once with FindRoot (a Newton-type method). The result is stored in the list of replacement rules sol, and the plots evaluate the profiles with /. sol.
V
B
L′
Dist
L
x
A
x
B
x
C
Notes: FindRoot needs reasonable starting values, supplied in the solver cell. If you change , or substantially and the solver fails or returns an unphysical solution, adjust the initial guesses. The solver call is wrapped in Quiet, so warning messages are suppressed. The loose AccuracyGoal of 1 combined with Quiet makes it worth glancing at the plots (compositions must lie between 0 and 1) after every change.
Da
R
s
To run the notebook, choose Evaluation > Evaluate Notebook. The cells depend on each other and must be evaluated in the order shown.
Operating parameters
Operating parameters
In[]:=
(*Operatingparameters:editthesevaluesandre-evaluatethenotebook*)Da=5;(*Damköhlernumber,Da=Hk/L:liquidresidencetimeperstagedividedbythereactiontime.Da=0meansnoreaction;averylargeDaapproachesreactionequilibriumonthereactivestages*)R=9;(*refluxratio,R=L/Dist(refluxflow/distillateflow)*)s=10;(*reboilratio,s=V/B(vaporfromthereboiler/bottomsflow)*)
Chemistry and thermodynamic data
Chemistry and thermodynamic data
In[]:=
(*ReactionandVLEdataComponentsarenumbered1=A,2=B,3=C,4=D.Thevariablesx1[n],x2[n],x3[n](liquidmolefractionsonstagen)aretheunknownssolvedforlater;x4[n]isobtainedfromthesummationconstraintbelow.*)Keq=0.25;(*equilibriumconstantofA+B<=>C+D*)(*Dimensionlessreactionrateonstagei:r=xAxB-xCxD/Keq.TherateconstantkisnotneededherebecauseitiscontainedinDa.SetDelayed(:=)isusedsothattherateisre-evaluatedeachtimewiththecurrentxvalues.*)rate[i_]:=x1[i]x2[i]-x3[i]x4[i]/Keq;(*RelativevolatilitieswithrespecttocomponentD(theleastvolatile,alpha_DD=1)*)α34=7;(*alpha_CD*)α14=4;(*alpha_AD*)α24=3;(*alpha_BD*)
Vapor-liquid equilibrium and composition closure
Vapor-liquid equilibrium and composition closure
In[]:=
(*Vapormolefractionsinequilibriumwiththeliquidleavingstageiy_j=alpha_j4x_j/(alpha_14x_1+alpha_24x_2+alpha_34x_3+x_4),withalpha_44=1*)y1[i_]:=α14x1[i]/(α14x1[i]+α24x2[i]+α34x3[i]+x4[i]);(*A*)y2[i_]:=α24x2[i]/(α14x1[i]+α24x2[i]+α34x3[i]+x4[i]);(*B*)y3[i_]:=α34x3[i]/(α14x1[i]+α24x2[i]+α34x3[i]+x4[i]);(*C*)y4[i_]:=x4[i]/(α14x1[i]+α24x2[i]+α34x3[i]+x4[i]);(*D*)
In[]:=
(*Summationconstraint:themolefractionsoneverystageaddupto1,sothefourthone(D)isnotanindependentunknown*)x4[i_]:=1-x1[i]-x2[i]-x3[i];
Feed specification
Feed specification
In[]:=
(*Feed:saturatedliquid,100kmol/h,equimolarinAandB*)xf1=0.5;(*molefractionofAinthefeed*)xf2=0.5;(*molefractionofBinthefeed*)xf3=0;(*molefractionofCinthefeed(Disthenalso0,sincethefractionssumto1)*)F=100;(*feedflowrate,kmol/h*)
Solving the steady-state balances
Solving the steady-state balances
In[]:=
Results
Results
With the default values the specifications give , so the flow relations force kmol/h, with , and kmol/h. Half of the feed moles therefore leave as distillate and half as bottoms, as expected from the 1:1 stoichiometry.
R+1=s
Dist=B=50
V=500
L=450
L′=550
Liquid composition profiles
Liquid composition profiles
Liquid mole fractions of A (red), B (blue), C (green) and D (magenta) on stages 0 to 17. The bands show the rectifying zone (light green), the reactive zone (light blue) and the stripping zone (light red).
In[]:=
(*Liquidcompositionprofilesversusstagenumber*)Show[ListPlot[{Table[{i,x1[i]},{i,0,17}]/.sol,(*A:replacex1[i]byitssolvedvalueusingtherulesinsol*)Table[{i,x2[i]},{i,0,17}]/.sol,(*B*)Table[{i,x3[i]},{i,0,17}]/.sol,(*C*)Table[{i,x4[i]},{i,0,17}]/.sol(*D,computedfrom1-x1-x2-x3*)},GridLines->{Table[i,{i,1,18,1}],Table[i,{i,0,1,0.1}]},(*oneverticallineperstage,horizontallinesevery0.1*)ImageSize->400{1,1},Joined->True,(*connectthepointsofeachcurve*)PlotRange->{{0,17},{0,1}},PlotStyle->{{Thick,Red},{Thick,Blue},{Thick,Green},{Thick,Magenta}},(*A,B,C,D*)Frame->True,FrameLabel->{"stage number","liquid composition"}],(*Shadedbandsmarkingthecolumnsections,drawnontopoftheplot*)Graphics[{Blue,Opacity[0.25],Rectangle[{6,0},{15,1}],(*reactivezone*)Green,Opacity[0.25],Rectangle[{0,0},{6,1}],(*rectifyingzone*)Red,Opacity[0.25],Rectangle[{15,0},{17,1}](*strippingzone*)}]]
How to read the plot. C (green) is enriched toward the top and approaches 0.99 mole fraction in the distillate, while D (magenta) is enriched toward the bottom and reaches about 0.99 in the reboiler. The reactants A (red) and B (blue) are concentrated in the middle of the column, where they peak inside the reactive zone and are consumed; they drop to about 1 mol % or less at both ends. Both products leave almost pure, and the overall conversion of A and B exceeds 98 % (values quoted for the default parameters).
Vapor composition profiles
Vapor composition profiles
Conclusions
Conclusions
For the default parameters, reactive distillation delivers nearly pure C overhead and nearly pure D at the bottom, with conversions close to 100 %. The process is simpler than the conventional alternative of a reactor followed by separation units with recycle of unreacted A and B.