Source code for pyleecan.Methods.Slot.SlotW60.comp_height_active

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

from numpy import pi, exp


[docs]def comp_height_active(self): """Compute the height of the winding area Parameters ---------- self : SlotW60 A SlotW60 object Returns ------- Hwind: float Height of the winding area [m] """ point_dict = self._comp_point_coordinate() Z4 = point_dict["Z4"] Z5 = point_dict["Z5"] # Compute the point in the tooth ref hsp = pi / self.Zs Z4t = Z4 * exp(1j * hsp) Zw4t = Z4t - self.H3 + 1j * ((self.W1 - self.W2) / 2 - self.W3) return abs(Zw4t) - abs(Z5)