Package | Description |
---|---|
org.powertac.common |
Power TAC domain types, shared between simulation server and brokers.
|
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.
|
Modifier and Type | Method and Description |
---|---|
CustomerInfo |
TariffTransaction.getCustomerInfo() |
CustomerInfo |
CustomerInfo.withCanNegotiate(boolean value)
Fluent setter for the canNegotiate flag.
|
CustomerInfo |
CustomerInfo.withControllableKW(double value)
Fluent setter for controllable kWh.
|
CustomerInfo |
CustomerInfo.withCustomerClass(CustomerInfo.CustomerClass cClass)
Fluent setter for customerClass attribute.
|
CustomerInfo |
CustomerInfo.withDownRegulationKW(double value)
Fluent setter for down-regulation kW.
|
CustomerInfo |
CustomerInfo.withMultiContracting(boolean value)
Fluent setter for the multiContracting property.
|
CustomerInfo |
CustomerInfo.withPowerType(PowerType type)
Fluent setter to set PowerType for this CustomerInfo.
|
CustomerInfo |
CustomerInfo.withStorageCapacity(double value)
Fluent setter for storage capacity.
|
CustomerInfo |
CustomerInfo.withUpRegulationKW(double value)
Fluent setter for up-regulation kW.
|
Modifier and Type | Method and Description |
---|---|
List<CustomerInfo> |
Competition.getCustomers()
The list of customers (or more precisely, customer models) in the
simulation environment.
|
Modifier and Type | Method and Description |
---|---|
Competition |
Competition.addCustomer(CustomerInfo customer)
Adds a customer to the Competition.
|
Constructor and Description |
---|
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.
|
Constructor and Description |
---|
CustomerBootstrapData(CustomerInfo customer,
PowerType powerType,
double[] netUsage) |
Modifier and Type | Method and Description |
---|---|
CustomerInfo |
CustomerRepo.createCustomerInfo(String name,
int population) |
CustomerInfo |
CustomerRepo.findById(long id) |
CustomerInfo |
CustomerRepo.findByNameAndPowerType(String name,
PowerType type) |
Modifier and Type | Method and Description |
---|---|
List<CustomerInfo> |
CustomerRepo.findByName(String name) |
Collection<CustomerInfo> |
CustomerRepo.list() |
Modifier and Type | Method and Description |
---|---|
void |
CustomerRepo.add(CustomerInfo customer) |
Copyright © 2019 Power TAC. All rights reserved.