6.3Adaptive Techniques

The computational efficiency of RK methods can be improved if the step size is allowed to vary during a simulation. A reasonable criterion must be established for determining when it is appropriate to modify the step size and by how much. The criterion is usually based on an estimate of the local truncation error as the simulation progresses with time. If an estimate of the local truncation error is outside an acceptable tolerance, then it is possible to either reduce the step size when the estimated error is too large or quite possibly increase the step size if it appears that the error is unnecessarily small. Techniques for estimating the local truncation error and modifying the step size, if warranted, are referred to ...

Get Simulation of Dynamic Systems with MATLAB® and Simulink®, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.