SELECTED SIMULATION EXERCISES
People arrive at a newsstand at the rate of one every 10 ( 5 seconds. Most people buy only one paper but 20% buy two papers. It takes 5 ( 3 seconds to buy one paper and 7 ( 3 seconds to buy two papers. Simulate the sale of 100 papers, starting from the time the newsstand opens.
A series of moving stairways carry customers in an upward direction between four floors of a department store. People arrive at the foot of the stairs, on the first floor, at the rate of one every second. Some people walk on the stairs. As a result, the time to transfer between successive floors is found to be 20 ( 10 seconds. The destinations ...view middle of the document...
New containers are being made at the rate of one every 20 ( 5 minutes. They are filled and dispatched as soon as they are ready. Delivery takes 40 ( 10 minutes. About one in every 50 containers is damaged beyond repair during delivery. The rest are returned, taking 40 ( 10 minutes, and are immediately reused for another delivery. Beginning from time zero, find how many containers will be in the process of delivery after 8 hours.
A subway station has two entrances. Passengers arrive at entrance 1 at the rate of one every 10 ( 5 seconds, and they move along a corridor that takes 15 ( 5 seconds to walk. At entrance 2, passengers arrive at the rate of one every 5 ( 2 seconds and they walk along a corridor that takes 20 ( 8 seconds. The two streams of passengers merge to pass along a third corridor for 5 ( 3 seconds. At the end of that corridor, 60% of the passengers turn for the northbound platform, the rest turn for the southbound platform. Simulate the arrival of the first 100 passengers on the southbound platform, starting from an empty system.
A north-to-south, two-way highway, crosses another two-way highway going east to west. A junction is made by a traffic circle in which all traffic moves to the right. The time to traverse each quarter circle is 10 ( 5 seconds. Assume that traffic arrives at the rate of one vehicle every 5 ( 2 seconds at each entrance to the circle. Assume also that approximately 25% of the traffic approaching each exit from the circle will turn off there. (Some cars may do more than one full circle, and it is possible that cars will go back the way they came.) Simulate the passage of 1000 vehicles through the circle.
Workers come to a supply store at the rate of one every 5 ( 2 minutes. They have requisitions for supplies that take 8 ( 4 minutes to be processed by one of two clerks. The requisitions are then passed to a single storekeeper, who takes 4 ( 3 minutes to fill them, one at a time. Find how long it takes to fill 50 requisitions.
Extend Exercise 4-1 to include the fact that there is only one man selling newspapers.
Cars arrive at the rate of five every two minutes at a parking lot that has a capacity for 100 cars. They stay for 30 ( 10 minutes. Program a model that, starting with an empty lot, will determine when the first car is turned away because the lot is full.
People arrive at the rate of one every 10 ( 5 minutes to use a single telephone. If the telephone is busy, 50% of the people will come back after 5 minutes to try again. The rest give up trying. Assuming that a call takes 6 ( 3 minutes, count how many people will have given up by the time 1000 calls have been completed.
Consider again Exercise 4-3 of Chapter 4. Suppose that everybody must first check his coat with a single checker, who takes 2 ( 1 for each person. Also, the capacity of each...