Uses of Class
org.powertac.common.CustomerInfo
-
Packages that use CustomerInfo Package Description org.powertac.common Power TAC domain types, shared between simulation server and brokers.org.powertac.common.interfaces 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.org.powertac.customer org.powertac.factoredcustomer org.powertac.factoredcustomer.interfaces -
-
Uses of CustomerInfo in org.powertac.common
Methods in org.powertac.common that return CustomerInfo Modifier and Type Method Description CustomerInfoTariffSubscription. getCustomer()CustomerInfoTariffTransaction. getCustomerInfo()CustomerInfoCustomerInfo. withCanNegotiate(boolean value)Fluent setter for the canNegotiate flag.CustomerInfoCustomerInfo. withControllableKW(double value)Fluent setter for controllable kWh.CustomerInfoCustomerInfo. withCustomerClass(CustomerInfo.CustomerClass cClass)Fluent setter for customerClass attribute.CustomerInfoCustomerInfo. withDownRegulationKW(double value)Fluent setter for down-regulation kW.CustomerInfoCustomerInfo. withMultiContracting(boolean value)Fluent setter for the multiContracting property.CustomerInfoCustomerInfo. withPowerType(PowerType type)Fluent setter to set PowerType for this CustomerInfo.CustomerInfoCustomerInfo. withStorageCapacity(double value)Fluent setter for storage capacity.CustomerInfoCustomerInfo. withUpRegulationKW(double value)Fluent setter for up-regulation kW.Methods in org.powertac.common that return types with arguments of type CustomerInfo Modifier and Type Method Description List<CustomerInfo>Competition. getCustomers()The list of customers (or more precisely, customer models) in the simulation environment.Methods in org.powertac.common with parameters of type CustomerInfo Modifier and Type Method Description CompetitionCompetition. addCustomer(CustomerInfo customer)Adds a customer to the Competition.TariffTransactionTransactionFactory. makeTariffTransaction(Broker broker, TariffTransaction.Type txType, TariffSpecification spec, CustomerInfo customer, int customerCount, double kWh, double charge)Creates a tariff transaction that is not a regulation transaction.TariffTransactionTransactionFactory. makeTariffTransaction(Broker broker, TariffTransaction.Type txType, TariffSpecification spec, CustomerInfo customer, int customerCount, double kWh, double charge, boolean isRegulation)Creates a tariff transaction that could be a regulation transaction, depending on the value of the isRegulation parameter.Constructors in org.powertac.common with parameters of type CustomerInfo Constructor Description TariffSubscription(CustomerInfo customer, long tariffId)Alternate constructor for logtool analyzers in which Tariffs cannot be reconstructed.TariffSubscription(CustomerInfo customer, Tariff tariff)You need a CustomerInfo and a Tariff to create one of these.TariffTransaction(Broker broker, int when, TariffTransaction.Type txType, TariffSpecification spec, CustomerInfo customer, int customerCount, double kWh, double charge)Deprecated.TariffTransaction(Broker broker, int when, TariffTransaction.Type txType, TariffSpecification spec, CustomerInfo customer, int customerCount, double kWh, double charge, boolean regulation)Creates a new TariffTransaction for broker of type txType against a particular tariff spec and customer. -
Uses of CustomerInfo in org.powertac.common.interfaces
Methods in org.powertac.common.interfaces that return CustomerInfo Modifier and Type Method Description CustomerInfoCustomerModelAccessor. getCustomerInfo()Returns the CustomerInfo instance for this customer model.Methods in org.powertac.common.interfaces with parameters of type CustomerInfo Modifier and Type Method Description TariffTransactionAccounting. addRegulationTransaction(Tariff tariff, CustomerInfo customer, int customerCount, double kWh, double charge)Adds a tariff transaction representing a curtailment or balancing action to the current-hour transaction list.TariffTransactionAccounting. addTariffTransaction(TariffTransaction.Type txType, Tariff tariff, CustomerInfo customer, int customerCount, double kWh, double charge)Adds a tariff transaction to the current-hour transaction list.voidTariffMarket. subscribeToTariff(Tariff tariff, CustomerInfo customer, int customerCount)Subscribes a block of Customers from a single Customer model to the specified Tariff, as long as the Tariff has not expired. -
Uses of CustomerInfo in org.powertac.common.msg
Constructors in org.powertac.common.msg with parameters of type CustomerInfo Constructor Description CustomerBootstrapData(CustomerInfo customer, PowerType powerType, double[] netUsage) -
Uses of CustomerInfo in org.powertac.common.repo
Methods in org.powertac.common.repo that return CustomerInfo Modifier and Type Method Description CustomerInfoCustomerRepo. createCustomerInfo(String name, int population)CustomerInfoCustomerRepo. findById(long id)CustomerInfoCustomerRepo. findByNameAndPowerType(String name, PowerType type)Methods in org.powertac.common.repo that return types with arguments of type CustomerInfo Modifier and Type Method Description List<CustomerInfo>CustomerRepo. findByName(String name)Collection<CustomerInfo>CustomerRepo. list()Methods in org.powertac.common.repo with parameters of type CustomerInfo Modifier and Type Method Description voidCustomerRepo. add(CustomerInfo customer)List<TariffSubscription>TariffSubscriptionRepo. findActiveSubscriptionsForCustomer(CustomerInfo customer)Returns the list of active subscriptions for a given customer.TariffSubscriptionTariffSubscriptionRepo. findSubscriptionForTariffAndCustomer(Tariff tariff, CustomerInfo customer)Returns the subscription, if any, for the specified tariff and customer.List<TariffSubscription>TariffSubscriptionRepo. findSubscriptionsForCustomer(CustomerInfo customer)Returns the list of subscriptions for a given customer.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.TariffSubscriptionTariffSubscriptionRepo. getSubscription(CustomerInfo customer, Tariff tariff)Returns the TariffSubscription for the given Tariff/Customer pair, creating it if necessary. -
Uses of CustomerInfo in org.powertac.customer
Fields in org.powertac.customer with type parameters of type CustomerInfo Modifier and Type Field Description protected List<CustomerInfo>AbstractCustomer. allCustomerInfosprotected HashMap<PowerType,List<CustomerInfo>>AbstractCustomer. customerInfosMethods in org.powertac.customer that return CustomerInfo Modifier and Type Method Description CustomerInfoAbstractCustomer. getCustomerInfo(PowerType pt)Returns the first CustomerInfo associated with this instance and PowerType.Methods in org.powertac.customer that return types with arguments of type CustomerInfo Modifier and Type Method Description List<CustomerInfo>AbstractCustomer. getCustomerInfoList(PowerType pt)Returns the list of CustomerInfos associated with this instance and PowerType.List<CustomerInfo>AbstractCustomer. getCustomerInfos()Returns the list of CustomerInfo records associated with this customer model.Methods in org.powertac.customer with parameters of type CustomerInfo Modifier and Type Method Description voidAbstractCustomer. addCustomerInfo(CustomerInfo info)Adds an additional CustomerInfo to the listvoidAbstractCustomer. changeSubscription(Tariff tariff, Tariff newTariff, CustomerInfo customer)In this overloaded implementation of the changing subscription function, Here we just put the tariff we want to change and the whole population is moved to another random tariff.intAbstractCustomer. getPopulation(CustomerInfo customer) -
Uses of CustomerInfo in org.powertac.factoredcustomer
Methods in org.powertac.factoredcustomer that return CustomerInfo Modifier and Type Method Description CustomerInfoDefaultCapacityBundle. getCustomerInfo() -
Uses of CustomerInfo in org.powertac.factoredcustomer.interfaces
Methods in org.powertac.factoredcustomer.interfaces that return CustomerInfo Modifier and Type Method Description CustomerInfoCapacityBundle. getCustomerInfo()
-