#[unsafe(no_mangle)]pub unsafe extern "C" fn pio_module_to_ac_ots_instance_with_options(
module: *const PioModule,
options: *const PioAcOtsOptions,
error: *mut *mut PioError,
) -> *mut PioModuleExpand description
Construct an AC optimal transmission switching calculation module with
explicit options from a balanced network, AC OPF, or AC OTS module. An
AC OTS module keeps its base problem and objective and takes the new
options; the objective gains the switching cost term once. NULL options
give exactly what pio_module_to_ac_ots_instance gives: only the
initially in-service branches may switch, and an AC OTS module comes back
unchanged.
ยงSafety
Pointers and handles must satisfy the crate-level safety requirements.