Skip to main content

pio_module_to_ac_ots_instance

Function pio_module_to_ac_ots_instance 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pio_module_to_ac_ots_instance( module: *const PioModule, error: *mut *mut PioError, ) -> *mut PioModule
Expand description

Construct an AC optimal transmission switching calculation module with the default options from a balanced network or AC OPF module: every initially in-service branch may switch, at zero cost, and the objective gains the switching cost term. An AC OTS module comes back unchanged.

ยงSafety

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