def comp_surfaces(self): """Compute the Lamination surfaces (Slam, Svent, Sslot, Swind) Parameters ---------- self : LamSlotWind A LamSlotWind object Returns ------- S_dict: dict Lamination surface dictionnary (Slam, Svent, Sslot, Swind) [m**2] """ S_dict = LamSlot.comp_surfaces(self) S_dict["Swind"] = self.slot.Zs * self.slot.comp_surface_wind() return S_dict
def comp_surfaces(self): """Compute the Lamination surfaces (Slam, Svent, Sslot, Swind) Parameters ---------- self : LamSlotWind A LamSlotWind object Returns ------- S_dict: dict Lamination surface dictionnary (Slam, Svent, Sslot, Swind) [m**2] """ S_dict = LamSlot.comp_surfaces(self) if self.slot is not None: S_dict["Swind"] = self.get_Zs() * self.slot.comp_surface_wind() else: S_dict["Swind"] = 0 return S_dict
def comp_surfaces(self): """Compute the Lamination surfaces (Slam, Svent, Sslot, Smag) Parameters ---------- self : LamSlotMag A LamSlotMag object Returns ------- S_dict: dict Lamination surface dictionnary (Slam, Svent, Sslot, Smag) [m**2] """ S_dict = LamSlot.comp_surfaces(self) Smag = 0 for magnet in self.slot.magnet: Smag += magnet.comp_surface() S_dict["Smag"] = Smag return S_dict