Professional Documents
Culture Documents
Vle NN
Vle NN
Research
University,
Engineering
Faculty,
Department
of Chemical
Engineering,
34320
Avcilar,
Istanbul,
Turkey
Vapor-liquid
7
equilibrium,
way, compared
Neural
to the conventional
network,
Activity
coefficients,
UNIFAC
models.
model
G 06 N 3/02
Introduction
In chemical industry the vapor-liquid equilibrium
(VLE) data are motly important for the design 0[_
distillation columns, where the liquid mixtures are
separated into their components. The correlation of
these data is found thermodynamically by various
interpretations of the Gibbs-Duhem equation, because
it is troublesome and time consuming to get them
experimentally. The Wilson, NRTL, and UNIQUAC
are the local composition models, and UNIFAC and
ASOG are the main group contribution methods based
on UNIQUAC and Wilson, respectively, impliciting
the local composition concept. Some of the models
such as, UNIFAC-Lyngbi,
UNIFAC-Dortmund2,
3
and UNIQUAC-A were modified for special cases.
Another type of estimation methods are the Margules
and 'van Laar equations, which are empirical models
of solution behaviour, derived from excess Gibbs
energy function. These models represent the excess
Gibbs energy function in different types of mathematical expressions and are used, both in vapor-liquid
and liquid-liquid
equilibrium
calculations.
The
t
thermodynamical
Engineering
of the Istanbul
Xi
[V/(P-P/)]
exp -----
"
[V.L(P_PS)]
<1>;
RT
At low pressures, vapor phases usually approximate ideal gases, for which <1>; = <1>; = 1 and the
Poynting factor, represented by the exponential,
differs from unity by only a few parts per thousand
and their influence in Eq. (4) nullifies. Thus the
assumption that <I>i = 1 introduces some error for
low-pressure VLE data, the Eq. (3) gets reduce to:
Y i-_ Yi'P
pXSj'
RT
p/
V;L
Yi =
y.cp.p
~s
I
Xi'
'
Fig. I-Typical
layers
y =
00
f(~LjWi) ,
=1
f(X)
+e
-x'
Weights
o
Lo
;
Inputs
':
System
Solution type
types
(azeotrope-nonazeotrope)
under
various
conditions (isothermal or isobaric). The isobaric VLE
data of isopropanol - methyl isobutyl ketone (MIBK)
systems at 53.33 and 80.0 kPa were determined
experimentally.
Isopropanol and methyl isobutyl ketone were used
in Merck quality. An all-glass dynamic recirculating
vapor-liquid equilibrium apparatus, developed by
Fischer Scientific Co., equipped with temperature and
pressure controllers were used in the experimental
equilibrium data determinations. The still allows good
mixing and flowing of both vapor and liquid phases
through an extended contact line, which guaranties an
intense phase exchange and their separation, once the
equilibrium is reached. The equilibrium temperature
was measured using a mercury glass thermometer
(Fischer certificated) within an accuracy of 0.05 K.
The temperature control of the heating was achieved
by a digital thermometer provided with a Pt-100
sensor. The total pressure of the system was
controlled by an electronic manometer. The VLE tests
were run at 40, 66.66 and 101.32 0.02 kPa
pressures, respectively. The equilibrium conditions
were checked by the reproducibility of the results of
gas chromatography (GC) analysis of liquid samples
taken from two phases.
Approximately, 100 mL low boiling component
(isopropanol) was put in the boiler of the apparatus.
The pressure was set via the controller and the heaters
were then actuated. On reaching the boiling point the
equilibrium temperature of the pure low boiling
component was determined. The 2-2.5 mL high
boiling component (methyl isobutyl ketone) was then
added to the boiler and waited for the equilibrium
conditions. The attainment of a constant temperature
for about 1 h was the sign of equilibrium reached. In
equilibrium, samples were taken out from liquid and
condensed vapor phases for analyzing with Gc. Thus,
in a known pressure (P) the liquid and vapor phase
Isopropanol + MIBK*
Normal
Experimental
Isopropanol + MIBK
n-hexane + 1,2-dichloroethane
Normal
Min. azeotrope
Experimental
Min. azeotrope
Isothermal, 323.15 K
ref. 13
ref. 13
Normal
1,2-dichloroethane
+ n-octane
Acetone + chloroform
Max. azeotrope
ref. 13
ref. 14
L,
II
(~exPtl
_ ~Cal)2
1=1
here y/xptl
is the experimental value, y/'al the
calculated value, and n the experiment number.
Only half of the experimentally determined VLE
data points of six various binary mixtures were
assigned into the designed framework as training
patterns, in order to estimate the whole systems. The
= tl~.k(exptl)-~.k(calcd)l/n
k=1
According to Table 2 the isobaric isopropanol methyl isobutyl ketone systems at 53.33 and 80.0 kPa
and the isothermal 1,2- dichloroethane + n-octane
system at 323.15 K are attracting attention with a
mean deviation above 0.1 with respect to UNIFAC
calculated activity coefficients. These deviations are
shown in more detail by plotting experimentally
observed n values against the estimates in Figures 35, respectively. The neural network model has shown
excellent results for all systems with its flexible
configuration.
For evaluating the appropriateness of the models to
the azeotrope systems, it is useful to show the X-Y
plots (vapor-liquid
equilibrium
curve) of the
azeotrope systems n-hexane+ 1, 2-dichloroethane at
System
Isopropanol + MIBK, 53.33 kPa
YI
0.1006
Y2
0.1400
YI
0.0553
Y2
0.0119
0.1412
0.1782
0.0234
0.0360
n-hexane + 1,2-dichloroethane
0.0630
0.0543
0.0238
0.0142
0.0475
0.0382
0.0261
0.0304
+ n-octane
0.0233
0.1051
0.0310
0.0452
0.0198
0.0104
0.0163
0.0094
1,2- dichloroethane
Acetone + chloroform
2,4
Table 3 -
.
0
2,2
2
experimental
"'(,
experimental
1"
".
System
.... UNIFAC
1,8
Neural network
UNIFAC
./
Neural network
YI
)'1
0.0135
0.0111
0.0114
/'''''
".
Neural Network
l/
./'
,/
1.6
.~I
..,/
,/
....
1,4
.'
1,2
0.0258
n-hexane + 1,2-dichloroethane
0.0163
0.0095
0.0077
0.0135
1,2-dichloroethane + n-octane
0.0094
0.0082
Acetone + chloroform
0.0028
0.0114
0,8
5,00
0.1
0,2
0,3
0,4
0,5
0,6
0,7
0.8
0.9
experimental
Y2.
experimental
Yl
4,50
X1
4,00
Fig. 3--Comparison
of calculated and experimental activity
coefficients of isopropanol + methyl isobutyl ketone system at
53.33 kPa
3,50
3,00
2,50
2,00
1,50
2,40
1,00
2.20
0,50
0
2,00
'.
1,80
.,
0,1
0,2
0,3
0,4
0,5
0,6
0,7
0,8
0,9
X,
'" .....
.....
~
..-
1,60
....
'-'
Fig. 5--Comparison
of calculated and experimental actiVIty
coefficients of 1,2- dichloroethane + n-octane system at 323.15 K
..
'.
1,40
1.20
0,80
0,1
0,2
0,3
0,4
0,5
0,6
0,7
0,8
0,9
x,
Fig. 4-Comparison
of calculated and experimental actIvity
coefficients of isopropanol + methyl isobutyl ketone system at
80.0 kPa
0,9
0,9
0,8
0,8
0,7
0,7
0,6
0,6
y,
y,
0,5
0,5
0,4
0,4
0,3
0,3
0,2
0,1
experimental
Neural Network
0,2
experimental
Neural Network
0,1
UNIFAC
0
0
0
Fig. 6-Comparison
of calculated and experimental vapor phase
compositions of the System n-hexane + 1,2-dichloroethane at
323.15 K.
Conclusion
In this study the VLE data for six different binary
systems
(azeotrope-non azeotrope,
isothermal
or
isobaric) were predicted, applying neural network
model. It was seen that neural network can be treated
as a potent means for VLE data prediction in a fast
and reliable way, compared to the conventional
thermodynamical models. The VLE data of binary
systems in a wide range of pressure, and the VLE data
of ternary and quaternary mixtures presenting
different chemical structures will be the future course
of our study.
0,9
0.8
0,7
0,6
y,
0,5
0,4
0,3
0,2
0,1
0
0
Fig. 7--comparison
of calculated and experimental vapor phase
compositions of the system n-heptane + 1,2-dichloroethane at
323.15 K
10
11
13
14
Nomenclature
fi
\f
fO
L
n
N
p
If
R
clear
NNTWARNOFF
% This program is tested with MA TLAB version 6.0
release 12.
% Definitions:
% Training set file: The file consisting the data for
training the neural network ( x, y, T, gammal,
gamma2 vectors).
% Input set file: The file consisting the data to be used
as input set for neural network (vector x).
% Output set file: The file where the output set of the
neural network will be saved.
% loading data ...
w
Xi
Yi
L1Y;
<1J;
temperature (K)
molar liquid volume of pure component i
synaptic weights
mole fraction of component i in liquid phase
mole fraction of component i in vapor phase
mean deviation
fugacity coefficient of pure component i at
saturation
<1>;
y;
vapor phase
activity coefficient of i in the fluid phase
x l=PPP(l :lpx,l);
P=xl';
xll=PPPll(1:lpxll,l);
Pll=xll';
% building target vector [T] ...
yl=PPP(1:lpx,3);
temperature=PPP(1: Ipx,5)/l 000;
gama1=PPP(1 :lpx,6)/l0;
gama2=PPP(1 :lpx,7)/l 0;
T=[y l';temperature';gama1';gama2'];
% defining hidden neurons ....
hl=8;
% building weight coefficients randomly ....
wl=rand(l,hl)';w2=rand(hl,4)';
b l=rand(hl, 1);b2=rand( 4,1);
in the
% training ...
df=500;
me=10000;
eg=0.0005;
lr=0.02;
tp=[df me eg Ir];
[wI ,bl, w2,b2,ep,tr]=trainbpx(wl,b
gsig',P,T,tp );
--')
1,'Iogsig', w2,b2,'lo
dispC xl
yl
gamma2')
disp( output2)
% fid=fopen(output2.txt,'w');
fid=fopen(G,'w');
fprintf(fid,'
x
y
Gamma2\n');
fprintf(fid,'
fprintf(fid,' \n');
fprintf(fid,'%8.5f
\n',output2');
fclose(fid);
% save output2
%8.5f
%8.5f
Gammal
%8.5f
%8.5f