Matlab Problem 2
Matlab Problem 2
hos=283.77;
Uo1=((hos^-1)+(hod^-1)+((do*log(do/di))/(2*km*1000))+(do/(di*hid))+(do/(di*hi)))^-
1;
Ars=Qs/(Uo1*0.86*MTDs);%m2 area required
Areq= Arc+Ars;
excessarea=((Apro/Areq)-1)*100; % percentage excess area
%% shell side pressure drop
AdPs=15; %kPa allowable pressure drop
Jf=0.00345; % for baffle cut
Di=Db+15;
Bs=Di; %mm baffle spacing
h1=0.382;
x1=1-h1;
As=((pt-do)*Di*Bs*x1)/(pt*1000*1000); %m2 Shell side flow area
Gs=ml/(3600*As); %kg/m2sec shellside mass velocity
us=Gs/Dv; %m/sec shell side linear velocity
de=(1.1*(pt^2-(0.907*do^2)))/do; %mm equivalent diameter
Res=(de*10^-3*Gs)/Vv;
dPs=8*0.5*Jf*(Di/de)*(L*1000/Bs)*Dv*us^2/(2*1000); %kPa shell side pressure drop
must be less than allowable pressure drop
%% tube side pressure drop
AdPt=70; %kPa allowable pressure drop
Jf=0.0032;
dPt=4*((8*Jf*(L*1000/di)*1)+2.5)*Dw*ut^2/(1000*2); %kPa shell side pressure drop
must be less than allowable pressure drop
%% Result
disp('Design Calculation of condensation with subcooling heat exchanger')
fprintf('Heat Duty = %8.2f kcal/hr\n',Qc)
fprintf('Heat Duty = %8.2f kcal/hr\n',Qs)
fprintf('Heat Duty = %4.2f kcal/hr\n',Q)
fprintf('Mass Flowrate of Water = %8.3f kg/sec\n',mw)
fprintf('Mean Temperature Difference cond. = %4.2f Degree Celcius\n',MTDc)
fprintf('Mean Temperature Difference sub cooling = %4.2f Degree Celcius\n',MTDs)
fprintf('Area for cond. = %8.3f m^2\n',Ac)
fprintf('Area for subcooling = %8.3f m^2\n',As)
fprintf('Area Provided = %8.3f m^2\n',Apro)
fprintf('number of tubes = %d\n',round(Nt))
disp('calculate tube side heat transfer coefficient:')
fprintf('Tube side flow area = %8.4f m^2\n',at)
fprintf('Tube side mass velocity = %4.2f kg/m2sec \n',Gt)
fprintf('Tube side linear velocity = %4.2f m/sec \n',ut)
fprintf('Tube side Reynolds number = %d\n',round(Ret))
fprintf('Tube side prandlt number = %4.3f\n',pr)
fprintf('Tube side Heat Transfer coefficient = %5.2f w/m^2 C \n',hi)
disp('calculate shell side heat transfer coefficient:')
fprintf('Nr = %8.3f \n',Nr)
fprintf('Tube loading = %6.5f kg/msec\n',Th)
fprintf('density of propanol vapor = %4.2f \n',Dv)
fprintf('Shell side Heat Transfer coefficient = %4.2f w/m^2 C \n',ho)
fprintf('Overall Heat Transfer coefficient for condensation = %4.2f W/m^2 C
\n',Uo)
fprintf('Area Required for condensation = %8.3f m^2\n',Arc)
fprintf('Heat Transfer coefficient for subcooling = %4.2f w/m^2 C \n',hos)
fprintf('Overall Heat Transfer coefficient for subcooling= %4.2f W/m^2 C \n',Uo1)
fprintf('Area Required for subcooling = %8.3f m^2\n',Ars)
fprintf('Area Required = %8.3f m^2\n',Areq)
fprintf('percentage excess area = %d\n',round(excessarea))
disp('percentage heat transfer area is in between 10 to 20')
output: