Develop matlab monte carlo queuing simulator, MATLAB Programming

Assignment Help:

Answers should be submitted in an MS Word document. Simulations should accompany answers in a separate MATLAB file.

1)  Queuing Simulator: Consider a communications router that can route (service) EXACTLY 800 messages per second (mps).

  • Assume that messages arrive at an AVERAGE rate of 850 messages per second.
  • Assume that the arriving messages follow an exponential distribution, while the routing (service) times are constant.

a.  Develop and submit a MATLAB Monte Carlo Queuing Simulator that will:

  • Graphically show the number of messages in the queue as a function of time. Provide a screen shot in this word document.
  • In text show the average number of messages in the queue and the average time a message spends waiting in the queue. Provide a screen shot in this word document.
  • Note: you will have to modify the MC Queuing simulator attached

b.  Run your simulation for the arrival and routing (service) rates indicated above for a total of 4000 messages. Provide a screen shot of the results.

c.  Does the queue appear stable from the output? Explain.

d. Does this make sense? Explain. (Hint: look at arrival rates and servicing rates)

2) Queuing Model Questions: Consider a car repair shop a with the following characteristics:

  • 6 customers arrive per hour
  • 4 mechanics
  • Each mechanic is capable of servicing 2 customers per hour
  • Assume that arrival times and service times are exponentially distributed.

a.  How would you represent the system using Kendall's notation?

b.  Calculate:

a.  The utilization factor for the system.

b.  Is the queue stable or unstable? Why or why not?

c.  The average number of customers in the queue.

d. The average number of customers in the system.

e. The average wait time in the queue.

f.  The average wait time in the system.

c.  What is the probability the 3 or fewer more customers will show up in the first hour?

3)  RAM Questions: Consider two years of driving your car.

  • You drive an average of 1 hour a day for 300 days a year.
  • Over this period of time you have experienced 3 malfunctions that have necessitated taking the car in for servicing.
  • When you take the car in for servicing, you spent an average of 3 hours waiting for the car to be repaired.

a.  What is the mean time between failures for your car?

b.  What is the reliability of your car over a 1 year period?

c.  What is the mean down time for your car?

d.  What is the availability of your car?


Related Discussions:- Develop matlab monte carlo queuing simulator

Colon operator, The Colon Operator: If the values in the vector are re...

The Colon Operator: If the values in the vector are regularly spaced, the colon operator is used to iterate through these values. For illustration, 1:5 results in all the inte

Find the boundary between equations , Find the boundary between each two of...

Find the boundary between each two of the equations P1, P2, P3 by solving: P1 = P2  ,  P1 = P3  ,  P2 = P3 Plot the boundary lines on a single figure that also includes the

Linear indexing, Linear indexing: This is termed as linear indexing. I...

Linear indexing: This is termed as linear indexing. It is generally much better style when working with the matrices to refer to the row and column indices, although. An in

Crank-nicolson method, clear tic L=1; T=0.2; nust=2000; dt=T...

clear tic L=1; T=0.2; nust=2000; dt=T/nust; n=40; dx=L/n;   r=1;  omega=10:10:5000;%Store Range of Frequencies for Simulation u=zeros(n+1,nust+1);%

Notion of permutation, what are the difference between a.linear permutati...

what are the difference between a.linear permutation b.circular permutation

Illustration of modifying the matrix elements , Illustration of modifying t...

Illustration of modifying the matrix elements: If a single index is used with the matrix, the MATLAB unwinds the matrix column by column. For illustration, for the matrix intm

Define a function, Define a function: The radius of a circle is passed...

Define a function: The radius of a circle is passed to the function to input argument  rad; the function computes the area of this circle and stores it in the output argument

How do I export multisignal wavelet signals, I am using the wavelet gui (wa...

I am using the wavelet gui (wavemenu) to decompose some data. I need to be able to export the signals. This is not a problem using only "Wavelet 1D" where only one time series is b

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd