OutMag (class)

File generated according to Generator/ClassesRef/Output/OutMag.csv WARNING! All changes made in this file will be lost!

class OutMag(time=None, angle=None, Nt_tot=None, Na_tot=None, Br=None, Bt=None, Tem=None, Tem_av=None, Tem_rip=None, Phi_wind_stator=None, emf=None, meshsolution=-1, FEMM_dict=None, logger_name='Pyleecan.OutMag', init_dict=None)[source]

Bases: pyleecan.Classes._frozen.FrozenClass

Gather the magnetic module outputs

VERSION = 1
save(save_path='')

Save the object to the save_path

Parameters:
  • self – A pyleecan object
  • save_path (str) – path to the folder to save the object
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 objet in a json seriable dict (can be use in __init__)

time

Magnetic time vector (no symmetry)

angle

Magnetic position vector (no symmetry)

Nt_tot

Length of the time vector

Na_tot

Length of the angle vector

Br

Radial airgap flux density

Bt

Tangential airgap flux density

Tem

Electromagnetic torque

Tem_av

Average Electromagnetic torque

Tem_rip

Torque ripple

Phi_wind_stator

Stator winding flux

emf

Electromotive force

meshsolution

FEA software mesh and solution

FEMM_dict

Dictionnary containing the main FEMM parameter

logger_name

Name of the logger to use