Skip to main content

pio_ac_ots_instance_fix_topology

Function pio_ac_ots_instance_fix_topology 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pio_ac_ots_instance_fix_topology( instance: *const PioCalculationInstance, branch_closed: *const u8, branch_count: usize, error: *mut *mut PioError, ) -> *mut PioModule
Expand description

The AC OPF calculation module over a validated final topology: every branch row with its final status, and the switching data the AC OPF cannot carry reported as module diagnostics.

ยงSafety

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