Nodes of different colours represent the following:
Solid arrows point from a parent (sub)module to the submodule which is descended from it. Dashed arrows point from a module being used to the module or program unit using it. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(in) | :: | Tset | |||
real(kind=r64), | intent(in), | optional | DIMENSION(:) | :: | Par |
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.
REAL(r64) FUNCTION PMVResidual(Tset, Par)
! FUNCTION INFORMATION:
! AUTHOR Richard Raustad
! DATE WRITTEN May 2006
! MODIFIED L.Gu, May 2006
! RE-ENGINEERED
! PURPOSE OF THIS FUNCTION:
! Calculates residual function (desired PMV value - actual PMV value) for thermal comfort control.
! METHODOLOGY EMPLOYED:
! Calls CalcThermalComfortFanger to get PMV value at the given zone and people conditions
! and calculates the residual as defined above
! REFERENCES:
! USE STATEMENTS:
USE ThermalComfort, ONLY: CalcThermalComfortFanger
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
REAL(r64), INTENT(IN) :: Tset !
REAL(r64), INTENT(IN), DIMENSION(:), OPTIONAL :: Par ! par(1) = PMV set point
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
INTEGER :: PeopleNum ! index of people object
REAL(r64) :: PMVresult ! resulting PMV values
PeopleNum = INT(Par(2))
CALL CalcThermalComfortFanger(PeopleNum, Tset, PMVresult)
PMVResidual = Par(1) - PMVresult
RETURN
END FUNCTION PMVResidual