SharpFluids
SharpFluids copied to clipboard
how to calculate the thermophysical parameters of moist air?
Excuse me, how to calculate the thermophysical parameters of moist air?
It is done in CoolProp http://www.coolprop.org/fluid_properties/HumidAir.html# but no one has implemented it into SharpFluids.
I will implement it in the future but not any time soon unfortunately
Thank you. I'm still looking forward to it.
I have started working on implementing moist air lookup. It is still in beta so please report any bugs you find.
An example of how it works:
MoistAir Air = new MoistAir();
Air.UpdateAir( Pressure.FromBars(1),
DryBulbTemperature: Temperature.FromKelvins(298.15),
RelativeHumidity: 0.5);
Debug.Print($"WetBulbTemperature: {Air.WetBulbTemperature}");
Debug.Print($"DewPointTemperature: {Air.DewPointTemperature}");
Debug.Print($"DryBulbTemperature: {Air.Temperature}");
Debug.Print($"RelativeHumidity: {Air.RelativeHumidity * 100} % ");
Debug.Print($"HumidityRatio: {Air.HumidityRatio} kg/kg");
You need to give it Pressure as the first parameter and 2 of the followering after that:
WetBulbTemperature
DewPointTemperature
SpecificEnergy Enthalpy
RelativeHumidity
Entropy
DryBulbTemperature
Density
HumidityRatio