Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

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

0 votes

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.

asked Apr 14, 2022 by Teresa (12 points)
Hi Teresa,

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


Please log in or register to answer this question.