2.44  TRANSIENT command

2.44.1  Syntax

transient start stop stepsize {options ...}
transient stepsize stop start {options ...}

2.44.2  Purpose

Performs a nonlinear time domain (transient) analysis.

2.44.3  Comments

The nodes to look at must have been previously selected by the print or plot command.

Three parameters are normally needed for a Transient analysis: start time, stop time and step size, in this order. The SPICE order (step size, stop, start) is also acceptable. An optional fourth parameter is the maximum internal time step.

If all of these are omitted, the simulation will continue from where the most recent one left off, with the same step size, unless the circuit topology has been changed. It will run for the same length of time as the previous run.

Do not use a step size too large as this will result in errors in the results. If you suspect that the results are not accurate, try a larger argument to skip. This will force a smaller internal step size. If the results are close to the same, they can be trusted. If not, try a still larger skip argument until they appear to match close enough.

The most obvious error of this type is aliasing. You must select sample frequency at least twice the highest signal frequency that exists anywhere in the circuit. This frequency can be very high, when you use the default step function as input. The signal generator does not have any filtering.

2.44.4  Options

> file
Send results of analysis to file.

>> file
Append results to file.

cold
Zero initial conditions. Cold start from power-up.

dtemp degrees
Temperature offset, degrees C. Add this number to the temperature from the options command.

dtmin time
The minimum internal time step, as a time. (Default = option dtmin Time cannot be resolved closer than this.

dtratio number
The minimum internal time step, as a ratio. (Default = option dtratio This is the maximum number of internal time steps for every requested step.

noplot
Suppress plotting.

plot
Graphic output, when plotting is otherwise off.

quiet
Suppress console output.

skip count
Force at least count internal transient time steps for each one displayed. If the output is a table or ASCII plot, the extra steps are hidden, unless the trace option specifies to print them.

temperature degrees
Temperature, degrees C.

trace n
Show extended information during solution. Must be followed by one of the following:
off
No extended trace information (default, override .opt)
warnings
Show extended warnings
alltime
Show all accepted internal time steps.
rejected
Show all internal time steps including rejected steps.
iterations
Show every iteration.
verbose
Show extended diagnostics.


uic
Use initial conditions. Do not do an initial DC analysis. Instead, use the values specified with the IC = options on the various elements, and set everything else to zero.

2.44.5  Examples

transient 0 100u 10n
Start at time 0, stop after 100 micro-seconds. Simulate using 10 nanosecond steps.

transient
No parameters mean to continue from the last run. In this case it means to step from 100 us to 200 us in 10 ns steps. (The same step size and run length, but offset to start where the last one stopped.

transient skip 10
Do 10 extra steps internally for every step that would be done otherwise. In this case it means to internally step at 1 nanosecond. If the output is in tabular form, the extra steps are hidden.

transient 0
Start over at time = 0. Keep the same step size and run length.

transient cold
Zero initial conditions. This will show the power-on transient.

transient >arun
Save the results of this run in the file arun.