Package org.powertac.balancemkt
Class StaticSettlementProcessor
- java.lang.Object
-
- org.powertac.balancemkt.SettlementProcessor
-
- org.powertac.balancemkt.StaticSettlementProcessor
-
public class StaticSettlementProcessor extends SettlementProcessor
DU settlement processor for Scenario 2 - controllable capacities, one-shot static solution Naming convention: Price is per-unit, Cost is price * qty- Author:
- John Collins, Mathijs de Weerdt
-
-
Field Summary
-
Fields inherited from class org.powertac.balancemkt.SettlementProcessor
capacityControlService, log, tariffRepo
-
-
Constructor Summary
Constructors Constructor Description StaticSettlementProcessor(TariffRepo tariffRepo, CapacityControl capacityControl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
settle(SettlementContext service, List<ChargeInfo> brokerData)
Computes charges to settle broker imbalances.
-
-
-
Constructor Detail
-
StaticSettlementProcessor
public StaticSettlementProcessor(TariffRepo tariffRepo, CapacityControl capacityControl)
-
-
Method Detail
-
settle
public void settle(SettlementContext service, List<ChargeInfo> brokerData)
Description copied from class:SettlementProcessor
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.- Specified by:
settle
in classSettlementProcessor
-
-