Package com.powsybl.iidm.network.util
Class LimitViolationUtils
java.lang.Object
com.powsybl.iidm.network.util.LimitViolationUtils
Helper methods for checking the occurrence of overloads.
- Author:
- Teofil Calin BANC <teofil-calin.banc at rte-france.com>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkPermanentLimit
(Branch<?> branch, TwoSides side, double limitReductionValue, double i, LimitType type) static PermanentLimitCheckResult
checkPermanentLimit
(Branch<?> branch, TwoSides side, double i, LimitType type, LimitsComputer<Identifiable<?>, LoadingLimits> computer) static boolean
checkPermanentLimit
(ThreeWindingsTransformer transformer, ThreeSides side, double limitReductionValue, double i, LimitType type) static boolean
checkPermanentLimit
(ThreeWindingsTransformer transformer, ThreeSides side, double limitReductionValue, LimitType type) static PermanentLimitCheckResult
checkPermanentLimit
(ThreeWindingsTransformer transformer, ThreeSides side, LimitsComputer<Identifiable<?>, LoadingLimits> computer, double i, LimitType type) static PermanentLimitCheckResult
checkPermanentLimit
(ThreeWindingsTransformer transformer, ThreeSides side, LimitType type, LimitsComputer<Identifiable<?>, LoadingLimits> computer) static Overload
checkTemporaryLimits
(Branch<?> branch, TwoSides side, double limitReductionValue, double i, LimitType type) static Overload
checkTemporaryLimits
(Branch<?> branch, TwoSides side, LimitsComputer<Identifiable<?>, LoadingLimits> limitsComputer, double i, LimitType type) static Overload
checkTemporaryLimits
(ThreeWindingsTransformer transformer, ThreeSides side, double limitReductionValue, double i, LimitType type) static Overload
checkTemporaryLimits
(ThreeWindingsTransformer transformer, ThreeSides side, double limitReductionValue, LimitType type) static Overload
checkTemporaryLimits
(ThreeWindingsTransformer transformer, ThreeSides side, LimitsComputer<Identifiable<?>, LoadingLimits> limitsComputer, double i, LimitType type) static Overload
checkTemporaryLimits
(ThreeWindingsTransformer transformer, ThreeSides side, LimitType type, LimitsComputer<Identifiable<?>, LoadingLimits> computer) static Optional<? extends LoadingLimits>
Deprecated.static Optional<? extends LimitsContainer<LoadingLimits>>
getLimits
(Identifiable<?> transformer, ThreeSides side, LimitType type, LimitsComputer<Identifiable<?>, LoadingLimits> computer) static Optional<? extends LoadingLimits>
getLimits
(ThreeWindingsTransformer transformer, ThreeSides side, LimitType type) Deprecated.should usegetLoadingLimits(Identifiable, LimitType, ThreeSides)
insteadstatic Optional<LoadingLimits>
getLoadingLimits
(Identifiable<?> identifiable, LimitType limitType, ThreeSides side) static double
getValueForLimit
(Terminal t, LimitType type)
-
Field Details
-
PERMANENT_LIMIT_NAME
- See Also:
-
-
Method Details
-
checkTemporaryLimits
-
checkTemporaryLimits
public static Overload checkTemporaryLimits(ThreeWindingsTransformer transformer, ThreeSides side, double limitReductionValue, double i, LimitType type) -
checkTemporaryLimits
public static Overload checkTemporaryLimits(Branch<?> branch, TwoSides side, LimitsComputer<Identifiable<?>, LoadingLimits> limitsComputer, double i, LimitType type) -
checkTemporaryLimits
public static Overload checkTemporaryLimits(ThreeWindingsTransformer transformer, ThreeSides side, LimitsComputer<Identifiable<?>, LoadingLimits> limitsComputer, double i, LimitType type) -
checkPermanentLimit
-
checkPermanentLimit
public static PermanentLimitCheckResult checkPermanentLimit(Branch<?> branch, TwoSides side, double i, LimitType type, LimitsComputer<Identifiable<?>, LoadingLimits> computer) -
checkPermanentLimit
public static boolean checkPermanentLimit(ThreeWindingsTransformer transformer, ThreeSides side, double limitReductionValue, double i, LimitType type) -
checkPermanentLimit
public static PermanentLimitCheckResult checkPermanentLimit(ThreeWindingsTransformer transformer, ThreeSides side, LimitsComputer<Identifiable<?>, LoadingLimits> computer, double i, LimitType type) -
getValueForLimit
-
checkPermanentLimit
public static boolean checkPermanentLimit(ThreeWindingsTransformer transformer, ThreeSides side, double limitReductionValue, LimitType type) -
checkPermanentLimit
public static PermanentLimitCheckResult checkPermanentLimit(ThreeWindingsTransformer transformer, ThreeSides side, LimitType type, LimitsComputer<Identifiable<?>, LoadingLimits> computer) -
checkTemporaryLimits
public static Overload checkTemporaryLimits(ThreeWindingsTransformer transformer, ThreeSides side, double limitReductionValue, LimitType type) -
checkTemporaryLimits
public static Overload checkTemporaryLimits(ThreeWindingsTransformer transformer, ThreeSides side, LimitType type, LimitsComputer<Identifiable<?>, LoadingLimits> computer) -
getLimits
public static Optional<? extends LimitsContainer<LoadingLimits>> getLimits(Identifiable<?> transformer, ThreeSides side, LimitType type, LimitsComputer<Identifiable<?>, LoadingLimits> computer) -
getLimits
@Deprecated(since="6.4.0") public static Optional<? extends LoadingLimits> getLimits(Branch<?> branch, TwoSides side, LimitType type) Deprecated.should usegetLoadingLimits(Identifiable, LimitType, ThreeSides)
instead -
getLimits
@Deprecated(since="6.4.0") public static Optional<? extends LoadingLimits> getLimits(ThreeWindingsTransformer transformer, ThreeSides side, LimitType type) Deprecated.should usegetLoadingLimits(Identifiable, LimitType, ThreeSides)
instead -
getLoadingLimits
public static Optional<LoadingLimits> getLoadingLimits(Identifiable<?> identifiable, LimitType limitType, ThreeSides side)
-
getLoadingLimits(Identifiable, LimitType, ThreeSides)
instead