Class DistributionUtilityService

java.lang.Object
org.powertac.common.interfaces.TimeslotPhaseProcessor
org.powertac.distributionutility.DistributionUtilityService
All Implemented Interfaces:
InitializationService

@Service
public class DistributionUtilityService
extends TimeslotPhaseProcessor
implements InitializationService
Implementation of the Distribution Utility function. Levies a per-timeslot charge based on the total energy transferred to and from customers in each broker's portfolio.
Author:
John Collins
  • Constructor Details

  • Method Details

    • initialize

      public String initialize​(Competition competition, List<String> completedInits)
      Computes actual distribution and balancing costs by random selection
      Specified by:
      initialize in interface InitializationService
    • activate

      public void activate​(org.joda.time.Instant time, int phaseNumber)
      Specified by:
      activate in class TimeslotPhaseProcessor
    • getBalancingCost

      @ConfigurableValue(valueType="Double", dump=false, name="balancingCost", publish=true, description="Low end of distribution fee range") public double getBalancingCost()
      Deprecated.
      For backward-compatibility only - should not be called.
    • getPPlusPrime

      @ConfigurableValue(valueType="Double", name="pPlusPrime", publish=true, dump=false, description="Slope of up-regulation cost function") public double getPPlusPrime()
      Deprecated.
      For backward-compatibility only - should not be called.
    • getPMinusPrime

      @ConfigurableValue(valueType="Double", name="pMinusPrime", publish=true, dump=false, description="slope of down-regulation cost function") public double getPMinusPrime()
      Deprecated.
      For backward-compatibility only - should not be called.
    • getDefaultSpotPrice

      @ConfigurableValue(valueType="Double", name="defaultSpotPrice", publish=true, dump=false, description="value used for spot price/MWh if unavailable from market") public double getDefaultSpotPrice()
      Deprecated.
      For backward-compatibility only - should not be called.