| 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(Tariff tariff,
CustomerInfo customer)
Returns the subscription, if any, for the specified tariff and customer.
|
TariffSubscription |
TariffSubscriptionRepo.getSubscription(CustomerInfo customer,
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(Broker broker)
Returns the list of active subscriptions for a given broker.
|
List<TariffSubscription> |
TariffSubscriptionRepo.findActiveSubscriptionsForCustomer(CustomerInfo customer)
Returns the list of active subscriptions for a given customer.
|
List<TariffSubscription> |
TariffSubscriptionRepo.findSubscriptionsForBroker(Broker b)
Returns the list of subscriptions for the specified broker.
|
List<TariffSubscription> |
TariffSubscriptionRepo.findSubscriptionsForCustomer(CustomerInfo customer)
Returns the list of subscriptions for a given customer.
|
List<TariffSubscription> |
TariffSubscriptionRepo.findSubscriptionsForTariff(Tariff tariff)
Returns the list of subscriptions for a given tariff.
|
List<TariffSubscription> |
TariffSubscriptionRepo.getRevokedSubscriptionList(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(PowerType type)
Returns the current tariff subscriptions for the first CustomerInfo
with the given PowerType.
|
Copyright © 2017 Power TAC. All rights reserved.