Question

In: Mechanical Engineering

USE EXCEL OR MATLAB IF YOU NEED Given the dry-bulb temperature, Tdb and relative humidity, Φ,...

USE EXCEL OR MATLAB IF YOU NEED

Given the dry-bulb temperature, Tdb and relative humidity, Φ, the wet-bulb, Twb temperature may be calculated from the psychrometric equation (Jones, 1994):

PvsΦ – Pss = PatmA (Twb -Tdb )                                              (1)

Use your input from the Table below.

The input Twb and Tdb are in oC (used in Eqs. (2) and (3) in Kelvin).   

Pss = saturated vapor pressure at Twb (kPa)

Pvs = saturated vapor pressure at Tdb (kPa)   

Pss = 10^[30.59051- 8.2 log10 Twb + 0.0024804 Twb – 3142.31/ Twb] ..........(2)

and

Pvs = 10^[30.59051- 8.2 log10 Tdb + 0.0024804 Tdb – 3142.31/ Tdb]     ........(3)

In the above two equations T is in Kelvin and P in kPa (you have to convert the temperatures from the input in oC to Kelvin).

Patm= atmospheric pressure (kPa) (Patm =101.325 kPa)

Tdb = dry-bulb temperature (oC)

Twb = wet-bulb temperature (oC)

A    = 6.66x10-4 C-1 (constant for sling psychrometer)

Φ = relative humidity (%) used in the calculations as (%/100). For example, for 80% relative humidity, input 0.8.

Solve Equation (1) for the wet-bulb temperature using Newton-Raphson method. The input is as follows: Tdb= in oC and Φ= in % (to be converted in the program to fraction, i.e., Φ=50% means Φ=0.5). Set the tolerance to 10-4 . In other words, the absolute difference between the results of two successive iterations should not be more than 10-4. Check your answer using Psychrometric chart/Thermo Textbook. Also, to check if your results are correct, use f=100% and you should get Twb=Tdb. S is yourlisting number.

S (for future use) Tdb (C) Relative Humidity (%)
1 25 45

Solutions

Expert Solution

clc
clear
close
syms x %assume Twb=x
Patm=101.325;
A=6.66e-4;
Tdb=273+25;
phi=0.45;
Pss=10^(30.59051-(8.2*log10(x))+(0.0024804*x)-(3142.31/x));
Pvs=10^(30.59051-(8.2*log10(Tdb))+(0.0024804*Tdb)-(3142.31/Tdb));
f=Patm*A*(x-Tdb)+Pss-Pvs*phi;
x0=20;
[y,h]=newton_raphson(f,x0);
Tdb=y-273

function file for newton raphson

function [y,h]=newton_raphson(f,x0)
syms x;
g=diff(f); %The Derivative of the Function
n=4;
epsilon = 1e-4;
h=[];
for i=1:100
f0=vpa(subs(f,x,x0)); %Calculating the value of function at x0
f0_der=vpa(subs(g,x,x0)); %Calculating the value of function derivative at x0
y=x0-f0/f0_der; % The Formula
h=cat(1,h,y);
err=abs(y-x0);
if err<epsilon %checking the amount of error at each iteration
break
end
x0=y;
end
y = y - rem(y,10^-n); %Displaying upto required decimal places

Note: Using Psychometric chart @ Tdb=25 and RH=45 the Twd is 17.049 C. The result obtained using Matlab is 17.1806

Please do like the solution :-)


Related Solutions

300% excess air having a dry bulb temperature of 25 degree celsius and relative humidity of...
300% excess air having a dry bulb temperature of 25 degree celsius and relative humidity of 60% is used to fully combust 1 kg/hr of methane in a boiler and the heat of reaction is used to generate steam. Hot water enters the boiler as a saturated liquid at 102 degree celsius and leaves as superheated at 40 bar and 400 degree celsius. The combusted gases leave the boiler at 450 degree celsius and are then cooled to 25 degree...
Moist air at 55 oF dry bulb temperature and 40% relative humidity is first heated through...
Moist air at 55 oF dry bulb temperature and 40% relative humidity is first heated through a heating coil. The air is then adiabatically humidified by saturated water vapor at 4.5 psia. The exit air has a dry bulb temperature of 90 oF and wet bulb temperature 65 oF. Air is supplied at a volume flow rate of 478.5 cfm. Assume sea level pressure throughout. Determine the following. a) Show the inlet and outlet air condition clearly on the psychrometric...
The atmospheric air 32 °C dry bulb temperature and 70% relative humidity supplied to the cooling...
The atmospheric air 32 °C dry bulb temperature and 70% relative humidity supplied to the cooling coil at a rate of 45m3 /min. The air cooling to the saturated state and leaving at a temperature of 16 °C. Determine: () a- Specific humidity at each state. b- Wet bulb and dew point temperatures at the final state c- Final relative humidity. d- Mass of water condensed. e- Rate of heat removed from the air in kW. f- Show the process...
The atmospheric air 32 °C dry bulb temperature and 70% relative humidity supplied to the cooling...
The atmospheric air 32 °C dry bulb temperature and 70% relative humidity supplied to the cooling coil at a rate of 45m3 /min. The air cooling to the saturated state and leaving at a temperature of 16 °C. Determine: (10 points) a- Specific humidity at each state. b- Wet bulb and dew point temperatures at the final state c- Final relative humidity. d- Mass of water condensed. e- Rate of heat removed from the air in kW. f- Show the...
Steam at 100°C is blown into an airstream at 21°C dry bulb, 50% saturation (Relative humidity),...
Steam at 100°C is blown into an airstream at 21°C dry bulb, 50% saturation (Relative humidity), at the rate of 1 kg steam/150 kg dry air. What is the final condition and show the process on the psychrometric chart? (Ans. Final moisture content (W2 = 0.0148 kgv/kg ; Final dry bulb temperature Tdb2=22.02°C ).
In an industrial process, it is required to maintain 30°C dry bulb temperature with high relative...
In an industrial process, it is required to maintain 30°C dry bulb temperature with high relative humidity equals to 60%. Determine the following air properties when the barometric pressure is standard, a) Dew point temperature; b) Specific humidity; c) Enthalpy of mixture per kg of dry air. d) Vapour density; e) Degree of saturation; f) Wet bulb temperature.
Humid air at given : dry-bulb temperature, wet-bulb temperature and total pressure enters a drier at a given molar flow rate.
  Humid air at given : dry-bulb temperature, wet-bulb temperature and total pressure enters a drier at a given molar flow rate. Using psychometric chart to estimate :relative humidity, absolute humidity, dew point temperature and humid volume of air A- volumetric flow rate entering drier?B-mass flow rate BDA entering drier?C-Ha and Hm if more mass flow rate of water is added during passing through drier?D-molar composition air leaving drier?E-percentage humidity (Hp) air entering drier?
Air with a dry bulb temperature 75 F and a wet bulb temperature 65 F is...
Air with a dry bulb temperature 75 F and a wet bulb temperature 65 F is at a sea level pressure of 14.7 psia. Using equations to calculate (a) humidity ratio, (b) the relative humidity of the air, (c) enthalpy, (d) dew point, and (e) the mass density of the dry air. (50)
I need answers on 3.2.4 3.2.3 If the air temperature is 15°C and the relative humidity...
I need answers on 3.2.4 3.2.3 If the air temperature is 15°C and the relative humidity 35 percent, calculate the vapor pressure, specific humidity, and air density. Assume standard atmospheric pressure (101.3 kPa). 3.2.4 Solve Prob. 3.2.3 if the air temperature rises to 300C. By what percentage does the specific humidity increase as a result of the temperature rise from 15 to 300C?
Use the psychrometric chart to estimate (1) the absolute humidity, wet bulb temperature, humid volume, dew...
Use the psychrometric chart to estimate (1) the absolute humidity, wet bulb temperature, humid volume, dew point, and specific enthalpy of humid air at T =30 oC and 40 % relative humidity, and (2) the amount of water in 150 m3 or air at these conditions. Students must sketch the psychrometric chart and draw the path of determining the parameters of (1).
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT