Open schymans opened 2 years ago
According to the documentation it's the vapor pressure, not the saturation vapor pressure. I double checked this by comparing the source code to IAPWS G8-10 page 16 and I can confirm that it's giving the saturation vapor pressure.
If you want to get an HR value from an RH value to give to the HA object, I recommend using pyschrolib. It's got the reverse equations already programmed in for getting HR from RH.
Not sure if I understand the HumidAir routine correctly, but to calculate saturation vapour pressure at given temperature and pressure, I do this:
Is this the intended use? The meaning of Pv is not documented in the docstring of HumidAir, but it seems to give the saturation vapour pressure in this case. Would it be possible to allow passing RH=1. to HumidAir instead of A=HA()._eq(T1, Pa1)? Or did I misunderstand something?