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 GatherComponentLoadsSurface
! SUBROUTINE INFORMATION:
! AUTHOR Jason Glazer
! DATE WRITTEN September 2012
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! Gather values during sizing used for loads component report.
! METHODOLOGY EMPLOYED:
! Save sequence of values for report during sizing.
! REFERENCES:
! na
! USE STATEMENTS:
! na
USE DataGlobals, ONLY: NumOfTimeStepInHour, CompLoadReportIsReq, isPulseZoneSizing
USE DataSizing, ONLY: CurOverallSimDay
USE DataSurfaces, ONLY: Surface, TotSurfaces, WinGainConvGlazToZoneRep,WinGainConvGlazShadGapToZoneRep, &
WinGainConvShadeToZoneRep, WinGainFrameDividerToZoneRep,SurfaceClass_Window
USE DataZoneEquipment, ONLY: ZoneEquipConfig
IMPLICIT NONE
! SUBROUTINE ARGUMENT DEFINITIONS:
! na
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER :: iSurf = 0
INTEGER :: ZoneNum = 0
INTEGER :: TimeStepInDay = 0
IF (CompLoadReportIsReq .AND. .NOT. isPulseZoneSizing) THEN
TimeStepInDay = (HourOfDay-1)*NumOfTimeStepInHour + TimeStep
feneCondInstantSeq(:,TimeStepInDay,CurOverallSimDay) = 0.0d0
DO iSurf = 1, TotSurfaces
ZoneNum = Surface(iSurf)%Zone
IF (ZoneNum .EQ. 0) CYCLE
IF (Surface(iSurf)%Class /= SurfaceClass_Window) CYCLE
! IF (.not. ZoneEquipConfig(ZoneNum)%IsControlled) CYCLE
feneCondInstantSeq(ZoneNum,TimeStepInDay,CurOverallSimDay) = feneCondInstantSeq(ZoneNum,TimeStepInDay,CurOverallSimDay) &
+ WinGainConvGlazToZoneRep(iSurf) &
+ WinGainConvGlazShadGapToZoneRep(iSurf) &
+ WinGainConvShadeToZoneRep(iSurf) &
+ WinGainFrameDividerToZoneRep(iSurf)
! for now assume zero instant solar - may change related
! to how blinds and shades absorb solar radiation and
! convect that heat that timestep.
!feneSolarInstantSeq(ZoneNum,TimeStepInDay,CurOverallSimDay) = 0
END DO
END IF
END SUBROUTINE GatherComponentLoadsSurface