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 | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ZoneNum |
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 GetZoneInfilAirChangeRate(ZoneNum) RESULT(ACH)
! SUBROUTINE INFORMATION:
! AUTHOR Lixing Gu
! DATE WRITTEN May. 2007
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This function outputs air change per hour in a given zone
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
Use DataHVACGlobals, ONLY: TimeStepSys
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: ZoneNum ! hybrid ventilation system controlled zone number
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
REAL(r64) ACH ! Zone air change rate [ACH]
REAL(r64) InfilVolume ! Zone infiltration volume
REAL(r64) RhoAir ! Zone air density [kg/m3]
REAL(r64) CpAir ! Zone air specific heat
CpAir = PsyCpAirFnWTdb(ZoneAirHumRat(ZoneNum), MAT(ZoneNum))
RhoAir = PsyRhoAirFnPbTdbW(OutBaroPress,MAT(ZoneNum),ZoneAirHumRat(ZoneNum))
InfilVolume = (AirflowNetworkExchangeData(ZoneNum)%SumMCp/CpAir/RhoAir)*TimeStepSys*SecInHour
ACH = InfilVolume/(TimeStepSys*Zone(ZoneNum)%Volume)
END FUNCTION GetZoneInfilAirChangeRate