Abstract

Two common problems in computer simulations are the decisions to ignore or include a particular element of a system under study in a model and the choice of an appropriate integration algorithm. To examine aspects of these problems, a simple exponential system is considered in which a large simulation error is induced by a rather small truncation error. The effect of computational precision, step size and hardware selection on this error is examined at standard and extended precisions over a range of step sizes and on a variety of computers. For this model, simulation accuracy is an exponential function of the number of bits in the mantissa of the computer word. Optimal step size is a function of accuracy required and precision used; a trade-off between truncation and round-off errors becomes important as accuracy requirements increase. Machine selection is important primarily in economic terms if the required precision is available. We conclude that the effect on a simulation of small terms such as truncation errors can be unexpectedly large, that solutions should always be checked, and that high precision and wide dynamic range are important to the successful computer simulation of models such as that examined.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.