"A Not-a-Number (NaN) value was computed for the integration error. This problem may be related to wrong values computed by user-written subroutines. Please try using the Adams utility subroutine NANINF."
in Adams 2019.2.
I simulate on the same model since a few months but since the last two weeks this error occurs frequently. I haven't changed to much in the models mainly parameters.
When I start the simulation several times without making any changes the error sometimes appears sometimes not and on different time steps so it isn't really reproducible.
You have any tips and tricks to afoid this error? Or an idea where this comes from?
You don't mention if you actually do have user-written subroutines included in your analysis.
If you do, then I suggest you do what the error message suggests, and try to find out the cause of the problem.
If you don't have user-written subroutines, then the problem could be with the standard Adams Solver. Trying a newer version of Adams might help you in this case.
You mention "standard subroutine" - are you using the sample subroutine from the Adams installation without changes, or did you write your own or modified version of it?
I would not expect there being problems with using a cffsub in general, but I have never used these.