stuarthalloway edited this page Feb 3, 2013 · 2 revisions

The Simulant Hello World simulates a group of traders making concurrent trades of some resource. To keep the example small, the model is pared to almost nothing: the traders have only a single balance that can go up or down as they give or receive resources from other traders.

The key files in the example are:

A key benefit of simulation is decoupling activities over time: modeling, test data generation, simulation, and validation can all happen at separate times. The REPL session shows all this activity scaled down and happening in a single process. This scaling down makes it easy to develop simulations, but don't lose sight of the real power that comes from scaling back up.