Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
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 DemandManagerListData
CHARACTER(len=MaxNameLength) :: Name = '' ! Name of DEMAND MANAGER LIST
INTEGER :: Meter = 0 ! Index to meter to demand limit
INTEGER :: LimitSchedule = 0 ! Schedule index for demand limit
REAL(r64) :: SafetyFraction = 1.0d0 ! Multiplier applied to demand limit schedule
INTEGER :: BillingSchedule = 0 ! Schedule index for billing month periods
REAL(r64) :: BillingPeriod = 0.0d0 ! Current billing period value
INTEGER :: PeakSchedule = 0 ! Schedule index for billing month periods
INTEGER :: AveragingWindow = 1 ! Number of timesteps for averaging demand window
REAL(r64), ALLOCATABLE, DIMENSION(:) :: History ! Demand window history
INTEGER :: ManagerPriority = 0 ! Indicator for priority (SEQUENTIAL, OPTIMAL, ALL)
INTEGER :: NumOfManager ! Number of DEMAND MANAGERs
INTEGER, ALLOCATABLE, DIMENSION(:) :: Manager ! Indexes for DEMAND MANAGERs
REAL(r64) :: MeterDemand = 0.0d0 ! Meter demand at this timestep
REAL(r64) :: AverageDemand = 0.0d0 ! Current demand over the demand window
REAL(r64) :: PeakDemand = 0.0d0 ! Peak demand in the billing month so far
REAL(r64) :: ScheduledLimit = 0.0d0 ! Scheduled demand limit
REAL(r64) :: DemandLimit = 0.0d0 ! Scheduled demand limit * Safety Fraction
REAL(r64) :: AvoidedDemand = 0.0d0 ! Demand avoided by active DEMAND MANAGERs
REAL(r64) :: OverLimit = 0.0d0 ! Amount that demand limit is exceeded
REAL(r64) :: OverLimitDuration = 0.0d0 ! Number of hours that demand limit is exceeded
END TYPE DemandManagerListData