Class AbstractOptimizationPerimeter
java.lang.Object
com.powsybl.openrao.searchtreerao.commons.optimizationperimeters.AbstractOptimizationPerimeter
- All Implemented Interfaces:
OptimizationPerimeter
- Direct Known Subclasses:
AutoOptimizationPerimeter
,CurativeOptimizationPerimeter
,GlobalOptimizationPerimeter
,PreventiveOptimizationPerimeter
- Author:
- Baptiste Seguinot <baptiste.seguinot at rte-france.com>
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractOptimizationPerimeter
(State mainOptimizationState, Set<FlowCnec> flowCnecs, Set<FlowCnec> loopFlowCnecs, Set<NetworkAction> availableNetworkActions, Map<State, Set<RangeAction<?>>> availableRangeActions) -
Method Summary
Modifier and TypeMethodDescriptionReturns the set of FlowCnec which are either optimized or monitored by the perimeterReturns the set of FlowCnec whose loop-flows are monitoredThe main optimization state is: - the state on which the network actions are optimized - the first state (chronologically speaking) on which range actions are optimizedReturns the set of FlowCnec which are monitored by the perimeterReturns the set of states which are monitored by the perimeter A 'monitored state' is a state which contains at least one FlowCnec: - which is optimized, or - which is monitored, or - which has loop-flows which are monitored A 'monitored state' does not necessarily have RemedialActionsReturns the set of network actions which will be optimized on the main optimization stateReturns the set of FlowCnec which are optimized by the perimeterReturns the set of states on which range actions are optimized.Set<RangeAction<?>>
Returns a set of all the RangeActions that will be optimized on any stateMap<State,
Set<RangeAction<?>>> For each state of getRangeActionOptimizationStates(), returns the set of range actions which will be optimized on this state
-
Constructor Details
-
AbstractOptimizationPerimeter
-
-
Method Details
-
getMainOptimizationState
Description copied from interface:OptimizationPerimeter
The main optimization state is: - the state on which the network actions are optimized - the first state (chronologically speaking) on which range actions are optimized- Specified by:
getMainOptimizationState
in interfaceOptimizationPerimeter
-
getRangeActionOptimizationStates
Description copied from interface:OptimizationPerimeter
Returns the set of states on which range actions are optimized. In most cases, getRangeActionOptimizationStates() will only contain getMainOptimizationState() Though, if RangeActions are optimized in preventive and in curative (for instance, in the 2nd prev optimization), getRangeActionOptimizationStates() will gather all the states on which at least one RangeAction can be optimized.- Specified by:
getRangeActionOptimizationStates
in interfaceOptimizationPerimeter
-
getMonitoredStates
Description copied from interface:OptimizationPerimeter
Returns the set of states which are monitored by the perimeter A 'monitored state' is a state which contains at least one FlowCnec: - which is optimized, or - which is monitored, or - which has loop-flows which are monitored A 'monitored state' does not necessarily have RemedialActions- Specified by:
getMonitoredStates
in interfaceOptimizationPerimeter
-
getFlowCnecs
Description copied from interface:OptimizationPerimeter
Returns the set of FlowCnec which are either optimized or monitored by the perimeter- Specified by:
getFlowCnecs
in interfaceOptimizationPerimeter
-
getOptimizedFlowCnecs
Description copied from interface:OptimizationPerimeter
Returns the set of FlowCnec which are optimized by the perimeter- Specified by:
getOptimizedFlowCnecs
in interfaceOptimizationPerimeter
-
getMonitoredFlowCnecs
Description copied from interface:OptimizationPerimeter
Returns the set of FlowCnec which are monitored by the perimeter- Specified by:
getMonitoredFlowCnecs
in interfaceOptimizationPerimeter
-
getLoopFlowCnecs
Description copied from interface:OptimizationPerimeter
Returns the set of FlowCnec whose loop-flows are monitored- Specified by:
getLoopFlowCnecs
in interfaceOptimizationPerimeter
-
getNetworkActions
Description copied from interface:OptimizationPerimeter
Returns the set of network actions which will be optimized on the main optimization state- Specified by:
getNetworkActions
in interfaceOptimizationPerimeter
-
getRangeActionsPerState
Description copied from interface:OptimizationPerimeter
For each state of getRangeActionOptimizationStates(), returns the set of range actions which will be optimized on this state- Specified by:
getRangeActionsPerState
in interfaceOptimizationPerimeter
-
getRangeActions
Description copied from interface:OptimizationPerimeter
Returns a set of all the RangeActions that will be optimized on any state- Specified by:
getRangeActions
in interfaceOptimizationPerimeter
-