General Purpose Simulation System (GPSS)
General Purpose Simulation System (GPSS)
What is GPSS?
GPSS is one of the earliest descerte simulation languages, it was developed by Geaffrey Gordon and presented in two papers in 1961 &1962 GPSS was designed specially for analysis who were not necessarily computer programmer. It is particularly suited for modeling traffic and queuing systems.
What is GPSS?
A GPSS programmer does not write a program in the same sense as SIMSCRIPT programmer does instead, he construct a block diagram a network of interconnected blocks, each performing a special simulation oriented function GPSS provides a set of 48 different blocks to choose from each of which can be used repeatedly. Each block has a name and specific task to perform
GPSS
Moving through the system of block are entities called transaction are customer, messenger, machine parts, vehicle, etc. Typical blocks are:
Generate, Craeate transaction QUEUE, create a queue of transaction and maintain certain queuing statics TABULATE, tabulates the time in it took the transaction to reach that point from the time it entered the simulation system
GPSS
GPSS handles the advancement of time by a block called ADVANCE. When a transaction enters the block an action time is computed and added to the current time to produce a block departure time When the time reaches the departure time the transaction will be moved, if possible, to the next block in the chart. Transaction might process certain attributes which are used to make logical decision within block
Simple mathematical calculation can be carried out within the use of variable statements. Unlike in SIMSCRIPT, there are no elementary mathematical function in GPSS. GPSS is not a programming system like Simscript; one doesnt write program here, but design a network of Blocks through which percolating simulation objects give rise a sense of process.
A discrete event simulator that basically sees system dynamics in terms of queues, storage, etc.
BASIC STRUCTURE
Basic Structure
A transaction is a GPSS object with a number of attributes. A transaction is like a customer entering into the process for service. A single transaction may represent several individual entities. Each transaction has to be generated either one at a time or in batches. Once they appear into the system, they must be contained exactly in one action Block. However, a Block may contain many transactions.
References
www.cs.bilkent.edu.tr Thomas J. Schriber, Simulation using GPSS , 1974 Averill M Law, Simulation Modeling and Analysis
THANK YOU!