public class DistPathBusLfSolver extends DistPathBusWalker
statusInfo
copyright
Constructor and Description |
---|
DistPathBusLfSolver() |
DistPathBusLfSolver(java.util.List<java.lang.String> info) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.math3.complex.Complex |
getBranchPowerFlow(Branch branch,
Bus bus)
calculate branch power at the bus side, out-going as positive direction.
|
protected void |
visitBranch(Branch branch,
Bus bus)
During the bus visiting, visit the connected branch, store branch power as branch.weight,
at the into bus side.
|
getP, getVisitedBranchTotalWeight, visit, visitBus, visitUtilityBus
public DistPathBusLfSolver()
public DistPathBusLfSolver(java.util.List<java.lang.String> info)
protected void visitBranch(Branch branch, Bus bus)
visitBranch
in class DistPathBusWalker
branch
- the connected branch to be visitedbus
- the bus object which is already visitedprotected org.apache.commons.math3.complex.Complex getBranchPowerFlow(Branch branch, Bus bus)
getBranchPowerFlow
in class DistPathBusWalker
branch
- bus
-