Skip to main content

calc_stated_branch_flows

Function calc_stated_branch_flows 

Source
pub fn calc_stated_branch_flows(
    net: &BalancedNetwork,
) -> Result<StatedBranchFlows>
Expand description

Calculate the active and reactive power entering every analysis branch at both ends, at the voltages net stores.

A closed switch is not refused here: each branch’s flow depends on its own terminal voltages only.

§Errors

As calc_stated_state_mismatch, except closed switches.