Package org.powertac.common.interfaces
Interface CapacityControl
-
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(org.powertac.common.msg.BalancingOrder order, double kwh, double payment)Creates BalancingControlEvent, posts it on correct TariffSubscription instances.RegulationAccumulatorgetRegulationCapacity(org.powertac.common.msg.BalancingOrder order)Gathers up power usage data for the current timeslot that could be subject to a BalancingOrder.voidpostEconomicControl(org.powertac.common.msg.EconomicControlEvent event)Posts an EconomicControlEvent on the correct TariffSubscription instances.
-
-
-
Method Detail
-
exerciseBalancingControl
void exerciseBalancingControl(org.powertac.common.msg.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(org.powertac.common.msg.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(org.powertac.common.msg.EconomicControlEvent event)
Posts an EconomicControlEvent on the correct TariffSubscription instances.
-
-