Package org.powertac.common.interfaces
Interface BalancingMarket
-
- All Known Subinterfaces:
SettlementContext
- All Known Implementing Classes:
BalancingMarketService
public interface BalancingMarket
Interface that defines the publicly accessible methods a Power TAC balancing market has to implement.- Author:
- John Collins
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Double
getBalancingCost()
Returns the per-timeslot charge for running the balancing marketDouble
getDefaultSpotPrice()
Returns the value used for spot price per MWh if unavailable from wholesale market.double
getMarketBalance(Broker broker)
Returns the market balance for a given broker.Double
getPMinusPrime()
Returns the slope of cost curve for down-regulation.Double
getPPlusPrime()
Returns the slope of cost curve for up-regulation.double
getRegulation(Broker broker)
Returns the net regulation energy (positive for up-regulation, negative for down-regulation) for a given broker.
-
-
-
Method Detail
-
getMarketBalance
double getMarketBalance(Broker broker)
Returns the market balance for a given broker.
-
getRegulation
double getRegulation(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.
-
-