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 SimMTPlantHeatRecovery(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 !unused1208
! INTEGER, INTENT(IN) :: FlowLock !unused1208 !DSU
LOGICAL, INTENT(INOUT) :: InitLoopEquip
REAL(r64), INTENT(INOUT) :: MyLoad !unused1208
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 !unused1208
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
! na
IF (GetMTInput) THEN
CALL GetMTGeneratorInput
GetMTInput = .FALSE.
END IF
IF (InitLoopEquip) THEN
CompNum = FindItemInList(CompName, MTGenerator%name, NumMTGenerators)
IF (CompNum == 0) THEN
CALL ShowFatalError('SimMTPlantHeatRecovery: Microturbine Generator Unit not found='//TRIM(CompName))
RETURN
END IF
MinCap = MTGenerator(CompNum)%MinThermalPowerOutput
MaxCap = MTGenerator(CompNum)%MaxThermalPowerOutput
OptCap = MTGenerator(CompNum)%RefThermalPowerOutput
RETURN
END IF ! End Of InitLoopEquip
RETURN
END SUBROUTINE SimMTPlantHeatRecovery