Modern large buildings and public places are equipped with a plurality of elevators, exits and points of interest for fluent movement. The passenger flows in a building or public place can be traced and modelled by using statistics and information regarding current state of the modelled building or public place. The information derived from this model can be used for controlling elevators, escalators and similar in the building more efficiently. The same information may be used also for guiding passengers in the building or public place to use other transportation means so that the duration high traffic situation can be reduced or sometimes completely avoided.