public class ACBranchFlows extends ACBranchExtList<ACBranchFlows.ACBranchFlow>
Modifier and Type | Class and Description |
---|---|
static class |
ACBranchFlows.ACBranchFlow |
ACBranchExtList.ACBranchExt
Constructor and Description |
---|
ACBranchFlows(ACBranchExtList<? extends ACBranchExtList.ACBranchExt> copy) |
ACBranchFlows(ACBranchListIfc<? extends ACBranch> branches) |
Modifier and Type | Method and Description |
---|---|
void |
applyMismatches(float[] pmm,
float[] qmm) |
void |
calc(float[] vm,
float[] va) |
void |
calc(PComplexList busv) |
ACBranchFlows.ACBranchFlow |
get(int index) |
ComplexList |
getFromSidePower()
Returns the from-side power of each branch per-unit on 100 MVA base
|
Complex |
getFromSidePower(int ndx)
Get calculated power on the "from-side" of the branch
|
ComplexList |
getToSidePower()
Returns the to-side power of each branch per-unit on 100 MVA base
|
Complex |
getToSidePower(int ndx)
Get calculated power on the "from-side" of the branch
|
void |
update()
Update results to PAModel
|
void |
update(int ndx) |
getBranch, getBranches, getY, LoadExtension, size
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 ACBranchFlows(ACBranchListIfc<? extends ACBranch> branches) throws PAModelException
PAModelException
public ACBranchFlows(ACBranchExtList<? extends ACBranchExtList.ACBranchExt> copy) throws PAModelException
PAModelException
public ComplexList getFromSidePower()
public Complex getFromSidePower(int ndx)
ndx
- index within listpublic ComplexList getToSidePower()
public Complex getToSidePower(int ndx)
ndx
- index within listpublic void calc(float[] vm, float[] va) throws PAModelException
PAModelException
public void calc(PComplexList busv) throws PAModelException
PAModelException
public void applyMismatches(float[] pmm, float[] qmm) throws PAModelException
PAModelException
public void update() throws PAModelException
PAModelException
public void update(int ndx) throws PAModelException
PAModelException
public ACBranchFlows.ACBranchFlow get(int index)
get
in interface java.util.List<ACBranchFlows.ACBranchFlow>
get
in class ACBranchExtList<ACBranchFlows.ACBranchFlow>