Unable to perform simulation after power module is switched from "switched" to "sub-cycle average"

Hi,

My name is Teresa.

I have done the simulation using the switch configuration of the power module element in the library and it works fine.
But I want to try to use RTbox to achieve further simulation, which means RTbox is responsible for plant and external control board is responsible for control level. And when I read the user manual I found out that I have to use the “sub-cycle average” mode of the power module to allow high switching frequencies.

However I can’t directly use “sub-cycle average” to implement the simulation, the simulation cannot be executed. Due to the limitation that the upper and lower switches cannot be turned on at the same time, but this has to happen in my application (see attached documentation).

I have been trying to modify the mask under the power module but still can’t solve the problem.

Is there anything I can do to fix this problem?

thank you very much.

Teresa

PLECS_sub-cycle.pdf (305 KB)

[PLECS PSPWM]4Level FCML.plecs (49.1 KB)

Hi Teresa,

This question is best suited for Plexim support. Can you please email the same to support@plexim.com?

Thanks,
Manu