Class LimitViolationManager

java.lang.Object
com.powsybl.openloadflow.sa.LimitViolationManager

public class LimitViolationManager extends Object
Limit violation manager. A reference limit violation manager could be specified to only report violations that are more severe than reference one.
Author:
Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
  • Constructor Details

    • LimitViolationManager

      public LimitViolationManager(LimitViolationManager reference, com.powsybl.security.SecurityAnalysisParameters.IncreasedViolationsParameters parameters)
    • LimitViolationManager

      public LimitViolationManager()
  • Method Details

    • getLimitViolations

      public List<com.powsybl.security.LimitViolation> getLimitViolations()
    • detectViolations

      public void detectViolations(LfNetwork network)
      Detect violations on branches and on buses
      Parameters:
      network - network on which the violation limits are checked
    • violationWeakenedOrEquivalent

      public static boolean violationWeakenedOrEquivalent(com.powsybl.security.LimitViolation violation1, com.powsybl.security.LimitViolation violation2, com.powsybl.security.SecurityAnalysisParameters.IncreasedViolationsParameters violationsParameters)
      Compares two limit violations
      Parameters:
      violation1 - first limit violation
      violation2 - second limit violation
      Returns:
      true if violation2 is weaker than or equivalent to violation1, otherwise false