8
GPSS coding of the above block diagram of the manufacturing shop GENERATE 5 Create parts SEIZE insp Get Inspector ADVANCE 4,3 Inspect RELEASE insp Free Inspector TRANSFER 0.1,Acc,Rej Select reject
Acc TERMINATE 1
Accepted Parts Rej TERMINATE 1 Rejected Parts START 100 Run 100 parts
Example(top) In a manufacturing shop, a machine tools turns out parts at the rate of one every five minutes. As they are finished
the posts go to inspector, who takes 4
±3 minutes to examine each part and rejects 10% of parts. Each part will be represented by one transaction and time unit selected for problem will be one minute. Simulate for 100 parts to leave the system assuming that there are three inspectors Note if more than one inspector is available, they can
be represented as a group by Storage with a capacity equal to the number of inspectors.
GPSS code GENERATE 5 create parts ENTER insp get an inspector ADVANCE 4,3 inspect LEAVE insp free inspector TRANSFER 0.1,Acc,Rej select reject
Acc TERMINATE 1
accepted part Rej TERMINATE 1 rejected part STORAGE 3 Numbers of inspector START 100 Run 100 parts Note STORAGE is a control statement which assigns the capacity of storage.
Consider a factory that manufactures football taking 20 to 40 minutes. The ball is moved from the generation to the inspection machine taking a 2 minutes. There are 3 inspection machine atone place and need 30 to 60 minutes for inspection and reject 30% of football. Simulate for 1000 transaction Draw GPSS block diagram to simulate this system.
GPSS Block Diagram
GPSS code GENERATE 30,10 ADVANCE 2, 0 ENTER insp ADVANCE 45, 15 LEAVE insp TRANSFER 0.5, Acc, Rej
Acc TERMINATE 1
Rej TERMINATE 1 STORAGE 3 START 1000
Share with your friends: