Simple Harmonic Oscillator

The simple harmonic oscillator model is a moderately complex Sim World model that defines agents and cells in submodels. The agents are balls that oscillate back and forth at a fixed frequency with a changing phase as you move down in the y dimension. The cells get worn away as the agents continue to tread over them. By changing the initial size you can get multiple balls at different phases at the same x value. The motion has a stable period along the x axis. This is a very useful model for seeing the simple interplay between agents and cells. The agents have a relatively simple method for movement, and the cells have a simple method of erosion. This is a good model for getting a feel for the visual side of agent-based models, before they begin to get more complex with lots of methods and properties.

Nova Online: Simple Harmonic Oscillator (opens in new tab)

Running this model:
1. Click on the “Capture” button in the tool bar.
2. Click “Load” next to “Capture.”
3. Click “Exec” to run the model through multiple iterations. Click “Stop” to stop the graph.
4. To run the model step by step, click “Capture,” “Load,” “Init,” then “Step.”