Thread Subject:
simulink stepsize problem

Subject: simulink stepsize problem

From: Jia Zhao

Date: 27 Sep, 2008 21:34:02

Message: 1 of 4

Hi,

I'm trying to do optimization (using Genetic Algorithm) using a simulink model as the objecive function. I used ode23 slover. For some parameter values in the simulink model, I got repeated warnings as following:

Warning: Unable to reduce the step size without violating minimum step size of 6.664677009193448e-14 for 1 consecutive times at time 18.75939805946777. Continuing simulation with the step size restricted to 0.664677009193448e-14 and using an effective relative error tolerance of 0.001038911124337621, which is greater than the specified relative error tolerance of 0.001. This usually may be caused by the high stiffness of the system. Please check the model 'modular_sim_tester' or increase the Max consecutive min step size violation parameter in the solver configuration panel.
> In call_modular_sim at 333
  In genetic at 194

I also tried ode15s, there was no warning this time, but the code just went to the end in a few minutes without any output.

Any sugguestions are appreciated.
Thanks a bunch

Jia

Subject: simulink stepsize problem

From: Vincent Morio

Date: 4 Oct, 2008 23:49:01

Message: 2 of 4

"Jia Zhao" <sixteenboys@yahoo.com.cn> wrote in message <gbm8s9$92a$1@fred.mathworks.com>...
> Hi,
>
> I'm trying to do optimization (using Genetic Algorithm) using a simulink model as the objecive function. I used ode23 slover. For some parameter values in the simulink model, I got repeated warnings as following:
>
> Warning: Unable to reduce the step size without violating minimum step size of 6.664677009193448e-14 for 1 consecutive times at time 18.75939805946777. Continuing simulation with the step size restricted to 0.664677009193448e-14 and using an effective relative error tolerance of 0.001038911124337621, which is greater than the specified relative error tolerance of 0.001. This usually may be caused by the high stiffness of the system. Please check the model 'modular_sim_tester' or increase the Max consecutive min step size violation parameter in the solver configuration panel.
> > In call_modular_sim at 333
> In genetic at 194
>
> I also tried ode15s, there was no warning this time, but the code just went to the end in a few minutes without any output.
>
> Any sugguestions are appreciated.
> Thanks a bunch
>
> Jia

Hi,

I think that this warning message come from your Simulink model! but not from the GA process... Maybe the current values found by the genetic algorithm cause some trouble during the simulations of the process.

Cheers,

V. Morio
PhD student in Automatic Control
IMS lab./University of Bordeaux, France

Subject: simulink stepsize problem

From: Leyla

Date: 23 Dec, 2008 15:50:19

Message: 3 of 4

"Jia Zhao" <sixteenboys@yahoo.com.cn> wrote in message <gbm8s9$92a$1@fred.mathworks.com>...
> Hi,
>
> I'm trying to do optimization (using Genetic Algorithm) using a simulink model as the objecive function. I used ode23 slover. For some parameter values in the simulink model, I got repeated warnings as following:
>
> Warning: Unable to reduce the step size without violating minimum step size of 6.664677009193448e-14 for 1 consecutive times at time 18.75939805946777. Continuing simulation with the step size restricted to 0.664677009193448e-14 and using an effective relative error tolerance of 0.001038911124337621, which is greater than the specified relative error tolerance of 0.001. This usually may be caused by the high stiffness of the system. Please check the model 'modular_sim_tester' or increase the Max consecutive min step size violation parameter in the solver configuration panel.
> > In call_modular_sim at 333
> In genetic at 194
>
> I also tried ode15s, there was no warning this time, but the code just went to the end in a few minutes without any output.
>
> Any sugguestions are appreciated.
> Thanks a bunch
>
> Jia

Hi Jia, I have the same problem as u had, please answer if you solved tha problem.
Thanks so much.

Leyla

Subject: simulink stepsize problem

From: Kirti Deo Mishra

Date: 27 May, 2012 16:45:07

Message: 4 of 4

hi
I am also having the same trouble as u and it has put on halt.....do u know a way out...in case yes...just let me know..

would be a grt help..


thnx...




"Jia Zhao" <sixteenboys@yahoo.com.cn> wrote in message <gbm8s9$92a$1@fred.mathworks.com>...
> Hi,
>
> I'm trying to do optimization (using Genetic Algorithm) using a simulink model as the objecive function. I used ode23 slover. For some parameter values in the simulink model, I got repeated warnings as following:
>
> Warning: Unable to reduce the step size without violating minimum step size of 6.664677009193448e-14 for 1 consecutive times at time 18.75939805946777. Continuing simulation with the step size restricted to 0.664677009193448e-14 and using an effective relative error tolerance of 0.001038911124337621, which is greater than the specified relative error tolerance of 0.001. This usually may be caused by the high stiffness of the system. Please check the model 'modular_sim_tester' or increase the Max consecutive min step size violation parameter in the solver configuration panel.
> > In call_modular_sim at 333
> In genetic at 194
>
> I also tried ode15s, there was no warning this time, but the code just went to the end in a few minutes without any output.
>
> Any sugguestions are appreciated.
> Thanks a bunch
>
> Jia

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
simulink step size... Kirti Deo Mishra 27 May, 2012 12:49:11
simulink Vincent MORIO 4 Oct, 2008 19:50:05
genetic algorithm Vincent MORIO 4 Oct, 2008 19:50:05
rssFeed for this Thread

Contact us