2.13: Air in Lungs#

Human lungs contain around \(V=6\:L\) of air. Calculate, assuming a constant volume for human lungs,

a) how much air is stored in human lungs in atmospheric pressure assuming the air in human lungs is heated to human body temperature at \(T_b=36\:^{\circ}C\)?

b) consider a human living at a \(H=4000\:m\) elevation from the sea level where the air pressure is \(P_e=60\:kPa\). How much air is stored the lungs of this individual assuming the air in lungs is heated to human body temperature at \(T_b=36\:^{\circ}C\)?

Solution Approach for a)#

from density

\(D=m/V\)

where m is the mass stored in lungs and V is the volume of lungs, so

\(m=DV\)

#import librarier
import CoolProp.CoolProp as CP

fluid = "air"  # define the fluid or material of interest

#define variables
V = 0.006   #volume of lungs in m3
T = 36 + 273.15   #human body temperature in K
P_atm = 101325   #atmospheric pressure in Pa

D = CP.PropsSI("D", "T", T, "P", P_atm , fluid)   #air density in lungs in kg/m3

m = D * V   #air mass in lungs in kg

print('The amount of air in lungs at atmospheric pressure and body temperature is', f"{m * 1000:.2f}", 'mg')
The amount of air in lungs at atmospheric pressure and body temperature is 6.85 mg

Solution Approach for b)#

P_e = 60E+3   #pressure at a 4000m elevation in Pa

D = CP.PropsSI("D", "T", T, "P", P_e , fluid)   #air density in lungs in kg/m3

m = D * V   #air mass in lungs in kg

print('The amount of air in lungs at 4000m elevation and body temperature is', f"{m * 1000:.2f}", 'mg')
The amount of air in lungs at 4000m elevation and body temperature is 4.06 mg