Professional Documents
Culture Documents
Programas Equilibrio Liquido Vapor
Programas Equilibrio Liquido Vapor
SEMESTRE : VI
FECHA: 23-09-2015
HUANCAYO-PERÚ
GRAFICAS EQUILIBRIO LIQUIDO-VAPOR EN SISTEMAS BINARIOS
[SISTEMA BINARIO ACETATO DE ETILO- ETANOL]
1. PROCESO ISOTERMICO (T=CTE)
a. ECUACION MARGULES
clc,clear all
disp('ALUMNA: Ore Payano Evelyn')
disp('ESCUELA: INGENIERIA QUIMICA AMBIENTAL')
disp('FECHA: 22-09-15')
T=40.3;%Temperatura constante en °C
disp('Equilibrio Liquido - Vapor: Etil Acetato(1)-Etanol(2) MODELO DE
MARGULES')
disp('-----------------------------------------------------')
%Constantes de Antoine para Hallar el Pvp;(TABLA I)
%Ethyl Acetate
antA_1=7.09808;
antB_1=1238.71;
antC_1=217.0;
%Ethanol
antA_2=8.04494;
antB_2=1554.3;
antC_2=222.65;
%Parametros de Margules para hallar el coeficiente de Actividad;(TABLA
IV)
a12=0.4130;
a21=0.4816;
x1=[0 0.02 0.04 0.06 0.08 0.1 0.15 0.2 0.25 0.3 0.4 0.5 0.6 0.7 0.8 0.9
0.95 1];
x2=1-x1;n=length(x1);
%Determinacion de las presiones de vapor
Pvp1=10^((antA_1)-antB_1/(T+antC_1));
Pvp2=10^((antA_2)-antB_2/(T+antC_2));
%Modelo termodinamico de Margules
for c=1:n
gama1(c)=10^(x2(c)^2*(a12+2*x1(c)*(a21-a12)));
gama2(c)=10^(x1(c)^2*(a21+2*x2(c)*(a12-a21)));
P(c)=x1(c)*Pvp1*gama1(c)+x2(c)*Pvp2*gama2(c);
y1(c)=(x1(c)*Pvp1*gama1(c))/P(c);
y2(c)=(x2(c)*Pvp2*gama2(c))/P(c);
end
disp(' x1 x2 Pvp1 Pvp2 gama1
gama2 P y1 y2')
for c=1:length(x1)
fprintf('%10.6f %10.6f %10.6f %10.6f %10.6f %10.6f %10.6f %10.6f
%10.6f\n',x1(c),x2(c),Pvp1,Pvp2,gama1(c),gama2(c),P(c),y1(c),y2(c))
end
%Datos experimentales:
xexp=[0.02240;0.03640;0.06880;0.09910;0.13620;0.17400;0.22850;0.24240;0.2
8340;0.36410;0.45900;0.56110;0.64460;0.65590;0.76840;0.77440;0.87150;0.92
430];
yexp=[0.08080;0.11320;0.18360;0.24560;0.30790;0.35580;0.41700;0.42400;0.4
6850;0.50900;0.56830;0.59780;0.66930;0.65860;0.73860;.72550;0.81260;0.877
40];
pexp=[145.999;151.497;158.000;164.998;176.002;183.997;191.498;191.498;200
.499;204.496;210.999;216.002;215.500;216.002;216.002;213.497;211.997;205.
996];%Presion experimental en mmHg=KPa*7.5006
disp('')
disp('Datos experimentales: ');
disp('====================================================');
disp(' x(1) y(1) P (mmHg) ');
disp('====================================================');
disp([xexp yexp pexp])
%Grafica1: Diagrama x1 vs y1
subplot(1,2,1),plot(x1,y1,'-m',xexp,yexp,'m*',x1,x1,'-r');legend('Puntos
teoricos','Puntos experimentales',4)
grid on
title('Equilibrio Ethyl Acetate(1)-Ethanol(2)a 40°C; Modelo Margules')
xlabel('X')
ylabel('Y')
%Grafica2: Diagrama x1,y1 vs P
subplot(1,2,2),plot(x1,P,'-
g',xexp,pexp,'gv',yexp,pexp,'ro',y1,P,'r');legend('Puntos teoricos P-
X1','Puntos experimentales P-X1','Puntos experimentales P-Y1','Puntos
teoricos P-Y1',4)
grid on
title('Equilibrio Ethyl Acetate(1)-Ethanol(2)a 40°C; Modelo Margules')
xlabel(' X,Y')
ylabel(' P mmHg ')
grid on
c. ECUACION WILSON