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) | :: | FurnaceNum |
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.
SUBROUTINE ReportFurnace(FurnaceNum)
! SUBROUTINE INFORMATION:
! AUTHOR Richard Liesen
! DATE WRITTEN Feb 2001
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine updates the report variable for the coils.
! METHODOLOGY EMPLOYED:
! Update fan part-load ratio based on mass flow rate ratio.
! Update global variables used by AirflowNetwork module.
! REFERENCES:
! na
! USE STATEMENTS:
USE DataAirLoop, ONLY: LoopSystemOnMassFlowrate,LoopSystemOffMassFlowrate,LoopFanOperationMode,LoopOnOffFanPartLoadRatio
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: FurnaceNum
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
! na
! Report the Furnace Fan Part Load Ratio
IF (Furnace(FurnaceNum)%NumOfSpeedCooling < 1) THEN
IF(Furnace(FurnaceNum)%DesignMassFlowRate .GT. 0.0d0)THEN
Furnace(FurnaceNum)%FanPartLoadRatio = Furnace(FurnaceNum)%MdotFurnace/Furnace(FurnaceNum)%DesignMassFlowRate
ELSE
Furnace(FurnaceNum)%FanPartLoadRatio = 0.0d0
END IF
END IF
! Set mass flow rates during on and off cylce using an OnOff fan
LoopSystemOnMassFlowrate = CompOnMassFlow
LoopSystemOffMassFlowrate = CompOffMassFlow
LoopFanOperationMode = Furnace(FurnaceNum)%OpMode
LoopOnOffFanPartLoadRatio = Furnace(FurnaceNum)%FanPartLoadRatio
RETURN
END Subroutine ReportFurnace