pub fn calc_mapped_neutral_position<S: AsRef<str>>(
bus_terminals: &[S],
terminal_map: &[String],
conventions: Option<&Value>,
) -> Result<Option<usize>, String>Expand description
The position in terminal_map of the one mapped terminal that is not a
phase of a bus with terminals bus_terminals: a terminal the bus does
not carry, or one whose crate::calc_terminal_role under
conventions is neutral or earth. None when every mapped terminal is a
phase. The one WYE neutral rule: calc_wye_neutral_position reads it
over a network, the BMOPF capacitor lowering over a document’s bus.
§Errors
More than one mapped terminal that is not a phase.