org.powertac.distributionutility
Class SettlementProcessor

java.lang.Object
  extended by org.powertac.distributionutility.SettlementProcessor
Direct Known Subclasses:
DynamicSettlementProcessor, SimpleSettlementProcessor, StaticSettlementProcessor

public abstract class SettlementProcessor
extends Object

Computes charges to settle broker imbalances.

Author:
John Collins

Field Summary
protected  org.powertac.common.interfaces.CapacityControl capacityControlService
           
protected  double epsilon
           
protected static org.apache.log4j.Logger log
           
protected  org.powertac.common.repo.TariffRepo tariffRepo
           
 
Method Summary
abstract  void settle(SettlementContext service, List<org.powertac.distributionutility.ChargeInfo> brokerData)
          Computes charges to settle broker imbalances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log

tariffRepo

protected org.powertac.common.repo.TariffRepo tariffRepo

capacityControlService

protected org.powertac.common.interfaces.CapacityControl capacityControlService

epsilon

protected double epsilon
Method Detail

settle

public abstract void settle(SettlementContext service,
                            List<org.powertac.distributionutility.ChargeInfo> brokerData)
Computes charges to settle broker imbalances. The brokers and their imbalances, along with results from the settlement, are represented by a Collection of ChargeInfo instances. Requires access to utility methods in DistributionUtilityService.



Copyright © 2013 Power TAC. All Rights Reserved.