Skip to main content

pio_sensitivities_ptdf

Function pio_sensitivities_ptdf 

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

The PTDF, branches by buses, row major: entry (l, k) sits at l * n_buses + k and is the flow on branch l per unit injected at bus k and withdrawn at the reference bus of its island. Borrowed from the handle.

ยงSafety

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