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) | :: | SurfaceGHENum |
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.
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 ReportSurfaceGroundHeatExchngr(SurfaceGHENum)
! SUBROUTINE INFORMATION:
! AUTHOR Simon Rees
! DATE WRITTEN August 2002
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine simply produces output for Surface ground heat exchangers
! METHODOLOGY EMPLOYED:
! Standard EnergyPlus methodology.
! REFERENCES:
! na
! USE STATEMENTS:
USE DataGlobals, ONLY : SecInHour
USE DataHVACGlobals, ONLY : TimeStepSys
USE DataLoopNode, ONLY : Node
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: SurfaceGHENum ! Index for the surface under consideration
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
! FLOW:
! update flows and temps from node data
SurfaceGHEReport(SurfaceGHENum)%InletTemp = Node(SurfaceGHE(SurfaceGHENum)%InletNodeNum)%Temp
SurfaceGHEReport(SurfaceGHENum)%OutletTemp = Node(SurfaceGHE(SurfaceGHENum)%OutletNodeNum)%Temp
SurfaceGHEReport(SurfaceGHENum)%MassFlowRate = Node(SurfaceGHE(SurfaceGHENum)%InletNodeNum)%MassFlowRate
! update other variables from module variables
SurfaceGHEReport(SurfaceGHENum)%HeatTransferRate = SourceFlux*SurfaceArea
SurfaceGHEReport(SurfaceGHENum)%SurfHeatTransferRate = SurfaceArea*(TopSurfFlux+BtmSurfFlux)
SurfaceGHEReport(SurfaceGHENum)%Energy = SourceFlux*SurfaceArea*TimeStepSys*SecInHour
SurfaceGHEReport(SurfaceGHENum)%TopSurfaceTemp = TopSurfTemp
SurfaceGHEReport(SurfaceGHENum)%BtmSurfaceTemp = BtmSurfTemp
SurfaceGHEReport(SurfaceGHENum)%TopSurfaceFlux = TopSurfFlux
SurfaceGHEReport(SurfaceGHENum)%BtmSurfaceFlux = BtmSurfFlux
SurfaceGHEReport(SurfaceGHENum)%SurfEnergy = SurfaceArea*(TopSurfFlux+BtmSurfFlux)*TimeStepSys*SecInHour
SurfaceGHEReport(SurfaceGHENum)%SourceTemp = SourceTemp
RETURN
END SUBROUTINE ReportSurfaceGroundHeatExchngr