Está en la página 1de 1

%GRAFICA TXY (P=Cte)

P=1.01325;
%Para una mezcla de Acetona/Metanol
Antoine=[4.2184 1197.01 228.06;5.20277 1580.08 239.5];

%Del CHERIC, datos experimentales


x=[0 0.036 0.081 0.141 0.206 0.293 0.394 0.513 0.584 0.683 0.742 0.823 0.861 1]';
yexp=[0 0.082 0.161 0.251 0.336 0.423 0.5 0.58 0.639 0.705 0.745 0.806 0.843 1]';
Texp=[64.6 63.5 62.2 60.7 59.4 58.1 56.9 56.2 55.9 55.8 55.8 55.8 55.8 56.1]';
n=length(x);

%Modelo de Wilson
a1=-161.88;
v1=74.05;
a2=583.11;
v2=40.73;
TW1=zeros(n,1);yW1=zeros(n,1);
for i=1:n
[TW,yW]=TWilson(x(i),P,a1,a2,v1,v2,Antoine);
TW1(i)=TW;
yW1(i)=yW;
end

%Modelo UNIFAC
TUNIFAC1=zeros(n,1);yUNIFAC1=zeros(n,1);
R=[0.9011 1.6724 1.4311]';
Q=[0.8480 1.4880 1.4320]';
v=[1 1 0; 0 0 1]';
alfa2=[0 476.900 697.200; 26.760 0 108.700; 16.510 23.390 0];
[ng, nc]= size(v);
[TUNIFAC1,yUNIFAC1]=TUNIFAC(R,Q,v,alfa2,nc,P,x,Antoine);