Package | Description |
---|---|
org.powertac.common |
Power TAC domain types, shared between simulation server and brokers.
|
org.powertac.common.enumerations | |
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 |
---|---|
PowerType |
TariffSpecification.getPowerType() |
PowerType |
Tariff.getPowerType()
Type of power covered by this tariff
|
PowerType |
CustomerInfo.getPowerType()
Returns the type of power consumption and/or production available in
this customer model.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Rate.isValid(PowerType powerType) |
CustomerInfo |
CustomerInfo.withPowerType(PowerType type)
Fluent setter to set PowerType for this CustomerInfo.
|
Constructor and Description |
---|
TariffSpecification(Broker broker,
PowerType powerType)
Creates a new TariffSpecification for a broker and a specific powerType.
|
Modifier and Type | Field and Description |
---|---|
static PowerType |
PowerType.BATTERY_STORAGE |
static PowerType |
PowerType.CHP_PRODUCTION |
static PowerType |
PowerType.CONSUMPTION |
static PowerType |
PowerType.ELECTRIC_VEHICLE |
static PowerType |
PowerType.FOSSIL_PRODUCTION |
static PowerType |
PowerType.INTERRUPTIBLE_CONSUMPTION |
static PowerType |
PowerType.PRODUCTION |
static PowerType |
PowerType.PUMPED_STORAGE_PRODUCTION |
static PowerType |
PowerType.RUN_OF_RIVER_PRODUCTION |
static PowerType |
PowerType.SOLAR_PRODUCTION |
static PowerType |
PowerType.STORAGE |
static PowerType |
PowerType.THERMAL_STORAGE_CONSUMPTION |
static PowerType |
PowerType.WIND_PRODUCTION |
Modifier and Type | Method and Description |
---|---|
PowerType |
PowerType.getGenericType()
Returns the least-specific capacity type for a given PowerType.
|
static PowerType |
PowerType.valueOf(String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
PowerType.canUse(PowerType tariffType)
Returns true just in case this powerType is a supertype (can use)
the tariffType.
|
Modifier and Type | Method and Description |
---|---|
PowerType |
CustomerBootstrapData.getPowerType() |
Constructor and Description |
---|
CustomerBootstrapData(CustomerInfo customer,
PowerType powerType,
double[] netUsage) |
Modifier and Type | Method and Description |
---|---|
List<Tariff> |
TariffRepo.findActiveTariffs(PowerType type)
Returns the list of active tariffs that exactly match the given
PowerType.
|
List<Tariff> |
TariffRepo.findAllActiveTariffs(PowerType type)
Returns the list of active tariffs that can be used by a customer
of the given PowerType, including those that are more generic than
the specific type.
|
CustomerInfo |
CustomerRepo.findByNameAndPowerType(String name,
PowerType type) |
List<Tariff> |
TariffRepo.findRecentActiveTariffs(int n,
PowerType type)
Returns the n most "recent" active tariffs from each broker
that can be used by a customer with the given powerType.
|
List<TariffSpecification> |
TariffRepo.findTariffSpecificationsByPowerType(PowerType type) |
Tariff |
TariffRepo.getDefaultTariff(PowerType type) |
Copyright © 2019 Power TAC. All rights reserved.