pub fn build_incidence(
case: &IndexedNetwork<'_>,
conv: DcConvention,
opts: &BuildOptions,
) -> Result<IncidenceParts>Expand description
Build A, b, the phase shift injection, and the column→branch map.
Self-loops (from == to) are dropped. Branches with x == 0 have no finite DC
susceptance; they are skipped when opts.skip_zero_impedance is true and
rejected with Error::ZeroImpedance when it is false.