Discrete Event Simulation Applied to a reengineering problem in a railway context