public class Active1TData
extends java.lang.Object
| Constructor and Description |
|---|
Active1TData(OneTermDevListIfc<? extends OneTermDev> actvdata,
com.powerdata.openpa.pwrflow.ActiveDataAccess pa,
com.powerdata.openpa.pwrflow.ActiveDataAccess qa,
float sbase)
Create a new active data object
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyMismatch(float[] p,
float[] q) |
int[] |
getBus()
Get the device bus indexes
|
float[] |
getP()
0
Get the list access array for MW
|
float[] |
getQ()
Get the list access array for MVAr
|
public Active1TData(OneTermDevListIfc<? extends OneTermDev> actvdata, com.powerdata.openpa.pwrflow.ActiveDataAccess pa, com.powerdata.openpa.pwrflow.ActiveDataAccess qa, float sbase) throws PAModelException
bri - Bus reference object in use (either single-bus or connectivity bus)actvdata - list of one-terminal considered "active"pa - list accessor for MWqa - list accessor for MVArPAModelExceptionpublic float[] getP()
throws PAModelException
PAModelExceptionpublic float[] getQ()
throws PAModelException
PAModelExceptionpublic int[] getBus()
public void applyMismatch(float[] p,
float[] q)
throws PAModelException
PAModelException