simscape electronics simulation extremely slow

3 次查看(过去 30 天)
Hello MATLAB community, newbie here. I am trying to simulate a rectifier on Simscape but the simulation is extremely slow. You can check out the screenshot at http://i1302.photobucket.com/albums/ag127/renguoma/rectifier_simscape_zps57f15786.jpg
I have tried using ode23t solver with accelerator and while it did run faster, the output seems incorrect, as can be seen from the link below. http://i1302.photobucket.com/albums/ag127/renguoma/946efd9d-1bb2-4056-acc2-eedb8d7a9475_zps959bcf1e.jpg I expect the output to be DC and yet I see a sine wave. I have simulated the same circuit in SimPower and had no problems with it. Please help.

回答(1 个)

Joel Van Sickel
Joel Van Sickel 2021-5-21
This is an effort to answer old unanswered questions on Matlab answers:
The signal is rectified, it's just that the capacitor is not charging and holding it's charge. It is likely the circuit parameters need to be changed such as a larger resistor. This could also explain the slow simulation time as the smaller the rc time constant, the slower the simulation will be.

类别

Help CenterFile Exchange 中查找有关 Simscape Electrical 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by