Class AbstractHvdcConverterStationAdder<T extends AbstractHvdcConverterStationAdder<T>>

java.lang.Object
com.powsybl.iidm.network.impl.AbstractHvdcConverterStationAdder<T>
All Implemented Interfaces:
Validable

public abstract class AbstractHvdcConverterStationAdder<T extends AbstractHvdcConverterStationAdder<T>> extends Object
Author:
Mathieu Bague <mathieu.bague at rte-france.com>
  • Field Details

    • voltageLevel

      protected com.powsybl.iidm.network.impl.VoltageLevelExt voltageLevel
  • Method Details

    • getVoltageLevel

      protected com.powsybl.iidm.network.impl.VoltageLevelExt getVoltageLevel()
    • getLossFactor

      public float getLossFactor()
    • setLossFactor

      public T setLossFactor(float lossFactor)
    • validate

      protected void validate()
    • setNode

      public T setNode(int node)
    • setBus

      public T setBus(String bus)
    • setConnectableBus

      public T setConnectableBus(String connectableBus)
    • getNetwork

      protected NetworkImpl getNetwork()
    • getNetworkRef

      protected Ref<NetworkImpl> getNetworkRef()
    • checkAndGetTerminal

      protected com.powsybl.iidm.network.impl.TerminalExt checkAndGetTerminal()
    • getTypeDescription

      protected abstract String getTypeDescription()
    • setId

      public T setId(String id)
    • setEnsureIdUnicity

      public T setEnsureIdUnicity(boolean ensureIdUnicity)
    • setName

      public T setName(String name)
    • setFictitious

      public T setFictitious(boolean fictitious)
    • checkAndGetUniqueId

      protected String checkAndGetUniqueId()
    • checkAndGetUniqueId

      protected String checkAndGetUniqueId(Predicate<String> containsId)
    • getName

      protected String getName()
    • isFictitious

      protected boolean isFictitious()
    • getMessageHeader

      public String getMessageHeader()
      Specified by:
      getMessageHeader in interface Validable
    • computeNetworkRef

      protected static Ref<NetworkImpl> computeNetworkRef(NetworkImpl network, com.powsybl.iidm.network.impl.VoltageLevelExt... voltageLevels)
      Compute the Ref<NetworkImpl> to use for a new element from its voltage levels.
      Parameters:
      network - the root network in which the element will be added
      voltageLevels - the list of the voltage levels of the element
      Returns:
      the networkRef to use