Beruflich Dokumente
Kultur Dokumente
Antoine'sEquation
Antoine'sequationforthevaporpressureofapurecomponentisgivenby
ThisMatlabscriptdemonstratestypicalprocessengineeringapplicationsandcalculationsusingAntoine'sequation.
Contents
Computingthesaturationpressureofwaterat100C
ImplementingAntoine'sequationasananonymousfunction
Plottingsaturationpressureasafunctionoftemperature
NormalBoilingPoint
WhatistheboilingtemperatureofwateronMountEverest?
Implementingafunctiontocomputesaturationtemperature.
Exercise
Exercises
Computingthesaturationpressureofwaterat100C
A = 7.96681;
B = 1668.21;
C = 228.0;
T = 100;
Psat = 10^(A - B/(T + C));
ImplementingAntoine'sequationasananonymousfunction
MatlabanonymousfunctionsareaveryusefulwaytoimplementsimpleformulasinMatlab.Learningtouseanonymous
functionsisabigsteptowardsmasteringMatlabforroutineengineeringcalculations.
T = 100;
file:///Users/jeff/Dropbox/Git/CBE20255/matlab/html/Antoine_Equation.html 1/4
10/27/2014 Antoine's Equation
disp(['Saturation pressure of water at ',num2str(T),' deg C is ',num2str(Psat(T)),' mmHg.']
);
Plottingsaturationpressureasafunctionoftemperature
T = linspace(0,150,100);
semilogy(T,arrayfun(Psat,T));
xlabel('Temperature [C]');
ylabel('Vapor Pressure [mmHg]');
NormalBoilingPoint
Thenormalboilingpointofasubstanceisthetemperatureatwhichthesaturationpressureisequalto1atmosphere(or
760mmHg).
% Step 1. Create a function that will have a value of zero at the desired
% temperature.
% Step 2. Use the Matlab function fzero to solve for the desired
% temperature.
file:///Users/jeff/Dropbox/Git/CBE20255/matlab/html/Antoine_Equation.html 2/4
10/27/2014 Antoine's Equation
Tboil = fzero(f,[0 150]);
WhatistheboilingtemperatureofwateronMountEverest?
TheatmosphericpressureonthetopofMt.Everestisabout260mmHg.
P = 260;
f = @(T) P - Psat(T);
Tboil = fzero(f,[0 150]);
disp(['Temperature of boiling water on Mt. Everest is ',num2str(Tboil), ' deg C']);
Implementingafunctiontocomputesaturationtemperature.
Thetaskofcomputingthetemperaturecorrespondingtosaturationpressurecanbeimplementedusinganonymous
functions.We'lluseittocomputetheboilingpointofwaterinDenverwherethebarometricpressureis621mmHg.
Exercise
ThedeepestpointinLakeSuperioris406meters.Assumingthedensityofwateris1.0g/ml,whatisthepressureatthe
depth?Whatistheboilingpointofwateratthatpressure?
P = (101325 + 406*1000*9.8);
P = 760*P/101325;
Exercises
1. Whatisthenormalboilingofmethanol?
2. Youobservethatfoghasformedonacoolfallmorningatatemperatureof55degF.Whatisthevaporpressureof
water?
PublishedwithMATLABR2014b
file:///Users/jeff/Dropbox/Git/CBE20255/matlab/html/Antoine_Equation.html 4/4