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.
SUBROUTINE FigureTransformerZoneGains
! SUBROUTINE INFORMATION:
! AUTHOR Weimin Wang
! DATE WRITTEN July 2010
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! Couple transformer losses to zone heat gains
! METHODOLOGY EMPLOYED:
! <description>
! REFERENCES:
! na
! USE STATEMENTS:
USE DataGlobals, ONLY: BeginEnvrnFlag
USE DataHeatBalance, ONLY: ZoneIntGain
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 :: TransfNum = 0
INTEGER :: ZoneNum = 0
IF (NumTransformers == 0) RETURN
IF (BeginEnvrnFlag .AND. MyEnvrnFlag) THEN
Transformer%QdotconvZone = 0.0D0
Transformer%QdotRadZone = 0.0D0
MyEnvrnFlag = .FALSE.
ENDIF
IF( .NOT. BeginEnvrnFlag) MyEnvrnFlag = .TRUE.
! IF(DoingSizing)THEN
! ENDIF
RETURN
END SUBROUTINE FigureTransformerZoneGains