FluxLinkFEMM (class)

Method code available at https://github.com/Eomys/pyleecan/tree/master/pyleecan/Methods/Simulation/FluxLinkFEMM

class FluxLinkFEMM(FEMM_dict=-1, type_calc_leakage=0, is_sliding_band=True, is_periodicity_a=False, Nt_tot=5, Kgeo_fineness=0.5, init_dict=None, init_str=None)[source]

Bases: pyleecan.Classes.FluxLink.FluxLink

Electric module: Flux Linkage with FEMM

VERSION = 1
comp_fluxlinkage(output)

Compute using FEMM the flux linkage

Parameters
solve_FEMM(femm, output, sym, FEMM_dict)
save(save_path='', is_folder=False)

Save the object to the save_path

Parameters
  • self – A pyleecan object

  • save_path (str) – path to the folder to save the object

  • is_folder (bool) – to split the object in different files: separate simulation machine and materials

copy()

Return a copy of the class

get_logger()

Get the object logger or its parent’s one

Parameters

obj – A pyleecan object

Returns

logger – Pyleecan object dedicated logger

Return type

logging.Logger

as_dict()[source]

Convert this object in a json seriable dict (can be use in __init__)

property FEMM_dict

To enforce user-defined values for FEMM main parameters

Type

dict

property type_calc_leakage

0 no leakage calculation / 1 calculation using single slot

Type

int

Min

0

Max

1

property is_sliding_band

0 to desactivate the sliding band

Type

bool

property is_periodicity_a

True to take into account the spatial periodicity of the machine

Type

bool

property Nt_tot

Number of time steps for the FEMM simulation

Type

int

property Kgeo_fineness

finner , < 1 : less fine)

Type

float

Type

global coefficient to adjust geometry fineness in FEMM (0.5

Type

default , > 1