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 | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | BaseboardNum |
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 UpdateElectricBaseboard(BaseboardNum)
! SUBROUTINE INFORMATION:
! AUTHOR Russ Taylor
! Rick Strand
! DATE WRITTEN Nov 1997
! February 2001
! MODIFIED Feb 2010 Daeho Kang for radiant component
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! METHODOLOGY EMPLOYED:
! The update subrotines in water baseboard radiator is modified.
! REFERENCES:
! na
! USE STATEMENTS:
USE DataGlobals, ONLY: TimeStepZone, BeginEnvrnFlag
USE DataHVACGlobals, ONLY: TimeStepSys, SysTimeElapsed
IMPLICIT NONE
! SUBROUTINE ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: BaseboardNum
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER,SAVE :: Iter = 0
Logical,save :: MyEnvrnFlag = .true.
IF (Beginenvrnflag .and. Myenvrnflag) then
Iter=0
Myenvrnflag = .false.
END IF
IF (.not. Beginenvrnflag) then
Myenvrnflag=.true.
END IF
! First, update the running average if necessary...
IF (LastSysTimeElapsed(BaseboardNum) == SysTimeElapsed) THEN
QBBElecRadSrcAvg(BaseboardNum) = QBBElecRadSrcAvg(BaseboardNum) - LastQBBElecRadSrc(BaseboardNum) * &
LastTimeStepSys(BaseboardNum) / TimeStepZone
END IF
! Update the running average and the "last" values with the current values of the appropriate variables
QBBElecRadSrcAvg(BaseboardNum) = QBBElecRadSrcAvg(BaseboardNum) + &
QBBElecRadSource(BaseboardNum) * TimeStepSys / TimeStepZone
LastQBBElecRadSrc(BaseboardNum) = QBBElecRadSource(BaseboardNum)
LastSysTimeElapsed(BaseboardNum) = SysTimeElapsed
LastTimeStepSys(BaseboardNum) = TimeStepSys
RETURN
END SUBROUTINE UpdateElectricBaseboard