Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | SysAvailNum | |||
integer, | intent(out) | :: | AvailStatus |
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 CalcSchedSysAvailMgr(SysAvailNum,AvailStatus)
! SUBROUTINE INFORMATION:
! AUTHOR Fred Buhl
! DATE WRITTEN August 2001
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! Set AvailStatus indicator for a primary air loop, plant loop or ZoneHVAC component.
! METHODOLOGY EMPLOYED:
! Looks at the System Availability Manager schedule and sets the
! AvailStatus indicator accordingly. Mostly a useless algorithm
! since the fan schedules can do the same thing.
! REFERENCES:
! na
! USE STATEMENTS:
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
INTEGER, INTENT (IN) :: SysAvailNum ! number of the current scheduled system availability manager
INTEGER, INTENT (OUT) :: AvailStatus ! System status indicator
! SUBROUTINE PARAMETER DEFINITIONS:
! INTERFACE BLOCK SPECIFICATIONS:
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
IF (GetCurrentScheduleValue(SchedSysAvailMgrData(SysAvailNum)%SchedPtr) .GT. 0.0d0) THEN
AvailStatus = CycleOn
ELSE
AvailStatus = ForceOff
END IF
SchedSysAvailMgrData(SysAvailNum)%AvailStatus = AvailStatus
RETURN
END SUBROUTINE CalcSchedSysAvailMgr