Azzera filtri
Azzera filtri

Integration tolerances ode15s

5 visualizzazioni (ultimi 30 giorni)
Rebecca Ward
Rebecca Ward il 10 Nov 2011
Hi, I'm running code using the ode15s stiff solver, but am getting the following error message:
'Warning: Failure at t=6.513174e+006. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (1.490116e-008) at time t. > In ode15s at 747'
I've tried reducing the tolerance but it hasn't had much effect - can anyone give me an idea how to solve this?
Thanks,
Rebecca
  1 Commento
Rebecca Ward
Rebecca Ward il 14 Nov 2011
Apologies, typo above - I meant increasing the tolerance, not reducing

Accedi per commentare.

Risposte (1)

Fangjun Jiang
Fangjun Jiang il 10 Nov 2011
To resolve the symptom of the problem , you actually need to increase the tolerances, or reduce the allowed smallest step size as the warning indicated. Neither would guarantee to solve your integration problem as you need to consider your problem, choose the right solver, choose the right tolerance and step size.
  2 Commenti
Rebecca Ward
Rebecca Ward il 14 Nov 2011
Apologies - as edited above I meant increase the tolerance:
Thanks for answering, Rebecca
Fangjun Jiang
Fangjun Jiang il 14 Nov 2011
Did you try reducing the simulation step size?

Accedi per commentare.

Categorie

Scopri di più su Programming in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by