• 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. How to find minimum value after certain time in a Simulation...

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 4
  • Subscribers 3
  • Views 7
  • Members are here 0
More Content

How to find minimum value after certain time in a Simulation?

hkalupuk
hkalupuk over 6 years ago
If simulation time is 10 seconds and I want to find the minimum or maximum values that comes after 5 seconds of simulation time.​
  • Sign in to reply
  • Cancel
  • MK202610123211
    0 MK202610123211 over 6 years ago
    The answer is hidden here:
    simcompanion.hexagon.com/.../how-to-get-the-index-of-maximumminimum-value-of-a-output-set
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • hkalupuk
    0 hkalupuk over 6 years ago
    Thanks for the answer @Martin Kieltsch​ , But, I want to find after certain simulation time. In the description of the question I mentioned it "If simulation time is 10 seconds and I want to find the minimum or maximum values that comes after 5 seconds of simulation time.​" How to get that. Because in my case there are values which are the smallest and largest but before 5 seconds of simulation time I don,t need them. I need values from the 5.1th second of simulation time.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • MK202610123211
    0 MK202610123211 over 6 years ago
    With a time step of 0.01 s it'd be:
    MAX(.model.analysis.my_request.values[500:1000]
     
    Another way would be to create a request with an if-function that takes care of the time like:
    if(time-5:0,0,my_expression)
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Jesper Slattengren
    0 Jesper Slattengren over 6 years ago
    Or even more flexible:
    MAX(.model.analysis.my_request.values[VALI(.model.analysis.TIME.values,5.0):MAXI(.model.analysis.TIME.values)])
    • 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