Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(in) | :: | Tdb | |||
real(kind=r64), | intent(in) | :: | RH | |||
character(len=*), | intent(in), | optional | :: | calledfrom |
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
FUNCTION PsyRhovFnTdbRhLBnd0C(Tdb,RH,calledfrom) RESULT(RhoV)
! FUNCTION INFORMATION:
! AUTHOR R. J. Liesen
! DATE WRITTEN July 2000
! MODIFIED Name change to signify derivation and temperatures were used
! with 0C as minimum; LKL January 2008
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! This function provides the Vapor Density in air as a
! function of dry bulb temperature, and Relative Humidity.
! METHODOLOGY EMPLOYED:
! ideal gas law
! Universal gas const for water vapor 461.52 J/(kg K)
! REFERENCES:
! ASHRAE handbook 1993 Fundamentals,
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
REAL(r64), intent(in) :: RH ! relative humidity value (0.0-1.0)
REAL(r64), intent(in) :: Tdb ! dry-bulb temperature {C}
character(*), intent(in), optional :: calledfrom ! routine this function was called from (error messages) !unused1208
REAL(r64) :: RhoV ! Vapor density in air
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
RhoV = RH/(461.52d0*(Tdb+KelvinConv))*Exp(23.7093d0-4111.0d0/ &
((Tdb+KelvinConv)-35.45d0))
return
end function PsyRhovFnTdbRhLBnd0C