Package org.powertac.balancemkt
Interface SettlementContext
-
- All Superinterfaces:
BalancingMarket
- All Known Implementing Classes:
BalancingMarketService
public interface SettlementContext extends BalancingMarket
Context interface for settlement processors. This is needed for testing, and to limit the accessibility of the BalancingMarketService to settlement processors. Methods have package visibility, because we assume settlement processors will be in the same package with the service.- Author:
- John Collins
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Double
getPMinus()
Returns the current value of pMinus.Double
getPPlus()
Returns the current value of pPlus.-
Methods inherited from interface org.powertac.common.interfaces.BalancingMarket
getBalancingCost, getDefaultSpotPrice, getMarketBalance, getPMinusPrime, getPPlusPrime, getRegulation
-
-
-
-
Method Detail
-
getPPlus
Double getPPlus()
Returns the current value of pPlus. This is the marginal cost for up-regulating power. Value is normally negative, because brokers must pay. Cost increases (becomes more negative) with quantity according to pPlusPrime.
-
getPMinus
Double getPMinus()
Returns the current value of pMinus. This is the marginal cost for down-regulation. Value is normally positive, because brokers are paid. Cost increases with quantity (becomes less positive, eventually becoming negative) with quantity accoring to the value of pMinusPrime.
-
-