- •Table of Contents
- •Chapter 1. Using GPSS World
- •Lesson 1 - The GPSS World Program
- •Lesson 2 - Running a Simulation
- •Lesson 3 - Problems
- •Lesson 4 - The Text Editor
- •Lesson 6 - The ADVANCE Block
- •Lesson 9 - GPSS World Commands
- •Lesson 10 - Manual Simulation
- •Lesson 11 - The Graphics Windows
- •Lesson 12 - Reading from and Writing to External Files
- •Lesson 14 - Reports
- •Lesson 15 - Session Journaling
- •Lesson 16 - Continuous Modeling
- •Lesson 17 - PLUS
- •Lesson 19 - Experiments
- •Chapter 2. Applications
- •1. TURNSTIL.GPS
- •2. TELEPHON.GPS
- •3. PERIODIC.GPS
- •4. TVREPAIR.GPS
- •5. QCONTROL.GPS
- •6. ORDERPNT.GPS
- •7. MANUFACT.GPS
- •8. TEXTILE.GPS
- •9. OILDEPOT.GPS
- •10. ASSEMBLY.GPS
- •11. ROBOTFMS.GPS
- •12. BICYCLE.GPS
- •13. STOCKCTL.GPS
- •14. LOCKSIMN.GPS
- •15. FOUNDRY.GPS
- •16. TAPEPREP.GPS
- •17. TRAFFIC.GPS
- •18. POWDER.GPS
- •19. QTHEORY.GPS
- •20. SUPERMRK.GPS
- •21. SHIPPORT.GPS
- •22. EXCHANGE.GPS
- •23. FMSMODEL.GPS
- •24. ETHERNET.GPS
- •25. PREDATOR.GPS
GPSS World Tutorial Manual
Table of Contents
Lessons and examples are grouped in several HTML files. For access from the Internet, typical download times are listed.
Preface
Chapter 1. Using GPSS World
Lesson 1 - The GPSS World Program
Lesson 2 - Running a Simulation
Lesson 3 - Problems
Lesson 4 - The Text Editor
Lesson 5 - The GENERATE and TERMINATE
Blocks
Lesson 6 - The ADVANCE Block
Lesson 7 - The SEIZE and RELEASE Blocks
Lesson 8 - The QUEUE and DEPART Blocks
Lesson 9 - GPSS World Commands
Lesson 10 - Manual Simulation
Lesson 11 - The Graphics Windows
Lesson 12 - External Files
Lesson 13 - The ANOVA Window
Lesson 14 - Reports
Lesson 15 - Session Journaling
Lesson 16 - Continuous Modeling
Lesson 17 - PLUS
Lesson 18 - Debugging
Lesson 19 - Experiments
Chapter 2 - Applications
1. TURNSTIL.GPS — Simulation of a turnstile at a football stadium
2. TELEPHON.GPS — Simulation of a simple telephone system.
3. PERIODIC.GPS — Simulation of inventory with periodic review
4. TVREPAIR.GPS — Simulation of a television repair shop
5. QCONTROL.GPS — Simulation of a quality control system
6. ORDERPNT.GPS — Simulation of an order point inventory system
7. MANUFACT.GPS — Simulation of an electronics manufacturing system
8. TEXTILE.GPS — Simulation of a textile factory
9. OILDEPOT.GPS — Simulation of an oil storage depot
10. ASSEMBLY.GPS — Simulation of a pump assembly process
11. ROBOTFMS.GPS — Simulation of a robot operated FMS
12. BICYCLE.GPS — Simulation of a bicycle factory
13. STOCKCTL.GPS — Simulation of a warehouse and branch inventories
14. LOCKSIMN.GPS — Simulation of a canal and lock
15. FOUNDRY.GPS — Foundry simulation
16. TAPEPREP.GPS — Simulation of NC tape preparation
17. TRAFFIC.GPS — Simulation of traffic at a T-junction
18. POWDER.GPS — Simulation of customer brand loyalty
19. QTHEORY.GPS — Simulation of a solvable queuing network
20. SUPERMRK.GPS — Simulation of a supermarket
21. SHIPPORT.GPS — Simulation of a port
22. EXCHANGE.GPS — Simulation of a PBX
23. FMSMODEL.GPS — Simulation of a flexible manufacturing system
24. ETHERNET.GPS — Simulation of a 10
Mbps Ethernet Network
25. PREDATOR.GPS — Simulation of Predator
and Prey Populations
GPSS World
TUTORIAL MANUAL
Computer simulation is a technique for predicting how a new, or altered, system will behave. It is more widely applicable than purely mathematical methods, and over the years it has saved its users millions of dollars. Most complex real world systems can be simulated. In fact, the list of applications of computer simulation would fill many pages, and is growing all the time.
Of the computer simulation languages developed to date, none has had more impact than GPSS, the General Purpose Simulation System. First developed by Geoffrey Gordon at IBM in the early 1960’s, GPSS is one of the world’s most popular simulation languages. Its award winning design has proven to be so robust that to this day it provides a rich basis for modern simulation environments. In addition, it has deeply influenced many other simulation languages that now rely on derivations of GPSS concepts.
Over recent years, the user interfaces presented by computer systems have evolved to benefit the human part of the system. Whereas at one time the computer was so expensive that considerable effort was justified in tending to its needs, now there is no excuse for any feature that needlessly detracts the user from his or her objectives.
GPSS World is primarily intended to be an extension of the user. It brings all the simulation primitives up to the user interface, and makes it easy to visualize and manipulate simulations. The result is that simulations can be developed, tested, and understood more quickly than ever before.
There is much more to GPSS World than just the GPSS language. Although your previous simulation experience is quite valuable, you should familiarize yourself with the new possibilities provided by the highly interactive GPSS World simulation environment.
About This Manual
This manual is divided into two major parts. Chapter 1 contains a tutorial on the use of GPSS World. The lessons in Chapter 1 lead you through most of the major features. All statements and windows are covered in detail in the GPSS World
Reference Manual.
Chapter 2 contains a set of sample simulations based on a wide spectrum of applications. It contains examples from traffic control, inventory control, distribution, assembly, quality control, flexible manufacturing systems, PBX design, and many others.
Sometimes, simulation techniques are best taught by example.
For this reason, each example has been provided in machine readable form as part of the software package. This is discussed in Chapter 2 of the GPSS World Reference Manual.
We recommend that you study each example, then open the file in the GPSS World Model Window, and then follow the steps described in this manual. You can then interactively explore a wide variety of "What if?" scenarios. If you do not want to cover all the examples in Chapter 2, you should study the first 4 simulations before skipping to others.
The examples in Chapter 2 of this manual are intended to show a variety of techniques by which real world system behavior can be predicted using simulation techniques. The applications covered are only a tiny fraction of those amenable to simulation, but you may find some of the methods directly applicable to your own situation, even if the ultimate application is not identical to your own.
This tutorial manual is not complete with respect to the GPSS language. You will need to refer to the GPSS World Reference
Manual for details on some of the GPSS statements used here.
How To Get Started
Before you start, you should have the Windows 95, 98 or 2000 operating system installed on your computer and should have basic familiarity with that system. You should be familiar with
Windows files and file specs, and the ways in which you can COPY, RENAME, and DELETE Windows files. There will be more discussion later on the differences between the command line, or file name copy and the icon copy of a file. Before beginning the tutorial, you should make sure that GPSS World is installed according to the directions in Chapter 2 of the
GPSS World Reference Manual. Make sure that you have made a backup copy of the files in your GPSS World directory.