-
Notifications
You must be signed in to change notification settings - Fork 70
Description
I am working on research to make an automated fogging cooling system by sensing current humidity and set the target humidity.
I want to calculate Absolute Humidity from Enthalpy, Relative Humidity, and Pressure.
There is an exisiting function to find HumidityRatio in this library:
psychrolib.GetHumRatioFromRelHum(TDryBulb, RelHum, Pressure)
The problem is that function also needs TDryBulb. In my case, I don't have the TDryBulb, but I have the enthalpy, relative humidity and pressure. Conventionally I use the psychrometric chart to find the answer. But for this case, I need to use python to calculate this value.
Is there any existing function that can help me with this case? I still cannot find the roundabout. Maybe I have to find the TDryBulb first by using enthalpy and RelHum, then put the value to existing formula and get the HumRatio. But there is also not exist in this library.
I've found someone create a polynomial function to find enthalpy from TDryBulb and Relhum, but I cannot make it working otherwise to find the TDryBulb from enthalpy and Relhum. Here is the reference. https://www.mrexcel.com/board/threads/excel-formula-for-calculating-airs-enthalpy-from-dry-bulb-temperature-and-relative-humidity.871843/
I hope there will be new feature to include function:
GetHumRatioFromRelHumAndEnthalphy(Enthalphy, RelHum, Pressure)
or GetTdrybulbFromEnthalphy(Enthalphy, Relhum, Pressure)
Or is there anyone can help to drop the formula? I really appreciate that.