TYPE CBVAVData
! input data
CHARACTER(len=MaxNameLength) :: Name = ' ' ! Name of unit
CHARACTER(len=MaxNameLength) :: UnitType = ' ' ! Type of unit
CHARACTER(len=MaxNameLength) :: Sched = ' ' ! Availability schedule name
INTEGER :: SchedPtr = 0 ! Index number to availability schedule
REAL(r64) :: MaxCoolAirVolFlow = 0.0d0 ! System air volumetric flow rate during cooling operation [m3/s]
REAL(r64) :: MaxHeatAirVolFlow = 0.0d0 ! System air volumetric flow rate during heating operation [m3/s]
REAL(r64) :: MaxNoCoolHeatAirVolFlow = 0.0d0 ! System air volumetric flow rate when no cooling or heating [m3/s]
REAL(r64) :: MaxCoolAirMassFlow = 0.0d0 ! System air mass flow rate during cooling operation [kg/s]
REAL(r64) :: MaxHeatAirMassFlow = 0.0d0 ! System air mass flow rate during heating operation [kg/s]
REAL(r64) :: MaxNoCoolHeatAirMassFlow = 0.0d0 ! System air mass flow rate when no cooling or heating [kg/s]
REAL(r64) :: CoolOutAirVolFlow = 0.0d0 ! OA volumetric flow rate during cooling operation [m3/s]
REAL(r64) :: HeatOutAirVolFlow = 0.0d0 ! OA volumetric flow rate during heating operation [m3/s]
REAL(r64) :: NoCoolHeatOutAirVolFlow = 0.0d0 ! OA volumetric flow rate when no cooling or heating [m3/s]
REAL(r64) :: CoolOutAirMassFlow = 0.0d0 ! OA mass flow rate during cooling operation [kg/s]
REAL(r64) :: HeatOutAirMassFlow = 0.0d0 ! OA mass flow rate during heating operation [kg/s]
REAL(r64) :: NoCoolHeatOutAirMassFlow = 0.0d0 ! OA mass flow rate when no cooling or heating [kg/s]
INTEGER :: OutAirSchPtr = 0 ! Index number to outside air multiplier schedule
INTEGER :: AirInNode = 0 ! Inlet air node number for CBVAV unit
INTEGER :: AirOutNode = 0 ! Outlet air node number for CBVAV unit
INTEGER :: CondenserNodeNum = 0 ! DX Coil condenser air inlet node number
INTEGER :: MixerOutsideAirNode = 0 ! Outside air node number for OA mixer
INTEGER :: MixerMixedAirNode = 0 ! Mixed air node number for OA mixer
INTEGER :: MixerReliefAirNode = 0 ! Relief air node number for OA mixer
INTEGER :: MixerInletAirNode = 0 ! Return air node number for OA mixer
INTEGER :: SplitterOutletAirNode = 0 ! Air node number for splitter (last component outlet node)
CHARACTER(len=MaxNameLength) :: OAMixType = ' ' ! type of outside air mixer
CHARACTER(len=MaxNameLength) :: OAMixName = ' ' ! Name of OA mixer
INTEGER :: OAMixIndex = 0 ! Index to OA mixer
CHARACTER(len=MaxNameLength) :: FanName = ' ' ! Name of fan
CHARACTER(len=MaxNameLength) :: FanType = ' ' ! Type of fan
INTEGER :: FanPlace = 0 ! Fan placement is either blowthru (1) or drawthru (2)
INTEGER :: FanType_Num = 0 ! Fan type number (see DataHVACGlobals)
INTEGER :: FanIndex = 0 ! Index number to fan
INTEGER :: FanOpModeSchedPtr = 0 ! Fan operating mode schedule pointer
REAL(r64) :: FanVolFlow = 0.0d0 ! Volumetric flow rate of system supply air fan [m3/s]
REAL(r64) :: HeatingSpeedRatio = 1.0d0 ! Fan speed ratio in heating mode
REAL(r64) :: CoolingSpeedRatio = 1.0d0 ! Fan speed ratio in cooling mode
REAL(r64) :: NoHeatCoolSpeedRatio = 1.0d0 ! Fan speed ratio when no cooling or heating
LOGICAL :: CheckFanFlow = .TRUE. ! Check fan volumetric flow versus system flow in init routine.
CHARACTER(len=MaxNameLength) :: DXCoolCoilName = ' ' ! Name of DX cooling coil
CHARACTER(len=MaxNameLength) :: DXCoolCoilType = ' ' ! Type of DX cooling coil,Coil:DX:CoolingBypassFactorEmpirical or
! CoilSystem:Cooling:DX:HeatExchangerAssisted
INTEGER :: DXCoolCoilType_Num = 0 ! Numeric equivalent for DX cooling coil type
INTEGER :: CoolCoilCompIndex = 0 ! cooling coil component index number
INTEGER :: DXCoolCoilIndexNum = 0 ! actual DX cooling coil index number
INTEGER :: DXHeatCoilIndexNum = 0 ! actual DX heating coil index number
CHARACTER(len=MaxNameLength) :: HeatCoilName = ' ' ! Name of heating coil
CHARACTER(len=MaxNameLength) :: HeatCoilType = ' ' ! Type of heating coil,Coil:DX:HeatingEmpirical
! Coil:Heater:Gas, Coil:Heater:Electric, Coil:Heater:Water
! Coil:Heater:Steam
INTEGER :: HeatCoilType_Num = 0 ! Numeric equivalent for DX heating coil type
INTEGER :: HeatCoilIndex = 0 ! DX heating coil index number
INTEGER :: OpMode =0 ! mode of operation; 1=cycling fan, cycling compressor
! 2=continuous fan, cycling compresor
INTEGER :: CoilControlNode = 0 ! heating coil hot water or steam inlet node
INTEGER :: CoilOutletNode = 0 ! outlet node for hot water and steam coil
INTEGER :: LoopNum = 0 ! plant loop index for water heating coil
INTEGER :: LoopSide = 0 ! plant loop side index for water heating coil
INTEGER :: BranchNum = 0 ! plant loop branch index for water heating coil
INTEGER :: CompNum = 0 ! plant loop component index for water heating coil
Integer :: HotWaterCoilMaxIterIndex = 0 ! Index to recurring warning message
Integer :: HotWaterCoilMaxIterIndex2 = 0 ! Index to recurring warning message
REAL(r64) :: MaxHeatCoilFluidFlow = 0.0d0 ! water or steam mass flow rate for heating coil [kg/s]
REAL(r64) :: DesignHeatingCapacity = 0.0d0 ! design heating capacity of the heating coil
REAL(r64) :: DesignSuppHeatingCapacity= 0.0d0 ! Operating capacity of supplemental Heating Coil [W]
REAL(r64) :: MinOATCompressor = 0.0d0 ! Minimum OAT for compressor operation [C]
REAL(r64) :: MinLATCooling = 0.0d0 ! Minimum leaving air temp for compressor cooling operation [C]
REAL(r64) :: MaxLATHeating = 0.0d0 ! Maximum leaving air temp for heating operation [C]
! Report data
REAL(r64) :: TotHeatEnergyRate = 0.0d0 ! Total heating output [W]
REAL(r64) :: TotHeatEnergy = 0.0d0 ! Total heating output [J]
REAL(r64) :: TotCoolEnergyRate = 0.0d0 ! Total cooling output [W]
REAL(r64) :: TotCoolEnergy = 0.0d0 ! Total cooling output [J]
REAL(r64) :: SensHeatEnergyRate = 0.0d0 ! Sensible heating output [W]
REAL(r64) :: SensHeatEnergy = 0.0d0 ! Sensible heating output [J]
REAL(r64) :: SensCoolEnergyRate = 0.0d0 ! Sensible cooling output [W]
REAL(r64) :: SensCoolEnergy = 0.0d0 ! Sensible cooling output [J]
REAL(r64) :: LatHeatEnergyRate = 0.0d0 ! Latent heating output [W]
REAL(r64) :: LatHeatEnergy = 0.0d0 ! Latent heating output [J]
REAL(r64) :: LatCoolEnergyRate = 0.0d0 ! Latent cooling output [W]
REAL(r64) :: LatCoolEnergy = 0.0d0 ! Latent cooling output [J]
REAL(r64) :: ElecPower = 0.0d0 ! Electricity consumed [W]
REAL(r64) :: ElecConsumption = 0.0d0 ! Electricity consumed [J]
REAL(r64) :: FanPartLoadRatio = 0.0d0 ! Fan part-load ratio for time step
REAL(r64) :: CompPartLoadRatio = 0.0d0 ! Compressor part-load ratio for time step
INTEGER :: LastMode = 0 ! Last mode of operation, coolingmode or heatingmode
INTEGER :: AirFlowControl = 0 ! Fan control mode, UseCompressorOnFlow or UseCompressorOffFlow
REAL(r64) :: CompPartLoadFrac = 0.0d0 ! Compressor part load ratio
INTEGER :: AirLoopNumber = 0 ! Air loop served by the CBVAV system
INTEGER :: NumControlledZones = 0
INTEGER, DIMENSION(:), ALLOCATABLE :: ControlledZoneNum ! Index to controlled zones
INTEGER, DIMENSION(:), ALLOCATABLE :: ActualZoneNum ! Actual zone number of controlled zone
INTEGER, DIMENSION(:), ALLOCATABLE :: ActualZoneNodeNum ! Actual zone node num of controlled zone
INTEGER, DIMENSION(:), ALLOCATABLE :: CBVAVBoxOutletNode ! Outlet node of CBVAV Box in controlled zone
INTEGER, DIMENSION(:), ALLOCATABLE :: ZoneSequenceCoolingNum ! Index to cooling sequence/priority for this zone
INTEGER, DIMENSION(:), ALLOCATABLE :: ZoneSequenceHeatingNum ! Index to heating sequence/priority for this zone
INTEGER :: PriorityControl = 0 ! Control mode - CoolingPriority, HeatingPriority, or ZonePriority
INTEGER :: NumZonesCooled = 0 ! Number of zones requesting cooling
INTEGER :: NumZonesHeated = 0 ! Number of zones requesting heating
INTEGER :: PLRMaxIter = 0 ! Counter for recurring warning message
INTEGER :: PLRMaxIterIndex = 0 ! Index to recurring warning message
INTEGER :: DXCoilInletNode = 0 ! Inlet node number of DX cooling coil
INTEGER :: DXCoilOutletNode = 0 ! Outlet node number of DX cooling coil
INTEGER :: HeatingCoilInletNode = 0 ! Inlet node of heating coil
INTEGER :: HeatingCoilOutletNode = 0 ! Outlet node of heating coil
INTEGER :: FanInletNodeNum = 0 ! fan inlet node number
REAL(r64) :: OutletTempSetpoint = 0.0d0 ! Oulet node temperature setpoint [C]
REAL(r64) :: CoilTempSetpoint = 0.0d0 ! Coil oulet node temperature setpoint (inc. fan heat) [C]
INTEGER :: HeatCoolMode = 0 ! System operating mode (0 = floating, 1 = cooling, 2 = heating)
REAL(r64) :: BypassMassFlowRate = 0.0d0 ! Bypass mass flow rate report variable [m3/s]
INTEGER :: DehumidificationMode = 0 ! Dehumidification mode (0=normal, 1=enhanced)
INTEGER :: DehumidControlType = 0 ! Dehumidification control type (currently only for multimode coil)
LOGICAL :: HumRatMaxCheck =.TRUE. ! Used in Init for warning messages
INTEGER :: DXIterationExceeded = 0 ! Counter for DX coil messages
INTEGER :: DXIterationExceededIndex = 0 ! Counter for DX coil messages
INTEGER :: DXIterationFailed = 0 ! Counter for DX coil messages
INTEGER :: DXIterationFailedIndex = 0 ! Counter for DX coil messages
INTEGER :: HXDXIterationExceeded = 0 ! Counter for HX assisted DX coil messages
INTEGER :: HXDXIterationExceededIndex= 0 ! Counter for HX assisted DX coil messages
INTEGER :: HXDXIterationFailed = 0 ! Counter for HX assisted DX coil messages
INTEGER :: HXDXIterationFailedIndex = 0 ! Counter for HX assisted DX coil messages
INTEGER :: MMDXIterationExceeded = 0 ! Counter for multimode DX coil messages
INTEGER :: MMDXIterationExceededIndex= 0 ! Counter for multimode DX coil messages
INTEGER :: MMDXIterationFailed = 0 ! Counter for multimode DX coil messages
INTEGER :: MMDXIterationFailedIndex = 0 ! Counter for multimode DX coil messages
INTEGER :: DMDXIterationExceeded = 0 ! Counter for dehumidifying multimode DX coil messages
INTEGER :: DMDXIterationExceededIndex= 0 ! Counter for dehumidifying multimode DX coil messages
INTEGER :: DMDXIterationFailed = 0 ! Counter for dehumidifying multimode DX coil messages
INTEGER :: DMDXIterationFailedIndex = 0 ! Counter for dehumidifying multimode DX coil messages
INTEGER :: CRDXIterationExceeded = 0 ! Counter for cool reheat multimode DX coil messages
INTEGER :: CRDXIterationExceededIndex= 0 ! Counter for cool reheat multimode DX coil messages
INTEGER :: CRDXIterationFailed = 0 ! Counter for cool reheat multimode DX coil messages
INTEGER :: CRDXIterationFailedIndex = 0 ! Counter for cool reheat multimode DX coil messages
END TYPE CBVAVData