Package org.powertac.balancemkt
Class SettlementProcessor
- java.lang.Object
 - 
- org.powertac.balancemkt.SettlementProcessor
 
 
- 
- Direct Known Subclasses:
 DynamicSettlementProcessor,StaticSettlementProcessor
public abstract class SettlementProcessor extends Object
Computes charges to settle broker imbalances.- Author:
 - John Collins
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected CapacityControlcapacityControlServiceprotected doubleepsilonprotected static org.apache.logging.log4j.Loggerlogprotected TariffRepotariffRepo 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidsettle(SettlementContext service, List<ChargeInfo> brokerData)Computes charges to settle broker imbalances. 
 - 
 
- 
- 
Field Detail
- 
log
protected static org.apache.logging.log4j.Logger log
 
- 
tariffRepo
protected TariffRepo tariffRepo
 
- 
capacityControlService
protected CapacityControl capacityControlService
 
- 
epsilon
protected double epsilon
 
 - 
 
- 
Method Detail
- 
settle
public abstract void settle(SettlementContext service, List<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 BalancingMarketService. 
 - 
 
 -