Uses of Class
org.powertac.common.Rate

Packages that use 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
    Rate Rate.withDailyBegin​(int begin)  
    Rate Rate.withDailyBegin​(org.joda.time.base.AbstractDateTime begin)
    Sets the time of day when this Rate comes into effect.
    Rate Rate.withDailyBegin​(org.joda.time.ReadablePartial begin)
    Sets the time of day when this Rate comes into 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.base.AbstractDateTime end)
    Sets the time of day when this Rate is no longer in effect.
    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​(long hours)
    Specifies the minimum interval in hours for rate change notifications for a variable Rate.
    Rate Rate.withNoticeInterval​(org.joda.time.Duration interval)
    Specifies the minimum interval 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​(int begin)  
    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​(org.joda.time.ReadablePartial begin)
    Sets the day of the week on which this Rate comes into effect.
    Rate Rate.withWeeklyEnd​(int end)
    Sets the weekly end of applicability for this Rate.
    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​(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
    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.
    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
    Rate TariffRepo.findRateById​(long id)