Interface ReferenceTerminals

All Superinterfaces:
Extension<Network>

public interface ReferenceTerminals extends Extension<Network>
ReferenceTerminals iIDM extension allows storing the angle references that were chosen by a load flow, for example (but not necessarily) chosen using ReferencePriorities inputs.
There should be one reference terminal per SynchronousComponent calculated.
Author:
Damien Jeandemange <damien.jeandemange at artelys.com>
  • Field Details

  • Method Details

    • getName

      default String getName()
      Description copied from interface: Extension
      Return the name of this extension.
      Specified by:
      getName in interface Extension<Network>
    • getReferenceTerminals

      Set<Terminal> getReferenceTerminals()
    • setReferenceTerminals

      void setReferenceTerminals(Set<Terminal> terminals)
    • reset

    • addReferenceTerminal

      ReferenceTerminals addReferenceTerminal(Terminal terminal)
    • reset

      static void reset(Network network)
      Deletes all defined reference terminals in the network for the current variant
      Parameters:
      network - network whose reference terminals should be deleted
    • addTerminal

      static void addTerminal(Terminal terminal)
      Defines/add a terminal as reference in the network for the current variant
      Parameters:
      terminal - terminal to be added as reference terminal
    • getTerminals

      static Set<Terminal> getTerminals(Network network)
      Gets the reference terminals in the network for the current variant
      Parameters:
      network - network to get reference terminals from