public class LossCalBusWalker extends AbstractBusPowerFlowPathWalker
direction| Constructor and Description |
|---|
LossCalBusWalker() |
| Modifier and Type | Method and Description |
|---|---|
double |
totalInFlow(BaseAclfBus<?,?> bus)
Total power flow into the bus (flow path direction) = gen power - sum(branch outOf flow)
|
double |
totalOutFlow(BaseAclfBus<?,?> bus)
total power flow out of the bus (flow path direction) = sum(branch into flow) + load power + swing bus P
|
boolean |
visit(Bus bus)
Visit the bus to do something.
|
getIntoBusBranches, getOutBusBranchesinit, needVisit, setWalkDirectionpublic boolean visit(Bus bus)
IBusPathWalkerpublic double totalInFlow(BaseAclfBus<?,?> bus)
bus - public double totalOutFlow(BaseAclfBus<?,?> bus)
bus -