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 ManageHybridVentilation
! SUBROUTINE INFORMATION:
! AUTHOR Lixing Gu
! DATE WRITTEN March 2007
! MODIFIED July 2012, Chandan Sharma - FSEC: Added zone sys avail managers
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! Manage the simulation of the Hybrid Ventilation Control System Availability Managers
! METHODOLOGY EMPLOYED:
! NA
! REFERENCES:
! NA
! USE STATEMENTS:
USE DataZoneEquipment, ONLY: ZoneEquipConfig
USE DataLoopNode
USE DataAirLoop
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
! None
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER :: PriAirSysNum ! Primary Air System index
INTEGER :: SysAvailNum
INTEGER :: ZoneNum
IF (GetHybridInputFlag) THEN
CALL GetHybridVentilationInputs
GetHybridInputFlag=.FALSE.
ENDIF
IF (NumHybridVentSysAvailMgrs == 0) RETURN
CALL InitHybridVentSysAvailMgr
DO SysAvailNum = 1,NumHybridVentSysAvailMgrs
IF (HybridVentSysAvailMgrData(SysAvailNum)%HybridVentMgrConnectedToAirLoop) THEN
DO PriAirSysNum=1,NumPrimaryAirSys
IF (HybridVentSysAvailMgrData(SysAvailNum)%AirLoopNum .EQ. PriAirSysNum) &
CALL CalcHybridVentSysAvailMgr(SysAvailNum,PriAirSysNum)
END DO
ELSE
! Hybrid ventilation manager is applied to zone component
IF (HybridVentSysAvailMgrData(SysAvailNum)%SimHybridVentSysAvailMgr) THEN
CALL CalcHybridVentSysAvailMgr(SysAvailNum)
ENDIF
ENDIF
END DO
RETURN
END SUBROUTINE ManageHybridVentilation