DER Scenario Selection Strategy
DER Scenario Selection Strategy
Module for managing deployment strategies.
CloseSelectionStrategy
Bases: SelectionStrategy
Implements close to feeder selection strategy.
Source code in emerge\scenarios\selection_strategy.py
45 46 47 48 49 50 51 52 |
|
return_selection_order(list_of_customers)
Refer to base class for more details.
Source code in emerge\scenarios\selection_strategy.py
48 49 50 51 52 |
|
FarSelectionStrategy
Bases: SelectionStrategy
Implements far from feeder selection strategy.
Source code in emerge\scenarios\selection_strategy.py
55 56 57 58 59 60 61 62 |
|
return_selection_order(list_of_customers)
Refer to base class for more details.
Source code in emerge\scenarios\selection_strategy.py
58 59 60 61 62 |
|
RandomSelectionStrategy
Bases: SelectionStrategy
Implements random selection strategy.
Source code in emerge\scenarios\selection_strategy.py
34 35 36 37 38 39 40 41 42 |
|
return_selection_order(list_of_customers)
Refer to base class for more details.
Source code in emerge\scenarios\selection_strategy.py
37 38 39 40 41 42 |
|
SelectionStrategy
Bases: abc.ABC
Abstract class for selection strategy.
Idea is to take list of customer models and define a order in which they are to be selected for placing pvs.
Source code in emerge\scenarios\selection_strategy.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
|
return_selection_order(list_of_customers)
abstractmethod
Abstract method for returning the selection order.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
list_of_customers |
List[data_model.CustomerModel]
|
List
of |
required |
Returns:
Type | Description |
---|---|
List[data_model.CustomerModel]
|
List[data_model.CustomerModel]: List
of |
Source code in emerge\scenarios\selection_strategy.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
|