In this topic:
.AC inner_sweep_spec [ F frequency ] [RUNNAME=runname] [ SWEEP outer_sweep_spec ]
.AC DEC|LIN|OCT num_points start stop
Instructs the simulator to perform a swept small signal AC analysis. SIMetrix AC analysis is not limited to a frequency sweep as it is with generic SPICE and derivatives. See General Sweep Specification and examples below for more details.
frequency | Frequency at which analysis will be performed for non-frequency sweeps. Default 0. |
inner_sweep_spec | See General Sweep Specification for syntax. Defines sweep mode. FREQ keyword is optional. |
outer_sweep_spec | If specified, analysis will be repeated according to this specification. See General Sweep Specification for syntax. |
num_points | LIN: total number of points DEC: number of points per decade OCT: number of points per octave |
start | Start frequency for SPICE compatible mode |
stop | Stop frequency for SPICE compatible mode |
runname | If specified, the value for runname will be passed to the simulation data group as a string variable with name UserRunName. This may be used to identify which analysis generated the data which is useful when running netlists with multiple analyses defined |
For non-frequency sweeps, a new dc operating point may be calculated at each step depending on what is being swept. If a capacitor, inductor or an 'AC only' model parameter is being swept, then no new dc operating point will be required. Otherwise one will be performed. An 'AC only' parameter is one that does not affect DC operating point such as device capacitance.
An AC analysis calculates the small signal frequency response of the circuit about the dc operating point. The latter is automatically calculated prior to commencing the frequency sweep. One or more inputs may be specified for AC analysis by using voltage or current sources with the AC specification (See Voltage Source). The results of an AC analysis are always complex.
.AC DEC 25 1k 1MEG
.AC DEVICE V1 LIN 100 -100m 100m F=100k
.AC PARAM Rscale STP 0.5 3 0.1 F=20Meg
.AC DEVICE R1 LIST 10k 12k 15k 18k 22k 27k 33k F=1.1K
.AC MONTE 100 F=10K
.AC MONTE 100 F=10K SWEEP TEMP STP 0 100 10
.AC MONTE 100 SWEEP FREQ DEC 5 1k 100k
◄ Multi Step Analyses | .ALIAS ▶ |