This document is a very simple simulation experiment. Look at the source code of this document to see how the simulation experiment has been programmed.
There is a text input to enter the experiment duration and a check box to turn on/off the status bar reporting. Simulation is started by pressing the button Run that activates the routine simulation(). It initializes the model and schedules the Event1 at time 1. The Event1 schedules the Event2 and the Event3 at times 12 and 13 respectively. The Event2 schedules the Event4 at time 44 and possibly cancels the Event3. Starts and ends of all events are reported together with SQS length. Try short experiment duration (for example 20).