Class LoadingLimitsUtil

java.lang.Object
com.powsybl.iidm.network.util.LoadingLimitsUtil

public final class LoadingLimitsUtil extends Object
Author:
Olivier Perrin <olivier.perrin at rte-france.com>
  • Method Details

    • fixMissingPermanentLimit

      public static <L extends LoadingLimits, A extends LoadingLimitsAdder<L, A>> void fixMissingPermanentLimit(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 fixed
      missingPermanentLimitPercentage - The percentage to apply
    • fixMissingPermanentLimit

      public static <L extends LoadingLimits, A extends LoadingLimitsAdder<L, A>> void fixMissingPermanentLimit(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 fixed
      missingPermanentLimitPercentage - The percentage to apply
      ownerId - 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.