To build a simulation:

  1. Create a subclass of Simulation to schedule arrivals and set up resources.
  2. Create subclasses of SimulationObjects to actually DO things in the simulation.
  3. Tell the Simulation instance to proceed for awhile.
  4. Gather the statistics you need, perhaps using some of the statistics gathering routines to send things out to disk.