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.

2.7 Time-Domain Analysis of Nonlinear Dynamic Circuits 121<br />

2.7.4 NDAESolve Options<br />

Options[NDAESolve]<br />

Several options are available for NDAESolve most of which need not be changed unless there are<br />

problems with the default settings, such as convergence problems. To list all options associated with<br />

NDAESolve inspect the value of Options[NDAESolve]:<br />

In[23]:= Options[NDAESolve]<br />

Out[23]=<br />

AccuracyGoal 6, AnalysisMode Transient,<br />

BreakOnError False, Compiled True, CompressEquations False,<br />

DesignPoint Automatic, InitialConditions Automatic,<br />

InitialGuess Automatic, InitialSolution Automatic,<br />

InterpolationOrder 1, MaxDelta 1., MaxIterations 100, 20,<br />

MaxSteps Automatic, MaxStepSize Automatic,<br />

MinStepSize Automatic, NonlinearMethod FindRoot,<br />

OutputVariables All, Protocol InheritedAnalogInsydes,<br />

RandomFunction RandomReal, 0., 0.1 &,<br />

ReturnDerivatives False, Simulator InheritedAnalogInsydes,<br />

SimulatorExecutable Automatic, StartingStepSize Automatic,<br />

StepSizeFactor 1.5, WorkingPrecision 16<br />

Below, a set of NDAESolve options is explained in more detail:<br />

InitialGuess<br />

With the default setting InitialGuess −> Automatic, zero is used as initial guess for all variables<br />

when solving a system of nonlinear equations by means of Newton iterations. Whenever this setting<br />

causes numerical problems, such as division-by-zero errors or failure to converge, you can use<br />

InitialGuess to specify your own initial guess as a list of rules of the form:<br />

InitialGuess −> {var −> value , , var n −> value n }<br />

Note that the variables var i are specified without the time variable tvar.<br />

InitialSolution<br />

With the option InitialSolution we can force NDAESolve to use a certain DC solution as initial<br />

operating point for a transient analysis. A set of initial values must be provided as a list of rules<br />

which associate a numerical value with a variable from the system of equations. Missing variables<br />

are then computed consistently.<br />

InitialSolution −> {var −> value , , var n −> value n }<br />

Note that the variables var i are specified without the time variable tvar.<br />

MaxDelta<br />

One of the conditions that are checked by the integration step size control mechanism is whether the<br />

values of some variables change abruptly from one time step to the next. The maximum allowed

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

Saved successfully!

Ooh no, something went wrong!