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 ManageSetPoints
! SUBROUTINE INFORMATION:
! AUTHOR Russ Taylor, Rick Strand
! DATE WRITTEN May 1998
! MODIFIED Fred Buhl May 2000
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! METHODOLOGY EMPLOYED:
! Each flag is checked and the appropriate manager is then called.
! REFERENCES:
! na
! USE STATEMENTS:
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER :: SetPtMgrNum ! loop index
! First time ManageSetPoints is called, get the input for all the setpoint managers
IF (GetInputFlag) THEN
CALL GetSetPointManagerInputs
GetInputFlag = .FALSE.
END IF
CALL InitSetPointManagers
IF (ManagerOn) THEN
CALL SimSetPointManagers
CALL UpdateSetPointManagers
! The Mixed Air Setpoint Managers (since they depend on other setpoints, they must be calculated
! and updated next to last).
DO SetPtMgrNum=1,NumMixedAirSetPtMgrs
CALL CalcMixedAirSetPoint(SetPtMgrNum)
END DO
CALL UpdateMixedAirSetPoints
! The Outside Air Pretreat Setpoint Managers (since they depend on other setpoints, they must be calculated
! and updated last).
DO SetPtMgrNum=1,NumOAPretreatSetPtMgrs
CALL CalcOAPretreatSetPoint(SetPtMgrNum)
END DO
CALL UpdateOAPretreatSetPoints
END IF
RETURN
END SUBROUTINE ManageSetPoints