Run the simulation for a simulated 1 million seconds

Assignment Help Other Subject
Reference no: EM13541239

Modify the existing CSIM M/M/1 simulation (mm1_csim.c) to have a second queue that has deterministic service time and change the generate()function to probabilistically split (with 50/50 probability – a coin flip) the generated customers to each queue. That is, half of the generated customers should go to the queue with exponential service time (the queue that already exists in the model) and the other half to the new queue with deterministic service time. Fix the mean service time for each queue to be 1.0 seconds per customer. Run the simulation such that each queue has an offered load of 80% and submit a screen shot of the results. Run the simulation for a simulated 1 million seconds.

In addition to changing the generate() function you will need to do the following:

1) Add another queue() function

2) Add and initialize another Server FACILITY

3)Carefully update the output results section of main()

4) Carefully update the header block and inline comments

Reference no: EM13541239

Questions Cloud

How much ofthe hardness is carbonate hardness : Draw a meq/L bar graph forthe following analysis of groundwater, and comment onthe completeness of theanalysis (e.g. based on electroneutrality). Determine the hardnessand total alkalinity, and expressthem in units of mg/L as CaCO3. How much ofthe ha..
What flow rate of fresh water must they use to reduce : A bankrupt chemical firm has been taken over by new management. Onthe property they found a 25,000 m3 brine pondcontaining 20,000 mg/L of salt.
What kind of microorganism is most readily inactivated : Define the meaningof C•t product. In addition to Cand t, what factors influence the rate of chemical disinfection? What kind of microorganism is most readily inactivated byfree chlorine? What kind is most difficultto inactivate?
What is the speed-up of system a relative to system b : If system A can perform 100 operations per second and system B can perform 250 operations per second, what is the speed-up of system B relative to system A? What is the speed-up of system A relative to system B?
Run the simulation for a simulated 1 million seconds : Modify the existing CSIM M/M/1 simulation (mm1_csim.c) to have a second queue that has deterministic service time and change the generate()function to probabilistically split (with 50/50 probability – a coin flip) the generated customers to each queu..
When you have read all the values from the input file : Modify the existing CSIM M/M/1 simulation (mm1_csim.c) to read interarrival times from an input file. Let the mean service time be fixed to 1.0 seconds per customer
Plot a graph of relative error for simulation to theory : Using the mm1.c simulation program we discussed in class (and that is available for download via the class website),simulate the following offered loads for an M/M/1 queue: 50%, 60%, 70%, 80%, 85%, 90%, 91%, 92%, …, 98%. Fix the service time to be 1...
Consider a disk drive that transfers data in micro-blocks : Consider a disk drive that transfers data in micro-blocks of 5 bytes. There is a probability of bit error, p, for each block transferred (that is, each bit has a probability
Explain what an event list is what it contains : Explain what an event list is, what it contains, and how it is used by event routines. What type of data structure is used to implement an event list?

Reviews

Write a Review

Other Subject Questions & Answers

  Write a bad newsletter to a customer who has requested an

write a bad newsletter to a customer who has requested an exemption to a companys policy. possible requests that would

  Cutting-edge technical processes

Because of its cutting-edge technical processes, the CEO of Pro-X Components, Inc., has told the Miguel, the HR director, that Miguel must attract “the cream of the crop” for all scientific job openings in the company. Miguel needs to do all of the f..

  According to the description theory of names

Consider the following case. We all believe that Obama won the elections in 2008, and assumed office on January 20, 2009. But suppose we find out tomorrow that actually a few days after the electoral success, Obama was kidnapped and taken to a secret..

  Advantage of a depth interview

Which of the following is an advantage of a depth interview?

  Teacher expectations-indiscriminately accepting expectations

Teacher Expectations. How might beginning teachers guard against indiscriminately accepting the expectations that other teachers hold for students? Cite examples from your experiences.

  In general be detailed in explaining your approach and

for this assignment you are to develop a survey that will be one of the key data sets for your course project. the

  Write steps to diagnosing the application

Write down steps would you take in diagnosing the application which has been changed from its original state? How does this affect level of support required to facilitate Access users? Describe your answer.

  Statistical argument-preferring surgarless gum

I talked to five dentists. Three of them said that they prefer sugarless gum for their patients who chew gum. Three-fifths of all dentists prefer sugarless gum for their patients who chew gum.

  Discussing tort actions arises in relation to family law

Can you help me with these questions? A father shows his minor son pornography and sexually abuses him. Can the son bring a tort action against his father?

  Design and implement an enterprise web application

For your Assignment 2 Part 1 submission you are required to produce a Java implementation of the GUI for the Agriculture image viewer component of your overall Agriculture File Storing and Management (FSM) System.

  Part aquestion 1travel and tourism has significantly grown

part aquestion 1travel and tourism has significantly grown since the 1950s. discuss what you consider to be the four

  What is the relationship between behavior and culture

What is the relationship between behavior and culture? Why is it important to understand this relationship?

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