next up previous contents index
Next: Chained Sweep Analysis Up: WRspice Input Format Previous: Subcircuit/Model Cache   Contents   Index

Analysis Specification

WRspice provides the analysis capabilities tabulated below. Monte Carlo and operating range analysis (described in Chpt. 5) require a special input file format, while other types of analysis can be specified in a standard input deck.

Analyses will pause if WRspice receives an interrupt signal, i.e., the user types Ctrl-C while WRspice has the keyboard focus. The resume command can be used to resume the analysis.

By default, the maximum size of the data produced by an analysis run is limited to 256Mb. This can be changed by setting the variable maxdata to the desired value in Kb, using the set command or the Simulation Options tool from the Tools menu of the Tool Control window. In transient analysis, if the steptype is not set to ``nousertp", the run will abort at the beginning if the memory would exceed the limit. Otherwise, the run will end when the limit is reached.

The table below lists the basic analysis types and input file keyword.

.ac AC Small-Signal Analysis
.dc DC Analysis
.disto Small-Signal Distortion Analysis
.noise Small-Signal Noise Analysis
.op Operating Point
.pz Pole-Zero Analysis
.sens DC or Small-Signal AC Sensitivity Analysis
.tf DC or Small-Signal AC Transfer Function Analysis
.tran Transient Analysis

An operating point analysis is performed implicitly before other types of analysis, with the exception of transient analysis when the uic keyword is given. This solves for the initial dc operating point of the circuit. The circuit is linearized at this point for AC/small signal analysis (including pole-zero, transfer function, and noise analysis). It is the starting point for dc and transient analysis.



Subsections
next up previous contents index
Next: Chained Sweep Analysis Up: WRspice Input Format Previous: Subcircuit/Model Cache   Contents   Index
Stephen R. Whiteley 2019-06-03