|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Bus
This interface represents the base class for a Bus object that is to be part of a power system. It contains the methods required by a PowerSystem object when adding a new bus to the power system.
| Method Summary | |
|---|---|
void |
add(Branch branch)
This method should at a minimum add the given Branch object to its list of attached branch objects. |
void |
add(BusDevice device)
This method should at a minimum add the given BusDevice object to its list of attached bus device objects. |
void |
addTo(PowerSystem powerSystem)
This method should at a minimum set a PowerSystem variable to the given power system. |
java.util.List |
getBranchList()
This method should return a list of all Branch objects attached to this bus. |
java.util.List |
getBusDeviceList()
This method should return a list of all BusDevice objects attached to this bus. |
void |
remove()
This method should at a minimum remove each connected branch and bus device from itself and set the PowerSystem variable to null. |
void |
remove(Branch branch)
This method should at a minimum remove the given Branch object from its list of attached branch objects. |
void |
remove(BusDevice device)
This method should at a minimum remove the given BusDevice object from its list of attached bus device objects. |
| Method Detail |
|---|
java.util.List getBranchList()
java.util.List getBusDeviceList()
void addTo(PowerSystem powerSystem)
powerSystem - PowerSystem object in which this bus existsvoid add(Branch branch)
branch - Branch object that is attached to this busvoid add(BusDevice device)
device - BusDevice object that is attached to this busvoid remove()
null.
void remove(Branch branch)
branch - Branch object to be removed from this busvoid remove(BusDevice device)
device - BusDevice object to be removed from this bus
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||