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.
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.
REAL(r64) FUNCTION GetCurrentHVACTime()
! SUBROUTINE INFORMATION:
! AUTHOR Dimitri Curtil
! DATE WRITTEN November 2004
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! This routine returns the time in seconds at the end of the current HVAC step.
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
USE DataGlobals, ONLY : CurrentTime, TimeStepZone, SecInHour
USE DataHVACGlobals, ONLY : SysTimeElapsed, TimeStepSys
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
! na
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
REAL(r64) :: CurrentHVACTime
! This is the correct formula that does not use MinutesPerSystemTimeStep, which would
! erronously truncate all sub-minute system time steps down to the closest full minute.
!
! Maybe later TimeStepZone, TimeStepSys and SysTimeElapsed could also be specified
! as real.
CurrentHVACTime = (CurrentTime - TimeStepZone) + SysTimeElapsed + TimeStepSys
GetCurrentHVACTime = CurrentHVACTime * SecInHour
RETURN
END FUNCTION GetCurrentHVACTime