ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» º 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 º ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ