SUBROUTINE GetFanVolFlow(FanIndex, FanVolFlow)
! SUBROUTINE INFORMATION:
! AUTHOR Richard Raustad
! DATE WRITTEN August 2005
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine gets the fan volumetric flow for use by zone equipment (e.g. Packaged Terminal Heat Pump)
! Zone equipment must ensure that a properly sized fan is used to meet the maximum supply air flow rate
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: FanIndex
REAL(r64), INTENT(INOUT) :: FanVolFlow
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
! na
IF(FanIndex .EQ. 0)THEN
FanVolFlow = 0.0d0
ELSE
FanVolFlow = Fan(FanIndex)%MaxAirFlowRate
END IF
RETURN
END SUBROUTINE GetFanVolFlow