public class TwoTermDev extends InService implements TwoTermBaseList.TwoTermBase
Constructor and Description |
---|
TwoTermDev(TwoTermDevListIfc<? extends TwoTermDev> list,
int ndx) |
Modifier and Type | Method and Description |
---|---|
Bus |
getFromBus()
get from-side Bus
|
float |
getFromP()
from-side active power (MW)
|
float |
getFromQ()
from-side reactive power (MVAr)
|
Bus |
getToBus()
get to-side bus
|
float |
getToP()
to-side active power (MW)
|
float |
getToQ()
to-side reactive power (MVAr)
|
void |
setFromP(float mw)
from-side active power (MW)
|
void |
setFromQ(float mvar)
from-side reactive power (MVAr)
|
void |
setToP(float mw)
to-side active power (MW)
|
void |
setToQ(float mvar)
to-side reactive power (MVAr)
|
isInService, setInService
equals, getID, getIndex, getKey, getList, getName, hashCode, setID, setName, toString
getIndex
public TwoTermDev(TwoTermDevListIfc<? extends TwoTermDev> list, int ndx)
public Bus getFromBus() throws PAModelException
TwoTermBaseList.TwoTermBase
getFromBus
in interface TwoTermBaseList.TwoTermBase
PAModelException
public Bus getToBus() throws PAModelException
TwoTermBaseList.TwoTermBase
getToBus
in interface TwoTermBaseList.TwoTermBase
PAModelException
public float getFromP() throws PAModelException
PAModelException
public void setFromP(float mw) throws PAModelException
PAModelException
public float getFromQ() throws PAModelException
PAModelException
public void setFromQ(float mvar) throws PAModelException
PAModelException
public float getToP() throws PAModelException
PAModelException
public void setToP(float mw) throws PAModelException
PAModelException
public float getToQ() throws PAModelException
PAModelException
public void setToQ(float mvar) throws PAModelException
PAModelException