ZoneTempPredictorCorrector Module

module~~zonetemppredictorcorrector~~UsesGraph module~zonetemppredictorcorrector ZoneTempPredictorCorrector module~dataroomairmodel DataRoomAirModel module~dataroomairmodel->module~zonetemppredictorcorrector module~dataglobals DataGlobals module~dataglobals->module~zonetemppredictorcorrector module~dataglobals->module~dataroomairmodel module~dataenvironment DataEnvironment module~dataglobals->module~dataenvironment module~datahvacglobals DataHVACGlobals module~dataglobals->module~datahvacglobals module~dataheatbalance DataHeatBalance module~dataglobals->module~dataheatbalance module~datazonecontrols DataZoneControls module~dataglobals->module~datazonecontrols module~psychrometrics Psychrometrics module~dataglobals->module~psychrometrics module~dataairflownetwork DataAirflowNetwork module~dataglobals->module~dataairflownetwork module~datawindowequivalentlayer DataWindowEquivalentLayer module~dataglobals->module~datawindowequivalentlayer module~databsdfwindow DataBSDFWindow module~dataglobals->module~databsdfwindow module~datacomplexfenestration DataComplexFenestration module~dataglobals->module~datacomplexfenestration module~datasurfaces DataSurfaces module~dataglobals->module~datasurfaces module~dataenvironment->module~zonetemppredictorcorrector module~dataenvironment->module~psychrometrics module~datahvacglobals->module~zonetemppredictorcorrector module~dataheatbalfansys DataHeatBalFanSys module~dataheatbalfansys->module~zonetemppredictorcorrector module~datazoneenergydemands DataZoneEnergyDemands module~datazoneenergydemands->module~zonetemppredictorcorrector module~dataheatbalance->module~zonetemppredictorcorrector module~datainterfaces DataInterfaces module~datainterfaces->module~zonetemppredictorcorrector module~datainterfaces->module~psychrometrics module~datazonecontrols->module~zonetemppredictorcorrector module~psychrometrics->module~zonetemppredictorcorrector module~dataairflownetwork->module~zonetemppredictorcorrector module~dataprecisionglobals DataPrecisionGlobals module~dataprecisionglobals->module~zonetemppredictorcorrector module~dataprecisionglobals->module~dataroomairmodel module~dataprecisionglobals->module~dataglobals module~dataprecisionglobals->module~dataenvironment module~dataprecisionglobals->module~datahvacglobals module~dataprecisionglobals->module~dataheatbalfansys module~dataprecisionglobals->module~datazoneenergydemands module~dataprecisionglobals->module~dataheatbalance module~dataprecisionglobals->module~datainterfaces module~dataprecisionglobals->module~datazonecontrols module~dataprecisionglobals->module~psychrometrics module~dataprecisionglobals->module~dataairflownetwork module~dataprecisionglobals->module~datawindowequivalentlayer module~dataprecisionglobals->module~databsdfwindow module~dataprecisionglobals->module~datacomplexfenestration module~datavectortypes DataVectorTypes module~dataprecisionglobals->module~datavectortypes module~dataprecisionglobals->module~datasurfaces module~general General module~dataprecisionglobals->module~general module~datawindowequivalentlayer->module~dataheatbalance module~databsdfwindow->module~dataheatbalance module~databsdfwindow->module~datasurfaces module~datacomplexfenestration->module~dataheatbalance module~datavectortypes->module~dataheatbalance module~datavectortypes->module~databsdfwindow module~datavectortypes->module~datasurfaces module~datasurfaces->module~dataheatbalance module~general->module~psychrometrics
Help

Used By

module~~zonetemppredictorcorrector~~UsedByGraph module~zonetemppredictorcorrector ZoneTempPredictorCorrector proc~setupzonesizingarrays SetUpZoneSizingArrays module~zonetemppredictorcorrector->proc~setupzonesizingarrays proc~managehvac ManageHVAC module~zonetemppredictorcorrector->proc~managehvac module~zonecontaminantpredictorcorrector ZoneContaminantPredictorCorrector module~zonetemppredictorcorrector->module~zonecontaminantpredictorcorrector proc~resimulate Resimulate module~zonetemppredictorcorrector->proc~resimulate module~zonecontaminantpredictorcorrector->proc~managehvac module~zonecontaminantpredictorcorrector->proc~resimulate
Help


Variables

TypeVisibility AttributesNameInitial
character(len=*), private, parameter, DIMENSION(4):: ValidControlTypes =(/'ThermostatSetpoint:SingleHeating         ', 'ThermostatSetpoint:SingleCooling         ', 'ThermostatSetpoint:SingleHeatingOrCooling', 'ThermostatSetpoint:DualSetpoint          '/)
character(len=*), private, parameter, DIMENSION(12):: ValidComfortControlTypes =(/'ThermostatSetpoint:ThermalComfort:Fanger:SingleHeating         ', 'ThermostatSetpoint:ThermalComfort:Fanger:SingleCooling         ', 'ThermostatSetpoint:ThermalComfort:Fanger:SingleHeatingOrCooling', 'ThermostatSetpoint:ThermalComfort:Fanger:DualSetpoint          ', 'ThermostatSetpoint:ThermalComfort:Pierce:SingleHeating         ', 'ThermostatSetpoint:ThermalComfort:Pierce:SingleCooling         ', 'ThermostatSetpoint:ThermalComfort:Pierce:SingleHeatingOrCooling', 'ThermostatSetpoint:ThermalComfort:Pierce:DualSetpoint          ', 'ThermostatSetpoint:ThermalComfort:KSU:SingleHeating            ', 'ThermostatSetpoint:ThermalComfort:KSU:SingleCooling            ', 'ThermostatSetpoint:ThermalComfort:KSU:SingleHeatingOrCooling   ', 'ThermostatSetpoint:ThermalComfort:KSU:DualSetpoint             '/)
character(len=*), private, parameter, DIMENSION(6):: cZControlTypes =(/'ZoneControl:Thermostat                       ', 'ZoneControl:Thermostat:ThermalComfort        ', 'ZoneControl:Thermostat:OperativeTemperature  ', 'ZoneControl:Humidistat                       ', 'ZoneControl:Thermostat:TemperatureAndHumidity', 'ZoneControl:Thermostat:StagedDualSetpoint    '/)
integer, private, parameter:: iZC_TStat =1
integer, private, parameter:: iZC_TCTStat =2
integer, private, parameter:: iZC_OTTStat =3
integer, private, parameter:: iZC_HStat =4
integer, private, parameter:: iZC_TandHStat =5
integer, private, parameter:: iZC_StagedDual =6
integer, private, parameter, DIMENSION(6):: iZControlTypes =(/iZC_TStat, iZC_TCTStat, iZC_OTTStat, iZC_HStat, iZC_TandHStat, iZC_StagedDual/)
integer, private, parameter:: SglHeatSetPoint =1
integer, private, parameter:: SglCoolSetPoint =2
integer, private, parameter:: SglHCSetPoint =3
integer, private, parameter:: DualSetPoint =4
integer, private, parameter:: SglHeatSetPointFanger =1
integer, private, parameter:: SglCoolSetPointFanger =2
integer, private, parameter:: SglHCSetPointFanger =3
integer, private, parameter:: DualSetPointFanger =4
integer, private, parameter:: SglHeatSetPointPierce =5
integer, private, parameter:: SglCoolSetPointPierce =6
integer, private, parameter:: SglHCSetPointPierce =7
integer, private, parameter:: DualSetPointPierce =8
integer, private, parameter:: SglHeatSetPointKSU =9
integer, private, parameter:: SglCoolSetPointKSU =10
integer, private, parameter:: SglHCSetPointKSU =11
integer, private, parameter:: DualSetPointKSU =12
integer, private, parameter:: AverageMethodNum_NO =0
integer, private, parameter:: AverageMethodNum_SPE =1
integer, private, parameter:: AverageMethodNum_OBJ =2
integer, private, parameter:: AverageMethodNum_PEO =3
type(ZoneTempControlType), private, ALLOCATABLE, DIMENSION(:):: SetPointSingleHeating
type(ZoneTempControlType), private, ALLOCATABLE, DIMENSION(:):: SetPointSingleCooling
type(ZoneTempControlType), private, ALLOCATABLE, DIMENSION(:):: SetPointSingleHeatCool
type(ZoneTempControlType), private, ALLOCATABLE, DIMENSION(:):: SetPointDualHeatCool
type(ZoneComfortFangerControlType), private, ALLOCATABLE, DIMENSION(:):: SetPointSingleHeatingFanger
type(ZoneComfortFangerControlType), private, ALLOCATABLE, DIMENSION(:):: SetPointSingleCoolingFanger
type(ZoneComfortFangerControlType), private, ALLOCATABLE, DIMENSION(:):: SetPointSingleHeatCoolFanger
type(ZoneComfortFangerControlType), private, ALLOCATABLE, DIMENSION(:):: SetPointDualHeatCoolFanger
integer, private :: NumSingleTempHeatingControls =0
integer, private :: NumSingleTempCoolingControls =0
integer, private :: NumSingleTempHeatCoolControls =0
integer, private :: NumDualTempHeatCoolControls =0
integer, private :: NumSingleFangerHeatingControls =0
integer, private :: NumSingleFangerCoolingControls =0
integer, private :: NumSingleFangerHeatCoolControls =0
integer, private :: NumDualFangerHeatCoolControls =0
integer, private :: NumStageCtrZone =0
real(kind=r64), private, DIMENSION(:), ALLOCATABLE:: ZoneSetPointLast
real(kind=r64), private, DIMENSION(:), ALLOCATABLE:: TempIndZnLd
real(kind=r64), private, DIMENSION(:), ALLOCATABLE:: TempDepZnLd
real(kind=r64), private, DIMENSION(:), ALLOCATABLE:: ZoneAirRelHum
real(kind=r64), private, DIMENSION(:,:), ALLOCATABLE:: ZoneTempHist
real(kind=r64), private, DIMENSION(:), ALLOCATABLE:: ZoneTempOscillate
real(kind=r64), private :: AnyZoneTempOscillate

Derived Types

type, private :: ZoneTempControlType

Components

TypeVisibility AttributesNameInitial
character(len=MaxNameLength), public :: Name =' '
character(len=MaxNameLength), public :: TempSchedName =' '
integer, public :: TempSchedIndex =0
character(len=MaxNameLength), public :: HeatTempSetptSchedName =' '
integer, public :: HeatTempSchedIndex =0
character(len=MaxNameLength), public :: CoolTempSetptSchedName =' '
integer, public :: CoolTempSchedIndex =0

Components

TypeVisibility AttributesNameInitial
character(len=MaxNameLength), public :: Name =' '
character(len=MaxNameLength), public :: PMVSchedName =' '
integer, public :: PMVSchedIndex =0
character(len=MaxNameLength), public :: HeatPMVSetptSchedName =' '
integer, public :: HeatPMVSchedIndex =0
character(len=MaxNameLength), public :: CoolPMVSetptSchedName =' '
integer, public :: CoolPMVSchedIndex =0

Functions

public function VerifyThermostatInZone(ZoneName) result(HasThermostat)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: ZoneName

Return Value logical

private function VerifyControlledZoneForThermostat(ZoneName) result(IsControlled)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: ZoneName

Return Value logical

private function PMVResidual(Tset, Par)

Arguments

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

Return Value real(kind=r64)


Subroutines

public subroutine ManageZoneAirUpdates(UpdateType, ZoneTempChange, ShortenTimeStepSys, UseZoneTimeStepHistory, PriorTimeStep)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: UpdateType
real(kind=r64), intent(inout) :: ZoneTempChange
logical, intent(in) :: ShortenTimeStepSys
logical, intent(in) :: UseZoneTimeStepHistory
real(kind=r64), intent(in) :: PriorTimeStep

private subroutine GetZoneAirSetpoints()

Arguments

None

private subroutine InitZoneAirSetpoints()

Arguments

None

private subroutine PredictSystemLoads(ShortenTimeStepSys, UseZoneTimeStepHistory, PriorTimeStep)

Arguments

Type IntentOptional AttributesName
logical, intent(in) :: ShortenTimeStepSys
logical, intent(in) :: UseZoneTimeStepHistory
real(kind=r64), intent(in) :: PriorTimeStep

private subroutine CalcZoneAirTempSetpoints()

Arguments

None

private subroutine CalcPredictedSystemLoad(ZoneNum)

Arguments

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

private subroutine CalcPredictedHumidityRatio(ZoneNum)

Arguments

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

private subroutine CorrectZoneAirTemp(ZoneTempChange, ShortenTimeStepSys, UseZoneTimeStepHistory, PriorTimeStep)

Arguments

Type IntentOptional AttributesName
real(kind=r64), intent(out) :: ZoneTempChange
logical, intent(in) :: ShortenTimeStepSys
logical, intent(in) :: UseZoneTimeStepHistory
real(kind=r64), intent(in) :: PriorTimeStep

private subroutine PushZoneTimestepHistories()

Arguments

None

private subroutine PushSystemTimestepHistories()

Arguments

None

private subroutine RevertZoneTimestepHistories()

Arguments

None

private subroutine CorrectZoneHumRat(ZoneNum)

Arguments

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

public subroutine DownInterpolate4HistoryValues(OldTimeStep, NewTimeStep, oldVal0, oldVal1, oldVal2, oldVal3, oldVal4, newVal0, newVal1, newVal2, newVal3, newVal4)

Arguments

Type IntentOptional AttributesName
real(kind=r64), intent(in) :: OldTimeStep
real(kind=r64), intent(in) :: NewTimeStep
real(kind=r64), intent(inout) :: oldVal0
real(kind=r64), intent(inout) :: oldVal1
real(kind=r64), intent(inout) :: oldVal2
real(kind=r64), intent(inout) :: oldVal3
real(kind=r64), intent(inout) :: oldVal4
real(kind=r64), intent(inout) :: newVal0
real(kind=r64), intent(inout) :: newVal1
real(kind=r64), intent(inout) :: newVal2
real(kind=r64), intent(inout) :: newVal3
real(kind=r64), intent(inout) :: newVal4

private subroutine CalcZoneSums(ZoneNum, SumIntGain, SumHA, SumHATsurf, SumHATref, SumMCp, SumMCpT, SumSysMCp, SumSysMCpT)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: ZoneNum
real(kind=r64), intent(out) :: SumIntGain
real(kind=r64), intent(out) :: SumHA
real(kind=r64), intent(out) :: SumHATsurf
real(kind=r64), intent(out) :: SumHATref
real(kind=r64), intent(out) :: SumMCp
real(kind=r64), intent(out) :: SumMCpT
real(kind=r64), intent(out) :: SumSysMCp
real(kind=r64), intent(out) :: SumSysMCpT

private subroutine CalcZoneComponentLoadSums(ZoneNum, TempDepCoef, TempIndCoef, SumIntGains, SumHADTsurfs, SumMCpDTzones, SumMCpDtInfil, SumMCpDTsystem, SumNonAirSystem, CzdTdt, imBalance)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: ZoneNum
real(kind=r64), intent(in) :: TempDepCoef
real(kind=r64), intent(in) :: TempIndCoef
real(kind=r64), intent(out) :: SumIntGains
real(kind=r64), intent(out) :: SumHADTsurfs
real(kind=r64), intent(out) :: SumMCpDTzones
real(kind=r64), intent(out) :: SumMCpDtInfil
real(kind=r64), intent(out) :: SumMCpDTsystem
real(kind=r64), intent(out) :: SumNonAirSystem
real(kind=r64), intent(out) :: CzdTdt
real(kind=r64), intent(out) :: imBalance

public subroutine DetectOscillatingZoneTemp()

Arguments

None

private subroutine AdjustAirSetpointsforOpTempCntrl(TempControlledZoneID, ActualZoneNum, ZoneAirSetpoint)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: TempControlledZoneID
integer, intent(in) :: ActualZoneNum
real(kind=r64), intent(inout) :: ZoneAirSetpoint

private subroutine CalcZoneAirComfortSetpoints()

Arguments

None

private subroutine GetComfortSetpoints(PeopleNum, ComfortControlNum, PMVSet, TSet)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: PeopleNum
integer, intent(in) :: ComfortControlNum
real(kind=r64), intent(in) :: PMVSet
real(kind=r64), intent(out) :: TSet

private subroutine AdjustCoolingSetPointforTempAndHumidityControl(TempControlledZoneID, ActualZoneNum)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: TempControlledZoneID
integer, intent(in) :: ActualZoneNum


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