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

  The ice giants

The ice giants are

  Conflict theorists

Conflict theorists see which of the following as the key to the origin of the state?

  Discuss the potential impact marketers have

Compare and contrast cultural core beliefs/values and secondary beliefs/values. Provide an example of each and discuss the potential impact marketers have on each.

  Little of an essential nutrient or exposure to toxins

What term is given to the time period during which irreversible damage to the fetus may occur from specific events such as too little of an essential nutrient or exposure to toxins?

  Reading of systolic pressure from auscultatory method

Can anyone tell me Why does palpatory method give different reading of systolic pressure from auscultatory method?

  Societal culture-cultural sympathy-cultural empathy

Define the following terms in your own words always from the perspective of a manager in a Multinational Company and Use each term in a sentence. Societal culture. Cultural sympathy. Cultural empathy. Organizational culture. Subcultures. Ethnocentris..

  Describe what you have learned regarding the principles

explain what you have learned about the principles guiding general education from this course and the courses you have

  Distribution at hearts beats

Heart Beats is a manufacturer of medical equipment. The company’s primary product is a device used to monitor the heart during medical procedures. This device is produced in two factories and shipped to two warehouses. The product is then shipped on ..

  Did Beth commit any crimes

Beth advertised her 2005 bCorvette for sale on the internet. In her advertisement, she falsely stated that the vehicle had only been driven 60,000 miles when in fact it had been driven 160,000 miles. Steve reasonably believed Beth's statement that th..

  Calculate the partial pressure of each gas in the container

Three gases (8.00 g of methane, CH4, 18.0 g of ethane, C2H6, and an unknown amount of propane, C3H8) were added to the same 10.0-L container. At 23.0 C, the total pressure in the container is 3.70atm . Calculate the partial pressure of each gas in th..

  Identify the major ethical concerns

Identify the major ethical concerns that information technologies raise in society and discuss the key ways information technologies impact cyberbullying, downloading of copyrighted music without paying, crime, terrorism, and war.

  How could the concept of structured racism

How could the concept of structured racism be used to explain the high drop out rates of Latinos and african Americans from California public schools today?

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