SIMPLE HARMONIC OSCILLATOR MODEL

Moderately complex Sim World model

 

The simple harmonic oscillator model is another 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 different balls at different phases at the same x value. 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.

SIMPLEHARMONIC CAPSULE

CELL CAPSULE

BALL CAPSULE

MODEL LAUNCH, CURRENT TIME = 0

MODEL LAUNCH, CURRENT TIME = 4.9

MODEL LAUNCH, CURRENT TIME = 50