|Multisim 14.0 and 14.0.1 Help|
|Multisim 14.1 Help|
|Multisim 14.2 Help|
To achieve optimal results when running a transient simulation, the maximum timestep (TMAX) parameter must be set appropriately.
TMAX specifies the upper limit on the simulator step size (the distance between any two adjacent time points.) If the TMAX value is too large, a simulation may still converge. However, the results could differ substantially from the expected analytic results (for example, the oscillation frequency may not be correct.) To minimize errors and improve simulation accuracy, it may be necessary to manually set a custom value for TMAX.
By default, Multisim is configured to automatically determine a value for TMAX. Multisim estimates the value using:
If the automatic determination of TMAX doesn't yield a good estimate (for example, if there are no independent voltage/current sources in the design) the default value of 1e-5 s is used.
For some designs the automatically determined value of TMAX will not be the optimal value. In these cases a custom value should be set. When choosing a value the following should be considered:
To achieve a balance between simulation speed and accuracy an appropriate value of TMAX should be chosen for each design. The upper limit for TMAX can be determined from the Nyquist sampling theorem, which states that the absolute lower bound of the signal sampling rate is twice the highest frequency content (of interest) in the signal. If the Nyquist sampling theorem is not satisfied the simulation results will be sampled at a rate that is insufficient to capture the changes in the signals. This phenomenon is known as aliasing, and when it occurs the simulation results will be wrong.
To avoid aliasing and still achieve good simulation performance, the following general guidelines for setting TMAX should be used:
Particular care should be taken when setting: