Hello!
I have a question on the way the analyse command works.
1 set ok [analyze 1 1] #ok != 0
2 set controlTime [getTime]
3 set ok [analyze 1 1]
4 set controlTime [getTime]
Say we have this piece of code at the end of a model, would the result of line 4 be 0 or 1? in other words, does the program move along the time domain after an unsuccessful analysis or would the line 3 in this case just be a repeat of line 1? IF the result of line one was 0 then would the time domain just be incremented by 1?
Thanks
A small question on the algorithm adjusting for loop in Ex2b
Moderators: silvia, selimgunay, Moderators
Re: A small question on the algorithm adjusting for loop in
the time does not increment unless the analysis was successfull