Package | Description |
---|---|
org.powertac.common |
Power TAC domain types, shared between simulation server and brokers.
|
Modifier and Type | Method and Description |
---|---|
double |
Tariff.getUsageCharge(org.joda.time.Instant when,
double kwh,
double cumulativeUsage,
TariffEvaluationHelper helper)
Returns a risk-adjusted usage charge, with prices for variable rates
adjusted by the given TariffEvaluationHelper.
|
double |
Rate.getValue(org.joda.time.base.AbstractInstant when,
TariffEvaluationHelper helper)
Returns the rate for some time in the past or future, regardless of
whether the Rate applies at that time, and regardless of whether
the requested time is beyond the notification interval of a
variable rate.
|
Copyright © 2019 Power TAC. All rights reserved.