Simulation of a system of elevators in a building