Skip to main content

pio_mc_ac_pf_instance_source_boundary_at

Function pio_mc_ac_pf_instance_source_boundary_at 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pio_mc_ac_pf_instance_source_boundary_at( instance: *const PioCalculationInstance, index: usize, output: *mut PioVoltageSourceBoundaryView, error: *mut *mut PioError, ) -> bool
Expand description

Read a complete prescribed PF source boundary. The source index and terminal order match the instance’s network; use its voltage-source terminal accessor to read terminal names. Borrowed arrays and strings remain valid while their calculation-instance owner is retained.

§Safety

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