Content deleted Content added
mNo edit summary |
Fgnievinski (talk | contribs) →Applications: moving example into article about classical mechanics dynamical simulations |
||
(18 intermediate revisions by 12 users not shown) | |||
Line 1:
{{for|classical dynamics simulations|Dynamical simulation}}
{{short description|Computer modeling of time-varying behavior of a dynamical system}}
==Overview==
Simulation models are commonly obtained from discrete-time approximations of continuous-time mathematical models.
As [[mathematical model]]s incorporate real-world constraints, like gear [[backlash (engineering)|backlash]] and rebound from a hard stop, equations become nonlinear. This requires numerical methods to solve the equations.
A [[numerical simulation]] is done by stepping through a time interval and calculating the integral of the derivatives through [[numerical integration]]. ▼
▲ A simulation run solves the state-equation system to find the behavior of the state variables over a specified period of time. The equation is solved through numerical integration methods to produce the transient behavior of the state variables. Simulation of dynamic systems predicts the values of model-system state variables, as they are determined the past state values. This relationship is found by creating a model of the system. <ref> Korn, Granino A. Advanced dynamic-system simulation: model-replication techniques and Monte Carlo simulation. John Wiley & Sons, 2007. p. 2.</ref>
▲Simulation models are commonly obtained from discrete-time approximations of continuous-time mathematical models. <ref>Klee, Harold, and Randal Allen. Simulation of dynamic systems with MATLAB and Simulink. Crc Press, 2016. p. 3.</ref>
▲As [[mathematical model]]s incorporate real-world constraints, like gear [[backlash (engineering)|backlash]] and rebound from a hard stop, equations become nonlinear. This requires numerical methods to solve the equations. <ref>Klee, Harold, and Randal Allen. Simulation of dynamic systems with MATLAB and Simulink. Crc Press, 2016. p. 93.</ref>.
▲A [[numerical simulation]] is done by stepping through a time interval and calculating the integral of the derivatives through [[numerical integration].
Some methods use a fixed step through the interval, and others use an adaptive step that can shrink or grow automatically to maintain an acceptable error tolerance. Some methods can use different time steps in different parts of the simulation model.
There are two types of system models to be simulated: difference-equation models, and differential-equation models. Classical physics is usually based on differential equation models. This is why most old simulation programs are simply differential equation solvers and delegate solving difference-equations to “procedural program segments.”Some dynamic systems are modeled with differential equations that can only be presented in an implicit form. These differential-algebraic-equation systems require special mathematical methods for simulation.
Some complex systems’ behavior can be quite sensitive to initial conditions, which could lead to large errors from the correct values. To avoid these possible errors, a rigorous approach can be applied, where an algorithm is found which can compute the value up to any desired precision. For example, the constant e is a computable number because there is an algorithm that is able to produce the constant up to any given precision.
==Applications==
The first applications of computer simulations for dynamic systems was in the aerospace industry
Simulation is also used in computer games and animation and can be accelerated by using a [[physics engine]], the technology used in many powerful [[computer graphics]] [[software]] [[computer program|programs]], like [[3ds Max]], [[Maya (software)|Maya]], [[Lightwave]], and many others to simulate physical characteristics. In computer animation, things like [[hair]], [[cloth]], [[liquid]], [[fire]], and [[wiktionary:particles|particles]] can be easily modeled, while the human [[animator]] animates simpler objects. Computer-based dynamic animation was first used at a very simple level in the 1989 [[Pixar]] [[short film]] ''Knick Knack'' to move the fake snow in the snowglobe and pebbles in a fish tank.▼
▲Simulation is also used in computer games and animation and can be accelerated by using a [[physics engine]], the technology used in many powerful [[computer graphics]] [[software]] [[computer program|programs]], like [[3ds Max]], [[Maya (software)|Maya]], [[LightWave 3D|Lightwave]], and many others to simulate physical characteristics. In computer animation, things like [[hair]], [[cloth]], [[liquid]], [[fire]], and [[wiktionary:particles|particles]] can be easily modeled, while the human [[animator]] animates simpler objects. Computer-based dynamic animation was first used at a very simple level in the 1989 [[Pixar]] [[short film]] ''Knick Knack'' to move the fake snow in the snowglobe and pebbles in a fish tank.
==See also==
*[[Comparison of system dynamics software]] — includes packages not listed below
*[[Simulink]] — A MATLAB-based graphical programming environment for modeling, simulating and analyzing dynamical systems
*[[MSC.Adams|MSC Adams]] — A multibody dynamics simulation software
*[[SimulationX]]— Software for simulating multi-___domain dynamic systems
*[[AMESim]] — Software for simulating multi-___domain dynamic systems
*[[AGX Multiphysics]] — A [[physics engine]] for simulating multi-___domain dynamic systems
*[[Dymola]] — Software for simulating multi-___domain dynamic systems using the Modelica language
*[[EcosimPro]] — A simulation tool for modeling continuous-discrete systems
*[[Hopsan]] — Software for simulating multi-___domain dynamic systems
Line 32 ⟶ 34:
*[[Physics engine]]
*[[VisSim]] — A visual language for nonlinear dynamic simulation
*[[PottersWheel]] — A Matlab toolbox to calibrate parameters of dynamic systems
*[[Simcad Pro]] — A dynamic and interactive discrete event simulation software
==Notes==
{{reflist|colwidth=30em}}
==References==▼
{{refbegin|colwidth=30em}}
*{{citation
|last1 = Galatolo |first1 = Stefano
|last2 = Hoyrup |first2 = Mathieu
|last3 = Rojas |first3 = Cristóbal
|title = Dynamical systems, simulation, abstract computation.
|arxiv = 1101.0833
|year = 2011}}
*{{citation
|last = Korn |first = Granino A.
|title = Advanced dynamic-system simulation: model-replication techniques and Monte Carlo simulation
|publisher = John Wiley & Sons
|year = 2007}}
*{{citation
|last1 = Klee |first1 = Harold
|last2 = Allen |first2 = Randal
|title = Simulation of dynamic systems with MATLAB and Simulink
|publisher = Crc Press
|year = 2016}}
{{refend}}
== External links ==
*
*[https://www.embedded.com/dynamic-system-simulation Dynamic System Simulation]
{{Computer simulation}}
▲==References==
[[Category:Computer physics engines]]
[[Category:Control theory]]
|