Use discrete event simulation approach

Assignment Help Computer Networking
Reference no: EM131109256

Performance Models of Computers and Networks

In this project, you will need to use discrete event simulation approach I introduced in class to simulate the traditional "machine-repairman" closed queuing network.Please check "examples" lecture notes (lecture 13) Page 2-5 for the machine-repairman problem description.

 

2235_1.png

Assume that there are c=3 machines, failing rate       0.2 /min, the repair rate           0.5 /min. That is to way, 

each machine works for an exponential distributed time with rate 0.2 /min before it fails, and the repairmen takes an exponential distributed time with rate 0.5 /min to finish repairing a failed machine. If there are more 

than one failed machines, the repairman uses “first come, first serve” to repair failed machines. For discrete event simulation, define system state N(t) as the number of working machines at time t. 

You need to simulate this system until the repairman has finished repairing 100 machines. Please use C or C++ or Java to write this simulation code. Write simulation output into a “data.txt” file and then use Matlab .m code to read the data and process the data. Your Matlab data processing code should provide results of: 

(1). The steady state probability for all states based on your simulation result. 

(2). The utilization rate of the repairman, i.e.,    =P(repairman busy) based on simulation result. 

(3). The average number of working machines based on your simulation result

4). The analytical results of steady state probabilities, utilization rate, and average number of working machines. Calculate the corresponding theoretical solutions based on lecture notes Page 2-5. Compare your theoretical solutions with the simulation results for steady state probabilities in above (1) in the format of one figure (with two curves), for the above (2) to (3) by listing their values side-by-side in a table. If they differ too much, either your 

analysis or simulation code must have something wrong.

Repeat the simulation again until the repairman finished repairing 10,000 machines. Based on your simulation results, plot the comparison figure between simulation result and analytical result, and answer the above question (2) to (3) again and also put their results in the comparison table. 

Submission: please submit a project report with explanations of your design, codes, figure result and table result. In addition, submit your program source code (include the simulation C/java code and Matlab .m code) and the first 100 machine repairing simulation output “data.txt” file. Please zip all these files together to submit via webcourse. 

In your report, you need to explain: 

(1). What important variables you use (such as counters and system state)?

(2). What events do you define? What is included in the event list?

(3). What is your simulation code (C or java code) output and output file format?

(4). The variables you used in your simulation code and Matlab code correspond to what?

Note: In my lecture, I have introduced semi-simulation based on Markov model and realistic simulation. For this project, you need to conduct realistic simulation, i.e., you need to simulate each machine’s status change. For example, if we use (0,1,1) to represent machine #1 is not working, machine #2 and #3 are working, then the state “2” in examples.pdf lecture note (Page 3) includes three possible system states in simulation: (0,1,1), (1,0,1), and (1,1,0). In other works, you need to map your simulation states into the states defined in the analysis in lecture notes in order to make comparison.

If you cannot make your realistic simulation work but can simulate based on Markov model, then you will have 15 points off.

Reference no: EM131109256

Questions Cloud

Heat transfer by mass motion of a fluid : Identify the process by which heat transfer by mass motion of a fluid such as air or water when the heated fluid is caused to move away from the source of heat, carrying energy with it.
What information could an employer : What information could an employer use in choosing a discount rate?
What are the three main advantages of cash concentration : What are the three main advantages of cash concentration?
Famous new zealand scientist ernest rutherford : Name the Famous New Zealand scientist Ernest Rutherford was awarded a Nobel Prize in which field?
Use discrete event simulation approach : Use discrete event simulation approach I introduced in class to simulate the traditional "machine-repairman" closed queuing network.Please check "examples" lecture notes (lecture 13) Page 2-5 for the machine-repairman problem description.
Show parse trees for the following strings : show where indirections actually occur by circling the parse tree nodes that correspond to the rule R→L.
What are the firm’s objectives with regard to collection : What are the firm’s objectives with regard to collection float and to payment float?
What is float, and what are its three components : What is float, and what are its three components?
What is a defined benefit postretirement plan : What is a defined benefit postretirement plan?

Reviews

Write a Review

Computer Networking Questions & Answers

  Complete ipv4 overview sections of routing and switching pro

Complete the following sections of "Routing and Switching Pro" in. TestOut LabSim: Section 5.1: IPv4 Overview. Section 5.2: IPv4 Address Classes. Section 8.1: IPv6 Addressing Overviewections of "Routing and Switching Pro" in.

  Create an access list that will allow your pptp

Your home IP address is 182.50.142.98. Your server is located at 144.39.203.50 and the PPTP service uses TCP 1723. create an access list that will allow your PPTP connection,deny other PPTP connections,and permit all other traffic

  Computer network power point slide

LLMD Co. has 5 locations across the country, with each location housing a division of the company. Each division houses several hundred users, totaling approximately 1,000 users.

  Identification of the one thing about prototyping

Find an article on prototyping and write a one-page (250-word) paper that includes the following: A description of the article and where it was found and Identification of the one thing about prototyping that surprised you the most

  Explain hardware and software utilized to support computing

Create a 2-3 page paper (350 words per page) explaining the hardware and software utilized to support personal, workgroup and enterprise computing in your current organization.

  Task of determining available wireless methods

You have been assigned th task of determining the available wireless methods that could be used to connect buildings to each other and presenting these options to executive team.

  Plan for setting up network managment separated by routers

At present WAN has seven networks separated by routers. Networks support 12 servers and 145 clients. Write a brief plan for setting up network managment solution for network.

  Data warehouses and network infrastructure

According to the textbook, information management is among the most critical functions of business success. Evaluate the level of impact of IT  enterprise architecture on information management (e.g., the flow of information throughout the company..

  Map signal strengths of one location using wi-fi

Map signal strengths of one location using Wi-Fi analyzer tools. Download and install two software packages on a computer with a wireless card and in range of a wireless network. You can also use your mobile phone with similar apps - there are sev..

  What is the role of data mining

Explain the difference between a project and operations. Provide examples and references.

  What is transmission time for one cell through one switch

Consider compressed video transmission in an ATM network. Suppose standard ATM cells must be transmitted through five switches. The data rate is 43Mbps. What is the transmission time for one cell through one switch?

  Compare and contrast smtp, pop3, imap4, http email

Compare and contrast two of the following email clients: Outlook, Outlook Express, Hotmail, Eudora, Mozilla Thunderbird, Opera Mail, Pine, and Lotus Notes.

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