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) | :: | ZoneDehumNum |
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 UpdateZoneDehumidifier(ZoneDehumNum)
! SUBROUTINE INFORMATION:
! AUTHOR Don Shirey, FSEC
! DATE WRITTEN August 2009
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine is for passing results to the outlet air node.
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
USE DataContaminantBalance, ONLY: Contaminant
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
INTEGER, INTENT (IN) :: ZoneDehumNum ! Number of the current zone dehumidifier being simulated
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER :: AirInletNodeNum ! Node number corresponding to the air entering dehumidifier
INTEGER :: AirOutletNodeNum ! Node number corresponding to the air leaving dehumidifier
AirInletNodeNum = ZoneDehumid(ZoneDehumNum)%AirInletNodeNum
AirOutletNodeNum = ZoneDehumid(ZoneDehumNum)%AirOutletNodeNum
! Changed outlet node properties
Node(AirOutletNodeNum)%Enthalpy = ZoneDehumid(ZoneDehumNum)%OutletAirEnthalpy
Node(AirOutletNodeNum)%HumRat = ZoneDehumid(ZoneDehumNum)%OutletAirHumRat
! Set outlet temp = inlet temp; send excess sensible heat directly to air heat balance
! (via SensibleOutput and QSensOut) for the next hvac simulation time step.
Node(AirOutletNodeNum)%Temp = Node(AirInletNodeNum)%Temp
! Pass through output node properties
Node(AirOutletNodeNum)%Quality = Node(AirInletNodeNum)%Quality
Node(AirOutletNodeNum)%Press = Node(AirInletNodeNum)%Press
Node(AirOutletNodeNum)%MassFlowRate = Node(AirInletNodeNum)%MassFlowRate
Node(AirOutletNodeNum)%MassFlowRateMin = Node(AirInletNodeNum)%MassFlowRateMin
Node(AirOutletNodeNum)%MassFlowRateMax = Node(AirInletNodeNum)%MassFlowRateMax
Node(AirOutletNodeNum)%MassFlowRateMinAvail = Node(AirInletNodeNum)%MassFlowRateMinAvail
Node(AirOutletNodeNum)%MassFlowRateMaxAvail = Node(AirInletNodeNum)%MassFlowRateMaxAvail
IF (Contaminant%CO2Simulation) Then
Node(AirOutletNodeNum)%CO2 = Node(AirInletNodeNum)%CO2
End If
IF (Contaminant%GenericContamSimulation) Then
Node(AirOutletNodeNum)%GenContam = Node(AirInletNodeNum)%GenContam
End If
RETURN
END SUBROUTINE UpdateZoneDehumidifier