java.lang.Object
com.powsybl.balances_adjustment.util.NetworkAreaUtil

public final class NetworkAreaUtil extends Object
Author:
Miora Ralambotiana <miora.ralambotiana at rte-france.com>
  • Method Details

    • createConformLoadScalable

      public static com.powsybl.iidm.modification.scalable.Scalable createConformLoadScalable(NetworkArea area)
      Create a ProportionalScalable containing all the conform loads contained in a given network area with an associated percentage proportional to their p0. If no conform load is contained in the given network area, the ProportionalScalable contains all the loads contained in the given network area. If no load is contained in the given network area, an exception is thrown. If all selected load (conform or not) have a null p0, an exception is thrown.