snl.ccss.jpowerflow.dc
Interface DCPFBus

All Known Implementing Classes:
AbstractDCPFBus, AbstractPFBus

public interface DCPFBus

This interface defines all the methods needed by the DC power flow solver for a bus object.

Author:
Bryan T. Richardson - Sandia National Laboratories

Method Summary
 double getBusMw()
          This method should return the total amount of real power at the bus in per unit.
 int getNumber()
          This method should return the bus ID as it's represented in the system.
 boolean isSlackBus()
          This method should return true if the bus is the system slack bus, and false otherwise.
 

Method Detail

getNumber

int getNumber()
This method should return the bus ID as it's represented in the system.

Returns:
bus ID number

isSlackBus

boolean isSlackBus()
This method should return true if the bus is the system slack bus, and false otherwise.

Returns:
true if system slack bus

getBusMw

double getBusMw()
This method should return the total amount of real power at the bus in per unit. This is represented by real generated power minus real load power.

Returns:
per unit total real power