Package com.powsybl.iidm.network.util
Class LimitViolationUtils
- java.lang.Object
-
- com.powsybl.iidm.network.util.LimitViolationUtils
-
public final class LimitViolationUtils extends Object
Helper methods for checking the occurence of overloads.- Author:
- Teofil Calin BANC
-
-
Field Summary
Fields Modifier and Type Field Description static String
PERMANENT_LIMIT_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
checkPermanentLimit(Branch<?> branch, Branch.Side side, float limitReduction, double i, LimitType type)
static boolean
checkPermanentLimit(Branch branch, Branch.Side side, float limitReduction, double i)
Deprecated.Since 4.3.0, usecheckPermanentLimit(Branch, Branch.Side, float, double, LimitType)
instead.static Branch.Overload
checkTemporaryLimits(Branch<?> branch, Branch.Side side, float limitReduction, double i, LimitType type)
static Branch.Overload
checkTemporaryLimits(Branch branch, Branch.Side side, float limitReduction, double i)
Deprecated.Since 4.3.0, usecheckTemporaryLimits(Branch, Branch.Side, float, double, LimitType)
instead.
-
-
-
Field Detail
-
PERMANENT_LIMIT_NAME
public static final String PERMANENT_LIMIT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
checkTemporaryLimits
@Deprecated(since="4.3.0") public static Branch.Overload checkTemporaryLimits(Branch branch, Branch.Side side, float limitReduction, double i)
Deprecated.Since 4.3.0, usecheckTemporaryLimits(Branch, Branch.Side, float, double, LimitType)
instead.
-
checkTemporaryLimits
public static Branch.Overload checkTemporaryLimits(Branch<?> branch, Branch.Side side, float limitReduction, double i, LimitType type)
-
checkPermanentLimit
@Deprecated(since="4.3.0") public static boolean checkPermanentLimit(Branch branch, Branch.Side side, float limitReduction, double i)
Deprecated.Since 4.3.0, usecheckPermanentLimit(Branch, Branch.Side, float, double, LimitType)
instead.
-
checkPermanentLimit
public static boolean checkPermanentLimit(Branch<?> branch, Branch.Side side, float limitReduction, double i, LimitType type)
-
-