| Package | Description |
|---|---|
| org.powertac.accounting | |
| org.powertac.common | |
| org.powertac.common.interfaces |
| Modifier and Type | Method and Description |
|---|---|
TariffTransaction |
AccountingService.addRegulationTransaction(Tariff tariff,
CustomerInfo customer,
int customerCount,
double kWh,
double charge) |
TariffTransaction |
AccountingService.addTariffTransaction(TariffTransaction.Type txType,
Tariff tariff,
CustomerInfo customer,
int customerCount,
double kWh,
double charge) |
| Modifier and Type | Method and Description |
|---|---|
List<TariffTransaction> |
AccountingService.getPendingTariffTransactions()
Returns the current list of pending tariff transactions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AccountingService.processTransaction(TariffTransaction tx,
ArrayList<Object> messages)
Processes a tariff transaction, updating the broker's cash position
and the consumption, production data in the distribution report.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
TariffTransaction |
Accounting.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.
|
TariffTransaction |
Accounting.addTariffTransaction(TariffTransaction.Type txType,
Tariff tariff,
CustomerInfo customer,
int customerCount,
double kWh,
double charge)
Adds a tariff transaction to the current-hour transaction list.
|
| Modifier and Type | Method and Description |
|---|---|
List<TariffTransaction> |
Accounting.getPendingTariffTransactions()
Returns the list of pending tariff transactions for the current timeslot.
|
Copyright © 2017 Power TAC. All rights reserved.