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