public class OneTermDev extends InService implements OneTermBaseList.OneTermBase
Constructor and Description |
---|
OneTermDev(OneTermDevListIfc<? extends OneTermDev> list,
int ndx) |
Modifier and Type | Method and Description |
---|---|
Bus |
getBus()
Device terminal Bus
|
float |
getP()
Get device active power in MW
|
float |
getQ()
Get device reactive power in MVAr
|
void |
setP(float p)
Set device active power in MW
|
void |
setQ(float q)
Set device reactive power in MVAr
|
isInService, setInService
equals, getID, getIndex, getKey, getList, getName, hashCode, setID, setName, toString
getIndex
public OneTermDev(OneTermDevListIfc<? extends OneTermDev> list, int ndx)
public float getP() throws PAModelException
PAModelException
public float getQ() throws PAModelException
PAModelException
public void setP(float p) throws PAModelException
PAModelException
public void setQ(float q) throws PAModelException
PAModelException
public Bus getBus() throws PAModelException
OneTermBaseList.OneTermBase
getBus
in interface OneTermBaseList.OneTermBase
PAModelException