Thread Subject: simscape simulation time extremely slow

Subject: simscape simulation time extremely slow

From: Evangelos

Date: 8 Mar, 2010 15:09:09

Message: 1 of 3

Greetings,

I have created a buck Dc\Dc converter using Simscape. The problem is that the simulation time is extremely slow. I have changed the solver to Ode15s but its still too slow. What do I have to change in order to have a faster simulation?
thank you very much.
Vangelis

Subject: simscape simulation time extremely slow

From: Arnaud Miege

Date: 9 Mar, 2010 15:54:03

Message: 2 of 3

"Evangelos " <cybermpazo@hotmail.com> wrote in message <hn33ul$bq4$1@fred.mathworks.com>...
> Greetings,
>
> I have created a buck Dc\Dc converter using Simscape. The problem is that the simulation time is extremely slow. I have changed the solver to Ode15s but its still too slow. What do I have to change in order to have a faster simulation?
> thank you very much.
> Vangelis

It's impossible to say without seeing the model. Did you use the Simscape language to create your DC/DC converter model? If so, can you post your code? Maybe you can also share your model on a filesharing web site so that we can have a look at it.

HTH,

Arnaud

Subject: simscape simulation time extremely slow

From: Kamil

Date: 9 Mar, 2010 16:05:21

Message: 3 of 3

As it was said above it is not easy to say anything without look at the code. But what I can suggest you can do:

1) Try to change solver to ode23t what is recommended for Simscape.
2) Try to solve it by using rapid acceleration.
3) If it is possible try to do it for fix-step solver or implicit solver. It is much faster. It was in my case.

Regards,
Kamil

"Evangelos " <cybermpazo@hotmail.com> wrote in message <hn33ul$bq4$1@fred.mathworks.com>...
> Greetings,
>
> I have created a buck Dc\Dc converter using Simscape. The problem is that the simulation time is extremely slow. I have changed the solver to Ode15s but its still too slow. What do I have to change in order to have a faster simulation?
> thank you very much.
> Vangelis

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
simscape Evangelos 8 Mar, 2010 10:14:09
solver Evangelos 8 Mar, 2010 10:14:09
rssFeed for this Thread

Contact us at files@mathworks.com