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.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | CompType | |||
character(len=*), | intent(in) | :: | CompName | |||
integer, | intent(in) | :: | CompTypeNum | |||
integer, | intent(inout) | :: | CompNum | |||
logical, | intent(in) | :: | RunFlag | |||
logical, | intent(inout) | :: | InitLoopEquip | |||
real(kind=r64), | intent(inout) | :: | MyLoad | |||
real(kind=r64), | intent(out) | :: | MaxCap | |||
real(kind=r64), | intent(out) | :: | MinCap | |||
real(kind=r64), | intent(out) | :: | OptCap | |||
logical, | intent(in) | :: | FirstHVACIteration |
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 SimCTPlantHeatRecovery(CompType,CompName,CompTypeNum,CompNum,RunFlag,InitLoopEquip, & !DSU
MyLoad,MaxCap,MinCap,OptCap,FirstHVACIteration)
! SUBROUTINE INFORMATION:
! AUTHOR BGriffith
! DATE WRITTEN March 2008
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! Fill data needed in PlantLoopEquipments
! METHODOLOGY EMPLOYED:
! <description>
! REFERENCES:
! na
! USE STATEMENTS:
USE InputProcessor, ONLY: FindItemInList
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
CHARACTER(len=*), INTENT(IN) :: CompType !unused1208
CHARACTER(len=*), INTENT(IN) :: CompName
INTEGER, INTENT(IN) :: CompTypeNum !unused1208
INTEGER, INTENT(INOUT) :: CompNum
LOGICAL, INTENT(IN) :: RunFlag
!INTEGER, INTENT(IN) :: FlowLock !unused1208 !DSU
LOGICAL, INTENT(INOUT) :: InitLoopEquip
REAL(r64), INTENT(INOUT) :: MyLoad
REAL(r64), INTENT(OUT) :: MinCap
REAL(r64), INTENT(OUT) :: MaxCap
REAL(r64), INTENT(OUT) :: OptCap
LOGICAL, INTENT(IN) :: FirstHVACIteration ! TRUE if First iteration of simulation
! SUBROUTINE PARAMETER DEFINITIONS:
! INTERFACE BLOCK SPECIFICATIONS:
! DERIVED TYPE DEFINITIONS:
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
IF (GetCTInput) THEN
CALL GetCTGeneratorInput
GetCTInput = .FALSE.
END IF
If (InitLoopEquip) Then
CompNum = FindItemInList(CompName, CTGenerator%name, NumCTGenerators)
If (CompNum == 0) Then
CALL ShowFatalError('SimCTPlantHeatRecovery: CT Generator Unit not found='//TRIM(CompName))
RETURN
ENDIF
MinCap = 0.0d0
MaxCap = 0.0d0
OptCap = 0.0d0
RETURN
ENDIF ! End Of InitLoopEquip
RETURN
END SUBROUTINE SimCTPlantHeatRecovery