Class 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 Detail

      • DistributionUtilityService

        public DistributionUtilityService()
    • Method Detail

      • activate

        public void activate​(org.joda.time.Instant time,
                             int phaseNumber)
        Description copied from class: TimeslotPhaseProcessor
        This method gets called once during each timeslot. To get called, the module must first call the register(phaseNumber) method on CompetitionControl. The call will give the current simulation time and phase number in the arguments.
        Specified by:
        activate in class TimeslotPhaseProcessor
      • 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.