10.06.2016 Views

eldo_user

Create successful ePaper yourself

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

Speed and Accuracy<br />

Global Tuning of the Accuracy—EPS<br />

where V(i) is the voltage value at the current iteration i and V(i-1) is the value at the<br />

previous iteration.<br />

• For branch currents:<br />

|I(i) − I(i − 1)| < RELTOL × |max(|I(i)|, |I(i − 1)|)| + ABSTOL<br />

where I(i) is the current value at the current iteration i and I(i-1) is the value at the<br />

previous iteration.<br />

• For charges:<br />

|Q(i) - Q(i-1)| < RELTOL*|max(|Q(i)|, |Q(i-1)| + CHGTOL<br />

where Q(i) is the value at current iteration i and Q(i-1) the value of the previous<br />

iteration.<br />

The same RELTOL parameter controls the relative tolerance for voltages, currents, and charges.<br />

However, when voltages, currents, or charges become ‘small’ in absolute value, a relative<br />

tolerance becomes useless, thus absolute tolerances are required. Of course the typical orders of<br />

magnitude of voltages, currents, and charges are quite different, thus the necessity to have<br />

specific absolute tolerances (VNTOL, ABSTOL, CHGTOL).<br />

As a rule, if using the default settings, a simulation that goes well should use at most three or<br />

four Newton iterations per time step. This can be less if the circuit is almost linear, or if the<br />

settings such as the RELTOL value are relaxed. If many more iterations are needed, it means<br />

that either the time step control options have been relaxed a lot (and potentially the truncation<br />

error is large), or there are strongly non-linear characteristics in the circuit, which are difficult to<br />

solve. The number of Newton iteration will also increase if the RELTOL value is reduced to<br />

obtain more accuracy.<br />

Related Topics<br />

Speed and Accuracy in Eldo<br />

Tips for Improving Simulation Performance<br />

Global Tuning of the Accuracy—EPS<br />

A global parameter, EPS, is used as a general controller to set the required accuracy of a<br />

simulation. When this parameter is changed, a collection of lower-level parameters are adjusted<br />

accordingly, affecting both the Newton convergence tolerances and the time step control<br />

tolerances.<br />

Is is always possible to set these low-level parameters individually. However using EPS<br />

guarantees that the adjustments to the low-level parameters are consistent, which is not always<br />

easy to achieve.<br />

Eldo® User's Manual, 15.3 1253

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

Saved successfully!

Ooh no, something went wrong!