Simulation, analysis and optimization of container terminals processes