You re really going to want an actual programming language for that.
Wet bulb dry bulb formula.
The dry bulb wet bulb and dew point temperatures are important to determine the state of humid air.
That is from a psychrometric chart for sea level.
1 to find t d.
Wet bulb temperature is the lowest temperature to which air can be cooled by the evaporation of water into the air at a constant pressure.
The knowledge of only two of these values is enough to determine the state of the moist air including the content of water vapor and the sensible and latent energy enthalpy in the air.
At 100 relative humidity the wet bulb temperature is equal to the air temperature dry bulb temperature.
When the psychrometer is swung around by its attached chain or handle the air causes the water on the wick to evaporate which.
The dry bulb temperature is the ambient temperature.
Given t 40 c rh 50 p sta 3 hpa.
It includes a dry bulb thermometer a wet bulb thermometer and a psychrometric chart a graph that plots the relationships between the dry and wet bulb temperature relative humidity and dew point at constant pressure.
I assume you know the basic psychronetry.
I can get hourly weather data that includes wet bulb temperature but i ll have to pay for it.
Relative humidity is measured using a device called a sling psychrometer this consists of 2 side by side conventional thermometers one of which the wet bulb thermometer has a wetted wick placed at the bottom the other the dry bulb thermometer has no wetted wick.
Notice that i stressed on double checking the results wit.
Determine the wet bulb and dewpoint temperature the given temperature is 40 deg c relative humidity is 50 and then actual station pressure is 3 millibars.
With a scientific calculator you won t have to deal with long algebra and do just fine.
If you re looking to calculate wet bulb temperature for many states basic excel is not going to be the best option.
For example at 70 degrees f dry bulb and 50 relative humidity the dewpoint is about 51 degrees f and the wet bulb is about 58 5 degrees f.
Dry bulb and wet bulb temperature.
Substitute the given values in the formula.
The conversion between wet bulb and dry bulb temperatures is surprisingly non trivial.
Here is an approach using aapproximate empirical formulas.
Full details can be found in chapter 6 of the ashrae fundamentals handbook.
By definition wet bulb temperature is the lowest temperature a portion of air can acquire by evaporative cooling only.
My notation differs slightly from ashrae s to convert between the two you need.
At lower humidity the wet bulb temperature is lower than dry bulb temperature because of evaporative cooling.