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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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