@Service
public class DistributionUtilityService
extends org.powertac.common.interfaces.TimeslotPhaseProcessor
implements org.powertac.common.interfaces.InitializationService
| Constructor and Description |
|---|
DistributionUtilityService() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.joda.time.Instant time,
int phaseNumber) |
double |
getBalancingCost()
Deprecated.
For backward-compatibility only - should not be called.
|
double |
getDefaultSpotPrice()
Deprecated.
For backward-compatibility only - should not be called.
|
double |
getPMinusPrime()
Deprecated.
For backward-compatibility only - should not be called.
|
double |
getPPlusPrime()
Deprecated.
For backward-compatibility only - should not be called.
|
String |
initialize(org.powertac.common.Competition competition,
List<String> completedInits)
Computes actual distribution and balancing costs by random selection
|
void |
setDefaults() |
public void setDefaults()
setDefaults in interface org.powertac.common.interfaces.InitializationServicepublic String initialize(org.powertac.common.Competition competition, List<String> completedInits)
initialize in interface org.powertac.common.interfaces.InitializationServicepublic void activate(org.joda.time.Instant time,
int phaseNumber)
activate in class org.powertac.common.interfaces.TimeslotPhaseProcessor@ConfigurableValue(valueType="Double",
name="balancingCost",
publish=true,
description="Low end of distribution fee range")
public double getBalancingCost()
@ConfigurableValue(valueType="Double",
name="pPlusPrime",
publish=true,
description="Slope of up-regulation cost function")
public double getPPlusPrime()
@ConfigurableValue(valueType="Double",
name="pMinusPrime",
publish=true,
description="slope of down-regulation cost function")
public double getPMinusPrime()
@ConfigurableValue(valueType="Double",
name="defaultSpotPrice",
publish=true,
description="value used for spot price/MWh if unavailable from market")
public double getDefaultSpotPrice()
Copyright © 2014 Power TAC. All Rights Reserved.