org.powertac.distributionutility
Interface SettlementContext

All Known Implementing Classes:
DistributionUtilityService

public interface SettlementContext

Context interface for settlement processors. This is needed for testing, and to limit the accessibility of the DistributionUtilityService to settlement processors. Methods have package visibility, because we assume settlement processors will be in the same package with the service.

Author:
jcollins

Method Summary
 Double getBalancingCost()
          Returns the DU charge for running the balancing market
 double getPMinus()
          Returns the current value of pMinus.
 double getPMinusPrime()
          Returns the slope of cost curve for down-regulation.
 double getPPlus()
          Returns the current value of pPlus.
 double getPPlusPrime()
          Returns the slope of cost curve for up-regulation.
 

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.


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.


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.


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 DU charge for running the balancing market



Copyright © 2013 Power TAC. All Rights Reserved.