Skip to main content

pio_sensitivities_lodf

Function pio_sensitivities_lodf 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pio_sensitivities_lodf( sensitivities: *const PioSensitivities, ) -> PioF64View
Expand description

The LODF, branches by branches, row major: entry (l, k) sits at l * n_branches + k and is the share of branch k’s pre-outage flow that moves onto branch l when k goes out. The diagonal is -1; a branch whose outage splits an island has a zero column. Borrowed from the handle.

§Safety

Pointers and handles must satisfy the crate-level safety requirements.