pvdeg.humidity.water_saturation_pressure#
- pvdeg.humidity.water_saturation_pressure(temp, average=True)[source]#
Calculate the water saturation temperature or dew point for given vapor pressure.
Water saturation pressure (psat) model created from an emperical fit of ln(psat) vs temperature using a 6th order polynomial fit. The fit produced R²=0.999813. Calculation created by Michael Kempe, unpublished data. The fit used data from -40°C to 200°C.
Parameters:#
- tempseries, float
The air temperature (dry bulb) as a time-indexed series [°C]
- averageboolean, default = True
If true, return both water saturation pressure serires and the average water saturation pressure (used for certain calcs)
Returns:#
- water_saturation_pressurearray, float
Saturation point
- avg_water_saturation_pressurefloat, optional
Mean saturation point for the series given