PSpice User Guide

PSpice User Guide

Issue link: https://resources.pcb.cadence.com/i/1180526

Contents of this Issue

Navigation

Page 460 of 884

PSpice User Guide Setting up analyses and starting simulation October 2019 461 Product Version 17.4-2019 © 1999-2019 All Rights Reserved. ❑ GMIN ❑ ITL4 Note: For more details about using these runtime parameters, see the online PSpice Reference Guide. PSpice command syntax for scheduling parameter changes You can schedule parameter changes by entering them either in the Maximum Step Size text box in the Simulation Profile or in a text file using the new expression SCHEDULE, and then including that file in the simulation profile settings. The expression SCHEDULE is a piecewise constant function (from time x forward use y) and takes the form: SCHEDULE(x 1 ,y 1 ,x 2 ,y 2 …x n ,y n ) where x is the time value, which must be x >= 0, and y is the value of the associated parameter. You must include an entry for time = 0. When used with the .OPTIONS command, the syntax is as follows: .OPTIONS = {SCHEDULE(, , , , …)} For example, .OPTIONS RELTOL={SCHEDULE( 0s,.001,2s,.005)} indicates that RELTOL should have a value of 0.001 from time 0 up to time 2s, and a value of 0.005 from time 2s and beyond (that is: RELTOL=.001 for t, where 0 <= t < 2s, and RELTOL=.005 for t, where t >= 2s). To schedule changes to runtime parameters 1. Open a standard text editor (such as Notepad) and create a text file with the command syntax shown above, using the appropriate values for the different parameters.

Articles in this issue

view archives of PSpice User Guide - PSpice User Guide