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.
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 FigureRefrigerationZoneGains
! SUBROUTINE INFORMATION:
! AUTHOR B. Griffith
! DATE WRITTEN Dec 2011
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! initialize zone gain terms at begin environment
! METHODOLOGY EMPLOYED:
! <description>
! REFERENCES:
! na
! USE STATEMENTS:
USE DataGlobals, ONLY: BeginEnvrnFlag
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
! na
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
LOGICAL, SAVE :: MyEnvrnFlag = .TRUE.
INTEGER :: loop
CALL CheckRefrigerationInput
IF (BeginEnvrnFlag .AND. MyEnvrnFlag) THEN
IF (NumRefrigSystems > 0) THEN
System%PipeHeatLoad = 0.d0
System%NetHeatRejectLoad = 0.d0
ENDIF
IF (NumTransRefrigSystems > 0) THEN
TransSystem%PipeHeatLoadMT = 0.d0
TransSystem%PipeHeatLoadLT = 0.d0
TransSystem%NetHeatRejectLoad = 0.d0
ENDIF
IF (NumRefrigeratedRacks > 0) THEN
RefrigRack%SensZoneCreditHeatRate = 0.d0
RefrigRack%SensHVACCreditHeatRate = 0.d0
ENDIF
IF (NumSimulationSecondarySystems > 0) THEN
Secondary%DistPipeZoneHeatGain = 0.d0
Secondary%ReceiverZoneHeatGain = 0.d0
ENDIF
IF (NumSimulationWalkIns > 0) THEN
DO loop=1, NumSimulationWalkIns
WalkIn(loop)%SensZoneCreditRate = 0.d0
WalkIn(loop)%LatZoneCreditRate = 0.d0
ENDDO
ENDIF
IF (NumSimulationCases > 0) THEN
RefrigCase%SensZoneCreditRate = 0.d0
RefrigCase%SensHVACCreditRate = 0.d0
RefrigCase%LatZoneCreditRate = 0.d0
RefrigCase%LatHVACCreditRate = 0.d0
ENDIF
MyEnvrnFlag = .FALSE.
ENDIF
IF( .NOT. BeginEnvrnFlag) MyEnvrnFlag = .TRUE.
RETURN
! should model above terms for use during sizing here
! IF(DoingSizing)THEN
! ENDIF
END SUBROUTINE FigureRefrigerationZoneGains