Skip to main content

pio_ac_ots_solution_materialize

Function pio_ac_ots_solution_materialize 

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

The balanced network module an AC optimal transmission switching solution states: final branch statuses with the solved bus voltages, generator dispatch, and branch flows applied, ready for pio_emit.

ยงSafety

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