org.powertac.common
Class DistributionTransaction

java.lang.Object
  extended by org.powertac.common.BrokerTransaction
      extended by org.powertac.common.DistributionTransaction

public class DistributionTransaction
extends BrokerTransaction

A DistributionTransaction instance represents the fee assessed by the Distribution Utility for transport of energy over its facilities during the current timeslot. The kWh is the total energy delivered, which is the sum of the positive net load of the broker's customers, and the positive net export of energy through the wholesale market. Negative values are ignored.

Author:
John Collins

Field Summary
 
Fields inherited from class org.powertac.common.BrokerTransaction
broker, id, postedTime
 
Constructor Summary
DistributionTransaction(Broker broker, org.joda.time.Instant when, double kwh, double charge)
           
 
Method Summary
 double getCharge()
           
 double getKWh()
           
 double getQuantity()
          Deprecated. 
 String toString()
           
 
Methods inherited from class org.powertac.common.BrokerTransaction
getBroker, getId, getPostedTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DistributionTransaction

public DistributionTransaction(Broker broker,
                               org.joda.time.Instant when,
                               double kwh,
                               double charge)
Method Detail

getQuantity

@Deprecated
public double getQuantity()
Deprecated. 


getKWh

public double getKWh()

getCharge

public double getCharge()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.