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.
SUBROUTINE GatherComponentLoadsHVAC
! SUBROUTINE INFORMATION:
! AUTHOR Jason Glazer
! DATE WRITTEN September 2012
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! Gather values during sizing used for loads component report.
! METHODOLOGY EMPLOYED:
! Save sequence of values for report during sizing.
! REFERENCES:
! na
! USE STATEMENTS:
! na
USE DataGlobals, ONLY: NumOfTimeStepInHour, CompLoadReportIsReq, isPulseZoneSizing
USE DataSizing, ONLY: CurOverallSimDay
USE DataHeatBalance, ONLY: ZnAirRpt, RefrigCaseCredit
USE DataHVACGlobals, ONLY: TimeStepSys
USE DataAirflowNetwork, ONLY : SimulateAirflowNetwork,AirflowNetworkControlSimple,AirflowNEtworkReportData
IMPLICIT NONE
! SUBROUTINE ARGUMENT DEFINITIONS:
! na
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER :: iZone = 0
INTEGER :: TimeStepInDay = 0
IF (CompLoadReportIsReq .AND. .NOT. isPulseZoneSizing) THEN
TimeStepInDay = (HourOfDay-1)*NumOfTimeStepInHour + TimeStep
DO iZone = 1, NumOfZones
infilInstantSeq(iZone,TimeStepInDay,CurOverallSimDay) = ((ZnAirRpt(iZone)%InfilHeatGain & !zone infiltration
- ZnAirRpt(iZone)%InfilHeatLoss) /(TimeStepSys * SecInHour))
IF (SimulateAirflowNetwork .GT. AirflowNetworkControlSimple) THEN
infilInstantSeq(iZone,TimeStepInDay,CurOverallSimDay) = infilInstantSeq(iZone,TimeStepInDay,CurOverallSimDay) &
+ (AirflowNetworkReportData(iZone)%MultiZoneInfiSenGainW & !air flow network
- AirflowNEtworkReportData(iZone)%MultiZoneInfiSenLossW)
END IF
infilLatentSeq(iZone,TimeStepInDay,CurOverallSimDay) = ((ZnAirRpt(iZone)%InfilLatentGain & !zone infiltration
- ZnAirRpt(iZone)%InfilLatentLoss) /(TimeStepSys * SecInHour))
IF (SimulateAirflowNetwork .GT. AirflowNetworkControlSimple) THEN
infilLatentSeq(iZone,TimeStepInDay,CurOverallSimDay) = infilLatentSeq(iZone,TimeStepInDay,CurOverallSimDay) &
+ (AirflowNetworkReportData(iZone)%MultiZoneInfiLatGainW & !air flow network
- AirflowNEtworkReportData(iZone)%MultiZoneInfiLatLossW)
END IF
zoneVentInstantSeq(iZone,TimeStepInDay,CurOverallSimDay) = ((ZnAirRpt(iZone)%VentilHeatGain & !zone ventilation
- ZnAirRpt(iZone)%VentilHeatLoss) /(TimeStepSys * SecInHour))
zoneVentLatentSeq(iZone,TimeStepInDay,CurOverallSimDay) = ((ZnAirRpt(iZone)%VentilLatentGain & !zone ventilation
- ZnAirRpt(iZone)%VentilLatentLoss) /(TimeStepSys * SecInHour))
interZoneMixInstantSeq(iZone,TimeStepInDay,CurOverallSimDay) = ((ZnAirRpt(iZone)%MixHeatGain & !zone mixing
- ZnAirRpt(iZone)%MixHeatLoss) /(TimeStepSys * SecInHour))
IF (SimulateAirflowNetwork .GT. AirflowNetworkControlSimple) THEN
interZoneMixInstantSeq(iZone,TimeStepInDay,CurOverallSimDay) = interZoneMixInstantSeq(iZone,TimeStepInDay,CurOverallSimDay) &
+ (AirflowNetworkReportData(iZone)%MultiZoneMixSenGainW & !air flow network
- AirflowNEtworkReportData(iZone)%MultiZoneMixSenLossW)
END IF
interZoneMixLatentSeq(iZone,TimeStepInDay,CurOverallSimDay) = ((ZnAirRpt(iZone)%MixLatentGain & !zone mixing
- ZnAirRpt(iZone)%MixLatentLoss) /(TimeStepSys * SecInHour))
IF (SimulateAirflowNetwork .GT. AirflowNetworkControlSimple) THEN
interZoneMixLatentSeq(iZone,TimeStepInDay,CurOverallSimDay) = interZoneMixLatentSeq(iZone,TimeStepInDay,CurOverallSimDay) &
+ (AirflowNetworkReportData(iZone)%MultiZoneMixLatGainW & !air flow network
- AirflowNEtworkReportData(iZone)%MultiZoneMixLatLossW)
END IF
END DO
END IF
END SUBROUTINE GatherComponentLoadsHVAC