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

  Networking and types of networking

This assignment explains the networking features, different kinds of networks and also how they are arranged.

  National and Global economic environment and ICICI Bank

While working in an economy, it has a separate identity but cannot operate insolently.

  Ssh or openssh server services

Write about SSH or OpenSSH server services discussion questions

  Network simulation

Network simulation on Hierarchical Network Rerouting against wormhole attacks

  Small internet works

Prepare a network simulation

  Solidify the concepts of client/server computing

One-way to solidify the concepts of client/server computing and interprocess communication is to develop the requirements for a computer game which plays "Rock, Paper, Scissors" using these techniques.

  Identify the various costs associated with the deployment

Identify the various costs associated with the deployment, operation and maintenance of a mobile-access system. Identify the benefits to the various categories of user, arising from the addition of a mobile-access facility.

  Describe how the modern view of customer service

Describe how the greater reach of telecommunication networks today affects the security of resources which an organisation provides for its employees and customers.

  Technology in improving the relationship building process

Discuss the role of Technology in improving the relationship building process Do you think that the setting of a PR department may be helpful for the ISP provider? Why?

  Remote access networks and vpns

safekeeping posture of enterprise (venture) wired and wireless LANs (WLANs), steps listed in OWASP, Securing User Services, IPV4 ip address, IPV6 address format, V4 address, VPN, Deploying Voice over IP, Remote Management of Applications and Ser..

  Dns

problems of IPV, DNS server software, TCP SYN attack, Ping of Death, Land attack, Teardrop attack, Smurf attack, Fraggle attack

  Outline the difference between an intranet and an extranet

Outline the difference between an intranet and an extranet A programmer is trying to produce an applet with the display shown in Figure 1 below such that whenever one of the checkboxes is selected the label changes to indicate correctly what has..

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