Package org.powertac.common.interfaces
Interface CapacityControl
- 
- All Known Implementing Classes:
 CapacityControlService
public interface CapacityControlSupport for balancing market interactions between DU and customers/brokers.- Author:
 - John Collins
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexerciseBalancingControl(BalancingOrder order, double kwh, double payment)Creates BalancingControlEvent, posts it on correct TariffSubscription instances.RegulationAccumulatorgetRegulationCapacity(BalancingOrder order)Gathers up power usage data for the current timeslot that could be subject to a BalancingOrder.voidpostEconomicControl(EconomicControlEvent event)Posts an EconomicControlEvent on the correct TariffSubscription instances. 
 - 
 
- 
- 
Method Detail
- 
exerciseBalancingControl
void exerciseBalancingControl(BalancingOrder order, double kwh, double payment)
Creates BalancingControlEvent, posts it on correct TariffSubscription instances. Up-regulation is represented by positive kwh (the market is getting more energy) and typically positive payment. 
- 
getRegulationCapacity
RegulationAccumulator getRegulationCapacity(BalancingOrder order)
Gathers up power usage data for the current timeslot that could be subject to a BalancingOrder. Return value is in kwh. 
- 
postEconomicControl
void postEconomicControl(EconomicControlEvent event)
Posts an EconomicControlEvent on the correct TariffSubscription instances. 
 - 
 
 -