public class SVCCalcList extends java.util.AbstractList<SVCCalcList.SVCCalc>
Modifier and Type | Class and Description |
---|---|
class |
SVCCalcList.SVCCalc |
Constructor and Description |
---|
SVCCalcList(PAModel model,
SVCList svcs)
Create a new calculation list
|
Modifier and Type | Method and Description |
---|---|
void |
applyMismatches(float[] m) |
void |
calc(float[] vmpu)
Calculate SVC values
|
SVCCalcList.SVCCalc |
get(int index) |
float |
getBpp(int ndx)
Return a suseptance value suitable for B'' (per-unit) (this is calculated at the
same time as the injection)
|
float |
getQpu(int ndx)
Get the calculated reactive injection in MVAr
|
SVC.SVCState |
getState(int ndx)
Get the calculated state of the SVC
|
SVC |
getSVC(int ndx) |
int |
size() |
void |
update() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
public SVCCalcList(PAModel model, SVCList svcs) throws PAModelException
svcs
- Model SVC'sbri
- Bus reference index used to enforce correct Bus representation
(either connectivity or single-bus)PAModelException
public SVC getSVC(int ndx)
public SVC.SVCState getState(int ndx)
public float getBpp(int ndx)
public float getQpu(int ndx)
public SVCCalcList.SVCCalc get(int index)
get
in interface java.util.List<SVCCalcList.SVCCalc>
get
in class java.util.AbstractList<SVCCalcList.SVCCalc>
public int size()
size
in interface java.util.Collection<SVCCalcList.SVCCalc>
size
in interface java.util.List<SVCCalcList.SVCCalc>
size
in class java.util.AbstractCollection<SVCCalcList.SVCCalc>
public void calc(float[] vmpu) throws PAModelException
vmpu
- Per-unit solve voltage magnitudePAModelException
public void applyMismatches(float[] m)
public void update() throws PAModelException
PAModelException