Package com.powsybl.iidm.network.util
Class LoadingLimitsUtil
java.lang.Object
com.powsybl.iidm.network.util.LoadingLimitsUtil
- Author:
- Olivier Perrin <olivier.perrin at rte-france.com>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Interface for objects used to report the performed operation on limits when fixed byfixMissingPermanentLimit(LoadingLimitsAdder, double, String, LimitFixLogger)
. -
Method Summary
Modifier and TypeMethodDescriptionstatic <L extends LoadingLimits,
A extends LoadingLimitsAdder<L, A>>
voidfixMissingPermanentLimit
(LoadingLimitsAdder<L, A> limitsAdder, double missingPermanentLimitPercentage) Compute a missing permanent limit accordingly to the temporary limits and to a given percentage.static <L extends LoadingLimits,
A extends LoadingLimitsAdder<L, A>>
voidfixMissingPermanentLimit
(LoadingLimitsAdder<L, A> adder, double missingPermanentLimitPercentage, String ownerId, LoadingLimitsUtil.LimitFixLogger limitFixLogger) Compute a missing permanent limit accordingly to the temporary limits and to a given percentage.
-
Method Details
-
fixMissingPermanentLimit
public static <L extends LoadingLimits,A extends LoadingLimitsAdder<L, void fixMissingPermanentLimitA>> (LoadingLimitsAdder<L, A> limitsAdder, double missingPermanentLimitPercentage) Compute a missing permanent limit accordingly to the temporary limits and to a given percentage.
- Parameters:
limitsAdder
- the LoadingLimitsAdder which permanent limit should be fixedmissingPermanentLimitPercentage
- The percentage to apply
-
fixMissingPermanentLimit
public static <L extends LoadingLimits,A extends LoadingLimitsAdder<L, void fixMissingPermanentLimitA>> (LoadingLimitsAdder<L, A> adder, double missingPermanentLimitPercentage, String ownerId, LoadingLimitsUtil.LimitFixLogger limitFixLogger) Compute a missing permanent limit accordingly to the temporary limits and to a given percentage.
- Parameters:
adder
- the LoadingLimitsAdder which permanent limit should be fixedmissingPermanentLimitPercentage
- The percentage to applyownerId
- id of the limits' network element. It is only used for reporting purposes.limitFixLogger
- the object used to report the performed operation on the permanent limit.
-