|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.powertac.common.interfaces.TimeslotPhaseProcessor
org.powertac.distributionutility.DistributionUtilityService
@Service public class DistributionUtilityService
| Constructor Summary | |
|---|---|
DistributionUtilityService()
|
|
| Method Summary | |
|---|---|
void |
activate(org.joda.time.Instant time,
int phaseNumber)
|
HashMap<org.powertac.common.Broker,org.powertac.distributionutility.ChargeInfo> |
balanceTimeslot(org.powertac.common.Timeslot currentTimeslot,
List<org.powertac.common.Broker> brokerList)
Generates a list of Transactions that balance the overall market. |
Double |
getBalancingCost()
Returns the DU charge for running the balancing market |
double |
getMarketBalance(org.powertac.common.Broker broker)
Returns the difference between a broker's current market position and its net load. |
double |
getPMinus()
Returns the minimum price for energy in the current timeslot |
double |
getPMinusPrime()
Returns the slope of cost curve for down-regulation. |
double |
getPPlus()
Returns the maximum price for energy in the current timeslot |
double |
getPPlusPrime()
Returns the slope of cost curve for up-regulation. |
String |
initialize(org.powertac.common.Competition competition,
List<String> completedInits)
Computes actual distribution and balancing costs by random selection |
void |
setDefaults()
|
| Methods inherited from class org.powertac.common.interfaces.TimeslotPhaseProcessor |
|---|
init, setTimeslotPhase |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DistributionUtilityService()
| Method Detail |
|---|
public void setDefaults()
setDefaults in interface org.powertac.common.interfaces.InitializationService
public String initialize(org.powertac.common.Competition competition,
List<String> completedInits)
initialize in interface org.powertac.common.interfaces.InitializationService
public void activate(org.joda.time.Instant time,
int phaseNumber)
activate in class org.powertac.common.interfaces.TimeslotPhaseProcessor
public HashMap<org.powertac.common.Broker,org.powertac.distributionutility.ChargeInfo> balanceTimeslot(org.powertac.common.Timeslot currentTimeslot,
List<org.powertac.common.Broker> brokerList)
public double getMarketBalance(org.powertac.common.Broker broker)
public double getPPlus()
getPPlus in interface SettlementContextpublic double getPMinus()
getPMinus in interface SettlementContextpublic double getPPlusPrime()
SettlementContext
getPPlusPrime in interface SettlementContextpublic double getPMinusPrime()
SettlementContext
getPMinusPrime in interface SettlementContextpublic Double getBalancingCost()
SettlementContext
getBalancingCost in interface SettlementContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||