Package | Description |
---|---|
org.powertac.common |
Power TAC domain types, shared between simulation server and brokers.
|
org.powertac.common.msg |
Message types exchanged between the Power TAC simulation server and brokers.
|
org.powertac.common.repo |
Repositories that need to exist in both the Power TAC simulation server
and in brokers.
|
Modifier and Type | Method and Description |
---|---|
Rate |
Rate.withDailyBegin(org.joda.time.base.AbstractDateTime begin)
Sets the time of day when this Rate comes into effect.
|
Rate |
Rate.withDailyBegin(int begin) |
Rate |
Rate.withDailyBegin(org.joda.time.ReadablePartial begin)
Sets the time of day when this Rate comes into effect.
|
Rate |
Rate.withDailyEnd(org.joda.time.base.AbstractDateTime end)
Sets the time of day when this Rate is no longer in effect.
|
Rate |
Rate.withDailyEnd(int end)
Sets the time of day when this Rate is no longer in effect, given
as hours since midnight.
|
Rate |
Rate.withDailyEnd(org.joda.time.ReadablePartial end)
Sets the time of day when this Rate is no longer in effect.
|
Rate |
Rate.withExpectedMean(double value)
Specifies the expected mean charge/kWh, excluding periodic charges,
for this Rate.
|
Rate |
Rate.withFixed(boolean fixed)
Specifies whether this Rate is fixed (true) or variable (false).
|
Rate |
Rate.withMaxCurtailment(double value)
Sets the maximum proportion of offered load or supply that can be
curtailed.
|
Rate |
Rate.withMaxValue(double maxValue)
Specifies the maximum charge (furthest from zero) for variable Rates.
|
Rate |
Rate.withMinValue(double minValue)
Specifies the minimum charge (closest to zero) for variable Rates.
|
Rate |
Rate.withNoticeInterval(org.joda.time.Duration interval)
Specifies the minimum interval for rate change notifications for a
variable Rate.
|
Rate |
Rate.withNoticeInterval(long hours)
Specifies the minimum interval in hours for rate change notifications
for a variable Rate.
|
Rate |
Rate.withTierThreshold(double tierThreshold)
Sets the usage threshold for applicability of this Rate.
|
Rate |
Rate.withValue(double value)
Specifies the charge/kWh for a fixed rate, from the customer's viewpoint.
|
Rate |
Rate.withWeeklyBegin(org.joda.time.base.AbstractDateTime begin)
Sets the day of the week on which this Rate comes into effect.
|
Rate |
Rate.withWeeklyBegin(int begin) |
Rate |
Rate.withWeeklyBegin(org.joda.time.ReadablePartial begin)
Sets the day of the week on which this Rate comes into effect.
|
Rate |
Rate.withWeeklyEnd(org.joda.time.base.AbstractDateTime end)
Sets the weekly end of applicability for this Rate,
by processing end spec to extract dayOfWeek field.
|
Rate |
Rate.withWeeklyEnd(int end)
Sets the weekly end of applicability for this Rate.
|
Rate |
Rate.withWeeklyEnd(org.joda.time.ReadablePartial end)
Sets the weekly end of applicability for this Rate,
by processing end spec to extract dayOfWeek field.
|
Modifier and Type | Method and Description |
---|---|
List<Rate> |
TariffSpecification.getRates()
Returns the Rate instances from among the rates in this tariff spec.
|
Modifier and Type | Method and Description |
---|---|
boolean |
VariableRateUpdate.isValid(Rate rate)
Given a Rate, a VRU is valid if it has the correct ID, if the Rate
is not fixed, and if the HourlyCharge specifies a value
between the minValue and maxValue of the Rate.
|
Constructor and Description |
---|
VariableRateUpdate(Broker broker,
Rate rate,
HourlyCharge hourlyCharge) |
Modifier and Type | Method and Description |
---|---|
Rate |
TariffRepo.findRateById(long id) |
Copyright © 2019 Power TAC. All rights reserved.