Class VoltageRegulationUtils

java.lang.Object
com.powsybl.iidm.modification.util.VoltageRegulationUtils

public final class VoltageRegulationUtils extends Object
  • Method Details

    • getRegulatingGenerators

      public static Stream<Generator> getRegulatingGenerators(Network network, Bus controlledBus)
      Get the stream of all generators of the network controlling voltage at controlled bus.
    • getRegulatingShuntCompensators

      public static Stream<ShuntCompensator> getRegulatingShuntCompensators(Network network, Bus controlledBus)
      Get the stream of all shunt compensators of the network controlling voltage at controlled bus.
    • getTargetVForRegulatingElement

      public static OptionalDouble getTargetVForRegulatingElement(Network network, Bus controlledBus, String regulatingElementId, IdentifiableType identifiableType)
      A method to find an acceptable target voltage for a regulating element to be connected. Only generators and shunt compensators are yet supported. As a first version, we don't consider heterogeneous voltage controls.
      Parameters:
      controlledBus - the controlled bus of the regulating terminal of the regulating element
      regulatingElementId - the id of the regulating element
      Returns:
      the targetV, or OptionalDouble.empty() if no acceptable targetV has been found