FurnaceEquipConditions Derived Type

type, private :: FurnaceEquipConditions

Name FurnaceType_Num FurnaceIndex SchedPtr FanSchedPtr FanAvailSchedPtr ControlZoneNum ZoneSequenceCoolingNum ZoneSequenceHeatingNum CoolingCoilType_Num CoolingCoilIndex ActualDXCoilIndexforHXAssisted CoolingCoilUpstream HeatingCoilType_Num HeatingCoilIndex ReheatingCoilType_Num ReheatingCoilIndex HeatingCoilName HeatingCoilType CoilControlNode HWCoilAirInletNode HWCoilAirOutletNode SuppCoilAirInletNode SuppCoilAirOutletNode SuppHeatCoilType_Num SuppHeatCoilIndex SuppCoilControlNode SuppHeatCoilName SuppHeatCoilType FanType_Num FanIndex FurnaceInletNodeNum FurnaceOutletNodeNum OpMode LastMode AirFlowControl FanPlace NodeNumofControlledZone WatertoAirHPType CoolingConvergenceTolerance HeatingConvergenceTolerance DesignHeatingCapacity DesignCoolingCapacity CoolingCoilSensDemand HeatingCoilSensDemand CoolingCoilLatentDemand DesignSuppHeatingCapacity DesignFanVolFlowRate DesignFanVolFlowRateEMSOverrideOn DesignFanVolFlowRateEMSOverrideValue DesignMassFlowRate MaxCoolAirVolFlow MaxCoolAirVolFlowEMSOverrideOn MaxCoolAirVolFlowEMSOverrideValue MaxHeatAirVolFlow MaxHeatAirVolFlowEMSOverrideOn MaxHeatAirVolFlowEMSOverrideValue MaxNoCoolHeatAirVolFlow MaxNoCoolHeatAirVolFlowEMSOverrideOn MaxNoCoolHeatAirVolFlowEMSOverrideValue MaxCoolAirMassFlow MaxHeatAirMassFlow MaxNoCoolHeatAirMassFlow MaxHeatCoilFluidFlow MaxSuppCoilFluidFlow ControlZoneMassFlowFrac DesignMaxOutletTemp MdotFurnace FanPartLoadRatio CompPartLoadRatio WSHPRuntimeFrac CoolPartLoadRatio HeatPartLoadRatio MinOATCompressor MaxOATSuppHeat CondenserNodeNum MaxONOFFCyclesperHour HPTimeConstant OnCyclePowerFraction FanDelayTime Humidistat InitHeatPump DehumidControlType_Num LatentMaxIterIndex LatentRegulaFalsiFailedIndex LatentRegulaFalsiFailedIndex2 SensibleMaxIterIndex SensibleRegulaFalsiFailedIndex WSHPHeatMaxIterIndex WSHPHeatRegulaFalsiFailedIndex DXHeatingMaxIterIndex DXHeatingRegulaFalsiFailedIndex HeatingMaxIterIndex HeatingMaxIterIndex2 HeatingRegulaFalsiFailedIndex ActualFanVolFlowRate HeatingSpeedRatio CoolingSpeedRatio NoHeatCoolSpeedRatio ZoneInletNode SenLoadLoss LatLoadLoss SensibleLoadMet LatentLoadMet DehumidInducedHeatingDemandRate CoilOutletNode LoopNum LoopSide BranchNum CompNum SuppCoilOutletNode LoopNumSupp LoopSideSupp BranchNumSupp CompNumSupp HotWaterCoilMaxIterIndex HotWaterCoilMaxIterIndex2 EMSOverrideSensZoneLoadRequest EMSSensibleZoneLoadValue EMSOverrideMoistZoneLoadRequest EMSMoistureZoneLoadValue HeatCoolMode NumOfSpeedCooling NumOfSpeedHeating IdleSpeedRatio IdleVolumeAirRate IdleMassFlowRate FanVolFlow CheckFanFlow HeatVolumeFlowRate HeatMassFlowRate CoolVolumeFlowRate CoolMassFlowRate MSHeatingSpeedRatio MSCoolingSpeedRatio CompSpeedNum CompSpeedRatio ErrIndexCyc ErrIndexVar WaterCyclingMode

Components

TypeVisibility AttributesNameInitial
character(len=MaxNameLength), public :: Name =' '
integer, public :: FurnaceType_Num =0
integer, public :: FurnaceIndex =0
integer, public :: SchedPtr =0
integer, public :: FanSchedPtr =0
integer, public :: FanAvailSchedPtr =0
integer, public :: ControlZoneNum =0
integer, public :: ZoneSequenceCoolingNum =0
integer, public :: ZoneSequenceHeatingNum =0
integer, public :: CoolingCoilType_Num =0
integer, public :: CoolingCoilIndex =0
integer, public :: ActualDXCoilIndexforHXAssisted =0
logical, public :: CoolingCoilUpstream =.TRUE.
integer, public :: HeatingCoilType_Num =0
integer, public :: HeatingCoilIndex =0
integer, public :: ReheatingCoilType_Num =0
integer, public :: ReheatingCoilIndex =0
character(len=MaxNameLength), public :: HeatingCoilName =' '
character(len=MaxNameLength), public :: HeatingCoilType =' '
integer, public :: CoilControlNode =0
integer, public :: HWCoilAirInletNode =0
integer, public :: HWCoilAirOutletNode =0
integer, public :: SuppCoilAirInletNode =0
integer, public :: SuppCoilAirOutletNode =0
integer, public :: SuppHeatCoilType_Num =0
integer, public :: SuppHeatCoilIndex =0
integer, public :: SuppCoilControlNode =0
character(len=MaxNameLength), public :: SuppHeatCoilName =' '
character(len=MaxNameLength), public :: SuppHeatCoilType =' '
integer, public :: FanType_Num =0
integer, public :: FanIndex =0
integer, public :: FurnaceInletNodeNum =0
integer, public :: FurnaceOutletNodeNum =0
integer, public :: OpMode =0
integer, public :: LastMode =0
integer, public :: AirFlowControl =0
integer, public :: FanPlace =0
integer, public :: NodeNumofControlledZone =0
integer, public :: WatertoAirHPType =0
real(kind=r64), public :: CoolingConvergenceTolerance =0.0d0
real(kind=r64), public :: HeatingConvergenceTolerance =0.0d0
real(kind=r64), public :: DesignHeatingCapacity =0.0d0
real(kind=r64), public :: DesignCoolingCapacity =0.0d0
real(kind=r64), public :: CoolingCoilSensDemand =0.0d0
real(kind=r64), public :: HeatingCoilSensDemand =0.0d0
real(kind=r64), public :: CoolingCoilLatentDemand =0.0d0
real(kind=r64), public :: DesignSuppHeatingCapacity =0.0d0
real(kind=r64), public :: DesignFanVolFlowRate =0.0d0
logical, public :: DesignFanVolFlowRateEMSOverrideOn =.FALSE.
real(kind=r64), public :: DesignFanVolFlowRateEMSOverrideValue =0.d0
real(kind=r64), public :: DesignMassFlowRate =0.0d0
real(kind=r64), public :: MaxCoolAirVolFlow =0.0d0
logical, public :: MaxCoolAirVolFlowEMSOverrideOn =.FALSE.
real(kind=r64), public :: MaxCoolAirVolFlowEMSOverrideValue =0.d0
real(kind=r64), public :: MaxHeatAirVolFlow =0.0d0
logical, public :: MaxHeatAirVolFlowEMSOverrideOn =.FALSE.
real(kind=r64), public :: MaxHeatAirVolFlowEMSOverrideValue =0.d0
real(kind=r64), public :: MaxNoCoolHeatAirVolFlow =0.0d0
logical, public :: MaxNoCoolHeatAirVolFlowEMSOverrideOn =.FALSE.
real(kind=r64), public :: MaxNoCoolHeatAirVolFlowEMSOverrideValue =0.d0
real(kind=r64), public :: MaxCoolAirMassFlow =0.0d0
real(kind=r64), public :: MaxHeatAirMassFlow =0.0d0
real(kind=r64), public :: MaxNoCoolHeatAirMassFlow =0.0d0
real(kind=r64), public :: MaxHeatCoilFluidFlow =0.0d0
real(kind=r64), public :: MaxSuppCoilFluidFlow =0.0d0
real(kind=r64), public :: ControlZoneMassFlowFrac =0.0d0
real(kind=r64), public :: DesignMaxOutletTemp =9999.0d0
real(kind=r64), public :: MdotFurnace =0.0d0
real(kind=r64), public :: FanPartLoadRatio =0.0d0
real(kind=r64), public :: CompPartLoadRatio =0.0d0
real(kind=r64), public :: WSHPRuntimeFrac =0.0d0
real(kind=r64), public :: CoolPartLoadRatio =0.0d0
real(kind=r64), public :: HeatPartLoadRatio =0.0d0
real(kind=r64), public :: MinOATCompressor =0.0d0
real(kind=r64), public :: MaxOATSuppHeat =0.0d0
integer, public :: CondenserNodeNum =0
real(kind=r64), public :: MaxONOFFCyclesperHour =0.0d0
real(kind=r64), public :: HPTimeConstant =0.0d0
real(kind=r64), public :: OnCyclePowerFraction =0.0d0
real(kind=r64), public :: FanDelayTime =0.0d0
logical, public :: Humidistat =.FALSE.
logical, public :: InitHeatPump =.FALSE.
integer, public :: DehumidControlType_Num =0
integer, public :: LatentMaxIterIndex =0
integer, public :: LatentRegulaFalsiFailedIndex =0
integer, public :: LatentRegulaFalsiFailedIndex2 =0
integer, public :: SensibleMaxIterIndex =0
integer, public :: SensibleRegulaFalsiFailedIndex =0
integer, public :: WSHPHeatMaxIterIndex =0
integer, public :: WSHPHeatRegulaFalsiFailedIndex =0
integer, public :: DXHeatingMaxIterIndex =0
integer, public :: DXHeatingRegulaFalsiFailedIndex =0
integer, public :: HeatingMaxIterIndex =0
integer, public :: HeatingMaxIterIndex2 =0
integer, public :: HeatingRegulaFalsiFailedIndex =0
real(kind=r64), public :: ActualFanVolFlowRate =0.0d0
real(kind=r64), public :: HeatingSpeedRatio =1.0d0
real(kind=r64), public :: CoolingSpeedRatio =1.0d0
real(kind=r64), public :: NoHeatCoolSpeedRatio =1.0d0
integer, public :: ZoneInletNode =0
real(kind=r64), public :: SenLoadLoss =0.0d0
real(kind=r64), public :: LatLoadLoss =0.0d0
real(kind=r64), public :: SensibleLoadMet =0.0d0
real(kind=r64), public :: LatentLoadMet =0.0d0
real(kind=r64), public :: DehumidInducedHeatingDemandRate =0.0d0
integer, public :: CoilOutletNode =0
integer, public :: LoopNum =0
integer, public :: LoopSide =0
integer, public :: BranchNum =0
integer, public :: CompNum =0
integer, public :: SuppCoilOutletNode =0
integer, public :: LoopNumSupp =0
integer, public :: LoopSideSupp =0
integer, public :: BranchNumSupp =0
integer, public :: CompNumSupp =0
integer, public :: HotWaterCoilMaxIterIndex =0
integer, public :: HotWaterCoilMaxIterIndex2 =0
logical, public :: EMSOverrideSensZoneLoadRequest =.FALSE.
real(kind=r64), public :: EMSSensibleZoneLoadValue =0.0D0
logical, public :: EMSOverrideMoistZoneLoadRequest =.FALSE.
real(kind=r64), public :: EMSMoistureZoneLoadValue =0.0D0
integer, public :: HeatCoolMode =0
integer, public :: NumOfSpeedCooling =0
integer, public :: NumOfSpeedHeating =0
real(kind=r64), public :: IdleSpeedRatio =0.0d0
real(kind=r64), public :: IdleVolumeAirRate =0.0d0
real(kind=r64), public :: IdleMassFlowRate =0.0d0
real(kind=r64), public :: FanVolFlow =0.0d0
logical, public :: CheckFanFlow =.TRUE.
real(kind=r64), public :: HeatVolumeFlowRate(MaxSpedLevels) =0.0d0
real(kind=r64), public :: HeatMassFlowRate(MaxSpedLevels) =0.0d0
real(kind=r64), public :: CoolVolumeFlowRate(MaxSpedLevels) =0.0d0
real(kind=r64), public :: CoolMassFlowRate(MaxSpedLevels) =0.0d0
real(kind=r64), public :: MSHeatingSpeedRatio(MaxSpedLevels) =0.0d0
real(kind=r64), public :: MSCoolingSpeedRatio(MaxSpedLevels) =0.0d0
integer, public :: CompSpeedNum =0
real(kind=r64), public :: CompSpeedRatio =0.0d0
integer, public :: ErrIndexCyc =0
integer, public :: ErrIndexVar =0
integer, public :: WaterCyclingMode =0

Source Code

TYPE FurnaceEquipConditions
  CHARACTER(len=MaxNameLength) :: Name             =' ' ! Name of the Furnace
  INTEGER      :: FurnaceType_Num                  =0 ! Numeric Equivalent for Furnace Type
  INTEGER      :: FurnaceIndex                     =0 ! Index to furnace
  INTEGER      :: SchedPtr                         =0 ! Index to furnace operating schedule
  INTEGER      :: FanSchedPtr                      =0 ! Index to fan operating mode schedule
  INTEGER      :: FanAvailSchedPtr                 =0 ! Index to fan availability schedule
  INTEGER      :: ControlZoneNum                   =0 ! Index to controlled zone
  INTEGER      :: ZoneSequenceCoolingNum           =0 ! Index to cooling sequence/priority for this zone
  INTEGER      :: ZoneSequenceHeatingNum           =0 ! Index to heating sequence/priority for this zone
  INTEGER      :: CoolingCoilType_Num              =0 ! Numeric Equivalent for Cooling Coil Type
  INTEGER      :: CoolingCoilIndex                 =0 ! Index to cooling coil
  INTEGER      :: ActualDXCoilIndexforHXAssisted   =0 ! Index to DX cooling coil when HX assisted
  LOGICAL      :: CoolingCoilUpstream         =.TRUE. ! Indicates if cooling coil is upstream of heating coil
  INTEGER      :: HeatingCoilType_Num              =0 ! Numeric Equivalent for Heating Coil Type
  INTEGER      :: HeatingCoilIndex                 =0 ! Index to heating coil
  INTEGER      :: ReheatingCoilType_Num            =0 ! Numeric Equivalent for Reheat Coil Type
  INTEGER      :: ReheatingCoilIndex               =0 ! Index to reheat coil

  CHARACTER(len=MaxNameLength) :: HeatingCoilName  =' ' ! name of heating coil
  CHARACTER(len=MaxNameLength) :: HeatingCoilType  =' ' ! type of heating coil
  INTEGER      :: CoilControlNode                  =0 ! control node for hot water and steam heating coils
  INTEGER      :: HWCoilAirInletNode               =0 ! air inlet node number of HW coil for PTAC, PTHP, HeatCool, HeatOnly
  INTEGER      :: HWCoilAirOutletNode              =0 ! air outlet node number of HW coil for PTAC, PTHP, HeatCool, HeatOnly
  INTEGER      :: SuppCoilAirInletNode             =0 ! air inlet node number of HW coil for HeatCool Reheat Coil
  INTEGER      :: SuppCoilAirOutletNode            =0 ! air outlet node number of HW coil for HeatCool Reheat Coil
  INTEGER      :: SuppHeatCoilType_Num             =0 ! Numeric Equivalent for Supplemental Heat Coil Type
  INTEGER      :: SuppHeatCoilIndex                =0 ! Index to supplemental heater
  INTEGER      :: SuppCoilControlNode              =0 ! control node for steam and hot water heating coil
  CHARACTER(len=MaxNameLength) :: SuppHeatCoilName=' ' ! name of supplemental heating coil
  CHARACTER(len=MaxNameLength) :: SuppHeatCoilType=' ' ! type of supplemental heating coil

  INTEGER      :: FanType_Num                      =0 ! Integer equivalent of fan type (1=OnOff, 2 = ConstVolume)
  INTEGER      :: FanIndex                         =0 ! Index to fan object
  INTEGER      :: FurnaceInletNodeNum              =0 ! Furnace inlet node number
  INTEGER      :: FurnaceOutletNodeNum             =0 ! Furnace inlet node number
  INTEGER      :: OpMode                           =0 ! operation mode: 1 = cycling fan, cycling coils
                                                      !                 2 = continuous fan, cycling coils
  INTEGER      :: LastMode                         =0 ! last mode of operation, coolingmode or heatingmode
  INTEGER      :: AirFlowControl                   =0 ! fan control mode, UseCompressorOnFlow or UseCompressorOffFlow
  INTEGER      :: FanPlace                         =0 ! fan placement; 1=blow through, 2=draw through
  INTEGER      :: NodeNumofControlledZone          =0 ! Node number of controlled zone air node
  INTEGER      :: WatertoAirHPType                 =0 !Type of water to air heat pump model used
  REAL(r64)    :: CoolingConvergenceTolerance      =0.0d0 ! Convergence tolerance for cooling,
                                                        !   ratio (CoolingCoilLoad - FurnaceCoolingOutput)/CoolingCoilLoad
  REAL(r64)    :: HeatingConvergenceTolerance      =0.0d0 ! Convergence tolerance for heating,
                                                        !   ratio (HeatingCoilLoad - HeatPumpheatingOutput)/HeatingCoilLoad
  REAL(r64)    :: DesignHeatingCapacity            =0.0d0 ! Nominal Capacity of Heating Coil [W]
  REAL(r64)    :: DesignCoolingCapacity            =0.0d0 ! Nominal Capacity of Cooling Coil [W]
  REAL(r64)    :: CoolingCoilSensDemand            =0.0d0 ! Sensible demand on Cooling Coil [W]
  REAL(r64)    :: HeatingCoilSensDemand            =0.0d0 ! Sensible demand on Heating Coil [W]
  REAL(r64)    :: CoolingCoilLatentDemand          =0.0d0 ! Latent demand on Cooling Coil [W]
  REAL(r64)    :: DesignSuppHeatingCapacity        =0.0d0 ! Nominal Capacity of Supplemental Heating Coil [W]
  REAL(r64)    :: DesignFanVolFlowRate             =0.0d0 ! Vol Flow through the Furnace being Simulated [m**3/Sec]
  LOGICAL      :: DesignFanVolFlowRateEMSOverrideOn=.FALSE. ! if true, then EMS is calling to override autosize fan flow
  REAL(r64)    :: DesignFanVolFlowRateEMSOverrideValue=0.d0 ! EMS value for override of fan flow rate autosize [m3/s]
  REAL(r64)    :: DesignMassFlowRate               =0.0d0 ! Design mass flow rate through furnace [kg/s]
  REAL(r64)    :: MaxCoolAirVolFlow                =0.0d0 ! supply air volumetric flow rate during cooling operation [m3/s]
  LOGICAL      :: MaxCoolAirVolFlowEMSOverrideOn   =.FALSE. !if true, EMS is calling to override autosize flow during cooling
  REAL(r64)    :: MaxCoolAirVolFlowEMSOverrideValue=0.d0 ! EMS value for override of flow during cooling [m3/s]
  REAL(r64)    :: MaxHeatAirVolFlow                =0.0d0 ! supply air volumetric flow rate during cooling operation [m3/s]
  LOGICAL      :: MaxHeatAirVolFlowEMSOverrideOn   =.FALSE. ! if true, EMS is calling to override autosize flow during heating
  REAL(r64)    :: MaxHeatAirVolFlowEMSOverrideValue=0.d0  ! EMS value for override of flow during heating operation [m3/s]
  REAL(r64)    :: MaxNoCoolHeatAirVolFlow          =0.0d0 ! supply air volumetric flow rate when no cooling or heating [m3/s]
  LOGICAL      :: MaxNoCoolHeatAirVolFlowEMSOverrideOn = .FALSE. ! if true, EMS is calling to override autosize no heatcool rate
  REAL(r64)    :: MaxNoCoolHeatAirVolFlowEMSOverrideValue=0.d0 ! EMS value for override of flow during no heat cool [m3/s]
  REAL(r64)    :: MaxCoolAirMassFlow               =0.0d0 ! supply air mass flow rate during cooling operation [kg/s]
  REAL(r64)    :: MaxHeatAirMassFlow               =0.0d0 ! supply air mass flow rate during heating operation [kg/s]
  REAL(r64)    :: MaxNoCoolHeatAirMassFlow         =0.0d0 ! supply air mass flow rate when no cooling or heating [kg/s]
  REAL(r64)    :: MaxHeatCoilFluidFlow             =0.0d0 ! water or steam mass flow rate for heating coil [kg/s]
  REAL(r64)    :: MaxSuppCoilFluidFlow             =0.0d0 ! water or steam mass flow rate for supplemental heating coil [kg/s]

  REAL(r64)    :: ControlZoneMassFlowFrac          =0.0d0 ! Fraction of furnace flow to control zone
  REAL(r64)    :: DesignMaxOutletTemp              =9999.0d0 ! Maximum supply air temperature from furnace heater [C]
  REAL(r64)    :: MdotFurnace                      =0.0d0 ! Mass flow rate through furnace [kg/s]
  REAL(r64)    :: FanPartLoadRatio                 =0.0d0 ! Part load ratio of furnace fan (mdot actual/mdot design)
  REAL(r64)    :: CompPartLoadRatio                =0.0d0 ! Part load ratio of furnace compressor (load / steady-state output)
  REAL(r64)    :: WSHPRuntimeFrac                  =0.0d0 ! Runtime fraction of water source heat pump
  REAL(r64)    :: CoolPartLoadRatio                =0.0d0 ! Cooling part load ratio
  REAL(r64)    :: HeatPartLoadRatio                =0.0d0 ! Heating part load ratio
  REAL(r64)    :: MinOATCompressor                 =0.0d0 ! Minimum outdoor operating temperature for heat pump compressor
  REAL(r64)    :: MaxOATSuppHeat                   =0.0d0 ! Maximum outdoor dry-bulb temperature for
  INTEGER      :: CondenserNodeNum                 =0   ! Node number of outdoor condenser/compressor
  REAL(r64)    :: MaxONOFFCyclesperHour            =0.0d0 ! Maximum ON/OFF Cycling Rate [cycles/hr]
  REAL(r64)    :: HPTimeConstant                   =0.0d0 ! Heat Pump Time Constant [s]
  REAL(r64)    :: OnCyclePowerFraction             =0.0d0 ! Fraction of on-cycle power use [~]
                                                        ! supplemental heating coil operation
  REAL(r64)    :: FanDelayTime                     =0.0d0 ! Fan delay time, time delay for the HP's fan to
                                                        ! shut off after compressor cycle off  [s]
  Logical      :: Humidistat                       =.FALSE. ! Humidistat control (heatcool units only and not heatpump)
  Logical      :: InitHeatPump                     =.FALSE. ! Heat pump initialization flag (for error reporting)
  Integer      :: DehumidControlType_Num           =0   ! 0 = None, 1=MultiMode, 2=CoolReheat
  Integer      :: LatentMaxIterIndex               =0   ! Index to recurring warning message
  Integer      :: LatentRegulaFalsiFailedIndex     =0   ! Index to recurring warning message
  Integer      :: LatentRegulaFalsiFailedIndex2    =0   ! Index to recurring warning message
  Integer      :: SensibleMaxIterIndex             =0   ! Index to recurring warning message
  Integer      :: SensibleRegulaFalsiFailedIndex   =0   ! Index to recurring warning message
  Integer      :: WSHPHeatMaxIterIndex             =0   ! Index to recurring warning message
  Integer      :: WSHPHeatRegulaFalsiFailedIndex   =0   ! Index to recurring warning message
  Integer      :: DXHeatingMaxIterIndex            =0   ! Index to recurring warning message
  Integer      :: DXHeatingRegulaFalsiFailedIndex  =0   ! Index to recurring warning messages
  Integer      :: HeatingMaxIterIndex              =0   ! Index to recurring warning message
  Integer      :: HeatingMaxIterIndex2             =0   ! Index to recurring warning message
  Integer      :: HeatingRegulaFalsiFailedIndex    =0   ! Index to recurring warning messages
  REAL(r64)    :: ActualFanVolFlowRate             =0.0d0 ! Volumetric flow rate from fan object
  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
  INTEGER      :: ZoneInletNode                    =0   ! Zone inlet node number in the controlled zone
  REAL(r64)    :: SenLoadLoss                      =0.0d0 ! Air distribution system sensible loss
  REAL(r64)    :: LatLoadLoss                      =0.0d0 ! Air distribution system latent loss
  REAL(r64)    :: SensibleLoadMet                  =0.0d0 ! System sensible load
  REAL(r64)    :: LatentLoadMet                    =0.0d0 ! System latent load
  REAL(r64)    :: DehumidInducedHeatingDemandRate  =0.0d0 ! Additional heating demand on supplemental heater
                                                        ! when heat pumps operate on dehumidification mode
  INTEGER      :: CoilOutletNode                   = 0  ! outlet node for hot water and steam heating coil
  INTEGER      :: LoopNum                          = 0  ! plant loop index for water and steam heating coil
  INTEGER      :: LoopSide                         = 0  ! plant loop side  index for water and steam heating coil
  INTEGER      :: BranchNum                        = 0  ! plant loop branch index for water and steam heating coil
  INTEGER      :: CompNum                          = 0  ! plant loop component index for water and steam heating coil

  INTEGER      :: SuppCoilOutletNode          = 0  ! outlet node for hot water and steam supplemental heating coil
  INTEGER      :: LoopNumSupp                      = 0  ! plant loop index for water and steam supplemental heating coil
  INTEGER      :: LoopSideSupp                     = 0  ! plant loop side  index for  water and steam supplemental heating coil
  INTEGER      :: BranchNumSupp                    = 0  ! plant loop branch index for water and steam supplemental heating coil
  INTEGER      :: CompNumSupp                      = 0  ! plant loop component index for water and steam supplemental heating coil

  Integer      :: HotWaterCoilMaxIterIndex         = 0  ! Index to recurring warning message
  Integer      :: HotWaterCoilMaxIterIndex2        = 0  ! Index to recurring warning message
  LOGICAL      :: EMSOverrideSensZoneLoadRequest   = .FALSE. ! if true, then EMS is calling to override zone load
  REAL(r64)    :: EMSSensibleZoneLoadValue         = 0.0D0 ! Value EMS is directing to use
  LOGICAL      :: EMSOverrideMoistZoneLoadRequest  = .FALSE. ! if true, then EMS is calling to override zone load
  REAL(r64)    :: EMSMoistureZoneLoadValue         = 0.0D0 ! Value EMS is directing to use

! starting added varibles for variable speed water source heat pump, Bo Shen, ORNL, March 2012
  INTEGER  :: HeatCoolMode          = 0  ! System operating mode (0 = floating, 1 = cooling, 2 = heating)
  INTEGER  :: NumOfSpeedCooling     =0   ! The number of speeds for cooling
  INTEGER  :: NumOfSpeedHeating     =0   ! The number of speeds for heating
  REAL(r64):: IdleSpeedRatio        = 0.0d0  !idle air fan ratio
  REAL(r64):: IdleVolumeAirRate = 0.0d0  ! idle air flow rate
  REAL(r64):: IdleMassFlowRate      = 0.0d0  ! idle air flow rate
  REAL(r64):: FanVolFlow            = 0.0d0  ! fan volumetric flow rate
  LOGICAL  :: CheckFanFlow      = .TRUE. ! Supply airflow check
  REAL(r64):: HeatVolumeFlowRate(MaxSpedLevels) = 0.0d0 ! Supply air volume flow rate during heating operation
  REAL(r64):: HeatMassFlowRate(MaxSpedLevels) = 0.0d0 ! Supply air mass flow rate during heating operation
  REAL(r64):: CoolVolumeFlowRate(MaxSpedLevels) = 0.0d0  ! Supply air volume flow rate during cooling operation
  REAL(r64):: CoolMassFlowRate(MaxSpedLevels) = 0.0d0  ! Supply air mass flow rate during cooling operation
  REAL(r64):: MSHeatingSpeedRatio(MaxSpedLevels) = 0.0d0  ! Fan speed ratio in heating mode
  REAL(r64):: MSCoolingSpeedRatio(MaxSpedLevels) = 0.0d0  ! Fan speed ratio in cooling mode
  INTEGER :: CompSpeedNum=0
  REAL(r64) :: CompSpeedRatio=0.0d0
  INTEGER :: ErrIndexCyc=0
  INTEGER :: ErrIndexVar=0
 ! end of the additional variables for variable speed water source heat pump
  INTEGER :: WaterCyclingMode = 0    ! Heat Pump Coil water flow mode; See definitions in DataHVACGlobals,
                                     ! 1=water cycling, 2=water constant, 3=water constant on demand (old mode)
END TYPE FurnaceEquipConditions

ActuatorUsedType AiflowNetworkReportProp AirChillerSetData AirConnectionStruct AirflowNetworkCompProp AirflowNetworkExchangeProp AirflowNetworkLinkageProp AirflowNetworkLinkReportData AirflowNetworkLinkSimuData AirflowNetworkNodeProp AirflowNetworkNodeReportData AirflowNetworkNodeSimuData AirflowNetworkReportVars AirflowNetworkSimuProp AirIn AirLoopBranchData AirLoopCompData AirLoopControlData AirLoopFlowData AirLoopMixerData AirLoopOutsideAirConnectData AirLoopSplitterData AirLoopStatsType AirLooptoZoneData AirLoopZoneEquipConnectData AirModelData AirNodeData AirPatternInfobyZoneStruct AirReportVars AirTerminalMixerData AngleFactorData BalancedDesDehumPerfData BaseboardParams BaseboardParams BaseCell BaseChillerSpecs BasementZoneInfo BaseReportVars BaseThermalPropertySet BasisElemDescr BasisStruct BatteryDichargeDataStruct BBHeatData BinObjVarIDType BinResultsType BinStatisticsType BLASTAbsorberSpecs BoilerSpecs BoilerSpecs BoundingBoxVertStruct BranchData BranchData BranchListData BSDFBkSurfDescr BSDFDaylghtGeomDescr BSDFDaylghtPosition BSDFGeomDescr BSDFLayerAbsorpStruct BSDFRefPoints BSDFRefPointsGeomDescr BSDFStateDescr BSDFWindowDescript BSDFWindowGeomDescr BSDFWindowInputStruct cached_psat_t cached_twb_t CartesianCell CartesianPipeCellInformation CaseAndWalkInListDef CaseRAFractionData CaseWIZoneReportData CashFlowType CBVAVData CECInverterLookUpTableData CFSFILLGAS CFSGAP CFSLAYER CFSLWP CFSSWP CFSTY CGSHPNodeData ChargeBlockType ChargeSimpleType ChillerheaterSpecs CHReportVars CoefficientProps CoilCreditData CoilType CollectorData ColumnTagType CommonPipeData CompData CompDesWaterFlowData ComponentData ComponentData ComponentListData ComponentNameData ComponentProps ComponentSetPtData CompressorListDef CompSizeTableEntryType ComputationType ConnectAirSysComp ConnectAirSysSubComp ConnectAirSysSubSubComp ConnectedLoopData ConnectionPoint ConnectorData ConnectZoneComp ConnectZoneSubComp ConnectZoneSubSubComp ConstantFlowRadiantSystemData ConstCOPChillerSpecs ConstCOPReportVars ConstGradPattern ConstructionData ConstructionDataFD ContaminantData ControllerListProps ControllerPropsType ControllerStatsType ControlList ControlsType ConvectionCoefficient CoolBeamData CoolTowerParams CostAdjustmentStruct CostLineItemStruct CTGeneratorSpecs CurSimConditionsInfo CVData CVDVParameters CVFlow DamperDesignParams DamperFlowConditions DataPeriodData DataSetPointManager DaylightSavingPeriodData DayScheduleData DayWeatherVariables DCtoACInverterStruct DefineASHRAEAdaptiveOptimumStartCoeffs DefineColdestSetPointManager DefineCondEntSetPointManager DefineDiffTSysAvailManager DefineFollowOATempSetPointManager DefineFollowSysNodeTempSetPointManager DefineGroundTempSetPointManager DefineHiLoSysAvailManager DefineHybridVentSysAvailManager DefineIdealCondEntSetPointManager DefineLinearModelNode DefineMixedAirSetPointManager DefineNightCycSysAvailManager DefineNightVentSysAvailManager DefineOAPretreatSetPointManager DefineOptStartSysAvailManager DefineOutsideAirSetPointManager DefinePriAirSysAvailMgrs DefinePrimaryAirSystem DefineSchedDualSetPointManager DefineSchedOffSysAvailManager DefineSchedOnSysAvailManager DefineSchedSysAvailManager DefineScheduledSetPointManager DefineSurfaceSettings DefineSZCoolingSetPointManager DefineSZHeatingSetPointManager DefineSZMaxHumSetPointManager DefineSZMinHumSetPointManager DefineSZOneStageCoolinggSetPointManager DefineSZOneStageHeatingSetPointManager DefineSZReheatSetPointManager DefineWarmestSetPointManager DefineZoneCompAvailMgrs DefineZoneData DefMultiZoneAverageCoolingSetPointManager DefMultiZoneAverageHeatingSetPointManager DefMultiZoneAverageMaxHumSetPointManager DefMultiZoneAverageMinHumSetPointManager DefMultiZoneMaxHumSetPointManager DefMultiZoneMinHumSetPointManager DefRABFlowSetPointManager DefWarmestSetPtManagerTempFlow DemandManagerData DemandManagerListData DesDayWeathData DesiccantDehumidifierData DesignDayData DesignSpecMSHPData DetailedIceStorageData DirectAirProps DirectionNeighbor_Dictionary DirectionReal_Dictionary DisSysCompCoilProp DisSysCompCPDProp DisSysCompCVFProp DisSysCompDamperProp DisSysCompDetFanProp DisSysCompDuctProp DisSysCompELRProp DisSysCompHXProp DisSysCompLeakProp DisSysCompTermUnitProp DisSysLinkageProp DisSysNodeProp DistributionStructure DomainRectangle dTriangle DuctData DVData DXCoilData DXCoolingConditions DXHeatPumpSystemStruct EarthTubeData EarthTubeZoneReportVars EconVarType ElecBaseboardParams ElecStorageDataStruct ElectricChillerSpecs ElectricEIRChillerSpecs ElectricPowerLoadCenter ElectricRadiantSystemData ElectricReportVars ElectricTransformer EMSActuatorAvailableType EMSProgramCallManagementType EndUseCategoryType Energy EngineDrivenChillerSpecs EngineDrivenReportVars EnvironmentData EqNodeConnectionDef EquipConfiguration EquipList EquipListCompData EquipListPtrData EquipmentData EquipMeterData EquipOpList ErlExpressionType ErlStackType ErlValueType ErlVariableType EvapConditions EvapFluidCoolerInletConds EvapFluidCoolerspecs ExhaustAbsorberSpecs ExtendedFluidProperties ExteriorEquipmentUsage ExteriorLightUsage ExtVentedCavityStruct Face FanCoilData FanEquipConditions FarfieldInfo FaultProperties FCAirSupplyDataStruct FCAuxilHeatDataStruct FCDataStruct FCElecStorageDataStruct FCExhaustHXDataStruct FCInverterDataStruct FCPowerModuleStruct FCReportDataStruct FCStackCoolerDataStruct FCWaterSupplyDataStruct FenestrationSolarAbsorbed FileSectionsDefinition FluidCellInformation FluidCoolerInletConds FluidCoolerspecs FluidPropsGlycolData FluidPropsGlycolErrors FluidPropsGlycolRawData FluidPropsRefrigerantData FluidPropsRefrigErrors FrameDividerProperties FuelTypeProps FullDomainStructureInfo FurnaceEquipConditions GapDeflectionState GapSupportPillar GasAbsorberSpecs GasPropertyDataStruct GasTurbineReportVars GenData GeneratorDynamicsManagerStruct GeneratorFuelSupplyDataStruct GenericComponentZoneIntGainStruct GlheSpecs GlobalInternalGainMiscObject GridRegion GroundwaterWellDataStruct GshpSpecs GshpSpecs GshpSpecs GTChillerSpecs HalfLoopData HcInsideFaceUserCurveStruct HcOutsideFaceUserCurveStruct HeatExchangerStruct HeatExchCond HeatingCoilEquipConditions HeatPumpWaterHeaterData HeatReclaimDXCoilData HeatReclaimRefrigCondenserData HeatReclaimRefrigeratedRackData HighTempRadiantSystemData HumidifierData HVACAirLoopIterationConvergenceStruct HVACNodeConvergLogStruct HVACZoneInletConvergenceStruct HWBaseboardParams HXAssistedCoilParameters HydronicRadiantSystemData ICEngineGeneratorSpecs IceStorageMapping IceStorageSpecs IllumMapData IndirectAbsorberSpecs IndUnitData InfiltrationData InsideFaceAdaptiveConvAlgoStruct InstructionType IntegerVariables IntegerVariableType InternalVarsAvailableType InternalVarsUsedType IntWinAdjZoneExtWinStruct IrrigationDataStruct LightsData LineDefinition LocalPipeData Location LoopPipeData LoopSidePumpInformation LoopSideReportVars m_FlowControlValidator MapCalcData MarkedNodeData MaterialDataFD MaterialProperties MatrixDataStruct MeshExtents MeshPartition MeshPartitions MeshProperties MeterArrayType MeterData MeterType MicroCHPDataStruct MicroCHPParamsNonNormalized MicroCHPReportDataStruct MissingData MissingDataCounts MixerConditions MixerData MixerData MixingData MoistureInfo monetaryUnitType MonthlyColumnsType MonthlyFieldSetInputType MonthlyInputType MonthlyTablesType MoreNodeData MSHeatPumpData MSHeatPumpReportData MTGeneratorSpecs MultizoneCompDetOpeningProp MultizoneCompExhaustFanProp MultizoneCompHorOpeningProp MultizoneCompSimpleOpeningProp MultizoneCPArrayProp MultizoneCPValueProp MultizoneExternalNodeProp MultizoneSurfaceCrackProp MultizoneSurfaceCrackStdCndns MultizoneSurfaceELAProp MultizoneSurfaceProp MultizoneZoneProp NamedMonthlyType NeighborInformation NightVentPerfData NodeConnectionDef NodeData NodeListDef NonrecurringCostType OAControllerData OAControllerProps OAEquipList OAMixerProps OARequirementsData OAUnitData ObjectsDefinition OperationData OperatorType OpSchemePtrData OptStartDataType OSCData OSCMData OutputReportingVariables OutputTableBinnedType OutputVarSensorType OutsideAirSysProps OutsideEnergySourceSpecs OutsideFaceAdpativeConvAlgoStruct PackagedTESCoolingCoilStruct ParametersData ParentListData PeopleData PerfCurveTableDataStruct PerfomanceCurveData PipeCircuitInfo PipeData PipeHeatTransferReport PipeHTData PipeSegmentInfo PlaneEq PlantAvailMgrData PlantCallingOrderInfoStruct PlantConnection PlantConnectionStruct PlantConnectionStruct PlantConvergencePoint PlantIterationConvergenceStruct PlantLocation PlantLocatorStruct PlantLoopData PlantPressureCurveData PlantProfileData PlantSizingData Point Point3DInteger Point3DReal PointF PointType PollutionProps Polyhedron PondGroundHeatExchangerData PondGroundHeatExchangerReport PowIndUnitData PTUnitData PumpSpecs PumpVFDControlData PVArrayStruct PVReportVariables PVTCollectorStruct PVTReportStruct QualifyType RadialCellInformation RadialSizing RadSysTypeData RainfallCollectorDataStruct RangeCheckDef RangeDataCounts RatchetType RealVariables RealVariableType RectangleF RecurringCostsType RecurringErrorData ReformulatedEIRChillerSpecs RefrigCaseCreditData RefrigCaseData RefrigCompressorData RefrigCondenserData RefrigGasCoolerData RefrigRackData RefrigSystemData ReportBranchData ReportCompData ReportEIRVars ReportingInformation ReportLoopData reportNameType ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReportVars ReqReportVariables ReturnAir RoofGeoCharactisticsStruct RootFinderDataType RunPeriodData RuntimeReportVarType ScheduleData ScheduleTypeData ScreenTransData SecondaryLoopData SecretObjects SectionsDefinition ShadingVertexData ShadowingCombinations ShadowRelateType ShelfData SimplePVParamsStruct SimplePVTModelStruct SimpleWatertoAirHPConditions SimulationControl SimulationOrder SiteRainFallDataStruct SlabListData SNLModuleParamsStuct SNLPVCalcStruct SNLPVInputStruct SolReflRecSurfData SolutionTrackerType SpecialDayData SpectralDataProperties SplitterConditions SplitterData SplitterData StackType StandAloneERVData SteamBaseboardParams SteamCoilEquipConditions StorageTankDataStruct StormWindowData StratifiedNodeData subcell SubcomponentData SubcoolerData SubEquipmentData SubSubcomponentData SubSubEquipmentData SubTableType SummarizeLoads SupplyAir SurfaceAssocNestedStruct SurfaceData SurfaceDataFD SurfaceErrorTracking SurfaceGroundHeatExchangerData SurfaceGroundHeatExchangerQTF SurfaceGroundHeatExchngrReport SurfaceListData SurfaceScreenProperties SurfaceSolarIncident SurfaceWindowCalc SurfMapPattern SysAvailManagerList SysDesignParams SysFlowConditions SystemSizingData SystemSizingInputData TableDataStruct TableEntryType TableLookupData TariffType TCGlazingsType TDDPipeData TemperaturePatternStruct TemperValveData TempGridRegionData TempLoopData TempVsHeightPattern TerminalUnitListData TermUnitSizingData ThermalChimneyData ThermalComfortDataType ThermalComfortInASH55Type ThermalComfortSetpointType ThermChimReportVars ThermChimZnReportVars TimeSteps timings TOCEntriesType TokenType TowerInletConds Towerspecs TransferLoadListDef TransRefrigSystemData TrendVariableType TriQuadraticCurveDataStruct TRNSYSPVCalcStruct TRNSYSPVModuleParamsStruct TStatObject TwoVertGradInterpolPattern TypicalExtremeData UFEData UFIData UnitarySystemData UnitConvType UnitHeaterData UnitVentilatorData UseAdjustmentType UsePriceEscalationType UserAirTerminalComponentStruct UserCoilComponentStruct UserPlantComponentStruct UserZoneHVACForcedAirComponentStruct UTSCDataStruct VariableSpeedCoilData VariableTypeForDDOutput vector Vector_2d VentilatedSlabData VentilationData VentilationMechanicalProps VRFCondenserEquipment VRFTerminalUnitEquipment VSTowerData WalkInData WarehouseCoilData WarmupConvergence WaterCoilEquipConditions WaterConnectionsType WaterEquipmentType WaterHeaterDesuperheaterData WaterHeaterSizingData WaterSourceSpecs WaterThermalTankData WatertoAirHPEquipConditions WaterUseTankConnectionStruct WeatherProperties WeekScheduleData WholeBuildingElectricPowerSummary WindACData WindowBlindProperties WindowComplexShade WindowIndex WindowShadingControlData WindowStateIndex WindowThermalModelParams WindTurbineParams WrapperComponentSpecs WrapperReportVars WrapperSpecs ZoneAirBalanceData ZoneAirDistributionData ZoneAirEquip ZoneCatEUseData ZoneComfortControls ZoneComfortControlsFangerData ZoneComfortFangerControlType ZoneCompTypeData ZoneContamGenericDataBLDiff ZoneContamGenericDataConstant ZoneContamGenericDataCutoff ZoneContamGenericDataDecay ZoneContamGenericDataDRS ZoneContamGenericDataDVS ZoneContamGenericDataPDriven ZoneContControls ZoneData ZoneDaylightCalc ZoneDehumidifierData ZoneEqSizingData ZoneEquipData ZoneEvapCoolerUnitStruct ZoneGroupData ZoneHumidityControls ZoneInternalGainsStruct ZoneListData ZoneListData ZonePreDefRepType ZonePurchasedAir ZoneReportVars ZoneReturnPlenumConditions ZoneSatgedControls ZoneSimData ZoneSizingData ZoneSizingInputData ZoneSupplyPlenumConditions ZoneSystemContaminantDemandData ZoneSystemDemandData ZoneSystemMoistureDemand ZoneTempControls ZoneTempControlType ZoneViewFactorInformation