| 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 CalcSchedOnSysAvailMgr(SysAvailNum,AvailStatus)
          ! SUBROUTINE INFORMATION:
          !       AUTHOR         R. Raustad - FSEC
          !       DATE WRITTEN   August 2008
          !       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. If the schedule value is > 0
          ! the availability status is CycleOn, ELSE the status is NoAction.
          ! 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 on 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(SchedOnSysAvailMgrData(SysAvailNum)%SchedPtr) .GT. 0.0d0) THEN
    AvailStatus = CycleOn
  ELSE
    AvailStatus = NoAction
  END IF
  SchedOnSysAvailMgrData(SysAvailNum)%AvailStatus = AvailStatus
  RETURN
END SUBROUTINE CalcSchedOnSysAvailMgr