-
Notifications
You must be signed in to change notification settings - Fork 0
/
Report.doc
executable file
·167 lines (148 loc) · 22.6 KB
/
Report.doc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{\rtf1\ansi\deff3\adeflang1025
{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\froman\fprq2\fcharset2 Symbol;}{\f2\fswiss\fprq2\fcharset0 Arial;}{\f3\froman\fprq2\fcharset0 Liberation Serif{\*\falt Times New Roman};}{\f4\fswiss\fprq2\fcharset0 Liberation Sans{\*\falt Arial};}{\f5\froman\fprq2\fcharset0 Courier{\*\falt Courier New};}{\f6\froman\fprq2\fcharset0 Liberation Sans{\*\falt Arial};}{\f7\froman\fprq2\fcharset0 Courier New;}{\f8\fnil\fprq2\fcharset0 Noto Sans CJK SC Regular;}{\f9\fnil\fprq2\fcharset0 Liberation Serif{\*\falt Times New Roman};}{\f10\fnil\fprq2\fcharset0 Lohit Devanagari;}{\f11\fnil\fprq0\fcharset128 Lohit Devanagari;}{\f12\fnil\fprq2\fcharset0 Courier New;}}
{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}
{\stylesheet{\s0\snext0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033 Normal;}
{\s1\sbasedon18\snext1\ql\widctlpar\sb440\sa60\keepn\ltrpar\b\dbch\af8\dbch\af10\afs28\loch\f4\fs34 Heading 1;}
{\s2\sbasedon18\snext2\ql\widctlpar\sb440\sa60\keepn\ltrpar\b\dbch\af8\dbch\af10\afs28\loch\f4\fs28 Heading 2;}
{\s3\sbasedon18\snext3\ql\widctlpar\sb440\sa60\keepn\ltrpar\b\dbch\af8\dbch\af10\afs28\loch\f4\fs24 Heading 3;}
{\s4\sbasedon18\snext4\ql\widctlpar\sb440\sa60\keepn\ltrpar\b\dbch\af8\dbch\af10\afs28\loch\f4\fs24 Heading 4;}
{\*\cs15\snext15\super\fs20 Endnote Anchor;}
{\*\cs16\snext16\super\fs20 Footnote Anchor;}
{\*\cs17\snext17 Endnote Characters;}
{\s18\sbasedon0\snext19\ql\widctlpar\sb240\sa120\keepn\ltrpar\dbch\af8\dbch\af10\afs28\loch\f4\fs28 Heading;}
{\s19\sbasedon0\snext19\sl288\slmult1\ql\widctlpar\sb0\sa140\ltrpar\dbch\af9\dbch\af12\afs24\loch\f3\fs24 Text Body;}
{\s20\sbasedon19\snext20\sl288\slmult1\ql\widctlpar\sb0\sa140\ltrpar\dbch\af9\dbch\af11\afs24\loch\f3\fs24 List;}
{\s21\sbasedon0\snext21\ql\widctlpar\sb120\sa120\noline\ltrpar\i\dbch\af9\dbch\af11\afs24\ai\loch\f3\fs24 Caption;}
{\s22\sbasedon0\snext22\ql\widctlpar\noline\ltrpar\dbch\af9\dbch\af11\afs24\loch\f3\fs24 Index;}
{\s23\snext23\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f5\fs24\lang1033 Arrowhead List;}
{\s24\sbasedon0\snext24\ql\widctlpar\li1440\ri1440\lin1440\rin1440\fi0\sb0\sa117\ltrpar\dbch\af9\dbch\af12\afs24\loch\f3\fs24 Block Text;}
{\s25\snext25\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f5\fs24\lang1033 Box List;}
{\s26\snext26\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f5\fs24\lang1033 Bullet List;}
{\s27\sbasedon43\snext27\tx1584 Chapter Heading;}
{\s28\sbasedon22\snext28\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\noline\ltrpar\dbch\af9\dbch\af11\afs24\loch\f3\fs24 Contents 1;}
{\s29\sbasedon22\snext29\ql\widctlpar\li1440\ri0\lin1440\rin0\fi-427\noline\ltrpar\dbch\af9\dbch\af11\afs24\loch\f3\fs24 Contents 2;}
{\s30\sbasedon22\snext30\ql\widctlpar\li2160\ri0\lin2160\rin0\fi-427\noline\ltrpar\dbch\af9\dbch\af11\afs24\loch\f3\fs24 Contents 3;}
{\s31\sbasedon22\snext31\ql\widctlpar\li2880\ri0\lin2880\rin0\fi-427\noline\ltrpar\dbch\af9\dbch\af11\afs24\loch\f3\fs24 Contents 4;}
{\s32\snext32\qc\sb240\sa117\nowidctlpar\hyphpar0\b\cf0\kerning1\dbch\af8\langfe2052\dbch\af10\afs24\alang1081\loch\f6\hich\af6\fs32\lang1033 Contents Header;}
{\s33\snext33\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f5\fs24\lang1033 Dashed List;}
{\s34\snext34\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f5\fs24\lang1033 Diamond List;}
{\s35\sbasedon0\snext35\ql\widctlpar\li288\ri0\lin288\rin0\fi-288\ltrpar\dbch\af9\dbch\af12\afs24\loch\f3\fs24 Endnote;}
{\s36\snext36\nowidctlpar\hyphpar0\cf0\kerning1\dbch\af8\langfe2052\dbch\af10\afs24\alang1081\loch\f3\hich\af3\fs24\lang1033 Endnote Symbol;}
{\s37\sbasedon0\snext37\ql\widctlpar\ltrpar\dbch\af9\dbch\af12\afs24\loch\f3\fs20 Footnote;}
{\s38\snext38\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f5\fs24\lang1033 Hand List;}
{\s39\snext39\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f5\fs24\lang1033 Heart List;}
{\s40\snext40\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f5\fs24\lang1033 Implies List;}
{\s41\sbasedon46\snext41\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\dbch\af9\dbch\af12\afs24\loch\f5\fs24 Lower Case List;}
{\s42\snext42\li720\ri0\lin720\rin0\fi-427\nowidctlpar\hyphpar0\cf0\kerning1\dbch\af8\langfe2052\dbch\af10\afs24\alang1081\loch\f3\hich\af3\fs24\lang1033 Lower Roman List;}
{\s43\snext43\tx431\nowidctlpar\hyphpar0\cf0\kerning1\dbch\af8\langfe2052\dbch\af10\afs24\alang1081\loch\f3\hich\af3\fs24\lang1033 Numbered Heading 1;}
{\s44\snext44\tx431\nowidctlpar\hyphpar0\cf0\kerning1\dbch\af8\langfe2052\dbch\af10\afs24\alang1081\loch\f3\hich\af3\fs24\lang1033 Numbered Heading 2;}
{\s45\snext45\tx431\nowidctlpar\hyphpar0\cf0\kerning1\dbch\af8\langfe2052\dbch\af10\afs24\alang1081\loch\f3\hich\af3\fs24\lang1033 Numbered Heading 3;}
{\s46\snext46\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f5\fs24\lang1033 Numbered List;}
{\s47\sbasedon0\snext47\ql\widctlpar\ltrpar\dbch\af9\dbch\af12\afs24\loch\f7\fs24 Plain Text;}
{\s48\sbasedon43\snext48\tx1584 Section Heading;}
{\s49\snext49\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f5\fs24\lang1033 Square List;}
{\s50\snext50\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f5\fs24\lang1033 Star List;}
{\s51\snext51\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f5\fs24\lang1033 Tick List;}
{\s52\snext52\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f5\fs24\lang1033 Triangle List;}
{\s53\sbasedon46\snext53\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\dbch\af9\dbch\af12\afs24\loch\f5\fs24 Upper Case List;}
{\s54\sbasedon46\snext54\ql\widctlpar\li720\ri0\lin720\rin0\fi-427\ltrpar\dbch\af9\dbch\af12\afs24\loch\f5\fs24 Upper Roman List;}
}{\*\generator LibreOffice/5.4.2.2$Linux_X86_64 LibreOffice_project/40m0$Build-2}{\info{\creatim\yr0\mo0\dy0\hr0\min0}{\revtim\yr2018\mo2\dy7\hr19\min11}{\printim\yr0\mo0\dy0\hr0\min0}}{\*\userprops}\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720
\viewscale100
{\*\pgdsctbl
{\pgdsc0\pgdscuse451\pgwsxn11906\pghsxn16838\marglsxn1440\margrsxn1440\margtsxn1440\margbsxn1440\pgdscnxt0 Default Style;}
{\pgdsc1\pgdscuse451\pgndec\pgwsxn11906\pghsxn16838\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\pgdscnxt1 Endnote;}}
\formshade{\*\pgdscno0}\paperh16838\paperw11906\margl1440\margr1440\margt1440\margb1440\sectd\sbknone\sectunlocked1\pgndec\pgwsxn11906\pghsxn16838\marglsxn1440\margrsxn1440\margtsxn1440\margbsxn1440\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnar
{\*\ftnsep\chftnsep}\pgndec\pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\fs24\lang1033\loch\f5\hich\af5
}{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab \tab \tab \tab }{\ul\ulc0\b\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
GENERAL EXPLANATION}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\ul\ulc0\b\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\fs24\lang1033\loch\f5\hich\af5
}{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab There are 2 types of events in this simulation. One is }{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
arrival}{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
and the other one is }{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
departure}{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
. When the simulation begins, we know that there is an arrival of a customer at clock time = 0. Then in a while loop which checks the condition of accessing desired number of departures, we advances simulation. In my code there are 2 FELs , one is for front-desk operator the other one is for expert operator. I can actually handle this situation with one FEL but arranging events in 2 distinct FELs is more easy to follow what is going on during simulation.}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab And one important thing, I sticked to object-oriented approach which makes more understandable. for instance , I edited Event class(such as adding fields and methods) so that I wouldn\u8217\'92t be creating many queues to keep informations. It makes code more clean. }
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab PS: Program also calculates some other statistics which are commented out in Report Generation but it does not print them out. }
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab \tab \tab \tab }{\ul\ulc0\b\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
DEFINITION OF EVENTS}{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
Arrival: In an arrival event , if operator is not busy with another caller , we immediately arrange departure event for new coming customer. However , if server is busy with someone else , then we add this arrival event in FEL , i.e new-coming customer have to wait in the queue. Then arrange new arrival event which is added to FEL.}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
Departure: In a departure event , we should update statistics we will show after termination of the simulation. If a departure is going to occur then we should look for the queue whether or not there is someone in the queue waiting for the server. If there is then schedule new departure.}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab - After all events, Last event time is updated.}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab \tab \tab \tab }
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab \tab }{\ul\ulc0\b\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
SPECIAL CASE FOR THE ASSIGNMENT}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\ul\ulc0\b\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab Normally, after departure event , we collect statistics before the customer departs. Then simulation continues executing until desired condition is met. However , in this assignment, if a customer leaves front-desk operator , she/he will be directed to the expert operator to get her/his service. This means that a departure is will be counted until she/he gets service from expert operator. Therefore, a departure event from first operator is labeled as an arrival event for second operator with the same clock time.}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab \tab \tab }
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab \tab \tab }{\ul\ulc0\b\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
SIMULATION LOGIC}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\ul\ulc0\b\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab In this simulation a caller ,firstly, should be served by front-desk operator. After the service is done, the caller should be directed to the expert operator. A caller may wait for both operators due to the fact that the operator she/he asks for the service can be busy with some other customer. And those events mentioned above continue taking placing until number of departures is equal to desired number given as argument. Then there is last part which is reporting. In report , I print the some statistics about the simulation.}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab \tab \tab }
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab }{\ul\ulc0\b\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
SIMULATION OUTPUTS AND INTERPRETATION OF RESULTS}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\ul\ulc0\b\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab For instance for 1000 people , the utilization of front-desk operator is less than the utilization of the expert operator. And there is an increase in utilization of operators when number of customers increases. However there is a peak point. Then it again declines to some point. And the results for 5000 people is similar to above case. (Seed number is the same for both cases.)}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab To calculate utilization of an operator , we use the following formula :}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab (Total Busy Time For An Operator) / ( Clock Time )}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab }
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
As you can guess , an operator should be kept busy to increase utilization.}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\fs24\lang1033\loch\f5\hich\af5
}{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
To calculate average total waiting time we use the following formula :}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab }
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
(Total Waiting Time For Both Operators) / (Total Number Of Customers Who Waited for ,at least, one operator)}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\fs24\lang1033\loch\f5\hich\af5
}{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
To calculate max of (Total Waiting Time/Total System Time) ratio :}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab We just need to check before every departure from expert operator this ratio. Since we know the total waiting time and total response time. It\u8217\'92s just a comparison.}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab And any companies will be willing to decrease average waiting time by adjusting some parameters to some value. Therefore, simulation is a great tool to observe whether or not situation is enhanced.}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab And the calculations of other results are very clear. For instance , maximum queue length may be changing while simulation continues. After every arrival the length of the is checked and maximum queue length info is updated.}
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab }
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar{\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\tab }
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\rtlch \ltrch\loch\fs24\lang1033\loch\f5\hich\af5
\par \pard\plain \s0\ql\widctlpar\ltrpar\hyphpar0\dbch\af9\dbch\af12\afs24\cf0\kerning1\langfe2052\alang1081\loch\f3\fs24\lang1033\sl240\slmult1\ql\ltrpar\rtlch \ltrch\loch
\par }