I want to simulate a 3-level neutral point clamped dc dc converter with a transformer. The PWM signal generation of the switches does not work. I am unsure what my mistake is. Can someone tell me how to set up the PWM signal and how to improve the circuit?
The aim of the DC DC converter is to convert 1 kV to 12 V
3-level_NPC_2021_05_17.plecs (41.3 KB)
The power semiconductors in PLECS operate such that they are turned on with a non-zero gate signal, and turned off with a gate signal of zero. In your model, you are multiplying the high gate signal by -1, which will actually still keep the gate on since it is non-zero. You need to modify the switching logic to generate 1’s and 0’s and then you should be able to make your circuit operational. Good luck!