Package com.powsybl.security.strategy
Class OperatorStrategy
java.lang.Object
com.powsybl.commons.extensions.AbstractExtendable<OperatorStrategy>
com.powsybl.security.strategy.OperatorStrategy
- All Implemented Interfaces:
Extendable<OperatorStrategy>
Describes a strategy that an operator would apply to solve violations occuring after a contingency.
A strategy is defined for a contingency, and defines a Condition
under which
some Action
s will be taken.
The security analysis implementation will check that condition after the simulation of the contingency, and if true, it will simulate the actions.
- Author:
- Etienne Lesot <[email protected]>
-
Constructor Summary
ConstructorDescriptionOperatorStrategy
(String id, ContingencyContext contingencyContext, Condition condition, List<String> actionIds) Single stage operator strategyOperatorStrategy
(String id, ContingencyContext contingencyContext, List<ConditionalActions> stages) Multiple stage operator strategy -
Method Summary
Modifier and TypeMethodDescriptionThe contingency which this strategy applies to.getId()
An ID which uniquely identifies this strategy, for a security analysis execution.Methods inherited from class com.powsybl.commons.extensions.AbstractExtendable
addExtension, getExtension, getExtensionByName, getExtensions, getImplementationName, removeExtension
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.commons.extensions.Extendable
newExtension
-
Constructor Details
-
OperatorStrategy
public OperatorStrategy(String id, ContingencyContext contingencyContext, Condition condition, List<String> actionIds) Single stage operator strategy- Parameters:
id
- The id of the operator strategycontingencyContext
- The contingency context in which to apply the operator strategycondition
- The condition to trigger the operator strategyactionIds
- The list of action ids to apply within this strategy
-
OperatorStrategy
public OperatorStrategy(String id, ContingencyContext contingencyContext, List<ConditionalActions> stages) Multiple stage operator strategy- Parameters:
id
- The id of the operator strategycontingencyContext
- The contingency context in which to apply the operator strategystages
- The list of stages for this operator strategy
-
-
Method Details
-
getId
An ID which uniquely identifies this strategy, for a security analysis execution. -
getContingencyContext
The contingency which this strategy applies to. -
getConditionalActions
-