#[unsafe(no_mangle)]pub unsafe extern "C" fn pio_calc_dc_operators(
network: *const PioBalancedNetwork,
formula: *const c_char,
formula_len: usize,
skip_zero_impedance: bool,
error: *mut *mut PioError,
) -> *mut PioDcOperatorsExpand description
Build the DC operators of a balanced network once. formula selects the
branch susceptance as in pio_calc_incidence_matrix; NULL means
series_susceptance. With skip_zero_impedance false a zero impedance
branch fails the build with BUILD.OPERATOR.ZERO_IMPEDANCE; with it true
the branch is dropped from the branch axis and reported by
pio_dc_operators_skipped_branch_rows. The bus axis is every bus in table
order; the branch axis is every in service, non self loop branch in table
order, followed by three winding transformer windings, less any skipped
branch. Release with pio_dc_operators_release.
ยงSafety
Pointers and handles must satisfy the crate-level safety requirements.