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, setInServiceequals, getID, getIndex, getKey, getList, getName, hashCode, setID, setName, toStringgetIndexpublic OneTermDev(OneTermDevListIfc<? extends OneTermDev> list, int ndx)
public float getP()
throws PAModelException
PAModelExceptionpublic float getQ()
throws PAModelException
PAModelExceptionpublic void setP(float p)
throws PAModelException
PAModelExceptionpublic void setQ(float q)
throws PAModelException
PAModelExceptionpublic Bus getBus() throws PAModelException
OneTermBaseList.OneTermBasegetBus in interface OneTermBaseList.OneTermBasePAModelException