rmaestre / mmck-CTMarkovChain

M/M/c/k script to simulate this kind of tail system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

See also: http://lyrawww.uvt.nl/~blanc/qm-blanc.pdf

Roberto-Maestres-MacBook-Pro:mmck-CTMarkovChain rmaestre$ python simulate.py 

M/M/c/K model simulation
------------------------

+ MODEL PARAMETERS
	Lambda: 10.7000
	Mu: 1.5000
	c: 8.0000
	K: 200.0000
	Stability: True (rho = 0.8917)

+ TAIL
	Average number of clients (l) = 12.7227
	Average length (lq) = 5.5893
	Average waiting time for a client into the tail (w) = 1.1890

+ SYSTEM
	Average waiting time into the system (wq) = 0.5224

+ PROBABILITY DISTRIBUTION
	P_0 = 0.0004424480
	P_1 = 0.003156128755068
	P_2 = 0.011256859226408
	P_3 = 0.026766309716126
	P_4 = 0.047733252327091
	P_5 = 0.068099439986650
	P_6 = 0.080962667539684
	P_7 = 0.082504813588058
	P_8 = 0.073566792116019
	P_9 = 0.065597056303450
	P_10 = ..... 
	..... 
	P_200 = 0.000000000020210
	[Total Probability: 1.0]

Elapsed time: 0.00117803

About

M/M/c/k script to simulate this kind of tail system


Languages

Language:Python 100.0%