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.

Circuit Simulator Processing<br />

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

The circuit simulator is based on a modified nodal approach. For the solution of the differential<br />

equation system, a numerical integration method (either the Euler or the trapezoidal algorithm)<br />

is applied. The solution of nonlinear equations is done by the Newton-Raphson method;<br />

the calculation of equation systems, linearized in the operating point, takes place by means<br />

of LU factorization after Gauss.<br />

An important feature of the applied solvers is the automatic time step control. This feature ensures<br />

an adaptation of the calculation step width dependent on the active dynamic situation<br />

in the system considered, in such a way that there is always an optimum between precision<br />

of calculation and simulation speed. The time step limitations are user-defined by a minimum<br />

and maximum time step. Through this same specification, the possible time step range for the<br />

active simulation task is also determined:<br />

TEND: Simulation duration<br />

HMIN: Minimum time step width permissible<br />

HMAX: Maximum time step width permissible<br />

The limits for number of time steps are, consequently:<br />

max step<br />

tend hmin = ---------- and minstep =<br />

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

The real number of time steps would be between these two boundaries. If the step width for<br />

a specific time step is too large (automatically recognized), the circuit simulator requests a<br />

cancellation of this time step, and it will be repeated with an adapted step width (also calculated<br />

automatically). The necessary step cancellations are forwarded to a step width manager<br />

and processed there.<br />

Block Diagram Simulator Processing<br />

t end<br />

h max<br />

Block diagrams are calculated according to the block transfer characteristics and in the sequence<br />

of signal flow. Integrators are processed with the Euler method and according to the<br />

principle of distributed integration.<br />

For each block a certain sampling time can be defined by the user. Then the blocks are equidistantly<br />

calculated only on these discrete times. The sampling time must be selected very<br />

carefully. There may be dead time effects, especially in simulation models with different sampling<br />

times.<br />

If no sampling time is specified, the block diagram module runs with the same (variable) time<br />

step as the circuit simulator (quasi continuous case). In this case, make sure that the block<br />

diagram time constants are larger than those in the electrical circuit model. If no sampling<br />

time is specified and there is also no electrical circuit in the model, the block diagram module<br />

runs constantly with HMAX.<br />

The observance of block diagram simulator calculation times is guaranteed by the predictive<br />

time step control of the time step manager.

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

Saved successfully!

Ooh no, something went wrong!