DemandManager Module

module~~demandmanager~~UsesGraph module~demandmanager DemandManager module~dataglobals DataGlobals module~dataglobals->module~demandmanager module~dataprecisionglobals DataPrecisionGlobals module~dataprecisionglobals->module~demandmanager module~dataprecisionglobals->module~dataglobals
Help

Used By

module~~demandmanager~~UsedByGraph module~demandmanager DemandManager proc~managesimulation ManageSimulation module~demandmanager->proc~managesimulation proc~managehvac ManageHVAC module~demandmanager->proc~managehvac proc~resimulate Resimulate module~demandmanager->proc~resimulate
Help


Variables

TypeVisibility AttributesNameInitial
integer, private, parameter:: ManagerTypeExtLights =1
integer, private, parameter:: ManagerTypeLights =2
integer, private, parameter:: ManagerTypeElecEquip =3
integer, private, parameter:: ManagerTypeThermostats =4
integer, private, parameter:: ManagerPrioritySequential =1
integer, private, parameter:: ManagerPriorityOptimal =2
integer, private, parameter:: ManagerPriorityAll =3
integer, private, parameter:: ManagerLimitOff =1
integer, private, parameter:: ManagerLimitFixed =2
integer, private, parameter:: ManagerLimitVariable =3
integer, private, parameter:: ManagerSelectionAll =1
integer, private, parameter:: ManagerSelectionMany =2
integer, private, parameter:: ManagerSelectionOne =3
integer, private, parameter:: CheckCanReduce =1
integer, private, parameter:: SetLimit =2
integer, private, parameter:: ClearLimit =3
type(DemandManagerListData), private, ALLOCATABLE, DIMENSION(:):: DemandManagerList
type(DemandManagerData), private, ALLOCATABLE, DIMENSION(:):: DemandMgr
integer, private :: NumDemandManagerList =0
integer, private :: NumDemandMgr =0
integer, public :: DemandManagerExtIterations =0
integer, public :: DemandManagerHBIterations =0
integer, public :: DemandManagerHVACIterations =0
logical, private, SAVE:: GetInput =.TRUE.

Derived Types

type, private :: DemandManagerListData

Components

TypeVisibility AttributesNameInitial
character(len=MaxNameLength), public :: Name =''
integer, public :: Meter =0
integer, public :: LimitSchedule =0
real(kind=r64), public :: SafetyFraction =1.0d0
integer, public :: BillingSchedule =0
real(kind=r64), public :: BillingPeriod =0.0d0
integer, public :: PeakSchedule =0
integer, public :: AveragingWindow =1
real(kind=r64), public, ALLOCATABLE, DIMENSION(:):: History
integer, public :: ManagerPriority =0
integer, public :: NumOfManager
integer, public, ALLOCATABLE, DIMENSION(:):: Manager
real(kind=r64), public :: MeterDemand =0.0d0
real(kind=r64), public :: AverageDemand =0.0d0
real(kind=r64), public :: PeakDemand =0.0d0
real(kind=r64), public :: ScheduledLimit =0.0d0
real(kind=r64), public :: DemandLimit =0.0d0
real(kind=r64), public :: AvoidedDemand =0.0d0
real(kind=r64), public :: OverLimit =0.0d0
real(kind=r64), public :: OverLimitDuration =0.0d0

type, private :: DemandManagerData

Components

TypeVisibility AttributesNameInitial
character(len=MaxNameLength), public :: Name =''
integer, public :: Type =0
integer, public :: DemandManagerList =0
logical, public :: CanReduceDemand =.FALSE.
integer, public :: AvailSchedule =0
logical, public :: Available =.FALSE.
logical, public :: Activate =.FALSE.
logical, public :: Active =.FALSE.
integer, public :: LimitControl =0
integer, public :: SelectionControl =0
integer, public :: LimitDuration =0
integer, public :: ElapsedTime =0
integer, public :: RotationDuration =0
integer, public :: ElapsedRotationTime =0
integer, public :: RotatedLoadNum =0
real(kind=r64), public :: LowerLimit =0.0d0
real(kind=r64), public :: UpperLimit =0.0d0
integer, public :: NumOfLoads =0
integer, public, ALLOCATABLE, DIMENSION(:):: Load

Subroutines

public subroutine ManageDemand()

Arguments

None

private subroutine SimulateDemandManagerList(ListNum, ResimExt, ResimHB, ResimHVAC)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: ListNum
logical, intent(inout) :: ResimExt
logical, intent(inout) :: ResimHB
logical, intent(inout) :: ResimHVAC

private subroutine GetDemandManagerListInput()

Arguments

None

private subroutine GetDemandManagerInput()

Arguments

None

private subroutine SurveyDemandManagers()

Arguments

None

private subroutine ActivateDemandManagers()

Arguments

None

public subroutine UpdateDemandManagers()

Arguments

None

private subroutine ReportDemandManagerList(ListNum)

Arguments

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

private subroutine LoadInterface(Action, MgrNum, LoadPtr, CanReduceDemand)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: Action
integer, intent(in) :: MgrNum
integer, intent(in) :: LoadPtr
logical, intent(out) :: CanReduceDemand

public subroutine InitDemandManagers()

Arguments

None


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