Skip to main content

build_lodf

Function build_lodf 

Source
pub fn build_lodf(
    case: &IndexedNetwork<'_>,
    conv: DcConvention,
) -> Result<CsMat<f64>>
Expand description

LODF (m × m): pre-outage flow on branch k redistributes onto branch l with factor LODF[l, k]. Diagonal is −1. A branch whose outage islands the network (denominator ≈ 0) gets a zero column.