Class TerminalAdapter

    • Method Detail

      • getVoltageLevel

        public com.powsybl.iidm.mergingview.AbstractVoltageLevelAdapter getVoltageLevel()
        Description copied from interface: Terminal
        Get the substation to which the terminal belongs.
        Specified by:
        getVoltageLevel in interface Terminal
      • getBusView

        public Terminal.BusView getBusView()
        Description copied from interface: Terminal
        Get a view to access to bus topology informations at the terminal.
        Specified by:
        getBusView in interface Terminal
      • getConnectable

        public Connectable getConnectable()
        Description copied from interface: Terminal
        Get the equipment that is connected to the terminal.
        Specified by:
        getConnectable in interface Terminal
      • getP

        public double getP()
        Description copied from interface: Terminal
        Get the active power in MW injected at the terminal.

        Depends on the working variant.

        Specified by:
        getP in interface Terminal
        See Also:
        VariantManager
      • setP

        public Terminal setP​(double p)
        Description copied from interface: Terminal
        Set the active power in MW injected at the terminal.

        Depends on the working variant.

        Specified by:
        setP in interface Terminal
        See Also:
        VariantManager
      • getQ

        public double getQ()
        Description copied from interface: Terminal
        Get the reactive power in MVAR injected at the terminal.

        Depends on the working variant.

        Specified by:
        getQ in interface Terminal
        See Also:
        VariantManager
      • setQ

        public Terminal setQ​(double q)
        Description copied from interface: Terminal
        Set the reactive power in MVAR injected at the terminal.

        Depends on the working variant.

        Specified by:
        setQ in interface Terminal
        See Also:
        VariantManager
      • getI

        public double getI()
        Description copied from interface: Terminal
        Get the current in A at the terminal.

        Depends on the working variant.

        Specified by:
        getI in interface Terminal
        See Also:
        VariantManager
      • connect

        public boolean connect()
        Description copied from interface: Terminal
        Try to connect the terminal.

        Depends on the working variant.

        Specified by:
        connect in interface Terminal
        Returns:
        true if terminal has been connected, false otherwise
        See Also:
        VariantManager
      • disconnect

        public boolean disconnect()
        Description copied from interface: Terminal
        Disconnect the terminal.

        Depends on the working variant.

        Specified by:
        disconnect in interface Terminal
        Returns:
        true if terminal has been disconnected, false otherwise
        See Also:
        VariantManager
      • isConnected

        public boolean isConnected()
        Description copied from interface: Terminal
        Test if the terminal is connected.
        Specified by:
        isConnected in interface Terminal
        Returns:
        true if the terminal is connected, false otherwise
      • traverse

        public void traverse​(Terminal.TopologyTraverser traverser)
        Description copied from interface: Terminal
        Traverse the full network topology graph.
        Specified by:
        traverse in interface Terminal
        Parameters:
        traverser - traversal handler
      • getDelegate

        protected I getDelegate()
      • getIndex

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