Thursday, February 4, 2016

CSM Assignment No. 1


ASSIGNMENT NO. 1
1. Name Entities, Attributes, Activities, Events and State variables for the following systems.
Small appliance repair shop, Cafeteria, Grocery store, Laundromat, Fast food restaurant, Hospital emergency room, Taxicab company, Automobile assembly line.
  1. Define Simulation. When Simulation is appropriate & when it is not appropriate? 
  2. Explain steps involved in simulation study with diagram.
  3. Grocery Store Example: Let the arrival distribution be uniformly distributed between 1 to 10 minutes and service time distribution is as follows:
Service time(min)
1
2
3
4
5
6
Probability
0.04
0.20
0.10
0.26
0.35
0.05
Develop the simulation table and analyze the system by simulating arrival and service of 10 customers. Find out Queue statistics.
Random digits for interarrival time and service time are follows:
Customer
1
2
3
4
5
6
7
8
9
10
R. D. for Interarrival Time
--
853
340
205
99
669
142
301
888
444
R. D. for Service time
71
59
12
88
97
66
81
35
29
91

  1. ABLE-BAKER CARHOP PROBLEM:
TIME BETWEEN ARRIVAL (MIN)
0
1
2
3
4
PROBABILITY
0.07
0.26
0.31
0.22
0.14








ABLE’S SERVICE TIME
2
3
4
5


PROBABILITY
0.22
0.31
0.32
0.15










BAKER'S SERVICE TIME
3
4
5
6

PROBABILITY
0.34
0.28
0.16
0.22


















DEVELOP THE SIMULATION TABLE AND ANALYSE THE SYSTEM BY SIMULATING ARRIVAL &SERVICE OF 10 CUSTOMERS. RANDOM DIGITS FOR INTERARRIVAL&SERVICE TIME ARE AS FOLLOWS:
   CUSTOMERS
RANDOM DIGITS FOR INTER ARRIVAL
RANDOM DIGITS FOR SERVICE
1


-



15

2


5



28

3


36



62

4


41



35

5


77



7

6


52



57

7


63



82

8


38



92

9


16



19

10


32



43

CALCULATE SERVER UTILIZATION & MAXIMUM QUEUE LENGTH?
FIND OUT AVERAGE WAITING TIME, AVERAGE SERVICE TIME, AVERAGE WAITING TIME OF THOSE WHO WAIT, % BUSY TIME OF ABLE & BAKER & AVERAGE TIME CUSTOMERS SPENDS IN SYSTEM?
  1. THERE IS ONLY ONE TELEPHONE IN A PUBLICBOOTH OF THE RAILWAY STATION. THE FOLLOWING TABLES INDICATE THE DISTRIBUTIONOF CALLERS ARRIVAL TIME & DURATION OF CALLS. SIMULATE FOR 20 ARRIVALS OF CURRENT SYSTEM. IT IS PROPOSED TO ADD ANOTHER TELEPHONE TO BOOTH. JUSTIFY PROPOSED BASED ON THE WAITING TIME OF CALLERS.
TIME BETWEEN ARRIVAL(MIN TIME)
2
3
4


PROBABILITY

0.2
0.7
0.1










CALL DURATION (MIN)
2
3
4
5

PROBABIITY

0.15
0.6
0.15
0.1









  1. Define the terms used in simulation: Event, Event Notice, Event List, Activity, Delay, Clock.
  2. Explain the Event Scheduling Algorithm in detail?
  3. A small Store has only one check out counter, customers arrives at this counter at random time that are from 1 to 8 minutes apart. Check out that possible value of interarrival time that has some  probability of occurance. Service time vary from 1 to 6 minutes with the following probability .Here a stopping timeof 60 minutes is set. Simulate the system.
  4. Dump Truck problem: Six drump trucks are used to haul coal from the entrance of a small mine to rail road. Fig provides a schematic of the dump truck is loaded by one of the two loaders. After a loading the dump truck immediately moves to scale to be weighted as soon as possible. Both loader and scale have a first served waiting line for trucks. Travel time from a loader to the scale is considered negligible. After being weighed, a truck begin a travel time during which time the truck unloads load then afterwords return to the loader queue. The distribution of loading time, weighting time and travel time are given together with the random digit. Simulatethe system.


Distribution of loading Time for Dump Truck :
Loading Time(min)
5
10
15
Probability
0.30
0.50
0.20

Distribution of weighting time for Dump truck:
Weighting Time (min)
12
16
Probability
0.70
0.30
Distribution of travel for Dump truck:
Travel  time(min)
40
60
80
100
probability
0.40
0.30
0.20
0.10

1 comment: