Uses of Class
org.powertac.common.TariffSubscription
-
Packages that use TariffSubscription Package Description org.powertac.common Power TAC domain types, shared between simulation server and brokers.org.powertac.common.repo Repositories that need to exist in both the Power TAC simulation server and in brokers.org.powertac.customer General customer-model infrastructure.org.powertac.factoredcustomer org.powertac.factoredcustomer.interfaces -
-
Uses of TariffSubscription in org.powertac.common
Methods in org.powertac.common that return TariffSubscription Modifier and Type Method Description TariffSubscription
RegulationCapacity. getSubscription()
Returns the subscription, if any, associated with this instance.Constructors in org.powertac.common with parameters of type TariffSubscription Constructor 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. -
Uses of TariffSubscription in org.powertac.common.repo
Methods in org.powertac.common.repo that return TariffSubscription Modifier and Type Method 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.Methods in org.powertac.common.repo that return types with arguments of type TariffSubscription Modifier and Type Method 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.Methods in org.powertac.common.repo with parameters of type TariffSubscription Modifier and Type Method Description TariffSubscription
TariffSubscriptionRepo. add(TariffSubscription subscription)
Adds an existing subscription to the repo. -
Uses of TariffSubscription in org.powertac.customer
Methods in org.powertac.customer that return TariffSubscription Modifier and Type Method Description TariffSubscription
StepInfo. getSubscription()
Methods in org.powertac.customer that return types with arguments of type TariffSubscription Modifier and Type Method 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.Constructors in org.powertac.customer with parameters of type TariffSubscription Constructor Description StepInfo(Timeslot slot, TariffSubscription sub)
-
Uses of TariffSubscription in org.powertac.factoredcustomer
Methods in org.powertac.factoredcustomer with parameters of type TariffSubscription Modifier and Type Method Description void
ProfileRecommendation.Listener. handleProfileRecommendationPerSub(ProfileRecommendation rec, TariffSubscription sub, CapacityProfile capacityProfile)
-
Uses of TariffSubscription in org.powertac.factoredcustomer.interfaces
Methods in org.powertac.factoredcustomer.interfaces with parameters of type TariffSubscription Modifier and Type Method Description double
CapacityOriginator. adjustCapacityForSubscription(int timeslot, double totalCapacity, TariffSubscription subscription)
CapacityProfile
CapacityOriginator. getCurrentForecastPerSub(TariffSubscription sub)
CapacityProfile
CapacityOriginator. getForecastPerSubStartingAt(int startingTimeslot, TariffSubscription subscription)
CapacityAccumulator
CapacityOriginator. useCapacity(TariffSubscription subscription)
-