10.12.2012 Views

SIMPLORER User Manual V6.0 - FER-a

SIMPLORER User Manual V6.0 - FER-a

SIMPLORER User Manual V6.0 - FER-a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Basic Rules for the Proper Choice of Time Step<br />

<strong>SIMPLORER</strong> 6.0 — <strong>Manual</strong> 399<br />

Circuit Simulator Parameters<br />

SECM.SOLVER Used integration method. 0=Euler, 1=Trapez<br />

Trapez<br />

Used for oscillating LC systems or analog oscillators, especially useful<br />

for investigating energy problems<br />

Euler Integration<br />

Used for all other simulation problems. Damping effects may cause<br />

false results for energy relationships.<br />

SECM.LDF Local discretization error [%]. Defines the time step dependent on the<br />

(0.1…10)<br />

dynamic of the circuit. A small error increases the precision but also<br />

the calculation time. This number itself gives no clue as to the precision<br />

of the overall result.<br />

SECM.ITERATMAX Maximum number of iterations for one simulation step. If convergence<br />

(5…30)<br />

problems occur, the calculation for the active simulation step will be<br />

stopped when the maximum value is reached without consideration of<br />

other error limits.<br />

SECM.IEMAX Maximum current sum error. A very small value lead to accurate re-<br />

1µ…100µ<br />

sults, but convergence problems might be possible in the Newton integration<br />

method.<br />

SECM.VEMAX Maximum voltage error. A very small value leads to accurate results,<br />

1m…1<br />

but convergence problems may occur using the Newton integration<br />

method.<br />

Correct simulation processing and results depend on the proper choice of minimum and maximum<br />

values for the integration step size. The smaller the maximum integration step size, the<br />

more correct the results, but the longer the processing time.<br />

This means that, when specifying these minimum and maximum time step values, you need<br />

to compromise between accuracy and time. The basic rule of measurement “Not as precise as<br />

possible, but as precise as required” is also valid for a simulation. The following guidelines<br />

should help you prevent elementary mistakes in choosing the proper integration step width:<br />

Model properties Recommended<br />

What is the smallest time constant (τ min ) of the electric circuit (R*C or<br />

L/R) or of the block diagram (PTn-elements)<br />

What is the largest time constant (τ max ) of the electric circuit (R*C or<br />

L/R) or of the block diagram (PTn-elements)<br />

Which is the smallest cycle (T min ) of oscillations that can be expected<br />

(natural frequencies of the system or oscillating time functions)<br />

Which is the largest cycle (T max) of oscillations that can be expected<br />

(natural frequencies of the system or oscillating time functions)<br />

τmin Hmin < ----------<br />

10<br />

τmax Hmax < ----------<br />

10<br />

Hmin Tmin < -----------<br />

20<br />

Hmax Tmax <<br />

-----------<br />

20

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

Saved successfully!

Ooh no, something went wrong!