public class Gen extends OneTermDev
Modifier and Type | Class and Description |
---|---|
static class |
Gen.Mode |
static class |
Gen.Type |
Modifier and Type | Method and Description |
---|---|
float |
getMaxQ()
Maximum generator reactive power output (MVAr)
|
float |
getMinQ()
Minimum generator reactive power output (MVAr)
|
Gen.Mode |
getMode() |
float |
getOpMaxP()
max active power in MW
|
float |
getOpMinP() |
float |
getPS()
get the active power setpoint in MW
|
float |
getQS()
get the reactive power setpoint when not regulating voltage (MVAr)
|
Bus |
getRegBus()
Bus where voltage is regulated
|
Gen.Type |
getType() |
float |
getVS()
voltage setpoint in KV, used if regulating voltage
|
boolean |
isGenerating() |
boolean |
isRegKV()
is unit regulating voltage
|
void |
setMaxQ(float mvar)
Maximum generator reactive power output (MVAr)
|
void |
setMinQ(float mvar)
Minimum generator reactive power output (MVAr)
|
void |
setMode(Gen.Mode m) |
void |
setOpMaxP(float mw)
max active power in MW
|
void |
setOpMinP(float mw) |
void |
setPS(float mw)
get the active power setpoint in MW
|
void |
setQS(float mvar)
get the reactive power setpoint when not regulating voltage (MVAr)
|
void |
setRegBus(Bus b) |
void |
setRegKV(boolean reg)
is unit regulating voltage
|
void |
setType(Gen.Type t) |
void |
setVS(float kv)
voltage setpoint in KV, used if regulating voltage
|
boolean |
unitInAVR() |
isInService, setInService
equals, getID, getIndex, getKey, getList, getName, hashCode, setID, setName, toString
getIndex
public Gen(GenList list, int ndx)
public Gen.Type getType() throws PAModelException
PAModelException
public void setType(Gen.Type t) throws PAModelException
PAModelException
public Gen.Mode getMode() throws PAModelException
PAModelException
public void setMode(Gen.Mode m) throws PAModelException
PAModelException
public float getOpMinP() throws PAModelException
PAModelException
public void setOpMinP(float mw) throws PAModelException
PAModelException
public float getOpMaxP() throws PAModelException
PAModelException
public void setOpMaxP(float mw) throws PAModelException
PAModelException
public float getMinQ() throws PAModelException
PAModelException
public void setMinQ(float mvar) throws PAModelException
PAModelException
public float getMaxQ() throws PAModelException
PAModelException
public void setMaxQ(float mvar) throws PAModelException
PAModelException
public float getPS() throws PAModelException
PAModelException
public void setPS(float mw) throws PAModelException
PAModelException
public float getQS() throws PAModelException
PAModelException
public void setQS(float mvar) throws PAModelException
PAModelException
public boolean isRegKV() throws PAModelException
PAModelException
public void setRegKV(boolean reg) throws PAModelException
PAModelException
public float getVS() throws PAModelException
PAModelException
public void setVS(float kv) throws PAModelException
PAModelException
public Bus getRegBus() throws PAModelException
PAModelException
public void setRegBus(Bus b) throws PAModelException
PAModelException
public boolean unitInAVR() throws PAModelException
PAModelException
public boolean isGenerating() throws PAModelException
PAModelException