[PDF version of this document]| [HV Home]
GPSS assignment

GPSS assignment

   

General Information

The problem statement

Model, simulate and discuss the operation of a supermarket.
The inter arrival time (IAT) of customers of a supermarket is Poisson distributed with a mean of 2 minutes.
You must tabulate the IAT and plot it.
Every customer intends to buy a number of general items as well as a number of "deli" items. For the latter, they will have to go to a separate section of the supermarket.
10% of the customers will buy no general items, 20% of the customers will buy 5 general items, 30% of the customers will buy 10 general items, 30% of the customers will buy 20 general items, and 10% of the customers will buy 40 general items.
50% of the customers will not buy deli items. For those who do, the distribution of bought items is uniform between 2 and 12.
Every customer will register the intended number of general and deli items to buy in a parameter.
You must verify that the above distributions were correctly generated (and that the simulation ran long enough to become statistically relevant).
Customers who intend to buy more than a total (deli and general combined) of 10 items will want to take a cart. Customers who intend to buy less than a total of 10 items will want to take a basket. Carts/baskets will be returned when the customer leaves the supermarket.
There are 20 baskets and 15 carts available. When a customer arrives and needs but does not find a cart/basket, the customer will go away.
You must count how many customers went away due to shortage of carts and baskets respectively.
Those customers who need to shop for deli items will, if needed, join a queue for the deli section. This section has one server. The server takes 30 seconds per item a customer orders. In addition, it takes 20 seconds to print out the bill. You must gather queueing statistics.
Those customers who need to shop for general items will spend between 10 and 40 seconds per item (uniformly distributed). This time takes into account the moving around in the supermarket.
Finally, the customers come to a series of checkout counters. There are a total of three counters which are all identical (i.e., the cashiers work equally fast). There is a single queue for all counters. You must gather queueing statistics. The service time at a counter is a function of the number of items bought. It takes 20 seconds to process the bill from the deli section (if applicable). It takes 10 seconds per general item, and a total of 30 seconds for packing.
Is it possible for customers to enter the supermarket but not buy any items ?
What is the total number of customers which have successfully shopped ? Tabulate and show the transit time of customers.

Practical information




File translated from TEX by TTH, version 3.40.