WatertoAirHeatPump Module

module~~watertoairheatpump~~UsesGraph module~watertoairheatpump WatertoAirHeatPump module~dataglobals DataGlobals module~dataglobals->module~watertoairheatpump module~datahvacglobals DataHVACGlobals module~dataglobals->module~datahvacglobals module~dataplant DataPlant module~dataglobals->module~dataplant module~dataloopnode DataLoopNode module~dataglobals->module~dataloopnode module~datahvacglobals->module~watertoairheatpump module~dataplant->module~watertoairheatpump module~dataloopnode->module~watertoairheatpump module~dataloopnode->module~dataplant module~datainterfaces DataInterfaces module~datainterfaces->module~watertoairheatpump module~dataprecisionglobals DataPrecisionGlobals module~dataprecisionglobals->module~watertoairheatpump module~dataprecisionglobals->module~dataglobals module~dataprecisionglobals->module~datahvacglobals module~dataprecisionglobals->module~dataplant module~dataprecisionglobals->module~dataloopnode module~dataprecisionglobals->module~datainterfaces
Help

Used By

module~~watertoairheatpump~~UsedByGraph module~watertoairheatpump WatertoAirHeatPump proc~calcfurnaceoutput CalcFurnaceOutput module~watertoairheatpump->proc~calcfurnaceoutput proc~calcunitarycoolingsystem CalcUnitaryCoolingSystem module~watertoairheatpump->proc~calcunitarycoolingsystem proc~coolwatertoairhptempresidual CoolWatertoAirHPTempResidual module~watertoairheatpump->proc~coolwatertoairhptempresidual proc~getunitarysysteminput GetUnitarySystemInput module~watertoairheatpump->proc~getunitarysysteminput proc~controlcoolingsystem ControlCoolingSystem module~watertoairheatpump->proc~controlcoolingsystem proc~controlheatingsystem ControlHeatingSystem module~watertoairheatpump->proc~controlheatingsystem proc~sizeunitarysystem SizeUnitarySystem module~watertoairheatpump->proc~sizeunitarysystem proc~getptunit GetPTUnit module~watertoairheatpump->proc~getptunit proc~calcunitaryheatingsystem CalcUnitaryHeatingSystem module~watertoairheatpump->proc~calcunitaryheatingsystem proc~coolwatertoairhphumratresidual CoolWatertoAirHPHumRatResidual module~watertoairheatpump->proc~coolwatertoairhphumratresidual proc~getfurnaceinput GetFurnaceInput module~watertoairheatpump->proc~getfurnaceinput proc~heatwatertoairhptempresidual HeatWatertoAirHPTempResidual module~watertoairheatpump->proc~heatwatertoairhptempresidual
Help


Variables

TypeVisibility AttributesNameInitial
integer, private, parameter:: CompressorType_Reciprocating =1
integer, private, parameter:: CompressorType_Rotary =2
integer, private, parameter:: CompressorType_Scroll =3
integer, private :: NumWatertoAirHPs =0
type(WatertoAirHPEquipConditions), private, ALLOCATABLE, DIMENSION(:):: WatertoAirHP
logical, private, ALLOCATABLE, DIMENSION(:):: CheckEquipName
integer, private :: RefrigIndex =0
integer, private :: WaterIndex =0
logical, private :: GetCoilsInputFlag =.True.

Derived Types

type, private :: WatertoAirHPEquipConditions

Components

TypeVisibility AttributesNameInitial
character(len=MaxNameLength), public :: Name =' '
character(len=MaxNameLength), public :: WatertoAirHPType =' '
integer, public :: WAHPPlantTypeOfNum =0
character(len=MaxNameLength), public :: Refrigerant =' '
logical, public :: Simflag =.false.
real(kind=r64), public :: InletAirMassFlowRate =0.0d0
real(kind=r64), public :: OutletAirMassFlowRate =0.0d0
real(kind=r64), public :: InletAirDBTemp =0.0d0
real(kind=r64), public :: InletAirHumRat =0.0d0
real(kind=r64), public :: OutletAirDBTemp =0.0d0
real(kind=r64), public :: OutletAirHumRat =0.0d0
real(kind=r64), public :: InletAirEnthalpy =0.0d0
real(kind=r64), public :: OutletAirEnthalpy =0.0d0
real(kind=r64), public :: InletWaterTemp =0.0d0
real(kind=r64), public :: OutletWaterTemp =0.0d0
real(kind=r64), public :: InletWaterMassFlowRate =0.0d0
real(kind=r64), public :: OutletWaterMassFlowRate =0.0d0
real(kind=r64), public :: DesignWaterMassFlowRate =0.0d0
real(kind=r64), public :: DesignWaterVolFlowRate =0.0d0
real(kind=r64), public :: InletWaterEnthalpy =0.0d0
real(kind=r64), public :: OutletWaterEnthalpy =0.0d0
real(kind=r64), public :: Power =0.0d0
real(kind=r64), public :: Energy =0.0d0
real(kind=r64), public :: QSensible =0.0d0
real(kind=r64), public :: QLatent =0.0d0
real(kind=r64), public :: QSource =0.0d0
real(kind=r64), public :: EnergySensible =0.0d0
real(kind=r64), public :: EnergyLatent =0.0d0
real(kind=r64), public :: EnergySource =0.0d0
real(kind=r64), public :: RunFrac =0.0d0
real(kind=r64), public :: PartLoadRatio =0.0d0
real(kind=r64), public :: HeatingCapacity =0.0d0
real(kind=r64), public :: CoolingCapacity =0.0d0
real(kind=r64), public :: QLoadTotal =0.0d0
real(kind=r64), public :: EnergyLoadTotal =0.0d0
real(kind=r64), public :: Twet_Rated =0.0d0
real(kind=r64), public :: Gamma_Rated =0.0d0
real(kind=r64), public :: MaxONOFFCyclesperHour =0.0d0
real(kind=r64), public :: HPTimeConstant =0.0d0
real(kind=r64), public :: FanDelayTime =0.0d0
real(kind=r64), public :: SourceSideUACoeff =0.0d0
real(kind=r64), public :: LoadSideTotalUACoeff =0.0d0
real(kind=r64), public :: LoadSideOutsideUACoeff =0.0d0
real(kind=r64), public :: CompPistonDisp =0.0d0
real(kind=r64), public :: CompClearanceFactor =0.0d0
real(kind=r64), public :: CompSucPressDrop =0.0d0
real(kind=r64), public :: SuperheatTemp =0.0d0
real(kind=r64), public :: PowerLosses =0.0d0
real(kind=r64), public :: LossFactor =0.0d0
real(kind=r64), public :: RefVolFlowRate =0.0d0
real(kind=r64), public :: VolumeRatio =0.0d0
real(kind=r64), public :: LeakRateCoeff =0.0d0
real(kind=r64), public :: SourceSideHTR1 =0.0d0
real(kind=r64), public :: SourceSideHTR2 =0.0d0
real(kind=r64), public :: HighPressCutOff =0.0d0
real(kind=r64), public :: LowPressCutOff =0.0d0
integer, public :: CompressorType =0
integer, public :: AirInletNodeNum =0
integer, public :: AirOutletNodeNum =0
integer, public :: WaterInletNodeNum =0
integer, public :: WaterOutletNodeNum =0
integer, public :: LowPressClgError =0
integer, public :: HighPressClgError =0
integer, public :: LowPressHtgError =0
integer, public :: HighPressHtgError =0
integer, public :: LoopNum =0
integer, public :: LoopSide =0
integer, public :: BranchNum =0
integer, public :: CompNum =0

Functions

private function CalcCompSuctionTempResidual(CompSuctionTemp, Par) result(Residuum)

Arguments

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

Return Value real(kind=r64)

private function CalcEffectiveSHR(HPNum, SHRss, CyclingScheme, RTF, QLatRated, QLatActual, EnteringDB, EnteringWB) result(SHReff)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: HPNum
real(kind=r64), intent(in) :: SHRss
integer, intent(in) :: CyclingScheme
real(kind=r64), intent(in) :: RTF
real(kind=r64), intent(in) :: QLatRated
real(kind=r64), intent(in) :: QLatActual
real(kind=r64), intent(in) :: EnteringDB
real(kind=r64), intent(in) :: EnteringWB

Return Value real(kind=r64)

private function DegradF(FluidName, Temp, FluidIndex)

Arguments

Type IntentOptional AttributesName
character(len=MaxNameLength), intent(inout) :: FluidName
real(kind=r64), intent(inout) :: Temp
integer, intent(inout) :: FluidIndex

Return Value real(kind=r64)

public function GetCoilIndex(CoilType, CoilName, ErrorsFound) result(IndexNum)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: CoilType
character(len=*), intent(in) :: CoilName
logical, intent(inout) :: ErrorsFound

Return Value integer

public function GetCoilCapacity(CoilType, CoilName, ErrorsFound) result(CoilCapacity)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: CoilType
character(len=*), intent(in) :: CoilName
logical, intent(inout) :: ErrorsFound

Return Value real(kind=r64)

public function GetCoilInletNode(CoilType, CoilName, ErrorsFound) result(NodeNumber)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: CoilType
character(len=*), intent(in) :: CoilName
logical, intent(inout) :: ErrorsFound

Return Value integer

public function GetCoilOutletNode(CoilType, CoilName, ErrorsFound) result(NodeNumber)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: CoilType
character(len=*), intent(in) :: CoilName
logical, intent(inout) :: ErrorsFound

Return Value integer


Subroutines

public subroutine SimWatertoAirHP(CompName, CompIndex, DesignAirflow, CyclingScheme, FirstHVACIteration, RuntimeFrac, MaxONOFFCyclesperHour, HPTimeConstant, FanDelayTime, Initflag, SensLoad, LatentLoad, CompOp, PartLoadRatio)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: CompName
integer, intent(inout) :: CompIndex
real(kind=r64), intent(in) :: DesignAirflow
integer, intent(in) :: CyclingScheme
logical, intent(in) :: FirstHVACIteration
real(kind=r64), intent(in) :: RuntimeFrac
real(kind=r64), intent(inout) :: MaxONOFFCyclesperHour
real(kind=r64), intent(inout) :: HPTimeConstant
real(kind=r64), intent(inout) :: FanDelayTime
logical, intent(in) :: Initflag
real(kind=r64), intent(in) :: SensLoad
real(kind=r64), intent(in) :: LatentLoad
integer, intent(in) :: CompOp
real(kind=r64), intent(in) :: PartLoadRatio

private subroutine GetWatertoAirHPInput()

Arguments

None

private subroutine InitWatertoAirHP(HPNum, InitFlag, MaxONOFFCyclesperHour, HPTimeConstant, FanDelayTime, SensLoad, LatentLoad, DesignAirFlow, PartLoadRatio)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: HPNum
logical, intent(in) :: InitFlag
real(kind=r64), intent(in) :: MaxONOFFCyclesperHour
real(kind=r64), intent(in) :: HPTimeConstant
real(kind=r64), intent(in) :: FanDelayTime
real(kind=r64), intent(in) :: SensLoad
real(kind=r64), intent(in) :: LatentLoad
real(kind=r64), intent(in) :: DesignAirFlow
real(kind=r64), intent(in) :: PartLoadRatio

private subroutine CalcWatertoAirHPCooling(HPNum, CyclingScheme, FirstHVACIteration, RuntimeFrac, initflag, SensDemand, CompOp, PartLoadRatio)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: HPNum
integer, intent(in) :: CyclingScheme
logical, intent(in) :: FirstHVACIteration
real(kind=r64), intent(in) :: RuntimeFrac
logical, intent(in) :: initflag
real(kind=r64), intent(in) :: SensDemand
integer, intent(in) :: CompOp
real(kind=r64), intent(in) :: PartLoadRatio

private subroutine CalcWatertoAirHPHeating(HPNum, CyclingScheme, FirstHVACIteration, RuntimeFrac, InitFlag, SensDemand, CompOp, PartLoadRatio)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: HPNum
integer :: CyclingScheme
logical, intent(in) :: FirstHVACIteration
real(kind=r64), intent(in) :: RuntimeFrac
logical, intent(in) :: InitFlag
real(kind=r64), intent(in) :: SensDemand
integer, intent(in) :: CompOp
real(kind=r64), intent(in) :: PartLoadRatio

private subroutine UpdateWatertoAirHP(HPNum)

Arguments

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


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