Interface DanglingLine

All Superinterfaces:
Connectable<DanglingLine>, Extendable<DanglingLine>, FlowsLimitsHolder, Identifiable<DanglingLine>, Injection<DanglingLine>

public interface DanglingLine extends Injection<DanglingLine>, FlowsLimitsHolder
A dangling line to model boundaries (X nodes).

A dangling line is a component that aggregates a line chunk and a constant power injection (fixed p0, q0).

Characteristics

Attribute Type Unit Required Defaut value Description
Id String - yes - Unique identifier of the dangling line
Name String - yes - Human-readable name of the dangling line
P0 double MW yes - The active power setpoint
Q0 double MVar yes - The reactive power setpoint
R double Ω yes - The series resistance
X double Ω yes - The series reactance
G double S yes - The shunt conductance
B double S yes - The shunt susceptance
PairingKey String - no - The dangling line's pairing key

To create a dangling line, see DanglingLineAdder

Author:
Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>, Anne Tilloy <anne.tilloy at rte-france.com>
See Also:
  • Field Details

    • LOG

      static final org.slf4j.Logger LOG
  • Method Details

    • isPaired

      boolean isPaired()
    • getP0

      double getP0()
      Get the constant active power in MW.

      Depends on the working variant.

      See Also:
    • setP0

      DanglingLine setP0(double p0)
      Set the constant active power in MW.

      Depends on the working variant.

      See Also:
    • getQ0

      double getQ0()
      Get the constant reactive power in MW.

      Depends on the working variant.

      See Also:
    • setQ0

      DanglingLine setQ0(double q0)
      Set the constant reactive power in MW.

      Depends on the working variant.

      See Also:
    • getR

      double getR()
      Get the series resistance in Ω.
    • setR

      DanglingLine setR(double r)
      Set the series resistance in Ω.
    • getX

      double getX()
      Get the series reactance in Ω.
    • setX

      DanglingLine setX(double x)
      Set the series reactance in Ω.
    • getG

      double getG()
      Get the shunt conductance in S.
    • setG

      DanglingLine setG(double g)
      Set the shunt conductance in S.
    • getB

      double getB()
      Get the shunt susceptance in S.
    • setB

      DanglingLine setB(double b)
      Set the shunt susceptance in S.
    • getGeneration

      default DanglingLine.Generation getGeneration()
    • getPairingKey

      String getPairingKey()
      Get the pairing key corresponding to this dangling line in the case where the line is a boundary, return null otherwise.
    • setPairingKey

      DanglingLine setPairingKey(String pairingKey)
      Set a pairing key corresponding to this dangling line only if the dangling line is not paired, throw exception otherwise.
    • getBoundary

      Boundary getBoundary()
    • getTieLine

      default Optional<TieLine> getTieLine()
    • getType

      default IdentifiableType getType()
      Description copied from interface: Identifiable
      Get identifiable type.
      Specified by:
      getType in interface Identifiable<DanglingLine>
      Returns:
      the identifiable type