|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ACPFBus
This interface defines all the methods needed by the AC power flow simulators for a bus object.
Method Summary | |
---|---|
boolean |
checkGenMvarOutput(double busMvar,
boolean adjust)
This method should return true if all generators available for Automatic Voltage Regulation (AVR) are within the reactive power output limits of the generator. |
double |
getAngle()
This method should return the bus voltage angle in radians. |
double |
getBusMvar()
This method should return the total amount of reactive power at the bus in per unit. |
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. |
double |
getSusceptance()
This method should return the amount of susceptance present at the bus in per unit. |
double |
getVoltage()
This method should return the bus voltage magnitude in per unit. |
boolean |
isAVR()
This method should return true if at least one generator connected to the bus is available for Automatic Voltage Regulation (AVR), and false otherwise. |
boolean |
isGenerationBus()
This method should return true if the bus has generation attached to it, and false otherwise. |
boolean |
isSlackBus()
This method should return true if the bus is the system slack bus, and false otherwise. |
void |
setAngle(double angle)
This method should update the voltage angle for the bus |
void |
setBusMvar(double busMvar)
This method should update the total amount of reactive power at the bus. |
void |
setBusMw(double busMw)
This method should update the total amount of real power at the bus. |
void |
setVoltage(double voltage)
This method should update the voltage magnitude for the bus |
Method Detail |
---|
int getNumber()
double getVoltage()
double getAngle()
double getBusMw()
double getBusMvar()
double getSusceptance()
boolean isGenerationBus()
boolean isSlackBus()
boolean isAVR()
boolean checkGenMvarOutput(double busMvar, boolean adjust)
busMvar
- Total amount of reactive power at the busadjust
- Set to true of generators outside their limits should be adjusted
void setVoltage(double voltage)
voltage
- Voltage magnitude in per unitvoid setAngle(double angle)
angle
- Voltage angle in radiansvoid setBusMw(double busMw)
busMw
- Total amount of real power at the bus in per unitvoid setBusMvar(double busMvar)
busMvar
- Total amount of reactive power at the bus in per unit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |