23 Jun 2017

LIFT AND ESCALATORS ALGORITHM

                               Lift has become a necessary commodity in apartment, malls, offices and many other places. Though there are escalators, people still prefer lifts. Of course, small scale companies cannot afford for the lifts and escalators. Whereas, the medium scale companies might prefer lifts over escalators.The large scale companies might have lifts or escalators or both. Many people have fear of leaving the legs inside the escalator. The cost of escalator is estimated to be 5 times that of the lift. But the capacity of escalator can be more than that of lift. Let us leave aside the benefits and drawbacks of each of them and have a look into the working principle.

                              The lift follows a single direction, it goes either upwards or downwards. In the initial phase it moves in upward direction and in the next phase it moves towards downwards direction. If the lift is idle, the "first come first Serve" basis would be followed. If the lift has reached the least floor, it cannot go downward. If the lift has reached the maximum floor, it cannot be moved upward. When there is no pressing done, the lift will be in idle state and reacts for the first press. Let us assume, there are five floors in the building including the ground floor. if the lift is in 1st floor and 2 requests come. one for the 2nd floor and the next for ground floor, it will move on to second floor and then from 2nd floor it goes to ground floor.

                             The vice versa happens, if the ground floor option is pressed first. It serves on first come first serve basis including shortest path algorithm. In the second scenario, let us assume that the lift is in first floor and the request comes as second floor, ground floor and then third floor, this time it moves to second floor then third floor and it comes to ground floor after third floor. There are a two maximum probabilities when we consider the escalator algorithm. First needs to be manually operated and the second one has to be automated.

                            If we take a look at the manually operated, there needs to be a person, who can switch it on, when there is a higher usage of escalator and switch it off when it is unnecessary. It consumes more power. If we take the automated escalator, the escalator switches on when it senses a person is entering near the first step of escalator, it starts to switch and moves till it senses that particular person has reached the destination. but, it continues to roll on till the first step of the person reaches two revolutions.This is just my understanding about lifts and escalator. Once, when i was travelling in metro, a confusion occured about lifts and elevators. Hence, I searched online and understood some concepts about them and have given it in my own words.

Image result for lifts and escalators

No comments:

Post a Comment

GETTING HURTED BY PEOPLE WHOM WE LOVE

As a human being, we will definitely have some kind of feeling for fellow human being.  This cannot be stopped as this is against nature ...