Class 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 some Actions 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 Details

    • OperatorStrategy

      public OperatorStrategy(String id, ContingencyContext contingencyContext, Condition condition, List<String> actionIds)
      Single stage operator strategy
      Parameters:
      id - The id of the operator strategy
      contingencyContext - The contingency context in which to apply the operator strategy
      condition - The condition to trigger the operator strategy
      actionIds - 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 strategy
      contingencyContext - The contingency context in which to apply the operator strategy
      stages - The list of stages for this operator strategy
  • Method Details

    • 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.
    • getConditionalActions

      public List<ConditionalActions> getConditionalActions()