OutElec (class)

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

class OutElec(time=None, angle=None, Is=None, Ir=None, angle_rotor=None, Nr=None, rot_dir=-1, angle_rotor_initial=0, init_dict=None)[source]

Bases: pyleecan.Classes._frozen.FrozenClass

Gather the electric 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
as_dict()[source]

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

time

Electrical time vector (no symmetry)

angle

Electrical position vector (no symmetry)

Is

Stator currents as a function of time (each column correspond to one phase)

Ir

Rotor currents as a function of time (each column correspond to one phase)

angle_rotor

Rotor angular position as a function of time (if None computed according to Nr)

Nr

Rotor speed as a function of time

rot_dir

Rotation direction of the rotor 1 trigo, -1 clockwise

angle_rotor_initial

Initial angular position of the rotor at t=0