simscape electrical simulation speed

3 views (last 30 days)
how to speed up simulation speed in simscape electrical? for me just to run a converter with feedback controller it is taking more than 15 min. I am using ode23t solver, any suggestions? pls.

Accepted Answer

Joel Van Sickel
Joel Van Sickel on 19 Apr 2021
if you having simulaiton speed issues, you can switch to odeN or try setting the simscape local solver to a fixed time step 100 times faster than your switching frequency. However, you need to provide how long you are simuating and your switching frequency and number of switches to determine if 15 minutes is actually a long simulaiton. If you are simulating your system for 5 minuts at 1 MHz switching frequency, that might actually be a very good speed, but if it is 15 minutes for 10 ms at 10khz, that is a very bad simulation time.
  1 Comment
N SRI RANGA SAI
N SRI RANGA SAI on 19 Apr 2021
thank you....actually the switching frequency is 50kHz and run time is 2 sec.....with 2 switches

Sign in to comment.

More Answers (0)

Categories

Find more on Simscape Electrical in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!