HVACMultiSpeedHeatPump Module

module~~hvacmultispeedheatpump~~UsesGraph module~hvacmultispeedheatpump HVACMultiSpeedHeatPump module~dataglobals DataGlobals module~dataglobals->module~hvacmultispeedheatpump module~schedulemanager ScheduleManager module~dataglobals->module~schedulemanager module~dataenvironment DataEnvironment module~dataglobals->module~dataenvironment module~datahvacglobals DataHVACGlobals module~dataglobals->module~datahvacglobals module~psychrometrics Psychrometrics module~dataglobals->module~psychrometrics module~dataloopnode DataLoopNode module~dataglobals->module~dataloopnode module~schedulemanager->module~hvacmultispeedheatpump module~dataenvironment->module~hvacmultispeedheatpump module~dataenvironment->module~schedulemanager module~dataenvironment->module~psychrometrics module~datahvacglobals->module~hvacmultispeedheatpump module~datazoneenergydemands DataZoneEnergyDemands module~datazoneenergydemands->module~hvacmultispeedheatpump module~psychrometrics->module~hvacmultispeedheatpump module~dataloopnode->module~hvacmultispeedheatpump module~datainterfaces DataInterfaces module~datainterfaces->module~hvacmultispeedheatpump module~datainterfaces->module~schedulemanager module~datainterfaces->module~psychrometrics module~dataprecisionglobals DataPrecisionGlobals module~dataprecisionglobals->module~hvacmultispeedheatpump module~dataprecisionglobals->module~dataglobals module~dataprecisionglobals->module~schedulemanager module~dataprecisionglobals->module~dataenvironment module~dataprecisionglobals->module~datahvacglobals module~dataprecisionglobals->module~datazoneenergydemands module~dataprecisionglobals->module~psychrometrics module~dataprecisionglobals->module~dataloopnode module~dataprecisionglobals->module~datainterfaces module~general General module~dataprecisionglobals->module~general module~general->module~psychrometrics
Help

Used By

module~~hvacmultispeedheatpump~~UsedByGraph module~hvacmultispeedheatpump HVACMultiSpeedHeatPump proc~simairloopcomponent SimAirLoopComponent module~hvacmultispeedheatpump->proc~simairloopcomponent
Help


Variables

TypeVisibility AttributesNameInitial
integer, private, parameter:: MultiSpeedHeatingCoil =1
integer, private, parameter:: MultiSpeedCoolingCoil =2
integer, private, parameter:: SuppHeatingCoilGas =1
integer, private, parameter:: SuppHeatingCoilElec =2
integer, private, parameter:: SuppHeatingCoilRec =3
integer, private, parameter:: Linear =1
integer, private, parameter:: Bilinear =2
integer, private, parameter:: Quadratic =3
integer, private, parameter:: Biquadratic =4
integer, private, parameter:: Cubic =5
integer, private, parameter:: CoolingMode =1
integer, private, parameter:: HeatingMode =2
integer, private, parameter:: UseCompressorOnFlow =1
integer, private, parameter:: UseCompressorOffFlow =2
integer, private, parameter:: On =1
integer, private, parameter:: Off =0
integer, private :: NumMSHeatPumps =0
integer, private :: AirLoopPass =0
real(kind=r64), private :: TempSteamIn =100.0d0
type(MSHeatPumpData), private, ALLOCATABLE, DIMENSION(:):: MSHeatPump
type(MSHeatPumpReportData), private, ALLOCATABLE, DIMENSION(:):: MSHeatPumpReport
character(len=MaxNameLength), private :: CurrentModuleObject
real(kind=r64), private :: CompOnMassFlow =0.0d0
real(kind=r64), private :: CompOffMassFlow =0.0d0
real(kind=r64), private :: CompOnFlowRatio =0.0d0
real(kind=r64), private :: CompOffFlowRatio =0.0d0
real(kind=r64), private :: FanSpeedRatio =0.0d0
real(kind=r64), private :: SupHeaterLoad =0.0d0
real(kind=r64), private :: SaveLoadResidual =0.0d0
real(kind=r64), private :: SaveCompressorPLR =0.0d0
logical, private, ALLOCATABLE, DIMENSION(:):: CheckEquipName

Derived Types

type, private :: MSHeatPumpData

Components

TypeVisibility AttributesNameInitial
character(len=MaxNameLength), public :: Name =' '
character(len=MaxNameLength), public :: AvaiSchedule =' '
integer, public :: AvaiSchedPtr =0
integer, public :: AirInletNodeNum =0
integer, public :: AirOutletNodeNum =0
character(len=MaxNameLength), public :: AirInletNodeName =' '
character(len=MaxNameLength), public :: AirOutletNodeName =' '
integer, public :: ControlZoneNum =0
integer, public :: ZoneSequenceCoolingNum =0
integer, public :: ZoneSequenceHeatingNum =0
character(len=MaxNameLength), public :: ControlZoneName
integer, public :: NodeNumofControlledZone =0
real(kind=r64), public :: FlowFraction =0.0d0
character(len=MaxNameLength), public :: FanName =' '
integer, public :: FanType =0
integer, public :: FanNum =0
integer, public :: FanPlaceType =0
integer, public :: FanInletNode =0
integer, public :: FanOutletNode =0
real(kind=r64), public :: FanVolFlow =0.0d0
character(len=MaxNameLength), public :: FanSchedule =' '
integer, public :: FanSchedPtr =0
integer, public :: OpMode =0
character(len=MaxNameLength), public :: DXHeatCoilName =' '
integer, public :: HeatCoilType =0
integer, public :: HeatCoilNum =0
integer, public :: DXHeatCoilIndex =0
real(kind=r64), public :: MinOATCompressor =0.0d0
character(len=MaxNameLength), public :: HeatCoilName =' '
integer, public :: HeatCoilIndex =0
character(len=MaxNameLength), public :: DXCoolCoilName =' '
integer, public :: CoolCoilType =0
integer, public :: CoolCoilNum =0
integer, public :: DXCoolCoilIndex =0
character(len=MaxNameLength), public :: SuppHeatCoilName =' '
integer, public :: SuppHeatCoilType =0
integer, public :: SuppHeatCoilNum =0
real(kind=r64), public :: DesignSuppHeatingCapacity =0.0d0
real(kind=r64), public :: SuppMaxAirTemp =0.0d0
real(kind=r64), public :: SuppMaxOATemp =0.0d0
real(kind=r64), public :: AuxOnCyclePower =0.0d0
real(kind=r64), public :: AuxOffCyclePower =0.0d0
real(kind=r64), public :: DesignHeatRecFlowRate =0.0d0
logical, public :: HeatRecActive =.False.
character(len=MaxNameLength), public :: HeatRecName =' '
integer, public :: HeatRecInletNodeNum =0
integer, public :: HeatRecOutletNodeNum =0
real(kind=r64), public :: MaxHeatRecOutletTemp =0.0d0
real(kind=r64), public :: DesignHeatRecMassFlowRate =0.0d0
integer, public :: HRLoopNum =0
integer, public :: HRLoopSideNum =0
integer, public :: HRBranchNum =0
integer, public :: HRCompNum =0
real(kind=r64), public :: AuxElecPower =0.0d0
real(kind=r64), public :: IdleVolumeAirRate =0.0d0
real(kind=r64), public :: IdleMassFlowRate =0.0d0
real(kind=r64), public :: IdleSpeedRatio =0.0d0
integer, public :: NumOfSpeedCooling =0
integer, public :: NumOfSpeedHeating =0
real(kind=r64), public, DIMENSION(:), ALLOCATABLE:: HeatVolumeFlowRate
real(kind=r64), public, DIMENSION(:), ALLOCATABLE:: HeatMassFlowRate
real(kind=r64), public, DIMENSION(:), ALLOCATABLE:: CoolVolumeFlowRate
real(kind=r64), public, DIMENSION(:), ALLOCATABLE:: CoolMassFlowRate
real(kind=r64), public, DIMENSION(:), ALLOCATABLE:: HeatingSpeedRatio
real(kind=r64), public, DIMENSION(:), ALLOCATABLE:: CoolingSpeedRatio
logical, public :: CheckFanFlow =.TRUE.
integer, public :: LastMode =0
integer, public :: HeatCoolMode =0
integer, public :: AirLoopNumber =0
integer, public :: NumControlledZones =0
integer, public :: ZoneInletNode =0
real(kind=r64), public :: CompPartLoadRatio =0.0d0
real(kind=r64), public :: FanPartLoadRatio =0.0d0
real(kind=r64), public :: TotCoolEnergyRate =0.0d0
real(kind=r64), public :: TotHeatEnergyRate =0.0d0
real(kind=r64), public :: SensCoolEnergyRate =0.0d0
real(kind=r64), public :: SensHeatEnergyRate =0.0d0
real(kind=r64), public :: LatCoolEnergyRate =0.0d0
real(kind=r64), public :: LatHeatEnergyRate =0.0d0
real(kind=r64), public :: ElecPower =0.0d0
real(kind=r64), public :: LoadMet =0.0d0
real(kind=r64), public :: HeatRecoveryRate =0.0d0
real(kind=r64), public :: HeatRecoveryInletTemp =0.0d0
real(kind=r64), public :: HeatRecoveryOutletTemp =0.0d0
real(kind=r64), public :: HeatRecoveryMassFlowRate =0.0d0
integer, public :: AirFlowControl =0
integer, public :: ErrIndexCyc =0
integer, public :: ErrIndexVar =0
real(kind=r64), public :: LoadLoss =0.0d0
integer, public :: SuppCoilAirInletNode =0
integer, public :: SuppCoilAirOutletNode =0
integer, public :: SuppHeatCoilType_Num =0
integer, public :: SuppHeatCoilIndex =0
integer, public :: SuppCoilControlNode =0
real(kind=r64), public :: MaxSuppCoilFluidFlow =0.0d0
integer, public :: SuppCoilOutletNode =0
integer, public :: CoilAirInletNode =0
integer, public :: CoilControlNode =0
real(kind=r64), public :: MaxCoilFluidFlow =0.0d0
integer, public :: CoilOutletNode =0
integer, public :: HotWaterCoilControlNode =0
integer, public :: HotWaterCoilOutletNode =0
character(len=MaxNameLength), public :: HotWaterCoilName =' '
integer, public :: HotWaterCoilNum =0
integer, public :: LoopNum =0
integer, public :: LoopSide =0
integer, public :: BranchNum =0
integer, public :: CompNum =0
integer, public :: SuppLoopNum =0
integer, public :: SuppLoopSide =0
integer, public :: SuppBranchNum =0
integer, public :: SuppCompNum =0
integer, public :: HotWaterLoopNum =0
integer, public :: HotWaterLoopSide =0
integer, public :: HotWaterBranchNum =0
integer, public :: HotWaterCompNum =0
integer, public :: HotWaterCoilMaxIterIndex =0
integer, public :: HotWaterCoilMaxIterIndex2 =0
integer, public :: StageNum =0
logical, public :: Staged =.FALSE.
integer, public :: CoolCountAvail =0
integer, public :: CoolIndexAvail =0
integer, public :: HeatCountAvail =0
integer, public :: HeatIndexAvail =0

type, private :: MSHeatPumpReportData

Components

TypeVisibility AttributesNameInitial
real(kind=r64), public :: ElecPowerConsumption =0.0d0
real(kind=r64), public :: HeatRecoveryEnergy =0.0d0
real(kind=r64), public :: CycRatio =0.0d0
real(kind=r64), public :: SpeedRatio =0.0d0
integer, public :: SpeedNum =0
real(kind=r64), public :: AuxElecCoolConsumption =0.0d0
real(kind=r64), public :: AuxElecHeatConsumption =0.0d0

Functions

private function MSHPCyclingResidual(PartLoadFrac, Par)

Arguments

Type IntentOptional AttributesName
real(kind=r64), intent(in) :: PartLoadFrac
real(kind=r64), intent(in), optional DIMENSION(:):: Par

Return Value real(kind=r64)

private function MSHPVarSpeedResidual(SpeedRatio, Par)

Arguments

Type IntentOptional AttributesName
real(kind=r64), intent(in) :: SpeedRatio
real(kind=r64), intent(in), optional DIMENSION(:):: Par

Return Value real(kind=r64)

private function HotWaterCoilResidual(HWFlow, Par) result(Residuum)

Arguments

Type IntentOptional AttributesName
real(kind=r64), intent(in) :: HWFlow
real(kind=r64), intent(in), optional DIMENSION(:):: Par

Return Value real(kind=r64)


Subroutines

public subroutine SimMSHeatPump(CompName, FirstHVACIteration, AirLoopNum, CompIndex)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: CompName
logical, intent(in) :: FirstHVACIteration
integer, intent(in) :: AirLoopNum
integer, intent(inout) :: CompIndex

private subroutine SimMSHP(MSHeatPumpNum, FirstHVACIteration, QSensUnitOut, QZnReq, OnOffAirFlowRatio)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: MSHeatPumpNum
logical, intent(in) :: FirstHVACIteration
real(kind=r64), intent(inout) :: QSensUnitOut
real(kind=r64), intent(in) :: QZnReq
real(kind=r64), intent(inout) :: OnOffAirFlowRatio

private subroutine GetMSHeatPumpInput()

Arguments

None

private subroutine InitMSHeatPump(MSHeatPumpNum, FirstHVACIteration, AirLoopNum, QZnReq, OnOffAirFlowRatio)

!LKL Discrepancy with < 0

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: MSHeatPumpNum
logical, intent(in) :: FirstHVACIteration
integer, intent(in) :: AirLoopNum
real(kind=r64), intent(inout) :: QZnReq
real(kind=r64), intent(inout) :: OnOffAirFlowRatio

private subroutine SizeMSHeatPump(MSHeatPumpNum)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: MSHeatPumpNum

private subroutine ControlMSHPOutput(MSHeatPumpNum, FirstHVACIteration, CompOp, OpMode, QZnReq, ZoneNum, SpeedNum, SpeedRatio, PartLoadFrac, OnOffAirFlowRatio, SupHeaterLoad)

!LKL Discrepancy with < 0

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: MSHeatPumpNum
logical, intent(in) :: FirstHVACIteration
integer, intent(in) :: CompOp
integer, intent(in) :: OpMode
real(kind=r64), intent(in) :: QZnReq
integer, intent(in) :: ZoneNum
integer, intent(out) :: SpeedNum
real(kind=r64), intent(out) :: SpeedRatio
real(kind=r64), intent(out) :: PartLoadFrac
real(kind=r64), intent(inout) :: OnOffAirFlowRatio
real(kind=r64), intent(inout) :: SupHeaterLoad

private subroutine CalcMSHeatPump(MSHeatPumpNum, FirstHVACIteration, CompOp, SpeedNum, SpeedRatio, PartLoadFrac, LoadMet, QZnReq, OnOffAirFlowRatio, SupHeaterLoad)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: MSHeatPumpNum
logical, intent(in) :: FirstHVACIteration
integer, intent(in) :: CompOp
integer, intent(in) :: SpeedNum
real(kind=r64), intent(in) :: SpeedRatio
real(kind=r64), intent(in) :: PartLoadFrac
real(kind=r64), intent(out) :: LoadMet
real(kind=r64), intent(in) :: QZnReq
real(kind=r64), intent(inout) :: OnOffAirFlowRatio
real(kind=r64), intent(inout) :: SupHeaterLoad

private subroutine UpdateMSHeatPump(MSHeatPumpNum)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: MSHeatPumpNum

private subroutine ReportMSHeatPump(MSHeatPumpNum)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: MSHeatPumpNum

private subroutine MSHPHeatRecovery(MSHeatPumpNum)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: MSHeatPumpNum

private subroutine SetAverageAirFlow(MSHeatPumpNum, PartLoadRatio, OnOffAirFlowRatio, SpeedNum, SpeedRatio)

!LKL Discrepancy with > 0

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: MSHeatPumpNum
real(kind=r64), intent(in) :: PartLoadRatio
real(kind=r64), intent(inout) :: OnOffAirFlowRatio
integer, intent(in), optional :: SpeedNum
real(kind=r64), intent(in), optional :: SpeedRatio

private subroutine CalcNonDXHeatingCoils(MSHeatPumpNum, FirstHVACIteration, HeatingLoad, FanMode, HeatCoilLoadmet, PartLoadFrac)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: MSHeatPumpNum
logical, intent(in) :: FirstHVACIteration
real(kind=r64), intent(in) :: HeatingLoad
integer, intent(in) :: FanMode
real(kind=r64), intent(out) :: HeatCoilLoadmet
real(kind=r64), intent(in), optional :: PartLoadFrac


AirflowNetworkBalanceManager AirflowNetworkSolver BaseboardElectric BaseboardRadiator Boilers BoilerSteam BranchInputManager BranchNodeConnections ChillerAbsorption ChillerElectricEIR ChillerExhaustAbsorption ChillerGasAbsorption ChillerIndirectAbsorption ChillerReformulatedEIR CondenserLoopTowers ConductionTransferFunctionCalc ConvectionCoefficients CoolTower CostEstimateManager CrossVentMgr CTElectricGenerator CurveManager DataAirflowNetwork DataAirLoop DataAirSystems DataBranchAirLoopPlant DataBranchNodeConnections DataBSDFWindow DataComplexFenestration DataContaminantBalance DataConvergParams DataConversions DataCostEstimate DataDaylighting DataDaylightingDevices DataDefineEquip DataDElight DataEnvironment DataErrorTracking DataGenerators DataGlobalConstants DataGlobals DataHeatBalance DataHeatBalFanSys DataHeatBalSurface DataHVACControllers DataHVACGlobals DataInterfaces DataIPShortCuts DataLoopNode DataMoistureBalance DataMoistureBalanceEMPD DataOutputs DataPhotovoltaics DataPlant DataPlantPipingSystems DataPrecisionGlobals DataReportingFlags DataRoomAirModel DataRootFinder DataRuntimeLanguage DataShadowingCombinations DataSizing DataStringGlobals DataSurfaceColors DataSurfaceLists DataSurfaces DataSystemVariables DataTimings DataUCSDSharedData DataVectorTypes DataViewFactorInformation DataWater DataWindowEquivalentLayer DataZoneControls DataZoneEnergyDemands DataZoneEquipment DaylightingDevices DaylightingManager DELIGHTMANAGERF DELIGHTMANAGERF DemandManager DesiccantDehumidifiers DirectAirManager DisplacementVentMgr DualDuct DXCoils DXFEarClipping EarthTube EconomicLifeCycleCost EconomicTariff EcoRoofManager ElectricBaseboardRadiator EMSManager EvaporativeCoolers EvaporativeFluidCoolers ExteriorEnergyUse ExternalInterface FanCoilUnits Fans FaultsManager FluidCoolers FluidProperties FuelCellElectricGenerator Furnaces General GeneratorDynamicsManager GeneratorFuelSupply GlobalNames GroundHeatExchangers HeatBalanceAirManager HeatBalanceHAMTManager HeatBalanceIntRadExchange HeatBalanceManager HeatBalanceMovableInsulation HeatBalanceSurfaceManager HeatBalFiniteDiffManager HeatingCoils HeatPumpWaterToWaterCOOLING HeatPumpWaterToWaterHEATING HeatPumpWaterToWaterSimple HeatRecovery HighTempRadiantSystem Humidifiers HVACControllers HVACCooledBeam HVACDuct HVACDXHeatPumpSystem HVACDXSystem HVACHXAssistedCoolingCoil HVACInterfaceManager HVACManager HVACMultiSpeedHeatPump HVACSingleDuctInduc HVACStandAloneERV HVACUnitaryBypassVAV HVACUnitarySystem HVACVariableRefrigerantFlow HWBaseboardRadiator ICEngineElectricGenerator IceThermalStorage InputProcessor InternalHeatGains ISO_C_FUNCTION_BINDING ISO_C_FUNCTION_BINDING LowTempRadiantSystem ManageElectricPower MatrixDataManager MicroCHPElectricGenerator MicroturbineElectricGenerator MixedAir MixerComponent MoistureBalanceEMPDManager MundtSimMgr NodeInputManager NonZoneEquipmentManager OutAirNodeManager OutdoorAirUnit OutputProcessor OutputReportPredefined OutputReportTabular OutsideEnergySources PackagedTerminalHeatPump PackagedThermalStorageCoil Photovoltaics PhotovoltaicThermalCollectors PipeHeatTransfer Pipes PlantCentralGSHP PlantChillers PlantComponentTemperatureSources PlantCondLoopOperation PlantHeatExchangerFluidToFluid PlantLoadProfile PlantLoopEquip PlantLoopSolver PlantManager PlantPipingSystemsManager PlantPressureSystem PlantUtilities PlantValves PollutionModule PondGroundHeatExchanger PoweredInductionUnits Psychrometrics Pumps PurchasedAirManager RefrigeratedCase ReportSizingManager ReturnAirPathManager RoomAirModelManager RoomAirModelUserTempPattern RootFinder RuntimeLanguageProcessor ScheduleManager SetPointManager SimAirServingZones SimulationManager SingleDuct SizingManager SolarCollectors SolarReflectionManager SolarShading SortAndStringUtilities SplitterComponent SQLiteProcedures SQLiteProcedures StandardRatings SteamBaseboardRadiator SteamCoils SurfaceGeometry SurfaceGroundHeatExchanger SystemAvailabilityManager SystemReports TARCOGArgs TARCOGCommon TARCOGDeflection TARCOGGasses90 TARCOGGassesParams TARCOGMain TARCOGOutput TARCOGParams TarcogShading ThermalChimney ThermalComfort ThermalEN673Calc ThermalISO15099Calc TranspiredCollector UFADManager UnitHeater UnitVentilator UserDefinedComponents VariableSpeedCoils vectors VentilatedSlab WaterCoils WaterManager WaterThermalTanks WatertoAirHeatPump WatertoAirHeatPumpSimple WaterUse WeatherManager WindowAC WindowComplexManager WindowEquivalentLayer WindowManager WindTurbine ZoneAirLoopEquipmentManager ZoneContaminantPredictorCorrector ZoneDehumidifier ZoneEquipmentManager ZonePlenum ZoneTempPredictorCorrector