You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The calculations of wet bulb when dry bulb when above 100 C are not handled properly.
The convergence tests implemented (test_GetTDewPointFromVapPres_convergence) converge to unreasonable values when hen above 100 C. For example GetTWetBulbFromRelHum(TDryBulb, RelHum, Pressure) with TDryBulb = 25, RelHum = 1 and Pressure = 101325. As expected the function returns 25 (when the air is saturated, wet bulb = dew point = dry bulb). With TDryBulb = 99 it returns 99.. When called with TDryBulb = 101 it returns 43.
The text was updated successfully, but these errors were encountered:
Hi, I'm sorry this is a bit off topic but maybe it's useful for review:
I'm testing two libraries in javascript: coolprop for thermodynamics and mathjs for units and other math stuff.
When testing HAprops('DewPoint', { 'Tdb': 25 degC, 'P': 1 atm, 'RelHum': 100 % }) to degC
The results is: 25.000000000064 degC
I apologise if this is completely obvious, but it seems that GetTWetBulbFromRelHum should be evaluating Psat * RelHum at the very beginning, and verifying that it is not larger than than the actual value of Pressure, which would indicate supersaturation, and therefore "unphysical" in the world of psychrolib.
If not obvious, did I misunderstand something?
The calculations of wet bulb when dry bulb when above 100 C are not handled properly.
The convergence tests implemented (
test_GetTDewPointFromVapPres_convergence
) converge to unreasonable values when hen above 100 C. For exampleGetTWetBulbFromRelHum(TDryBulb, RelHum, Pressure)
with TDryBulb = 25, RelHum = 1 and Pressure = 101325. As expected the function returns 25 (when the air is saturated, wet bulb = dew point = dry bulb). With TDryBulb = 99 it returns 99.. When called with TDryBulb = 101 it returns 43.The text was updated successfully, but these errors were encountered: