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.
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 SetupAdaptiveConvectionRadiantSurfaceData
! SUBROUTINE INFORMATION:
! AUTHOR Brent Griffith
! DATE WRITTEN Sept 2011
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! identify Zones that have active radiant elements for convection model classifications
! METHODOLOGY EMPLOYED:
! Need to fill in values for ZoneEquipConfig%InWallActiveElement, ZoneEquipConfig%InCeilingActiveElement
! and ZoneEquipConfig(ZoneNum)%InFloorActiveElement.
! REFERENCES:
! na
! USE STATEMENTS:
USE DataZoneEquipment
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:
INTEGER :: ActiveWallCount = 0
REAL(r64) :: ActiveWallArea = 0.d0
INTEGER :: ActiveCeilingCount = 0
Real(r64) :: ActiveCeilingArea = 0.d0
INTEGER :: ActiveFloorCount = 0
REAL(r64) :: ActiveFloorArea = 0.d0
INTEGER :: ZoneLoop
INTEGER :: SurfLoop
DO ZoneLoop=1, NumOfZones
ActiveWallCount = 0
ActiveWallArea = 0.d0
ActiveCeilingCount = 0
ActiveCeilingArea = 0.d0
ActiveFloorCount = 0
ActiveFloorArea = 0.d0
DO SurfLoop = Zone(ZoneLoop)%SurfaceFirst, Zone(ZoneLoop)%SurfaceLast
IF (.NOT. Surface(SurfLoop)%IntConvSurfHasActiveInIt) CYCLE
IF (Surface(SurfLoop)%Class == SurfaceClass_Wall &
.OR. Surface(SurfLoop)%Class == SurfaceClass_Door ) THEN
ActiveWallCount = ActiveWallCount + 1
ActiveWallArea = ActiveWallArea + Surface(SurfLoop)%Area
ELSEIF (Surface(SurfLoop)%Class == SurfaceClass_Roof) THEN
ActiveCeilingCount = ActiveCeilingCount + 1
ActiveCeilingArea = ActiveCeilingArea + Surface(SurfLoop)%Area
ELSEIF (Surface(SurfLoop)%Class == SurfaceClass_Floor) THEN
ActiveFloorCount = ActiveFloorCount + 1
ActiveFloorArea = ActiveFloorArea + Surface(SurfLoop)%Area
ENDIF
ENDDO ! surface loop
IF ((ActiveWallCount > 0) .AND. (ActiveWallArea > 0.d0 )) THEN
ZoneEquipConfig(ZoneLoop)%InWallActiveElement = .TRUE.
ENDIF
IF ((ActiveCeilingCount > 0) .AND. (ActiveCeilingArea > 0.d0)) THEN
ZoneEquipConfig(ZoneLoop)%InCeilingActiveElement = .TRUE.
ENDIF
IF (( ActiveFloorCount > 0) .AND. (ActiveFloorArea > 0)) THEN
ZoneEquipConfig(ZoneLoop)%InFloorActiveElement = .TRUE.
ENDIF
ENDDO ! zone loop
RETURN
END SUBROUTINE SetupAdaptiveConvectionRadiantSurfaceData