Uses of Class
org.powertac.common.CustomerInfo
-
Packages that use CustomerInfo Package Description org.powertac.accounting 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 General customer-model infrastructure.org.powertac.customer.coldstorage org.powertac.customer.model Discrete capacity modules that can be combined into customer models.org.powertac.evcustomer.customers org.powertac.factoredcustomer org.powertac.factoredcustomer.interfaces org.powertac.householdcustomer.customers org.powertac.officecomplexcustomer org.powertac.officecomplexcustomer.customers org.powertac.tariffmarket -
-
Uses of CustomerInfo in org.powertac.accounting
Methods in org.powertac.accounting with parameters of type CustomerInfo Modifier and Type Method Description TariffTransactionAccountingService. addRegulationTransaction(Tariff tariff, CustomerInfo customer, int customerCount, double kWh, double charge)TariffTransactionAccountingService. addTariffTransaction(TariffTransaction.Type txType, Tariff tariff, CustomerInfo customer, int customerCount, double kWh, double charge) -
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.customer.coldstorage
Methods in org.powertac.customer.coldstorage that return CustomerInfo Modifier and Type Method Description CustomerInfoColdStorage. getCustomerInfo() -
Uses of CustomerInfo in org.powertac.customer.model
Methods in org.powertac.customer.model that return CustomerInfo Modifier and Type Method Description CustomerInfoBattery. getCustomerInfo()CustomerInfoLiftTruck. getCustomerInfo() -
Uses of CustomerInfo in org.powertac.evcustomer.customers
Methods in org.powertac.evcustomer.customers that return CustomerInfo Modifier and Type Method Description CustomerInfoEvCustomer. initialize(SocialGroup socialGroup, String gender, Map<Integer,Activity> activities, List<GroupActivity> groupActivities, CarType car, EvSocialClass esc, CustomerServiceAccessor service, Config config) -
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() -
Uses of CustomerInfo in org.powertac.householdcustomer.customers
Methods in org.powertac.householdcustomer.customers that return CustomerInfo Modifier and Type Method Description CustomerInfoVillage.TariffEvaluationWrapper. getCustomerInfo()Methods in org.powertac.householdcustomer.customers that return types with arguments of type CustomerInfo Modifier and Type Method Description Map<CustomerInfo,String>Village. getHouseMapping()This function returns the inertia Map variable of the village.Map<CustomerInfo,TariffEvaluator>Village. getTariffEvaluators()This function returns the period Map variable of the village.Method parameters in org.powertac.householdcustomer.customers with type arguments of type CustomerInfo Modifier and Type Method Description voidVillage. initialize(Properties conf, int seed, Map<CustomerInfo,String> mapping)This is the initialization function.Constructors in org.powertac.householdcustomer.customers with parameters of type CustomerInfo Constructor Description TariffEvaluationWrapper(String type, CustomerInfo customer) -
Uses of CustomerInfo in org.powertac.officecomplexcustomer
Methods in org.powertac.officecomplexcustomer that return types with arguments of type CustomerInfo Modifier and Type Method Description List<CustomerInfo>OfficeComplexCustomerService. generateCustomerInfoList()This function finds all the available Office Consumers in the competition and creates a list of their customerInfo. -
Uses of CustomerInfo in org.powertac.officecomplexcustomer.customers
Methods in org.powertac.officecomplexcustomer.customers that return CustomerInfo Modifier and Type Method Description CustomerInfoOfficeComplex.TariffEvaluationWrapper. getCustomerInfo()Methods in org.powertac.officecomplexcustomer.customers that return types with arguments of type CustomerInfo Modifier and Type Method Description Map<CustomerInfo,String>OfficeComplex. getOfficeMapping()This function returns the inertia Map variable of the village.Map<CustomerInfo,TariffEvaluator>OfficeComplex. getTariffEvaluators()This function returns the period Map variable of the village.Method parameters in org.powertac.officecomplexcustomer.customers with type arguments of type CustomerInfo Modifier and Type Method Description voidOfficeComplex. initialize(Properties conf, int seed, Map<CustomerInfo,String> mapping)This is the initialization function.Constructors in org.powertac.officecomplexcustomer.customers with parameters of type CustomerInfo Constructor Description TariffEvaluationWrapper(String type, CustomerInfo customer) -
Uses of CustomerInfo in org.powertac.tariffmarket
Methods in org.powertac.tariffmarket with parameters of type CustomerInfo Modifier and Type Method Description voidTariffMarketService. subscribeToTariff(Tariff tariff, CustomerInfo customer, int customerCount)If customerCount is positive, subscribes a block of Customers from a single Customer model to the specified Tariff, as long as the Tariff is not expired or revoked.
-