Package org.powertac.common.interfaces
Interface CapacityControl
public interface CapacityControl
Support for balancing market interactions between DU and customers/brokers.
- Author:
- John Collins
-
Method Summary
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 Details
-
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
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.
-