Skip to main content

calc_winding_connection

Function calc_winding_connection 

Source
pub fn calc_winding_connection(
    network: &MulticonductorNetwork,
    transformer: &DistTransformer,
    winding: usize,
) -> Result<Vec<ConnectionChannel>, Error>
Expand description

The coils of one winding as channels over its terminal map, in phase order (calc_element_connection with the unit’s phase count): each polyphase WYE coil from its phase terminal to the neutral (to ground when the map states no neutral), each DELTA coil around the ring in the orientation of calc_delta_direction, and a single phase coil across its two terminals (to ground for one).

§Errors

A winding outside the unit, a terminal map shorter than its coils need, an undeclared bus or ambiguous neutral, or what calc_delta_direction refuses.