23.01.2015 Views

Download - Wolfram Research

Download - Wolfram Research

Download - Wolfram Research

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

122 2. Tutorial<br />

difference between two successive values is controlled by the option MaxDelta. The default setting<br />

is MaxDelta −> 1.0. This value is large enough to allow sudden steps of input voltages which are<br />

quite usual in the case of pulse excitations.<br />

MaxIterations<br />

The option MaxIterations specifies the maximum number of steps that the nonlinear equation<br />

solver should use in attempting to find a solution. The option setting can either be an integer int or<br />

a list of two integers int int . If it is specified as a single integer int then it is equivalent to the<br />

list int int. The first integer value defines the iteration limit for finding a DC operating point and<br />

the second integer value the iteration limit for transient computations, respectively. If the number<br />

of iterations for the operating-point computation exceeds the limit, an error message is generated<br />

and the computation is interrupted. If the iteration limit for transient computations is exceeded,<br />

the step size is reduced by the factor given by the option StepSizeFactor. The default setting is<br />

MaxIterations −> {100, 20}.<br />

MaxSteps<br />

The option MaxSteps limits the total number of integration steps. The simulation is stopped<br />

immediately if the limit is exceeded. The default setting is MaxSteps −> Automatic, which means<br />

MaxSteps ⩵/t t / StartingStepSize .<br />

MaxStepSize<br />

It is sometimes possible to speed up simulations by allowing a larger maximum integration step size.<br />

With the option MaxStepSize the present step size limit can be extended or reduced. The default<br />

setting is MaxStepSize −> Automatic, which means MaxStepSize ⩵/t t / .<br />

MinStepSize<br />

The lower limit of the integration step size can be specified by the option MinStepSize. NDAESolve<br />

stops a simulation immediately if the integration step size falls below this limit. The default setting<br />

is MinStepSize −> Automatic, which means MinStepSize ⩵/t t / .<br />

NonlinearMethod<br />

The option NonlinearMethod chooses among different numerical algorithms for solving the nonlinear<br />

algebraic systems of equations which arise due to the discretization of DAEs. By default, Mathematica’s<br />

numerical solver FindRoot is used for this purpose. Alternatively, you can employ Analog<br />

Insydes’ own implementation of the multi-dimensional Newton-Raphson method by specifying<br />

NonlinearMethod −> NewtonIteration.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!