Class HvdcLineAdapter

    • Method Detail

      • getConverterStation1

        public HvdcConverterStation<?> getConverterStation1()
        Description copied from interface: HvdcLine
        Get the HVDC converter station connected on side 1.
        Specified by:
        getConverterStation1 in interface HvdcLine
        Returns:
        the HVDC converter station connected on side 1
      • getConverterStation2

        public HvdcConverterStation<?> getConverterStation2()
        Description copied from interface: HvdcLine
        Get the HVDC converter station connected on side 2.
        Specified by:
        getConverterStation2 in interface HvdcLine
        Returns:
        the HVDC converter station connected on side 2
      • getR

        public double getR()
        Description copied from interface: HvdcLine
        Get resistance (in Ω) of the line.
        Specified by:
        getR in interface HvdcLine
        Returns:
        the resistance of the line
      • setR

        public HvdcLine setR​(double r)
        Description copied from interface: HvdcLine
        Set the resistance (in Ω) of the line.
        Specified by:
        setR in interface HvdcLine
        Parameters:
        r - the resistance of the line
        Returns:
        the HVDC line itself to allow method chaining
      • getNominalV

        public double getNominalV()
        Description copied from interface: HvdcLine
        Get the nominal voltage (in Kv).
        Specified by:
        getNominalV in interface HvdcLine
        Returns:
        the nominal voltage.
      • setNominalV

        public HvdcLine setNominalV​(double nominalV)
        Description copied from interface: HvdcLine
        Set the nominal voltage.
        Specified by:
        setNominalV in interface HvdcLine
        Parameters:
        nominalV - the nominal voltage.
        Returns:
        the HVDC line itself to allow method chaining
      • getActivePowerSetpoint

        public double getActivePowerSetpoint()
        Description copied from interface: HvdcLine
        Get the active power setpoint (in MW).
        Specified by:
        getActivePowerSetpoint in interface HvdcLine
        Returns:
        the active power setpoint
      • setActivePowerSetpoint

        public HvdcLine setActivePowerSetpoint​(double activePowerSetpoint)
        Description copied from interface: HvdcLine
        Set the active power setpoint (in MW).
        Specified by:
        setActivePowerSetpoint in interface HvdcLine
        Parameters:
        activePowerSetpoint - the active power setpoint
        Returns:
        the HVDC line itself to allow method chaining
      • getMaxP

        public double getMaxP()
        Description copied from interface: HvdcLine
        Get the maximum active power (in MW).
        Specified by:
        getMaxP in interface HvdcLine
        Returns:
        the maximum active power
      • setMaxP

        public HvdcLine setMaxP​(double maxP)
        Description copied from interface: HvdcLine
        Set the maximum active power (in MW).
        Specified by:
        setMaxP in interface HvdcLine
        Parameters:
        maxP - the maximum active power
        Returns:
        the HVDC line itself to allow method chaining
      • remove

        public void remove()
        Description copied from interface: HvdcLine
        Remove the HVDC line
        Specified by:
        remove in interface HvdcLine
      • addExtension

        public <E extends Extension<I>> void addExtension​(Class<? super E> type,
                                                          E extension)
        Description copied from interface: Extendable
        Add en extension to this extendable object.
        Specified by:
        addExtension in interface Extendable<I extends Identifiable<I>>
        Type Parameters:
        E - the extension type
        Parameters:
        type - the extension class type
        extension - the extension
      • getExtension

        public <E extends Extension<I>> E getExtension​(Class<? super E> type)
        Description copied from interface: Extendable
        Get an extension based on its class type.
        Specified by:
        getExtension in interface Extendable<I extends Identifiable<I>>
        Type Parameters:
        E - the extension type
        Parameters:
        type - the extension class type
        Returns:
        the extension mapped to the class type or null if not found
      • getExtensionByName

        public <E extends Extension<I>> E getExtensionByName​(String name)
        Description copied from interface: Extendable
        Get an extension based on its name.
        Specified by:
        getExtensionByName in interface Extendable<I extends Identifiable<I>>
        Parameters:
        name - the extension name
        Returns:
        the extension mapped to the name or null if not found
      • removeExtension

        public <E extends Extension<I>> boolean removeExtension​(Class<E> type)
        Description copied from interface: Extendable
        Remove an extension based on its class type.
        Specified by:
        removeExtension in interface Extendable<I extends Identifiable<I>>
        Type Parameters:
        E - the extension type
        Parameters:
        type - the extension class type
        Returns:
        true if the extension has been removed false if extension has not been found
      • getExtensions

        public <E extends Extension<I>> Collection<E> getExtensions()
        Description copied from interface: Extendable
        Get all extensions associated with this extendable object..
        Specified by:
        getExtensions in interface Extendable<I extends Identifiable<I>>
        Returns:
        all extensions associated to this extendable object.
      • addAlias

        public void addAlias​(String alias)
        Description copied from interface: Identifiable
        Add an alias to the object. Aliases must be unique in associated Network, and different from any identifiable ID. No alias type is associated to this alias. If the alias already exists (i.e. is not unique) or equals an identifiable ID, throw a PowsyblException
        Specified by:
        addAlias in interface Identifiable<I extends Identifiable<I>>
      • addAlias

        public void addAlias​(String alias,
                             String aliasType)
        Description copied from interface: Identifiable
        Add an alias to the object. Aliases must be unique in associated Network, and different from any identifiable ID. This alias is associated to a given alias type. If the given alias type is null or empty, no alias type is considered associated to the alias. Only one alias can be associated to a non null given alias type for one object. If the alias already exists (i.e. is not unique) or equals an identifiable ID, throw a PowsyblException If a given non null type already has an associated alias for this object, throw a PowsyblException
        Specified by:
        addAlias in interface Identifiable<I extends Identifiable<I>>
      • getDelegate

        protected I getDelegate()
      • getIndex

        protected com.powsybl.iidm.mergingview.MergingViewIndex getIndex()