Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Network & Security Expert

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.

Computer Network & Security, Computer Science

  • Category:- Computer Network & Security
  • Reference No.:- M91866855
  • Price:- $30

Priced at Now at $30, Verified Solution

Have any Question?


Related Questions in Computer Network & Security

A develop a caesar cipher-type encryption algorithm with a

a. Develop a Caesar cipher-type encryption algorithm with a little more complexity in it. For example, the algorithm could alternatively shift the cleartext letters positive and negative by the amount of the key value. V ...

Design and implementation of secure enterprise wireless

Design and implementation of secure enterprise wireless network Purpose of the assessment  (with ULO Mapping) The purpose of this assignment is to design and implement a secure enterprise wireless network, considering th ...

Buffer overflowthe common vulnerabilities and exposures cve

Buffer overflow The "Common Vulnerabilities and Exposures" (CVE) is a list of cybersecurity vulnerabilities that have been discovered, and they are collected in a database for everyone to see and improve or patch their s ...

Toms income is 480and he spends it on two goods x and y his

Tom's income is $480and he spends it on two goods, X and Y. His utility function is U = XY. Both X and Y sells for $8 per unit.   a. Use lagrangian function to calculate Tom's utility-maximizing purchases of X and Y.  b. ...

Assignment - 8021q tunneling q-in-q configuration8021q

Assignment - 802.1Q Tunneling (Q-in-Q) Configuration 802.1Q tunneling (aka Q-in-Q) is a technique often used by Metro Ethernet providers as a layer 2 VPN for customers. 802.1Q (or dot1q) tunneling is pretty simple...the ...

Security risk assessment executive summarya detailed

SECURITY RISK ASSESSMENT Executive Summary A detailed Information security risk assessment was carried out on Fiji Directories Limited (FDL) during October 15th 2018 to October 24th 2018. FDL, an ATH group company, is a ...

Part auniversity of neverland offers more than 300

Part A University of Neverland offers more than 300 undergraduate programs. The Bachelor of Dreams is one of the highly regarded program offered by the University. The University tries to improve all its programs by intr ...

Discussion bulldefine a packet analyzer and describe its

Discussion: • Define a packet analyzer and describe its use • List commonly used packet analyzers (beyond WireShark) • List best practices for analyzing packets • Describe uses (good and bad, ie. hacker) of a packetanaly ...

You need to prepare packet tracer fileattached pdf contains

You need to prepare packet tracer file attached pdf contains topology and required configurations and assigned ip address. In packet tacer file you need to include banner, router and switches. 1. VLSM Design a) As first ...

Task1 in each of the following scenarios there is a

Task 1. In each of the following scenarios there is a relationship to work life in the IT industry. With each of the following question, ensure that your answer includes the explanation of how it would be applied to work ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As