Source code for pyleecan.Methods.Machine.LamSlotMag.comp_volumes

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

from numpy import pi
from ....Classes.LamSlot import LamSlot


[docs]def comp_volumes(self): """Compute the Lamination volumes (Vlam, Vvent, Vslot, Vmag) Parameters ---------- self : LamSlotMag A LamSlotMag object Returns ------- V_dict: dict Lamination surface dictionary (Vlam, Vvent, Vslot, Vmag) [m**3] """ V_dict = LamSlot.comp_volumes(self) Vmag = self.slot.comp_surface_active() * self.magnet.Lmag V_dict["Vmag"] = Vmag return V_dict