| Package | Description |
|---|---|
| org.powertac.common | |
| org.powertac.common.repo | |
| org.powertac.customer |
Generic customer model components.
|
| Constructor and Description |
|---|
RegulationCapacity(TariffSubscription subscription,
double upRegulationCapacity,
double downRegulationCapacity)
Creates a new RegulationAccumulator instance specifying the amounts of
regulating capacity available for up-regulation and down-regulation.
|
| Modifier and Type | Method and Description |
|---|---|
TariffSubscription |
TariffSubscriptionRepo.add(TariffSubscription subscription)
Adds an existing subscription to the repo.
|
TariffSubscription |
TariffSubscriptionRepo.findSubscriptionForTariffAndCustomer(org.powertac.common.Tariff tariff,
org.powertac.common.CustomerInfo customer)
Returns the subscription, if any, for the specified tariff and customer.
|
TariffSubscription |
TariffSubscriptionRepo.getSubscription(org.powertac.common.CustomerInfo customer,
org.powertac.common.Tariff tariff)
Returns the TariffSubscription for the given Tariff/Customer pair, creating
it if necessary.
|
| Modifier and Type | Method and Description |
|---|---|
List<TariffSubscription> |
TariffSubscriptionRepo.findActiveSubscriptionsForBroker(org.powertac.common.Broker broker)
Returns the list of active subscriptions for a given broker.
|
List<TariffSubscription> |
TariffSubscriptionRepo.findActiveSubscriptionsForCustomer(org.powertac.common.CustomerInfo customer)
Returns the list of active subscriptions for a given customer.
|
List<TariffSubscription> |
TariffSubscriptionRepo.findSubscriptionsForBroker(org.powertac.common.Broker b)
Returns the list of subscriptions for the specified broker.
|
List<TariffSubscription> |
TariffSubscriptionRepo.findSubscriptionsForCustomer(org.powertac.common.CustomerInfo customer)
Returns the list of subscriptions for a given customer.
|
List<TariffSubscription> |
TariffSubscriptionRepo.findSubscriptionsForTariff(org.powertac.common.Tariff tariff)
Returns the list of subscriptions for a given tariff.
|
List<TariffSubscription> |
TariffSubscriptionRepo.getRevokedSubscriptionList(org.powertac.common.CustomerInfo customer)
Returns the list of subscriptions for this customer that have been
revoked and have non-zero committed customer counts.
|
| Modifier and Type | Method and Description |
|---|---|
TariffSubscription |
TariffSubscriptionRepo.add(TariffSubscription subscription)
Adds an existing subscription to the repo.
|
| Modifier and Type | Method and Description |
|---|---|
List<TariffSubscription> |
AbstractCustomer.getCurrentSubscriptions()
Returns the current tariff subscriptions for the first CustomerInfo.
|
List<TariffSubscription> |
AbstractCustomer.getCurrentSubscriptions(org.powertac.common.enumerations.PowerType type)
Returns the current tariff subscriptions for the first CustomerInfo
with the given PowerType.
|
Copyright © 2016 Power TAC. All Rights Reserved.