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) | :: | ZoneNum | |||
integer, | intent(in) | :: | ZoneModelType |
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 ManageUCSDUFModels(ZoneNum, ZoneModelType)
! SUBROUTINE INFORMATION:
! AUTHOR Fred Buhl
! DATE WRITTEN August, 2005
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! Manages the simulation of the 2-node nonuniform zone models for underfloor air
! distribution systems (UFAD). Called from RoomAirManager, ManageAirModel
! METHODOLOGY EMPLOYED:
! uses Init and Calc routines in the standard EPlus manner to manage the calculation
! Note that much of the initialization is done in RoomAirManager, SharedDVCVUFDataInit
! REFERENCES:
! na
! USE STATEMENTS:
USE DataGlobals
USE DataLoopNode
USE DataEnvironment
USE DataHeatBalance
USE DataHeatBalSurface
USE DataSurfaces
USE DataRoomAirModel
USE ConvectionCoefficients, ONLY: CalcDetailedHcInForDVModel
USE DataHVACGlobals, ONLY: SysTimeElapsed
USE DataUCSDSharedData
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: ZoneNum ! index number for the specified zone
INTEGER, INTENT(IN) :: ZoneModelType ! type of zone model; UCSDUFI = 6
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
! input was obtained in RoomAirManager, GetUFADIntZoneData
CALL InitUCSDUF(ZoneNum,ZoneModelType) ! initialize some module variables
SELECT CASE (ZoneModelType)
CASE(RoomAirModel_UCSDUFI) ! UCSD UFAD interior zone model
! simulate room airflow using the UCSDUFI model
CALL CalcUCSDUI(ZoneNum)
CASE(RoomAirModel_UCSDUFE) ! UCSD UFAD interior zone model
! simulate room airflow using the UCSDUFI model
CALL CalcUCSDUE(ZoneNum)
END SELECT
RETURN
END SUBROUTINE ManageUCSDUFModels