|
|
|
|
|
by adamius
1345 days ago
|
|
How does such a simulation work? Eg how do hou predict the temperature at x,y? Is it ground type, water, sand?Altitude? Neighboring values thereof? What are the inputs? Do you give it a starting point and apply it to a bunch of elements like some giant automata like game of life? Some kind of finite element analysis thing? So many questions. |
|
Simulation of dynamic systems is a big deep area. In general you use what is called numerical simulation where you have a model describing your system, in the form of a partial differential equal equations.
You start with the chosen initial conditions, choose a delta-t as your time increment, and solve the equation for those inputs. That result is the input to the next iteration.
The most basic algorithm to solve such an equation is “Newton’s method” but no one actually uses that, they use many more advanced methods. But if you are learning that is where you start.
This approach has advanced greatly over the last 70 years. Doing numerical simulation is why early computing work got funding, to simulated nuclear reaction inside bombs.
Now numerical simulation is the occupation of all the worlds top super computers. It’s used for climate simulation, bridge strength, how sky scrapers flex in the wind, testing car crashes or even simulating the strength of ceramics. Oh and it used a lot in financial simulations to model risk and calculate the price of assets.