# Project #37584 - C++ Elevator Simulation

I have to create a C++ simulation in Visual Studio for the scenario below. How long will this take you to create and how much will it cost? Thank you for your time,

Design an elevator simulation in a building. This elevator simulator will determine, for a given # of elevators, how many passengers/hour can be carried from the lobby to the upper floors. The goal is to determine how many elevators are needed to serve passengers within 1 minute of pressing the call button. The simulation will model a day of usage.

•User will determine the # of elevators at the beginning of each run. Floors in building = 5.

•Passengers will arrive at the elevators in a random fashion, and press the call button indicating to travel up or down. The simulation will note the time it takes for an elevator to arrive and serve the passenger.

•It takes the elevator 0:15 seconds to travel from one floor to the next. It takes 0:03 seconds for a passenger to board or leave the elevator. As they leave it, the passengers will be counted.

•The elevator will begin its trip when either the MAX passenger count is reached (8 people) or no passenger has boarded within 10 seconds.

•The elevator will remain at the floor it was on when delivering the last of its passengers for a period of 10 seconds before moving to its next call or returning to the 1st floor.

•The passenger's destination floor will be determined by a random interval. There are 100 people working on each of floors 2-5. No one works on floor 1. All businesses open at 8 AM and close at 5 PM. Workers begin randomly arriving for work at 7:30 AM. Everyone leaves the building randomly by 5:30 PM.

•Customers arrive at the building at a rate of approximately 1 every 5 minutes. Customers randomly spend between 15 to 45 minutes conducting their business then exit the building.

•All workers have lunch between 12 and 1. At 12, 50% of workers go to the first floor between 12 and 12:15 to go out for food. The workers return randomly between 12:45 and 1.

•The following information should be reported daily and in total: the total # of passengers delivered, the total # of passengers delivered by each elevator, the # of passengers delivered to each floor by each elevator, the MIN/MAX time passengers waited, and the percentage of passengers served within 1 minute.

•Run the simulation with various #’s of elevators to determine how many elevators will be needed to service 95% of the passengers within 1 minute of pressing the call button. Run your elevator simulation many times, varying the #-of-elevators parameter from 1 through 8, collecting the data from each run. Combine the datasets for each value used for the #-of-elevators parameter into 1 data set. The data sets should be created as csv files with 1 set of data on each line (separate each set by a carriage-return/line-feed). You should have 1 fairly large data set for each value of the #-of-elevators (8 data sets in all) used.

 Subject Computer Due By (Pacific Time) 08/13/2014 04:00 pm
TutorRating
pallavi

Chat Now!

out of 1971 reviews
amosmm

Chat Now!

out of 766 reviews
PhyzKyd

Chat Now!

out of 1164 reviews
rajdeep77

Chat Now!

out of 721 reviews
sctys

Chat Now!

out of 1600 reviews

Chat Now!

out of 770 reviews
topnotcher

Chat Now!

out of 766 reviews
XXXIAO

Chat Now!

out of 680 reviews