Package com.powsybl.openloadflow.sa
Class LimitViolationManager
java.lang.Object
com.powsybl.openloadflow.sa.LimitViolationManager
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 Summary
ConstructorDescriptionLimitViolationManager
(LimitViolationManager reference, com.powsybl.security.SecurityAnalysisParameters.IncreasedViolationsParameters parameters) -
Method Summary
Modifier and TypeMethodDescriptionvoid
detectViolations
(LfNetwork network) Detect violations on branches and on busesList<com.powsybl.security.LimitViolation>
static boolean
violationWeakenedOrEquivalent
(com.powsybl.security.LimitViolation violation1, com.powsybl.security.LimitViolation violation2, com.powsybl.security.SecurityAnalysisParameters.IncreasedViolationsParameters violationsParameters) Compares two limit violations
-
Constructor Details
-
LimitViolationManager
public LimitViolationManager(LimitViolationManager reference, com.powsybl.security.SecurityAnalysisParameters.IncreasedViolationsParameters parameters) -
LimitViolationManager
public LimitViolationManager()
-
-
Method Details
-
getLimitViolations
-
detectViolations
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 violationviolation2
- second limit violation- Returns:
- true if violation2 is weaker than or equivalent to violation1, otherwise false
-