• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Adams
  3. NaN integration error

Following Cadence Design Systems’ acquisition of the Design & Engineering (D&E) business, the D&E Community Forum on the Nexus Community Center has been migrated in the Cadence Physical System Simulation Community. For more details and if you have any questions, please refer to the FAQ.

Stats

  • State Not Answered
  • Replies 3
  • Subscribers 3
  • Views 6
  • Members are here 0
More Content

NaN integration error

martin.biber
martin.biber over 3 years ago
Hello,
 
since a while I have the error :
"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?
 
 
  • Sign in to reply
  • Cancel
  • Henrik.Skovbjerg
    0 Henrik.Skovbjerg over 3 years ago
    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.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • martin.biber
    0 martin.biber over 3 years ago
    Sorry that I forget to write that information.
     
    I use the adams standard subroutine "cffsub". I never looked in that subroutine. Are there known problems with that routine?
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Henrik.Skovbjerg
    0 Henrik.Skovbjerg over 3 years ago
    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.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information