pyleecan.Functions.Winding.reverse_wind_mat module

reverse_wind_mat(wind_mat)[source]

reverse a Winding Matrix along the slot

Parameters:

wind_mat (numpy.ndarray) – A Winding Matrix (Nlay_r, Nlay_theta, Zs, qs) (created by comp_connection_mat)

Returns:

wind_mat – The reverse matrix along the Slot

Return type:

numpy.ndarray

reverse_layer(wind_mat)[source]

reverse the Winding Matrix along the layer

Parameters:

wind_mat (numpy.ndarray) – A Winding Matrix (Nlay_r, Nlay_theta, Zs, qs) (created by comp_connection_mat)

Returns:

wind_mat – The reverse matrix along the layer

Return type:

numpy.ndarray

change_layer(wind_mat)[source]

Change the Winding Matrix along the layer

Parameters:

wind_mat (numpy.ndarray) – A Winding Matrix (Nlay_r, Nlay_theta, Zs, qs) (created by comp_connection_mat)

Returns:

wind_mat – The winding matrix with changed layers

Return type:

numpy.ndarray

permute_B_C(wind_mat)[source]

Permute B & C phases

Parameters:

wind_mat (numpy.ndarray) – A Winding Matrix (Nlay_r, Nlay_theta, Zs, qs) (created by comp_connection_mat)

Returns:

wind_mat – The winding matrix with permuted phases

Return type:

numpy.ndarray