Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lost-Call System Objective of simulation will be to process given number of call to determine processed, completed, blocked and busy call. Simulation of.

Similar presentations


Presentation on theme: "Lost-Call System Objective of simulation will be to process given number of call to determine processed, completed, blocked and busy call. Simulation of."— Presentation transcript:

1 Lost-Call System Objective of simulation will be to process given number of call to determine processed, completed, blocked and busy call. Simulation of Telephone System

2 LINES MAX No. IN USE 3 2 LINKS 1027 CLOCK 1720 FROMTOLENGTH 1057 ARRIVAL TIME NEXT CALL FROM TO END CALLS IN PROGRESS PROCESSEDCOMPLETEDBLOCKEDBUSY CALL COUNTERS Fig (a) : - System State - 1

3 Fig (a), records the state of the system at time 1027 There are two activities causing events: New calls can arrive Existing calls can finish

4 As shown in fig(a), there are 3 future events: The call between lines 2 and 5 is due to finish at time 1053 The call between lines 4 and 7 is due to finish at time 1075 New call is due to arrive at time 1057

5 First step= scan the next potential event In this case, the next potential event is The clock is updated. Second step= Select the Activity that is to cause event In this case, the activity is to disconnect the call. Third step= Test whether the potential event can be executed Fourth step= Change records to reflect the effects of the event The call is shown to be disconnected by setting 0 for lines 2 and 5, reducing the number of links in use by 1, and removing the finished call from the call-in-progress table

6 Fifth and final step= Gather statistics of simulation output Counters are set aside to record the number of processed, completed, blocked and busy calls. With the disconnection of a call processed and completed call counts are increased by 1 The state of the system then appears as shown in fig(b)

7 LINES MAX No. IN USE 3 1 LINKS 1053 CLOCK 1720 FROMTOLENGTH 1057 ARRIVAL TIME NEXT CALL FROM TO END CALLS IN PROGRESS PROCESSEDCOMPLETEDBLOCKEDBUSY CALL COUNTERS Fig (b) : - System State - 2

8 LINES MAX No. IN USE 3 1 LINKS 1057 CLOCK 3698 FROMTOLENGTH 1063 ARRIVAL TIME NEXT CALL FROM TO END CALLS IN PROGRESS PROCESSEDCOMPLETEDBLOCKEDBUSY CALL COUNTERS Fig (c) : - System State - 3

9 LINES MAX No. IN USE 3 2 LINKS 1063 CLOCK FROMTOLENGTH 1082 ARRIVAL TIME NEXT CALL FROM TO END CALLS IN PROGRESS PROCESSEDCOMPLETEDBLOCKEDBUSY CALL COUNTERS Fig (d) : - System State - 4

10 Typically, the simulation will run until a given number of calls has been processed or certain time has elapsed

11 Delayed Calls Telephone system modified so that call which is not connected are not lost Instead they wait until they are connected Happens to messages in switching system that has store and forward capability

12 LINES MAX No. IN USE 3 1 LINKS 1057 CLOCK 3698 FROMTOLENGTH 1063 ARRIVAL TIME NEXT CALL FROM TO END CALLS IN PROGRESS PROCESSEDCOMPLETEDBLOCKEDBUSY CALL COUNTERS Fig (e) : - System State – 3A 1720 FROM TO LENGTH DELAYED CALLS

13 System moves through the first 2 states exactly as before State of the system at time 1057, when the call from line 1 has arrived, now appears as shown in fig(e), which is labelled as system state-3A Same as state 3, shown in fig(c), except that it now shows the delayed call When a call is completed, it is necessary to check the delayed call list to see if a waiting call can be connected The next event, however is arrival of call from line 3 at time 1063 which is going to line 6. The system goes to state-4A

14 LINES MAX No. IN USE 3 2 LINKS 1063 CLOCK FROMTOLENGTH 1082 ARRIVAL TIME NEXT CALL FROM TO END CALLS IN PROGRESS PROCESSEDCOMPLETEDBLOCKEDBUSY CALL COUNTERS Fig (f) : - System State – 4A 1720 FROM TO LENGTH DELAYED CALLS

15 LINES MAX No. IN USE 3 2 LINKS 1075 CLOCK FROMTOLENGTH 1082 ARRIVAL TIME NEXT CALL FROM TO END CALLS IN PROGRESS PROCESSEDCOMPLETEDBLOCKEDBUSY CALL COUNTERS Fig (g) : - System State – 5A FROM TO LENGTH DELAYED CALLS

16 Thankyou!


Download ppt "Lost-Call System Objective of simulation will be to process given number of call to determine processed, completed, blocked and busy call. Simulation of."

Similar presentations


Ads by Google