public class CapSort extends Object implements SortingTechnique
Constructor and Description |
---|
CapSort(InOutAll inoutall,
Settings settings) |
Modifier and Type | Method and Description |
---|---|
List<UtilityControl> |
sort(List<UtilityControl> utilities,
List<UtilityControl> totalUtilities)
Determines if the Price Cap is applicable and creates a schedule for
utilities for one interval.
|
public List<UtilityControl> sort(List<UtilityControl> utilities, List<UtilityControl> totalUtilities)
sort
in interface SortingTechnique
utilities
- A list of utilities that need to be scheduledtotalUtilities
- A list of all utilities in the system.Copyright © 2015. All rights reserved.