Uses of Class
org.powertac.common.Rate
| 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.
|
-
Uses of Rate in org.powertac.common
Methods in org.powertac.common that return Rate Modifier and Type Method Description RateRate. withDailyBegin(int begin)RateRate. withDailyBegin(org.joda.time.base.AbstractDateTime begin)Sets the time of day when this Rate comes into effect.RateRate. withDailyBegin(org.joda.time.ReadablePartial begin)Sets the time of day when this Rate comes into effect.RateRate. withDailyEnd(int end)Sets the time of day when this Rate is no longer in effect, given as hours since midnight.RateRate. withDailyEnd(org.joda.time.base.AbstractDateTime end)Sets the time of day when this Rate is no longer in effect.RateRate. withDailyEnd(org.joda.time.ReadablePartial end)Sets the time of day when this Rate is no longer in effect.RateRate. withExpectedMean(double value)Specifies the expected mean charge/kWh, excluding periodic charges, for this Rate.RateRate. withFixed(boolean fixed)Specifies whether this Rate is fixed (true) or variable (false).RateRate. withMaxCurtailment(double value)Sets the maximum proportion of offered load or supply that can be curtailed.RateRate. withMaxValue(double maxValue)Specifies the maximum charge (furthest from zero) for variable Rates.RateRate. withMinValue(double minValue)Specifies the minimum charge (closest to zero) for variable Rates.RateRate. withNoticeInterval(long hours)Specifies the minimum interval in hours for rate change notifications for a variable Rate.RateRate. withNoticeInterval(org.joda.time.Duration interval)Specifies the minimum interval for rate change notifications for a variable Rate.RateRate. withTierThreshold(double tierThreshold)Sets the usage threshold for applicability of this Rate.RateRate. withValue(double value)Specifies the charge/kWh for a fixed rate, from the customer's viewpoint.RateRate. withWeeklyBegin(int begin)RateRate. withWeeklyBegin(org.joda.time.base.AbstractDateTime begin)Sets the day of the week on which this Rate comes into effect.RateRate. withWeeklyBegin(org.joda.time.ReadablePartial begin)Sets the day of the week on which this Rate comes into effect.RateRate. withWeeklyEnd(int end)Sets the weekly end of applicability for this Rate.RateRate. withWeeklyEnd(org.joda.time.base.AbstractDateTime end)Sets the weekly end of applicability for this Rate, by processing end spec to extract dayOfWeek field.RateRate. withWeeklyEnd(org.joda.time.ReadablePartial end)Sets the weekly end of applicability for this Rate, by processing end spec to extract dayOfWeek field.Methods in org.powertac.common that return types with arguments of type Rate Modifier and Type Method Description List<Rate>TariffSpecification. getRates()Returns the Rate instances from among the rates in this tariff spec. -
Uses of Rate in org.powertac.common.msg
Methods in org.powertac.common.msg with parameters of type Rate Modifier and Type Method Description booleanVariableRateUpdate. 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.Constructors in org.powertac.common.msg with parameters of type Rate Constructor Description VariableRateUpdate(Broker broker, Rate rate, HourlyCharge hourlyCharge) -
Uses of Rate in org.powertac.common.repo
Methods in org.powertac.common.repo that return Rate Modifier and Type Method Description RateTariffRepo. findRateById(long id)