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

  Explain ssl-based vpns and client-based vpns

Compare and contrast the differences between SSL-based VPNs and client-based VPNs. Describe cost benefits, ease of use, ease of management, ease of implementation, and scalability of each.

  1 demonstrate a specific example of rationality using

1. demonstrate a specific example of rationality using decision trees .2. demonstrate a specific example of rationality

  Evaluate the current network topology

Explain the network's fundamental characteristics and components. Evaluate the current network topology. Describe the standards applicable to this project

  Create variant of kerberos in which workstation generate tgt

Create variant of Kerberos in which the workstation generates TGT. TGT will be encrypted with user's master key rather than KDC's master key.

  Multi-network access

Imagine that you are the manager of a small business computing center. List at least three techniques that you would use to convince a busy, reluctant night operator to perform regular backups. Explain the best and worst possible technique to assu..

  Reserved route takes over when device or connection fails

It determines new tree topology when switch or cable link failures. Reserved route takes over when device or connection fails. To aggregate ....to gather together Which is better, 10x100Mbps or 1Gbps?

  Non-technical analogy for channel partitioning protocols

Provide a non-technical analogy for each of the following, which would allow someone with no computer knowledge to understand the topics: Channel Partitioning Protocols and Random Access Protocols

  Differentiate data-voice and video signals

Describe the differences between data, voice, and video signals in 200 to 300 words. Write a explanation comparing differences between PBX and VoIP.

  What windows utility programs arranges

What Windows utility programs arranges pieces of files on your hard drive to allow for faster access?

  Describe the company network and interconnection

Describe the company network, interconnection, and communication environment. Assess risk based on the Global Finance, Inc. Network Diagram scenario. Note: Your risk assessment should cover all the necessary details for your client, GFI Inc., t..

  Assignment on network reconfiguration

Suppose the image below is your company's network diagram after a merger and you have recently added access controls to your network. The CSO would like to:Change the internal network address to incorporate variable length subnet mask (VLSM) with E..

  Prepare a lan design using visio for service request

Determine how use of this tool can be used to make decisions and provide the modification needed for this LAN Design project. Prepare a LAN design using Visio for service request SR-mf-005 & SR-mf-007

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