Professional Documents
Culture Documents
• It is best to begin by organizing our data in a chart with headings for the
arrival number, arrival time, begin-service time, end-service time, and
total system time
• The 1st event is the first arrival, which occurs at 1 min after the system starts
• Initially the server is idle, the customer can immediately grasp the resource and begin the service time
• This means that the service time also begins 1 min after the system starts
• As service time for the first customer was 2 min, so the service end occurs at 3 min
• The total time that the customer was in the system is the service end time of 3 min minus the arrival time of 1
min (i.e. 3-1=2 min)
• However, the interarrival time between the 2nd and 3rd entities is 2 min
• Thus, the next event is not the end of the service of the 2nd entity but the arrival in the
system of the 3rd entity
• Because the server is busy with the 2nd entity, the 3rd entity takes the first position in the
queue
Software Project Management 7
Example Solution
• This is before the service time ends for the 2nd entity
• The 4th entity enters the queue behind the 3rd entity
• As it turns out, the interarrival time for the 5th entity is 8 min
• This means that the service end for the 2nd entity will be the next event
Software Project Management 9
Example Solution
• Because entity 3 was waiting in the queue, as soon as entity 2 was finished, entity 3 immediately grasped the
resource at 10 min
• With entity 3 now being served, only entity 4 is now waiting in the queue
• Because the interarrival time for entity 5 was 8 min, the service time for entity 3 will be completed before entity
5 arrives at 16 min
• So in this case, the system time is (14-7) i.e. system time of 7 min
• The interarrival time for entity 6 is 2 min. The service time for entity 5 is 3
min. This means that the next event is the arrival of entity 6 at 18 min
Software Project Management 13
Example Solution
• Because entity 6 is waiting in the queue, it can immediately grasp the resource at 19 min
• The interarrival time for entity 7 is 4 min for an arrival at 22 (18+4) min, whereas the
service end for entity 6 is 21 min
• Because no more entities can arrive before 22 min, the next event is the service end for
entity 6
Software Project Management 14
Example Solution
• At time 20, only five different customers have exited the system
• So average system time for all of the entities that were processed
through the system was 4.8 min.