snl.ccss.jpowerflow.ac
Interface ACPFBranch


public interface ACPFBranch

This interface defines all the methods needed by the AC power flow simulators for a branch object.

Author:
Bryan T. Richardson - Sandia National Laboratories

Method Summary
 int getFromBus()
          This method should return the bus ID number of the bus connected to its "from" or "tap" side.
 int getToBus()
          This method should return the bus ID number of the bus connected to its "to" or "Z" side.
 Complex[][] getYBus()
          This method should return a 2x2 matrix of complex numbers representing the yBus for the branch.
 

Method Detail

getFromBus

int getFromBus()
This method should return the bus ID number of the bus connected to its "from" or "tap" side.

Returns:
ID number of bus on "from" or "tap" side

getToBus

int getToBus()
This method should return the bus ID number of the bus connected to its "to" or "Z" side.

Returns:
ID number of bus on "to" or "Z" side

getYBus

Complex[][] getYBus()
This method should return a 2x2 matrix of complex numbers representing the yBus for the branch.

Returns:
2x2 complex yBus matrix for branch