8 Liquid Liquid Equilibrium and Extraction Using Mathematica
8 Liquid Liquid Equilibrium and Extraction Using Mathematica
MATHEMATICA®
Housam Binous
National Institute of Applied Sciences and Technology
BP 676 Centre Urbain Nord, 1080 Tunis, Tunisia
xi1γ i1 = xi2γ i2 i = 1,2,3 (3) We will now study the separation of acetic
acid from water using isopropyl ether as a
We also have additional relations such as the solvent. This separation is usually difficult to
summation rules and material balances: realize with distillation due to the presence of a
severe tangent pinch at high compositions of
water which prevent the distillate from being
∑ ∑
i =3 1 i =3
x = 1 and
i =1 i i =1
xi2 = 1 (4) acid-free. A graphical solution performed by
hand calculation has been presented by
L1 + L2 = 1 and L1 xi1 + L2 xi2 = X i i = 1,2 (5) Wankat[1]. We will show how one can use
Mathematica® to solve this problem more easily
Equations 1-5 can be solved simultaneously and accurately using the graphical approach of
using the built-in Mathematica® function, Hunter and Nash[2] as well as the McCabe-
FindRoot, in order to get the eight unknown, Thiele diagram. Equilibrium data, at 1 atm and
xi1 , xi2 , L1 and L2 , which are the mole fractions 25°C, are given by Wankat[1], they can be used
to plot the following diagram where the tie lines
in both liquid phase for the three components has been drawn (see Figure 2). Note that the
and the total number of moles in the two liquid conjugate line can be easily constructed using
phase in equilibrium. If we solve this system of the equilibrium points.
equations for different values of X 1 and X 2 , we
get Figure 1. Tie lines are obtained by joining
wt. frac . acetic acid
with lines the equilibrium points, the extract and 100
raffinate curves are also plotted. The system
considered in this study is a Type I where the a
plait point is marked as a bold dot in the figure. 80
60
Ethanol
1
40
0.8
20
0.6
0.2
Figure 2 - Equilibrium data for the ternary
system.
-0.2 0.2 0.4 0.6 0.8 1
Water Benzene
1-Single feed countercurrent extractor
-0.2
15
10
4 http://library.wolfram.com/infocenter/search
wt. frac water
- 50 - 25 25 50 75 100 /?search_results=1;search_person_id=1536 .