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>
public class OperatorStrategy extends AbstractExtendable<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 someAction
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
-
-
Constructor Summary
Constructors Constructor Description OperatorStrategy(String id, ContingencyContext contingencyContext, Condition condition, List<String> actionIds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getActionIds()
An ordered list of actions, which will be simulated if the condition holds true.Condition
getCondition()
The condition which will decided the actual application of the actions, or not.ContingencyContext
getContingencyContext()
The contingency which this strategy applies to.String
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 Detail
-
OperatorStrategy
public OperatorStrategy(String id, ContingencyContext contingencyContext, Condition condition, List<String> actionIds)
-
-
Method Detail
-
getId
public String getId()
An ID which uniquely identifies this strategy, for a security analysis execution.
-
getContingencyContext
public ContingencyContext getContingencyContext()
The contingency which this strategy applies to.
-
getCondition
public Condition getCondition()
The condition which will decided the actual application of the actions, or not.
-
-