Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(inout) | :: | SimAir |
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 ResolveLockoutFlags(SimAir)
! SUBROUTINE INFORMATION:
! AUTHOR Fred Buhl
! DATE WRITTEN December 2003
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine checks for components lockout flags and asks for air loop resimulation
! if any components have been locked out
! METHODOLOGY EMPLOYED:
! Checks if loop lockout flags are .TRUE.; if so, sets SimAirLoops to .TRUE.
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
LOGICAL, INTENT(INOUT) :: SimAir ! TRUE means air loops must be (re)simulated
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER :: AirLoopIndex
DO AirLoopIndex=1,NumPrimaryAirSys ! loop over the primary air loops
! check if economizer ia active and if there is a request that it be locked out
IF (AirLoopControlInfo(AirLoopIndex)%EconoActive .AND. &
(AirLoopControlInfo(AirLoopIndex)%ReqstEconoLockoutWithCompressor .OR. &
AirLoopControlInfo(AirLoopIndex)%ReqstEconoLockoutWithHeating)) THEN
AirLoopControlInfo(AirLoopIndex)%EconoLockout = .TRUE.
SimAir = .TRUE.
END IF
END DO
RETURN
END SUBROUTINE ResolveLockoutFlags