Integration tolerances ode15s

조회 수: 2 (최근 30일)
Rebecca Ward
Rebecca Ward 2011년 11월 10일
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
Rebecca Ward
Rebecca Ward 2011년 11월 14일
Apologies, typo above - I meant increasing the tolerance, not reducing

댓글을 달려면 로그인하십시오.

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2011년 11월 10일
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
Rebecca Ward
Rebecca Ward 2011년 11월 14일
Apologies - as edited above I meant increase the tolerance:
Thanks for answering, Rebecca
Fangjun Jiang
Fangjun Jiang 2011년 11월 14일
Did you try reducing the simulation step size?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by