Answered step by step
Verified Expert Solution
Question
1 Approved Answer
edit my questionBackground The ICT building has F = 7 floors and normally has N = 3 functional elevators. People arrive to the building at
edit my questionBackground The ICT building has floors and normally has functional elevators. People arrive to the building at random times and enter on the ground floor Floor according to a Poisson arrival process with an average aggregate arrival rate of lambda eg lambda people per minute They request an elevator, enter it ride upwards, and get off at a floor that is chosen uniformly at random from the remaining floors. They stay at work on that chosen floor for a randomly chosen amount of time Exponential distribution, with mean minutes before returning to the elevators, requesting one, riding down to Floor and departing from the building. The performance metric of interest is the userperceived response time, which is the elapsed time between requesting an elevator and getting off at the desired floor ie once on the way up and once on the way down There are many possible variations that can be made to the configuration and operation of elevators: number, speed, capacity, scheduling. Your goal is to explore a small subset of these possibilities, and understand the impact on userperceived response time. The "performance" of an elevator depends greatly on its scheduling algorithm. In particular, there are several choices for what an elevator can do when multiple user requests are pending. One choice is to serve requests strictly in timestamp order, called FirstComeFirstServe FCFS Another is to service the "closest" request, regardless of the direction being traveled. This is called ShortestSeekTimeFirst SSTF Another choice is to only service requests that are in the same vertical direction as is currently being traveled. This is called Linear Scan. The choice among these policies is especially important when load is high. Another factor affecting elevator performance is its idling policy. That is there are several choices for what an elevator should do when it is empty: stay where it is go to the bottom floor, go to the top floor, or go to the "middle" floor. This policy is especially important at lighter loads, but is less important at higher loads, when the elevator rarely empties. Your initial simulation experiments will have just a single elevator In terms of other parameter settings, you can assume that and that the movement time between adjacent floors of the building is always exactly seconds, regardless of occupancy, distance, or direction traveled by the elevator. You can assume that the elevator can hold an unlimited number of people. Technical Requirements Write a discreteevent simulation that models the operation of the elevators in the ICT building. Specifically, do the following: Design and implement a simulation model of the ICT building elevators using either C C or Java. Parameterize your simulation reasonably, and document any additional assumptions you make. Instrument the simulator adequately so that you can collect the timing information required for your analysis of results. For the singleelevator scenario, implement any two of FCFS SSTF or Linear Scan as possible scheduling algorithms. Conduct a simulation experiment to see which of these scheduling algorithms is best, in terms of average userperceived response time. Use only this best scheduling algorithm in your subsequent simulation experiments. For conduct simulation experiments that evaluate any two of the suggested elevator idling policies ie Stay, Bottom, Middle, Top to see the impact, if any, on the user perceived response time. Choose the best such idling policy for your remaining simulation experiments. Increase the number of elevators from to Show the impact, if any, on the userperceived response time. Justify any additional assumptions or design decisions that you make. When you are finished, please submit your solution in electronic form to your TA Your submission should include the source code for your simulation program, a brief user manual describing how to compile and use your simulator, and a description of the results generated using your program. Please remember that assignments are to be done individually, and submitted to your TA on or before the stated deadline. The penalty for late submissions is marks per day or portion thereof beyond the deadline.
edit my questionBackground
The ICT building has floors and normally has functional elevators. People arrive to the building at random times and enter on the ground floor Floor according to a
Poisson arrival process with an average aggregate arrival rate of lambda eg lambda people per minute They request an elevator, enter it ride upwards, and get off at a floor
that is chosen uniformly at random from the remaining floors. They stay at work on that chosen floor for a randomly chosen amount of time Exponential distribution, with mean
minutes before returning to the elevators, requesting one, riding down to Floor and departing from the building. The performance metric of interest is the userperceived
response time, which is the elapsed time between requesting an elevator and getting off at the desired floor ie once on the way up and once on the way down
There are many possible variations that can be made to the configuration and operation of elevators: number, speed, capacity, scheduling. Your goal is to explore a small subset of these
possibilities, and understand the impact on userperceived response time.
The "performance" of an elevator depends greatly on its scheduling algorithm. In particular, there are several choices for what an elevator can do when multiple user requests are
pending. One choice is to serve requests strictly in timestamp order, called FirstComeFirstServe FCFS Another is to service the "closest" request, regardless of the direction being
traveled. This is called ShortestSeekTimeFirst SSTF Another choice is to only service requests that are in the same vertical direction as is currently being traveled. This is called
Linear Scan. The choice among these policies is especially important when load is high.
Another factor affecting elevator performance is its idling policy. That is there are several choices for what an elevator should do when it is empty: stay where it is go to the bottom floor,
go to the top floor, or go to the "middle" floor. This policy is especially important at lighter loads, but is less important at higher loads, when the elevator rarely empties.
Your initial simulation experiments will have just a single elevator In terms of other parameter settings, you can assume that and that the movement time between
adjacent floors of the building is always exactly seconds, regardless of occupancy, distance, or direction traveled by the elevator. You can assume that the elevator can hold an
unlimited number of people.
Technical Requirements
Write a discreteevent simulation that models the operation of the elevators in the ICT building. Specifically, do the following:
Design and implement a simulation model of the ICT building elevators using either C C or Java. Parameterize your simulation reasonably, and document any additional
assumptions you make. Instrument the simulator adequately so that you can collect the timing information required for your analysis of results.
For the singleelevator scenario, implement any two of FCFS SSTF or Linear Scan as possible scheduling algorithms. Conduct a simulation experiment to see which of these
scheduling algorithms is best, in terms of average userperceived response time. Use only this best scheduling algorithm in your subsequent simulation experiments.
For conduct simulation experiments that evaluate any two of the suggested elevator idling policies ie Stay, Bottom, Middle, Top to see the impact, if any, on the user
perceived response time. Choose the best such idling policy for your remaining simulation experiments.
Increase the number of elevators from to Show the impact, if any, on the userperceived response time. Justify any additional assumptions or design decisions that
you make.
When you are finished, please submit your solution in electronic form to your TA Your submission should include the source code for your simulation program, a brief user manual
describing how to compile and use your simulator, and a description of the results generated using your program. Please remember that assignments are to be done individually, and
submitted to your TA on or before the stated deadline. The penalty for late submissions is marks per day or portion thereof beyond the deadline.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started