| Package | Description |
|---|---|
| org.powertac.common | |
| org.powertac.common.interfaces | |
| org.powertac.common.msg | |
| org.powertac.common.repo |
| Modifier and Type | Field and Description |
|---|---|
protected Broker |
TariffMessage.broker
The broker originating this message
|
protected Broker |
BrokerTransaction.broker
Whose transaction is this?
|
| Modifier and Type | Method and Description |
|---|---|
Broker |
Broker.addMarketPosition(MarketPosition posn,
int slot)
Associates a MarketPosition with a given Timeslot.
|
Broker |
Broker.addMarketPosition(MarketPosition posn,
Timeslot slot)
Deprecated.
|
Broker |
TariffSpecification.getBroker() |
Broker |
TariffMessage.getBroker() |
Broker |
Tariff.getBroker() |
Broker |
Order.getBroker() |
Broker |
MarketPosition.getBroker() |
Broker |
BrokerTransaction.getBroker()
The Broker to whom this Transaction applies.
|
| Modifier and Type | Method and Description |
|---|---|
BalancingTransaction |
TransactionFactory.makeBalancingTransaction(Broker broker,
double kWh,
double charge) |
BankTransaction |
TransactionFactory.makeBankTransaction(Broker broker,
double amount) |
CapacityTransaction |
TransactionFactory.makeCapacityTransaction(Broker broker,
int peakTimeslot,
double threshold,
double kWh,
double fee) |
CashPosition |
TransactionFactory.makeCashPosition(Broker broker,
double balance) |
DistributionTransaction |
TransactionFactory.makeDistributionTransaction(Broker broker,
int nSmall,
int nLarge,
double transport,
double distroCharge) |
MarketTransaction |
TransactionFactory.makeMarketTransaction(Broker broker,
Timeslot timeslot,
double mWh,
double price) |
TariffTransaction |
TransactionFactory.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.
|
TariffTransaction |
TransactionFactory.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.
|
| Constructor and Description |
|---|
BalancingTransaction(Broker broker,
int when,
double kWh,
double charge) |
BankTransaction(Broker broker,
double amount,
int time)
Constructs a new BankTransaction instance, giving it a new id.
|
BrokerTransaction(int timeslotIndex,
Broker broker) |
CapacityTransaction(Broker broker,
int when,
int peakTimeslot,
double threshold,
double kwh,
double charge) |
CashPosition(Broker broker,
double balance,
int timeslot) |
DistributionTransaction(Broker broker,
int when,
double kwh,
double charge) |
DistributionTransaction(Broker broker,
int when,
int nSmall,
int nLarge,
double kwh,
double charge) |
MarketPosition(Broker broker,
int timeslot,
double balance) |
MarketPosition(Broker broker,
Timeslot timeslot,
double balance) |
MarketTransaction(Broker broker,
int when,
int timeslot,
double mWh,
double price) |
MarketTransaction(Broker broker,
int when,
Timeslot timeslot,
double mWh,
double price) |
Order(Broker broker,
int timeslot,
double mWh,
Double limitPrice)
Creates a new Order for Broker to buy or sell a quantity of energy
in Timeslot.
|
Order(Broker broker,
Timeslot timeslot,
double mWh,
Double limitPrice)
Deprecated.
|
TariffMessage(Broker broker) |
TariffSpecification(Broker broker,
PowerType powerType)
Creates a new TariffSpecification for a broker and a specific powerType.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Broker,Map<TariffTransaction.Type,Double>> |
Accounting.getCurrentSupplyDemandByBroker()
Returns a mapping of brokers to total supply and demand among subscribed
customers.
|
| Modifier and Type | Method and Description |
|---|---|
BalancingTransaction |
Accounting.addBalancingTransaction(Broker broker,
double imbalance,
double charge)
Adds a balancing transaction to represent the cost of imbalance
|
CapacityTransaction |
Accounting.addCapacityTransaction(Broker broker,
int peakTimeslot,
double threshold,
double kWh,
double fee)
Adds a capacity transaction to represent charges for contribution to
a demand peak.
|
DistributionTransaction |
Accounting.addDistributionTransaction(Broker broker,
int nSmall,
int nLarge,
double transport,
double distroCharge)
Adds a distribution transaction to represent charges for customer
connections and energy transport.
|
MarketTransaction |
Accounting.addMarketTransaction(Broker broker,
Timeslot timeslot,
double price,
double mWh)
Adds a market transaction that includes both a cash component and a product
commitment for a specific timeslot.
|
double |
Accounting.getCurrentMarketPosition(Broker broker)
Returns the market position for the current timeslot for a given broker.
|
double |
Accounting.getCurrentNetLoad(Broker broker)
Returns the current net load represented by unprocessed TariffTransactions
for a specific Broker.
|
double |
BalancingMarket.getMarketBalance(Broker broker)
Returns the market balance for a given broker.
|
double |
BalancingMarket.getRegulation(Broker broker)
Returns the net regulation energy (positive for up-regulation,
negative for down-regulation) for a given broker.
|
void |
BrokerProxy.sendMessage(Broker broker,
Object messageObject)
Send a message to a specific broker
|
void |
BrokerProxy.sendMessages(Broker broker,
List<?> messageObjects)
Sends a list of messages to a specific broker
|
| Modifier and Type | Field and Description |
|---|---|
protected Broker |
OrderStatus.broker
The broker originating this message
|
| Modifier and Type | Method and Description |
|---|---|
Broker |
PauseRequest.getBroker() |
Broker |
PauseRelease.getBroker() |
Broker |
OrderStatus.getBroker() |
| Constructor and Description |
|---|
BalancingOrder(Broker broker,
TariffSpecification tariff,
double exerciseRatio,
double price)
Creates a new BalancingOrder for the given tariff.
|
BrokerAuthentication(Broker broker)
Creates an instance from a broker
|
OrderStatus(Broker broker,
long orderId)
Convenience constructor for timeslotDisabled message
|
OrderStatus(Broker broker,
long orderId,
OrderStatus.Status status) |
PauseRelease(Broker broker) |
PauseRequest(Broker broker) |
TariffExpire(Broker broker,
TariffSpecification tariff,
org.joda.time.Instant expiration) |
TariffRevoke(Broker broker,
TariffSpecification tariff) |
TariffStatus(Broker broker,
long tariffId,
long updateId,
TariffStatus.Status status) |
TariffUpdate(Broker broker,
long tariffId) |
TariffUpdate(Broker broker,
TariffSpecification tariff) |
VariableRateUpdate(Broker broker,
Rate rate,
HourlyCharge hourlyCharge) |
| Modifier and Type | Method and Description |
|---|---|
Broker |
BrokerRepo.findById(long id) |
Broker |
BrokerRepo.findByUsername(String username) |
Broker |
BrokerRepo.findOrCreateByUsername(String username) |
| Modifier and Type | Method and Description |
|---|---|
List<Broker> |
BrokerRepo.findDisabledBrokers() |
List<Broker> |
BrokerRepo.findRetailBrokers() |
List<Broker> |
BrokerRepo.findWholesaleBrokers() |
Collection<Broker> |
BrokerRepo.list() |
| Modifier and Type | Method and Description |
|---|---|
void |
BrokerRepo.add(Broker broker) |
List<TariffSubscription> |
TariffSubscriptionRepo.findActiveSubscriptionsForBroker(Broker broker)
Returns the list of active subscriptions for a given broker.
|
List<TariffSubscription> |
TariffSubscriptionRepo.findSubscriptionsForBroker(Broker b)
Returns the list of subscriptions for the specified broker.
|
List<Tariff> |
TariffRepo.findTariffsByBroker(Broker broker) |
List<TariffSpecification> |
TariffRepo.findTariffSpecificationsByBroker(Broker broker) |
Copyright © 2017 Power TAC. All rights reserved.