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

Develop a matlab program to design algorithm, Write a pseudo-code showing t...

Write a pseudo-code showing the list of steps to take for solving the given problem. In this process, you should identify the functions that are to be used in the program. Develop

Illustrations of calling the function, Illustrations of calling the functio...

Illustrations of calling the function: Here are illustrations of calling the function: >> cylcost(32,73,4.50) ans = 661.5000 >> fprintf('The cost would be $%.2f\n'

Example of hold and legend function, Example of Hold and legend function: ...

Example of Hold and legend function: Running this script will generate two individual figure windows. If there is not any other active figure window, the first, that is the ba

Expand a matrix, Expand a matrix: To expand a matrix, an individual el...

Expand a matrix: To expand a matrix, an individual element could not be added as that would mean there would no longer be the similar number of values in every row. Though,

Gaussian elimination, Diary Files: Before doing this assignment, please rea...

Diary Files: Before doing this assignment, please read the document Notes on Matlab Assignments (available from the course web page). It describes how to record the results of your

Show the output - algorithms, Show the output - algorithms: Where does...

Show the output - algorithms: Where does the output go? The two possibilities are (i) to an external file, or (ii) to a window on the screen. Based on system, one of these wil

Error in variables statements, Error in variables statements: Error: T...

Error in variables statements: Error: The expression in the left of equals sign is not a valid target for an assignment. >>  By placing a semicolon at the end of the sta

Lab 2, You">http://www.cs.utsa.edu/~cs1173/labs/laboratory2.html You can g...

You">http://www.cs.utsa.edu/~cs1173/labs/laboratory2.html You can go to this link and it should come up I need this by tommorow at 10:00 I just need the published part where you r

Format function and ellipsis, The Format Function and ellipsis: The de...

The Format Function and ellipsis: The default in MATLAB is to show numbers which have decimal places with four decimal places. The format command can be used to identify the o

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