Source code for pyleecan.Methods.Slot.SlotW61.comp_height_wind

# -*- coding: utf-8 -*-

from numpy import pi, exp


[docs]def comp_height_wind(self): """Compute the height of the winding area Parameters ---------- self : SlotW61 A SlotW61 object Returns ------- Hwind: float Height of the winding area [m] """ [Z1, Z2, Z3, Z4, Z5, Z6, Z7, Z8, Z9, Z10] = self._comp_point_coordinate() # Compute the point in the tooth ref hsp = pi / self.Zs Z4t = Z4 * exp(1j * hsp) Z5t = Z5 * exp(1j * hsp) Zw4t = Z4t - self.H3 + 1j * ((self.W1 - self.W2) / 2 - self.W3) Zw2t = Z5t + self.H4 return abs(Zw4t) - abs(Zw2t)