Skip to main content

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

Comments

Popular posts from this blog

GIRLY FIGHTS

                        It is also known as cat fights. Many times I have come across certain different fights that happen in the world. To be specific, I always like to witness the fights that happen between two girls. Girly fights does not mean, two men fighting for some girl. It simply means, two girls fighting for a silly reason. The main fight comes when two girls who consider themselves as equally important, out of which one gets the importance and the other one does not get the required importance. The fights happen in a very childish manner. They would never wanted to accept their defeat or mistake.                          These fights might happen without any reason at some cases. when we expect the fight to be over, it might continue. There won't be much worthiness of such a fight to happen. In other cases, we might consider a fight to prolong a long...

OVER CAUTIOUS

              One Kind of behavior that should not be possessed by all is over-cautious. It is good to be cautious, but over cautiousness limits the expansion of ones freedom. There would be a lot of restrictions that will be levied on the person when they feel him to be over-cautious. Being overcautious might result in minimizing the error, but there is never a assurance that the error will never happen at all. Definitely, the person needs to get some leverage in doing their works. These people are certainly having some kind of disorder that is know as overcautious disorder.                We can take example from the cricket scenario, we are playing a test match and our team is playing to draw the test match and we have all the wickets in hand and fifth day of the match and around 400 runs to win on the final day, which is herculean task and never happened on the fifth day. All the batsmen's intention would ...

MISTAKES

                     Every people in and around the world are committing mistakes. No one in the world can say that they have never committed mistakes. Mistakes help us to realize the wrong things and they provide us chances to correct ourselves. It is always easier to blame others for the wrong things that happen and very difficult to accept the mistakes committed by us.                      One should understand that mistakes happen unknowingly, we should not commit mistakes knowingly. suppose, if we have already committed some mistakes, we should try not to repeat it. We should not keep on feeling for the past mistakes. We should ensure that the same mistake is not being repeated and steps necessary to overcome these mistakes are on par. Mistakes cannot be given sizes as large and extra large. Their impact can be different, but mistakes are mistakes.      ...