Class AreaBoundaryImpl

java.lang.Object
com.powsybl.iidm.network.impl.AreaBoundaryImpl
All Implemented Interfaces:
AreaBoundary

public class AreaBoundaryImpl extends Object implements AreaBoundary
  • Method Details

    • getArea

      public Area getArea()
      Specified by:
      getArea in interface AreaBoundary
      Returns:
      the Area this AreaBoundary belongs to
    • getTerminal

      public Optional<Terminal> getTerminal()
      Specified by:
      getTerminal in interface AreaBoundary
      Returns:
      If the boundary is defined by a Terminal, the Terminal of this AreaBoundary
    • getBoundary

      public Optional<Boundary> getBoundary()
      Specified by:
      getBoundary in interface AreaBoundary
      Returns:
      If the boundary is defined by a DanglingLine's Boundary, the DanglingLine's Boundary of this AreaBoundary
    • isAc

      public boolean isAc()
      Specified by:
      isAc in interface AreaBoundary
      Returns:
      true is the boundary was defined as AC
    • getP

      public double getP()
      Specified by:
      getP in interface AreaBoundary
      Returns:
      active power through area boundary
    • getQ

      public double getQ()
      Specified by:
      getQ in interface AreaBoundary
      Returns:
      reactive power through area boundary