Package org.powertac.common.interfaces
Interface BalancingMarket
public interface BalancingMarket
Interface that defines the publicly accessible methods
a Power TAC balancing market has to implement.
- Author:
- John Collins
-
Method Summary
Modifier and Type Method Description DoublegetBalancingCost()Returns the per-timeslot charge for running the balancing marketDoublegetDefaultSpotPrice()Returns the value used for spot price per MWh if unavailable from wholesale market.doublegetMarketBalance(org.powertac.common.Broker broker)Returns the market balance for a given broker.DoublegetPMinusPrime()Returns the slope of cost curve for down-regulation.DoublegetPPlusPrime()Returns the slope of cost curve for up-regulation.doublegetRegulation(org.powertac.common.Broker broker)Returns the net regulation energy (positive for up-regulation, negative for down-regulation) for a given broker.
-
Method Details
-
getMarketBalance
double getMarketBalance(org.powertac.common.Broker broker)Returns the market balance for a given broker. -
getRegulation
double getRegulation(org.powertac.common.Broker broker)Returns the net regulation energy (positive for up-regulation, negative for down-regulation) for a given broker. -
getPPlusPrime
Double getPPlusPrime()Returns the slope of cost curve for up-regulation. Total cost for up-regulation by x kwh is pPlus + x * pPlusPrime. Note that x is positive for up-regulation. -
getPMinusPrime
Double getPMinusPrime()Returns the slope of cost curve for down-regulation. Total cost for down-regulation by x kwh is pMinus + x * pMinusPrime. Note that x is negative for down-regulation. -
getBalancingCost
Double getBalancingCost()Returns the per-timeslot charge for running the balancing market -
getDefaultSpotPrice
Double getDefaultSpotPrice()Returns the value used for spot price per MWh if unavailable from wholesale market.
-