Uses of Class
org.powertac.common.TariffTransaction
-
Packages that use TariffTransaction Package Description org.powertac.accounting org.powertac.common Power TAC domain types, shared between simulation server and brokers.org.powertac.common.interfaces org.powertac.du -
-
Uses of TariffTransaction in org.powertac.accounting
Methods in org.powertac.accounting that return TariffTransaction 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)Methods in org.powertac.accounting that return types with arguments of type TariffTransaction Modifier and Type Method Description List<TariffTransaction>AccountingService. getPendingTariffTransactions()Returns the current list of pending tariff transactions.Methods in org.powertac.accounting with parameters of type TariffTransaction Modifier and Type Method Description voidAccountingService. 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. -
Uses of TariffTransaction in org.powertac.common
Methods in org.powertac.common that return TariffTransaction Modifier and Type Method Description 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. -
Uses of TariffTransaction in org.powertac.common.interfaces
Methods in org.powertac.common.interfaces that return TariffTransaction 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.Methods in org.powertac.common.interfaces that return types with arguments of type TariffTransaction Modifier and Type Method Description List<TariffTransaction>Accounting. getPendingTariffTransactions()Returns the list of pending tariff transactions for the current timeslot. -
Uses of TariffTransaction in org.powertac.du
Methods in org.powertac.du with parameters of type TariffTransaction Modifier and Type Method Description voidDefaultBrokerService. handleMessage(TariffTransaction ttx)Handles a TariffTransaction.
-