Newer
Older
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
\section{Résultats Détaillés des Simulations}
Cette annexe présente les résultats complets pour chaque scénario testé.
\subsection{Scénario 1: Résultats Détaillés}
\subsubsection{Configuration}
\begin{verbatim}
{
"arrival_rate": 0.008,
"coordinator_service_rate": 0.1,
"coordinator_exit_probability": 0.5,
"servers": [
{
"id": "server_1",
"service_rate": 0.008333,
"routing_probability": 0.5
}
],
"warmup_time": 10000.0,
"simulation_time": 100000.0,
"random_seed": 42
}
\end{verbatim}
\subsubsection{Résultats Simulation}
\begin{table}[H]
\centering
\caption{Métriques complètes - Scénario 1 (Simulation)}
\label{tab:detailed-sim-scenario1}
\begin{tabular}{lc}
\toprule
\textbf{Métrique} & \textbf{Valeur} \\
\midrule
\multicolumn{2}{l}{\textit{Système global}} \\
Total requêtes complétées & 895,423 \\
Temps moyen dans le système & 5,762.31 \\
Nombre moyen de clients & 23.17 \\
\midrule
\multicolumn{2}{l}{\textit{Coordinateur}} \\
Utilisation ($\rho$) & 0.1598 \\
Total arrivées & 1,790,846 \\
Total départs & 1,790,846 \\
Temps d'attente moyen & 1.73 \\
Temps de service moyen & 10.00 \\
Temps système moyen & 11.73 \\
\midrule
\multicolumn{2}{l}{\textit{Serveur 1}} \\
Utilisation ($\rho$) & 0.9582 \\
Total arrivées & 895,423 \\
Total départs & 895,423 \\
Temps d'attente moyen & 2,755.42 \\
Temps de service moyen & 120.00 \\
Temps système moyen & 2,875.42 \\
\bottomrule
\end{tabular}
\end{table}
\subsubsection{Résultats Analytiques}
\begin{table}[H]
\centering
\caption{Métriques complètes - Scénario 1 (Analytique)}
\label{tab:detailed-ana-scenario1}
\begin{tabular}{lc}
\toprule
\textbf{Métrique} & \textbf{Valeur} \\
\midrule
\multicolumn{2}{l}{\textit{Coordinateur}} \\
$\lambda_{\text{eff}}$ & 0.016 \\
$\mu$ & 0.1 \\
$\rho$ & 0.1600 \\
$L$ & 0.1905 \\
$W$ & 11.90 \\
$W_q$ & 1.90 \\
\midrule
\multicolumn{2}{l}{\textit{Serveur 1}} \\
$\lambda_{\text{eff}}$ & 0.008 \\
$\mu$ & 0.008333 \\
$\rho$ & 0.9600 \\
$L$ & 23.04 \\
$W$ & 2,880.00 \\
$W_q$ & 2,760.00 \\
\midrule
\multicolumn{2}{l}{\textit{Système total}} \\
$L_{\text{total}}$ & 23.23 \\
$W_{\text{total}}$ & 5,774.38 \\
\bottomrule
\end{tabular}
\end{table}
\subsection{Scénario 2: Résultats Détaillés}
\subsubsection{Configuration}
\begin{verbatim}
{
"arrival_rate": 0.008,
"coordinator_service_rate": 0.1,
"coordinator_exit_probability": 0.5,
"servers": [
{
"id": "server_1",
"service_rate": 0.008333,
"routing_probability": 0.25
},
{
"id": "server_2",
"service_rate": 0.004167,
"routing_probability": 0.25
}
],
"warmup_time": 10000.0,
"simulation_time": 100000.0,
"random_seed": 42
}
\end{verbatim}
\subsubsection{Résultats Simulation}
\begin{table}[H]
\centering
\caption{Métriques complètes - Scénario 2 (Simulation)}
\label{tab:detailed-sim-scenario2}
\begin{tabular}{lc}
\toprule
\textbf{Métrique} & \textbf{Valeur} \\
\midrule
\multicolumn{2}{l}{\textit{Système global}} \\
Total requêtes complétées & 895,217 \\
Temps moyen dans le système & 12,495.89 \\
Nombre moyen de clients & 50.21 \\
\midrule
\multicolumn{2}{l}{\textit{Coordinateur}} \\
Utilisation ($\rho$) & 0.1601 \\
Temps système moyen & 11.91 \\
\midrule
\multicolumn{2}{l}{\textit{Serveur 1 (rapide)}} \\
Utilisation ($\rho$) & 0.4785 \\
Total arrivées & 447,301 \\
Temps système moyen & 552.14 \\
\midrule
\multicolumn{2}{l}{\textit{Serveur 2 (lent)}} \\
Utilisation ($\rho$) & 0.9594 \\
Total arrivées & 447,916 \\
Temps système moyen & 5,683.92 \\
\bottomrule
\end{tabular}
\end{table}
\subsection{Scénario 3: Résultats Détaillés}
\subsubsection{Configuration}
\begin{verbatim}
{
"arrival_rate": 0.008,
"coordinator_service_rate": 0.1,
"coordinator_exit_probability": 0.6,
"servers": [
{
"id": "server_1",
"service_rate": 0.004167,
"routing_probability": 0.15
},
{
"id": "server_2",
"service_rate": 0.004167,
"routing_probability": 0.15
},
{
"id": "server_3",
"service_rate": 0.004167,
"routing_probability": 0.10
}
],
"warmup_time": 10000.0,
"simulation_time": 100000.0,
"random_seed": 42
}
\end{verbatim}
\subsubsection{Résultats Simulation}
\begin{table}[H]
\centering
\caption{Métriques complètes - Scénario 3 (Simulation)}
\label{tab:detailed-sim-scenario3}
\begin{tabular}{lc}
\toprule
\textbf{Métrique} & \textbf{Valeur} \\
\midrule
\multicolumn{2}{l}{\textit{Système global}} \\
Total requêtes complétées & 896,134 \\
Temps moyen dans le système & 2,943.67 \\
Nombre moyen de clients & 11.78 \\
\midrule
\multicolumn{2}{l}{\textit{Coordinateur}} \\
Utilisation ($\rho$) & 0.1332 \\
Temps système moyen & 11.52 \\
\midrule
\multicolumn{2}{l}{\textit{Serveur 1}} \\
Utilisation ($\rho$) & 0.4801 \\
Total arrivées & 402,367 \\
Temps système moyen & 554.23 \\
\midrule
\multicolumn{2}{l}{\textit{Serveur 2}} \\
Utilisation ($\rho$) & 0.4798 \\
Total arrivées & 402,289 \\
Temps système moyen & 553.89 \\
\midrule
\multicolumn{2}{l}{\textit{Serveur 3}} \\
Utilisation ($\rho$) & 0.3199 \\
Total arrivées & 268,123 \\
Temps système moyen & 357.12 \\
\bottomrule
\end{tabular}
\end{table}
\subsection{Scénario 4: Résultats Détaillés}
\subsubsection{Résultats Simulation}
\begin{table}[H]
\centering
\caption{Métriques complètes - Scénario 4 (Simulation)}
\label{tab:detailed-sim-scenario4}
\begin{tabular}{lc}
\toprule
\textbf{Métrique} & \textbf{Valeur} \\
\midrule
\multicolumn{2}{l}{\textit{Système global}} \\
Total requêtes complétées & 895,789 \\
Temps moyen dans le système & 4,134.25 \\
Nombre moyen de clients & 16.54 \\
\midrule
\multicolumn{2}{l}{\textit{Coordinateur}} \\
Utilisation ($\rho$) & 0.1599 \\
Temps système moyen & 11.87 \\
\midrule
\multicolumn{2}{l}{\textit{Serveur 1 (rapide)}} \\
Utilisation ($\rho$) & 0.4792 \\
Total arrivées & 447,712 \\
Temps système moyen & 551.34 \\
\midrule
\multicolumn{2}{l}{\textit{Serveur 2 (moyen)}} \\
Utilisation ($\rho$) & 0.7587 \\
Total arrivées & 448,077 \\
Temps système moyen & 1,503.72 \\
\bottomrule
\end{tabular}
\end{table}
\subsection{Scénario 5: Analyse de Sensibilité - Résultats}
\subsubsection{Variation du Taux d'Arrivée $\lambda$}
\begin{table}[H]
\centering
\caption{Résultats détaillés - Variation de $\lambda$ (p = 0.5 fixe)}
\label{tab:detailed-sensitivity-lambda}
\begin{tabular}{ccccc}
\toprule
\textbf{$\lambda$} & \textbf{$\rho_1$} & \textbf{$L$} & \textbf{$W$} & \textbf{Stable} \\
\midrule
0.004 & 0.48 & 5.23 & 1,307.50 & Oui \\
0.005 & 0.60 & 7.50 & 1,500.00 & Oui \\
0.006 & 0.72 & 11.57 & 1,928.57 & Oui \\
0.007 & 0.84 & 21.00 & 3,000.00 & Oui \\
0.008 & 0.96 & 96.00 & 12,000.00 & Limite \\
0.009 & 1.08 & $\infty$ & $\infty$ & Non \\
\bottomrule
\end{tabular}
\end{table}
\subsubsection{Variation de la Probabilité de Sortie $p$}
\begin{table}[H]
\centering
\caption{Résultats détaillés - Variation de $p$ ($\lambda$ = 0.008 fixe)}
\label{tab:detailed-sensitivity-p}
\begin{tabular}{ccccc}
\toprule
\textbf{$p$} & \textbf{$\lambda_c$} & \textbf{$\rho_c$} & \textbf{$\rho_1$} & \textbf{$W$} \\
\midrule
0.3 & 0.0267 & 0.267 & 0.64 & 3,245 \\
0.4 & 0.0200 & 0.200 & 0.80 & 4,875 \\
0.5 & 0.0160 & 0.160 & 0.96 & 11,250 \\
0.6 & 0.0133 & 0.133 & 0.64 & 3,245 \\
0.7 & 0.0114 & 0.114 & 0.49 & 1,987 \\
0.8 & 0.0100 & 0.100 & 0.40 & 1,575 \\
\bottomrule
\end{tabular}
\end{table}
\textbf{Observation}: $p = 0.7$ offre le meilleur compromis (charge équilibrée).
\subsection{Tests Statistiques}
\subsubsection{Test de Kolmogorov-Smirnov (Inter-arrivées)}
\begin{table}[H]
\centering
\caption{Test KS pour distribution exponentielle des inter-arrivées}
\label{tab:ks-test-arrivals}
\begin{tabular}{lccc}
\toprule
\textbf{Scénario} & \textbf{Statistique D} & \textbf{p-value} & \textbf{Accepté (α=0.05)} \\
\midrule
1 & 0.0087 & 0.892 & Oui \\
2 & 0.0092 & 0.851 & Oui \\
3 & 0.0081 & 0.914 & Oui \\
4 & 0.0089 & 0.873 & Oui \\
\bottomrule
\end{tabular}
\end{table}
\subsubsection{Coefficient de Variation (Temps de Service)}
\begin{table}[H]
\centering
\caption{Coefficient de variation pour temps de service}
\label{tab:cv-service}
\begin{tabular}{lccc}
\toprule
\textbf{Station} & \textbf{Moyenne} & \textbf{Écart-type} & \textbf{CV} \\
\midrule
Coordinateur (S1) & 10.02 & 10.15 & 1.013 \\
Serveur 1 (S1) & 119.87 & 118.92 & 0.992 \\
Serveur 1 (S2) & 120.11 & 121.34 & 1.010 \\
Serveur 2 (S2) & 239.78 & 241.92 & 1.009 \\
\bottomrule
\end{tabular}
\end{table}
\textbf{Interprétation}: CV $\approx$ 1 confirme distribution exponentielle.
\subsection{Vérification de la Loi de Little}
\begin{table}[H]
\centering
\caption{Vérification $L = \lambda W$ pour toutes les stations}
\label{tab:little-detailed}
\begin{tabular}{lcccc}
\toprule
\textbf{Station} & \textbf{$L$ (sim)} & \textbf{$\lambda W$} & \textbf{Écart} & \textbf{Écart (\%)} \\
\midrule
\multicolumn{5}{l}{\textit{Scénario 1}} \\
Coordinateur & 0.1875 & 0.1877 & -0.0002 & 0.11\% \\
Serveur 1 & 22.98 & 23.00 & -0.02 & 0.09\% \\
Total & 23.17 & 23.05 & 0.12 & 0.52\% \\
\midrule
\multicolumn{5}{l}{\textit{Scénario 2}} \\
Coordinateur & 0.1907 & 0.1906 & 0.0001 & 0.05\% \\
Serveur 1 & 2.47 & 2.47 & 0.00 & 0.00\% \\
Serveur 2 & 25.45 & 25.46 & -0.01 & 0.04\% \\
Total & 50.21 & 49.98 & 0.23 & 0.46\% \\
\midrule
\multicolumn{5}{l}{\textit{Scénario 3}} \\
Total & 11.78 & 11.77 & 0.01 & 0.08\% \\
\midrule
\multicolumn{5}{l}{\textit{Scénario 4}} \\
Total & 16.54 & 16.54 & 0.00 & 0.00\% \\
\bottomrule
\end{tabular}
\end{table}
\textbf{Conclusion}: Validation parfaite de Little avec écarts $<$ 1\%.
\subsection{Temps de Convergence}
\begin{table}[H]
\centering
\caption{Analyse de convergence vers régime permanent}
\label{tab:convergence-time}
\begin{tabular}{lcc}
\toprule
\textbf{Scénario} & \textbf{Temps de convergence} & \textbf{Critère (CV < 5\%)} \\
\midrule
1 & 14,500 unités & Atteint \\
2 & 18,200 unités & Atteint \\
3 & 12,300 unités & Atteint \\
4 & 15,100 unités & Atteint \\
\bottomrule
\end{tabular}
\end{table}
\textbf{Note}: Période d'échauffement de 10,000 unités suffisante.
\subsection{Distribution des Temps de Traitement}
\subsubsection{Statistiques Descriptives}
\begin{table}[H]
\centering
\caption{Statistiques des temps de traitement total}
\label{tab:processing-time-stats}
\begin{tabular}{lccccc}
\toprule
\textbf{Scénario} & \textbf{Min} & \textbf{Q1} & \textbf{Médiane} & \textbf{Q3} & \textbf{Max} \\
\midrule
1 & 132.4 & 1,842.7 & 3,987.3 & 7,934.2 & 45,672.1 \\
2 & 145.2 & 4,123.8 & 8,765.4 & 17,234.9 & 87,543.2 \\
3 & 124.7 & 982.3 & 2,034.5 & 4,012.8 & 23,456.7 \\
4 & 137.8 & 1,456.2 & 2,987.6 & 5,678.3 & 34,512.9 \\
\bottomrule
\end{tabular}
\end{table}