Question: A. The ratio between the two quantities, sat(T DP ) and sat(T), is the relative humidity. Develop a python function using saturation water vapor density

 A. The ratio between the two quantities, sat(TDP ) and sat(T),

A. The ratio between the two quantities, sat(TDP ) and sat(T), is the relative humidity. Develop a python function using saturation water vapor density that will calculate the relative humidity throughout the day for both days (file 1 and file 2) and add it as a column in each csv file to each variable. Generate a plot to display your results. The plot should be composed of two subplots. The upper subplot should show both the air and dew point temperatures versus time. The lower subplot should show the relative humidity versus time.

File 1: https://drive.google.com/file/d/1DtlXBLBtVUr6BN4FVmvHCJJNIb-m1UeC/view?usp=sharing

File 2: https://drive.google.com/file/d/1Cj59iN1NGpNrMh6YjOIPydU1pmZG48hm/view?usp=sharing

B. Compute the "comfort" of the air throughout the day for both days, defined as the times when the relative humidity is below 70%. Make plots of "comfort" versus time for both days. Also make plots of the histograms of relative humidity for both days, dividing up the range of the histogram in increments of 10%.

Relative Humidity The mass density of water vapor suspended in air (sometimes called the absolute humidity) is mea- sured in units of grams per cubic meter, or g m-3. The maximum water vapor density that can be suspended in air without condensing is dependent on the temperature of the air. Warmer air can "hold" more water vapor. Water vapor density is designated by the greek letter "rho", or p. Air is said to be saturated if it cannot hold any more water vapor without some of it condensing. The density at this point is called the saturation water vapor density, or psat. Note that Psat is a function of air tem- perature. If air at a particular temperature has a water vapor density below psat, then it is unsaturated. The ratio between the actual water vapor density and its saturation water vapor density is referred to as the relative humidity, or RH =P Psat The Dew Point Temperature (Top) of air with a water vapor density p is that temperature at which air with the same water vapor density would be saturated. The relationship between air temperature, T in C, and its saturation water vapor density, Psat in g m-3, can be approximated by the following expression, Psat (T)=c+(T + 100)2 + Ca(T + 100)* + CE(T + 100), where the power series coefficients are, Co = -2.915127 C2 = 1.124901E - 03 C1 = -1.58311E-07 C6 = 1.23218E - 11 The ratio between the two quantities, Psat (TDP) and Psat (T), is the relative humidity. Relative Humidity The mass density of water vapor suspended in air (sometimes called the absolute humidity) is mea- sured in units of grams per cubic meter, or g m-3. The maximum water vapor density that can be suspended in air without condensing is dependent on the temperature of the air. Warmer air can "hold" more water vapor. Water vapor density is designated by the greek letter "rho", or p. Air is said to be saturated if it cannot hold any more water vapor without some of it condensing. The density at this point is called the saturation water vapor density, or psat. Note that Psat is a function of air tem- perature. If air at a particular temperature has a water vapor density below psat, then it is unsaturated. The ratio between the actual water vapor density and its saturation water vapor density is referred to as the relative humidity, or RH =P Psat The Dew Point Temperature (Top) of air with a water vapor density p is that temperature at which air with the same water vapor density would be saturated. The relationship between air temperature, T in C, and its saturation water vapor density, Psat in g m-3, can be approximated by the following expression, Psat (T)=c+(T + 100)2 + Ca(T + 100)* + CE(T + 100), where the power series coefficients are, Co = -2.915127 C2 = 1.124901E - 03 C1 = -1.58311E-07 C6 = 1.23218E - 11 The ratio between the two quantities, Psat (TDP) and Psat (T), is the relative humidity

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!