Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | PurchAirNum |
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 GetPurchasedAirOutAirMassFlow(PurchAirNum) RESULT(OutAirMassFlow)
! FUNCTION INFORMATION:
! AUTHOR B Griffith
! DATE WRITTEN Dec 2006
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! lookup function for OA inlet mass flow for ventilation rate reporting
! METHODOLOGY EMPLOYED:
! most analagous functions look up an outside air node but this function
! gets the actual mass flow of outdoor air, following the features of the model
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
INTEGER, INTENT (IN) :: PurchAirNum !
REAL(r64) :: OutAirMassFlow
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
! na
IF (GetPurchAirInputFlag ) THEN
CALL GetPurchasedAir
GetPurchAirInputFlag = .FALSE.
END IF
OutAirMassFlow = PurchAir(PurchAirNum)%OutdoorAirMassFlowRate
RETURN
END FUNCTION GetPurchasedAirOutAirMassFlow