Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can you please help me to get the MMCQ Multiserver Finite queuing validation all pass for the call center ? here is the requirements:Key Performance
Can you please help me to get the MMCQ Multiserver Finite queuing validation all pass for the call center here is the requirements:Key Performance Parameters The call center shall be able to handle on average at least calls per minute. The call center shall maintain a customer satisfaction score of greater than A customer shall have no more than a chance of the hold lines being full. A customer shall have no more than a min average hold time. The call center shall have an availability greater than The call center shall average maintenance cost per call shall be less than $ Part : Define parameters c ; Number of servers lambda ; Average Arrival Rate per minute mu ; Service rate Nwait ; Number of waiting customers Part : Call the MMCQ function and retrieve results Ws Wq cutil, pdrop, pstate MMCQ; Part : Define a relative error function relerror @x y absx y y; Part : Validate and print results fprintfWs: f Ws; fprintfWq: f Wq; fprintfcutil: f cutil; fprintfpdrop: f pdrop; fprintfState Probabilities: ; for i :Nwait i::; fprintfpstated: f i pstatei; end fprintf ; Part : Validate and print "PASS" or "FAIL" for each metric if relerrorWs fprintfWs f PASS Ws; else fprintfWs f FAIL Ws; end if relerrorWq fprintfWqf PASS Wq; else fprintfWqf FAIL Wq; end if relerrorcutil fprintfcutil f PASS cutil; else fprintfcutil f FAIL cutil; end if relerrorpdrop, fprintfpdrop f PASS pdrop; else fprintfpdrop f FAIL pdrop; end Part : Corrected pstate initialization pstate ; Part : Check if the sum of probabilities is close to if abssumpstatee dispThe probabilities sum to Test PASSED."; else dispThe probabilities do not sum to Test FAILED."; end Part : Assuming states numstates ; fprintfThe probability of being in state d is f Nwait, pstateNwait ; dispExtra Tests PASSED.";function Ws Wq cutil, pdrop, pstate MMCQlambda mu c Nwait Calculate the utilization factor rho lambda mu; cbar rho c rhoc factorialc rho; Fix cbar calculation Calculate pprobability of no customers in the system pdenom sumc rho:c factorial:c c rhoc factorialc rho; Fix pdenom calculation p pdenom; pstate zeros Nwait ; pstate p; Calculate pN probability of having N customers in the system for i :Nwait if i c pstatei rhoi factoriali p; else pstatei rhoi factorialcci c p; Fix the pstate calculation end end Calculate lambdaloss and lambdaeff lambdaloss lambda pstateNwait ; lambdaeff lambda lambdaloss; Calculate Lq average number of customers in the queue Lq sum:Nwait pstate; Calculate Ls average number of customers in the system Ls Lq lambdaeff mu; Calculate the utilization cbar Ls Lq; cutil cbar c; Calculate pdrop probability of a customer being dropped pdrop pstateNwait ; Calculate Ws and Wq Ws Ls lambdaeff; Wq Lq lambdaeff; end
Can you please help me to get the MMCQ Multiserver Finite queuing validation all pass for the call center here is the requirements:Key Performance Parameters
The call center shall be able to handle on average at least calls per minute.
The call center shall maintain a customer satisfaction score of greater than
A customer shall have no more than a chance of the hold lines being full.
A customer shall have no more than a min average hold time.
The call center shall have an availability greater than
The call center shall average maintenance cost per call shall be less than $ Part : Define parameters
c ; Number of servers
lambda ; Average Arrival Rate per minute
mu ; Service rate
Nwait ; Number of waiting customers
Part : Call the MMCQ function and retrieve results
Ws Wq cutil, pdrop, pstate MMCQ;
Part : Define a relative error function
relerror @x y absx y y;
Part : Validate and print results
fprintfWs: f
Ws;
fprintfWq: f
Wq;
fprintfcutil: f
cutil;
fprintfpdrop: f
pdrop;
fprintfState Probabilities: ;
for i :Nwait
i::;
fprintfpstated: f i pstatei;
end
fprintf
;
Part : Validate and print "PASS" or "FAIL" for each metric
if relerrorWs
fprintfWs f PASS
Ws;
else
fprintfWs f FAIL
Ws;
end
if relerrorWq
fprintfWqf PASS
Wq;
else
fprintfWqf FAIL
Wq;
end
if relerrorcutil
fprintfcutil f PASS
cutil;
else
fprintfcutil f FAIL
cutil;
end
if relerrorpdrop,
fprintfpdrop f PASS
pdrop;
else
fprintfpdrop f FAIL
pdrop;
end
Part : Corrected pstate initialization
pstate ;
Part : Check if the sum of probabilities is close to
if abssumpstatee
dispThe probabilities sum to Test PASSED.";
else
dispThe probabilities do not sum to Test FAILED.";
end
Part : Assuming states
numstates ;
fprintfThe probability of being in state d is f
Nwait, pstateNwait ;
dispExtra Tests PASSED.";function Ws Wq cutil, pdrop, pstate MMCQlambda mu c Nwait
Calculate the utilization factor
rho lambda mu;
cbar rho c rhoc factorialc rho; Fix cbar calculation
Calculate pprobability of no customers in the system
pdenom sumc rho:c factorial:c c rhoc factorialc rho; Fix pdenom calculation
p pdenom;
pstate zeros Nwait ;
pstate p;
Calculate pN probability of having N customers in the system
for i :Nwait
if i c
pstatei rhoi factoriali p;
else
pstatei rhoi factorialcci c p; Fix the pstate calculation
end
end
Calculate lambdaloss and lambdaeff
lambdaloss lambda pstateNwait ;
lambdaeff lambda lambdaloss;
Calculate Lq average number of customers in the queue
Lq sum:Nwait pstate;
Calculate Ls average number of customers in the system
Ls Lq lambdaeff mu;
Calculate the utilization
cbar Ls Lq;
cutil cbar c;
Calculate pdrop probability of a customer being dropped
pdrop pstateNwait ;
Calculate Ws and Wq
Ws Ls lambdaeff;
Wq Lq lambdaeff;
end
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started