Eomys/pyleecan

New random switching frequency strategies in PWM Voltage Generator (Random, Symmetrical random, Random Amplitude Modulation)

Closed this issue · 2 comments

Hello,

I have created two new random switching frequency strategies in PWM Voltage Generator (Random and symmetrical random)

Random switching frequency (the frequency changes every 1/2 carrier period)
test_ImportGenPWM_0_2_0_SPWM

Symmetrical switching frequency (the frequency changes every carrier period)
test_ImportGenPWM_0_3_0_SPWM

Random Amplitude Modulation
test_ImportGenPWM_0_4_0_SPWM

A little update on this issue: in PR #464, InputVoltage class now takes an ImportPWM object as argument that enable to generate PWM voltage harmonics within the gen_input() method, with several parameters such as: switching frequency, DC bus voltage, switching strategy.

Issue solved in PR #464