pyleecan.Methods.Import.ImportGenPWM.get_data module

get_data(self, is_norm=True, is_plot=False, Time=None)[source]

Generate the PWM matrix

Parameters:
  • self (ImportGenPWM) – An ImportGenPWM object

  • is_norm (bool) – True to normalize signal

Returns:

  • vpwm (ndarray) – n-phase PWM voltage waveform

  • Vas (ndarray) – modulation waveform

  • MI (float) – modulation index

  • carrier (ndarray) – carrier waveform

  • Tpwmu (ndarray) – time vector