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.

Speed up simulation by building the whole model in plecs?

+1 vote
191 views
Hello there,

I'm recently using the Plecs blockset in Simulink for my work. There are some control and computing subsystems built in Simulink. They output signals to the subsystem containing power electronics in Plecs.

Now the simulation of the system is extremly slow. If I disable the subsystem containing power electronic, it's fast. If I disable other parts and only run the plecs model, the speed is also acceptable. So I am wondering, if I rebuild the whole system in plecs( which may cost serveral days work), will the simulation be faster than now? Does the combined using of Simulink modules and plecs modules make the computing efficiency worse?

Thanks for any help in advance
asked Apr 1 by Junwei (13 points)

1 Answer

0 votes
Hello Junwei,

Unfortunately there is not a one size fits all answer to this question, but it is certainly our recommendation to PLECS Blockset users to place as much of a model as possible inside the PLECS Circuit block in Simulink, and this has been shown to generally increase the simulation speed. More likely though, there are certain blocks or schemes in the Simulink portion of your model that may not be optimized, or are more efficiently done on the PLECS side. So we can't say for certain, but the model porting may be worth your effort. We can also provide feedback on your model in general, and possibly optimize its speed in its current form, if you send it to support@plexim.com.

Best regards,

Kris
answered Apr 10 by Kris Eberle (633 points)
...