uwg.psychrometrics module

Functions for sychrometric calculations.

uwg.psychrometrics.hum_from_rhum_temp(RH, T, P)[source]

Specific Humidity (kgh20/kgn202) from RH, T and Pa.

Parameters:
  • RH – Number for Relative Humidity.

  • T – Number for dry bulb temperature (C).

  • P – Number for air pressure (P).

Returns:

Specific Humidity (kgh20/kgn202).

uwg.psychrometrics.moist_air_density(P, Tdb, H)[source]

Moist air density (kgv m-3) from dry bulb temp, HR, and pressure[1][2][3].

Note

[1] ASHRAE Fundamentals (2005) ch. 6 eqn. 28 [2] ASHRAE Fundamentals (2009) ch. 1 eqn. 28 [3] https://github.com/psychrometrics/Libraries/blob/master/Psychrometrics_SI.cpp

Parameters:
  • P – Number for Pressure (P).

  • Tdb – Number for dry bulb temperature in (C).

  • H – Number for Humidity Ratio (kgv/kgda).

Returns:

Moist air density (kgv m-3).

uwg.psychrometrics.psychrometrics(Tdb_in, w_in, P)[source]

Modified version of Psychometrics by Tea Zakula MIT Building Technology Lab.

Parameters:
  • Tdb_in – Number for dry bulb temperature (K).

  • w_in – Number for Humidity Ratio (kgv/kgda).

  • P – Atmospheric Station Pressure (P).

Returns:

A tuple with six values

  • Tdb: Number for dry bulb temperature in (C).

  • w: Number for Humidity Ratio (kgv/kgda).

  • phi: Number for relative humidity (Pw/Pws*100).

  • h: Number for enthalpy (J/kga).

  • Tdp: Number for dew point temperature (C).

  • v: Number for specific volume (m3/kga).

uwg.psychrometrics.saturation_pressure(Tdb_)[source]

Saturation pressure from dry bulb pressure.

Parameters:

Tdb – Dry bulb temperature (K).

Returns:

Saturation pressure.