Computer Simulation - Wikipedia
Computer Simulation - Wikipedia
simulation
Computer simulations are realized by running computer programs that can be either small,
running almost instantly on small devices, or large-scale programs that run for hours or days on
network-based groups of computers. The scale of events being simulated by computer
simulations has far exceeded anything possible (or perhaps even imaginable) using traditional
paper-and-pencil mathematical modeling. In 1997, a desert-battle simulation of one force
invading another involved the modeling of 66,239 tanks, trucks and other vehicles on simulated
terrain around Kuwait, using multiple supercomputers in the DoD High Performance Computer
Modernization Program.[2] Other examples include a 1-billion-atom model of material
deformation;[3] a 2.64-million-atom model of the complex protein-producing organelle of all living
organisms, the ribosome, in 2005;[4] a complete simulation of the life cycle of Mycoplasma
genitalium in 2012; and the Blue Brain project at EPFL (Switzerland), begun in May 2005 to create
the first computer simulation of the entire human brain, right down to the molecular level.[5]
Because of the computational cost of simulation, computer experiments are used to perform
inference such as uncertainty quantification.[6]
History
Computer simulation developed hand-in-hand with the rapid growth of the computer, following
its first large-scale deployment during the Manhattan Project in World War II to model the
process of nuclear detonation. It was a simulation of 12 hard spheres using a Monte Carlo
algorithm. Computer simulation is often used as an adjunct to, or substitute for, modeling
systems for which simple closed form analytic solutions are not possible. There are many types
of computer simulations; their common feature is the attempt to generate a sample of
representative scenarios for a model in which a complete enumeration of all possible states of
the model would be prohibitive or impossible.[7]
Data preparation
The external data requirements of simulations and models vary widely. For some, the input
might be just a few numbers (for example, simulation of a waveform of AC electricity on a wire),
while others might require terabytes of information (such as weather and climate models).
Systems that accept data from external sources must be very careful in knowing what they are
receiving. While it is easy for computers to read in values from text or binary files, what is much
harder is knowing what the accuracy (compared to measurement resolution and precision) of
the values are. Often they are expressed as "error bars", a minimum and maximum deviation
from the value range within which the true value (is expected to) lie. Because digital computer
mathematics is not perfect, rounding and truncation errors multiply this error, so it is useful to
perform an "error analysis"[8] to confirm that values output by the simulation will still be usefully
accurate.
Types
Models used for computer simulations can be classified according to several independent pairs
of attributes, including:
Visualization
Formerly, the output data from a computer simulation was sometimes presented in a table or a
matrix showing how data were affected by numerous changes in the simulation parameters. The
use of the matrix format was related to traditional use of the matrix concept in mathematical
models. However, psychologists and others noted that humans could quickly perceive trends by
looking at graphs or even moving-images or motion-pictures generated from the data, as
displayed by computer-generated-imagery (CGI) animation. Although observers could not
necessarily read out numbers or quote math formulas, from observing a moving weather chart
they might be able to predict events (and "see that rain was headed their way") much faster than
by scanning tables of rain-cloud coordinates. Such intense graphical displays, which
transcended the world of numbers and formulae, sometimes also led to output that lacked a
coordinate grid or omitted timestamps, as if straying too far from numeric data displays. Today,
weather forecasting models tend to balance the view of moving rain/snow clouds against a map
that uses numeric coordinates and numeric timestamps of events.
Similarly, CGI computer simulations of CAT scans can simulate how a tumor might shrink or
change during an extended period of medical treatment, presenting the passage of time as a
spinning view of the visible human head, as the tumor changes.
Other applications of CGI computer simulations are being developed to graphically display large
amounts of data, in motion, as changes occur during a simulation run.
In science
Generic examples of types of computer simulations in science, which are derived from an
underlying mathematical description:
a numerical simulation of differential
equations that cannot be solved
analytically, theories that involve
continuous systems such as
phenomena in physical cosmology, fluid
dynamics (e.g., climate models, roadway
noise models, roadway air dispersion
models), continuum mechanics and
chemical kinetics fall into this category.
a stochastic simulation, typically used
for discrete systems where events occur
probabilistically and which cannot be
described directly with differential
equations (this is a discrete simulation
in the above sense). Phenomena in this
category include genetic drift,
biochemical[9] or gene regulatory
networks with small numbers of
molecules. (see also: Monte Carlo
method).
multiparticle simulation of the response
of nanomaterials at multiple scales to
an applied force for the purpose of
modeling their thermoelastic and
thermodynamic properties. Techniques
used for such simulations are Molecular
dynamics, Molecular mechanics, Monte
Carlo method, and Multiscale Green's
function.
Specific examples of computer simulations include:
statistical simulations based upon an
agglomeration of a large number of
input profiles, such as the forecasting of
equilibrium temperature of receiving
waters, allowing the gamut of
meteorological data to be input for a
specific locale. This technique was
developed for thermal pollution
forecasting.
agent based simulation has been used
effectively in ecology, where it is often
called "individual based modeling" and
is used in situations for which individual
variability in the agents cannot be
neglected, such as population dynamics
of salmon and trout (most purely
mathematical models assume all trout
behave identically).
time stepped dynamic model. In
hydrology there are several such
hydrology transport models such as the
SWMM and DSSAM Models developed
by the U.S. Environmental Protection
Agency for river water quality
forecasting.
computer simulations have also been
used to formally model theories of
human cognition and performance, e.g.,
ACT-R.
computer simulation using molecular
modeling for drug discovery.[10]
computer simulation to model viral
infection in mammalian cells.[9]
computer simulation for studying the
selective sensitivity of bonds by
mechanochemistry during grinding of
organic molecules.[11]
Computational fluid dynamics
simulations are used to simulate the
behaviour of flowing air, water and other
fluids. One-, two- and three-dimensional
models are used. A one-dimensional
model might simulate the effects of
water hammer in a pipe. A two-
dimensional model might be used to
simulate the drag forces on the cross-
section of an aeroplane wing. A three-
dimensional simulation might estimate
the heating and cooling requirements of
a large building.
An understanding of statistical
thermodynamic molecular theory is
fundamental to the appreciation of
molecular solutions. Development of the
Potential Distribution Theorem (PDT)
allows this complex subject to be
simplified to down-to-earth
presentations of molecular theory.
Notable, and sometimes controversial, computer simulations used in science include: Donella
Meadows' World3 used in the Limits to Growth, James Lovelock's Daisyworld and Thomas Ray's
Tierra.
In social sciences, computer simulation is an integral component of the five angles of analysis
fostered by the data percolation methodology,[12] which also includes qualitative and
quantitative methods, reviews of the literature (including scholarly), and interviews with experts,
and which forms an extension of data triangulation. Of course, similar to any other scientific
method, replication is an important part of computational modeling [13]
In practical contexts
Computer simulations are used in a wide variety of practical contexts, such as:
Vehicle manufacturers make use of computer simulation to test safety features in new designs.
By building a copy of the car in a physics simulation environment, they can save the hundreds of
thousands of dollars that would otherwise be required to build and test a unique prototype.
Engineers can step through the simulation milliseconds at a time to determine the exact
stresses being put upon each section of the prototype.[15]
Computer graphics can be used to display the results of a computer simulation. Animations can
be used to experience a simulation in real-time, e.g., in training simulations. In some cases
animations may also be useful in faster than real-time or even slower than real-time modes. For
example, faster than real-time animations can be useful in visualizing the buildup of queues in
the simulation of humans evacuating a building. Furthermore, simulation results are often
aggregated into static images using various ways of scientific visualization.
In debugging, simulating a program execution under test (rather than executing natively) can
detect far more errors than the hardware itself can detect and, at the same time, log useful
debugging information such as instruction trace, memory alterations and instruction counts.
This technique can also detect buffer overflow and similar "hard to detect" errors as well as
produce performance information and tuning data.
Pitfalls
Although sometimes ignored in computer simulations, it is very important to perform a
sensitivity analysis to ensure that the accuracy of the results is properly understood. For
example, the probabilistic risk analysis of factors determining the success of an oilfield
exploration program involves combining samples from a variety of statistical distributions using
the Monte Carlo method. If, for instance, one of the key parameters (e.g., the net ratio of oil-
bearing strata) is known to only one significant figure, then the result of the simulation might not
be more precise than one significant figure, although it might (misleadingly) be presented as
having four significant figures.
See also
Computational model
Digital twin
Illustris project
List of computer simulation software
Scene generator
Simulation
Simulation hypothesis
Simulation video game
UniverseMachine
Virtual prototyping
Virtual reality
Web-based simulation
References
External links
Retrieved from
"https://en.wikipedia.org/w/index.php?
title=Computer_simulation&oldid=1213923190"
This page was last edited on 15 March 2024, at
23:00 (UTC). •
Content is available under CC BY-SA 4.0 unless
otherwise noted.