• 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. PSpice
  3. Monte Carlo simulation automatically modifies component...

Stats

  • State Verified Answer
  • Replies 1
  • Subscribers 26
  • Views 3032
  • Members are here 0
More Content

Monte Carlo simulation automatically modifies component tolerances?

Zhengzhi Wang
Zhengzhi Wang over 1 year ago

When performing Monte Carlo simulation to modify the tolerances of capacitors and resistors, I modified them manually.

For example: manually modify from 10% to 5%, and then run the simulation to see if the results meet the requirements.

Is there a way to automatically change the tolerance value from 1%, 5%, and 10%, and after the run is completed, I can observe the output simulation results in these situations at once.

Thank you very much!

  • Sign in to reply
  • Cancel
  • TechiEE12
    +1 TechiEE12 over 1 year ago

    One way to achieve this could be running Pspice in batch mode. You will need to create multiple .cir files each dedicated to a tolerance value. In the batch file you can call these cir files one by one.

    To run this, the "psp_cmd.exe" executable is called from the command line. This executable resides in the same location as 'pspice.exe'.

    Example: <CDS_INST_DIR>\tools\pspice\psp_cmd.exe -r <path to cir file>

    Hope this helps.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject 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.

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

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