@Domain(fields={"postedTimeslot","KWh","charge"}) public class BalancingTransaction extends BrokerTransaction
broker, id, postedTimeslot
Constructor and Description |
---|
BalancingTransaction(Broker broker,
int when,
double kWh,
double charge) |
Modifier and Type | Method and Description |
---|---|
double |
getCharge()
Returns the total charge imposed by the DU for this imbalance --
positive for credit to broker, negative for debit from broker
|
double |
getKWh()
Returns the total size of the imbalance in kWH, positive for surplus and
negative for deficit
|
double |
getQuantity()
Deprecated.
|
String |
toString() |
getBroker, getId, getPostedTime, getPostedTimeslot, getPostedTimeslotIndex
readResolve
public BalancingTransaction(Broker broker, int when, double kWh, double charge)
@Deprecated public double getQuantity()
public double getKWh()
public double getCharge()
Copyright © 2019 Power TAC. All rights reserved.