home *** CD-ROM | disk | FTP | other *** search
- ╔════════════════════════════════════════════════════════════════════════════╗
- ║ This PARADOX code is placed in the public domain, etc., etc. ║
- ╠════════════════════════════════════════════════════════════════════════════╣
- ║ SIMLIB is a queueing simulation language first presented by Averill ║
- ║ M. Law and W. David Kelton in their book "Simulation Modeling And ║
- ║ Analyis" (McGraw-Hill (c) 1982 ISBM 0-07-036696-9) ║
- ║ ║
- ║ To fully understand how SIMLIB is applied I strongly recommend that you ║
- ║ get find this book in you local library. Chapter two is dedicated to ║
- ║ SIMLIB. ║
- ╟────────────────────────────────────────────────────────────────────────────╢
- ║ SIMLIB is a toolbox of utilities consisting of: ║
- ║ INITIAL,FILE,REMOVE,CANCEL,SAMPST,TIMEST, ║
- ║ TIMING,UNIFORM,RANDI,EXPON, and ERLANG ║
- ║ The author intended the user to write the "main" procedure, the arrival ║
- ║ procedure, the departure procedure, and any other supporting routines. ║
- ║ A generic set of routines is given in section two of the script. The ║
- ║ routines supplied can build simple queuing simulations or can serve as a ║
- ║ template for building more complicated queuing simulations. ║
- ║ ║
- ║ Originally written in fortran (a BASIC version was published in "Journal ║
- ║ of Industrial Engineering" around 1983), it is re-written in PARADOX PAL ║
- ║ with a few modifications. First, SIMLIB originally used only arrays. I ║
- ║ have replaced most of the arrays with PARADOX tables, which are created ║
- ║ by the process and maintain for one generation: ║
- ║ MASTER - replaces MASTER array. Stores queue information ║
- ║ SAMPST - replaces a series of different arrays (Avg, Max, etc.) ║
- ║ - Stores sampling statistics. ║
- ║ TIMEST - replaces a series of different arrays ║
- ║ - Stores time related statistics. ║
- ║ RESULTS - Stores a variety of simulation results ║
- ║ Furthermore, the file MASTER2.DB stores a backup copy of every element ║
- ║ ever queued. This data can be used to calculate results "after-the-fact." ║
- ║ See the procedure PISSOFF in section three of the script. ║
- ║ ║
- ║ Other minor changes include moving the event list from #25 to #1, the ║
- ║ addition of a new few variables, and the elimination of most size ║
- ║ limitations. ║
- ║ ║
- ║ If you have any questions of comments toss me a line. ║
- ║ ║
- ║ Rory McLean ║
- ║ Compuserve ID: 73007,1546 ║
- ╚════════════════════════════════════════════════════════════════════════════╝
-