cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Odesolve question

SOLVED
Highlighted
Newbie

Odesolve question

As part of an iteration program, Odesolve in a solve-block fails when one or more of the (positive) initial conditions is too large. Of course, a priori, I do not know how large is "too large." This failure causes the program to cease functioning, but the failure is itself information that needs to be returned to the program so that it continues to run. How can I guard against this failure? Any help will be much appreciated.

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Odesolve question

See attached for a possible approach. I'm sure there's a less clumsy method, but I'm having an off day!

Alan

4 REPLIES 4

Re: Odesolve question

Might be possible using 'on error'. Difficult to tell without seing the actual calculation. Upload the worksheet.

Alan

Re: Odesolve question

Alan,

Thank you for your reply. A watered-down worksheet is attached.

Re: Odesolve question

See attached for a possible approach. I'm sure there's a less clumsy method, but I'm having an off day!

Alan

Re: Odesolve question

Thank you! I will give it a go.