Modelling, analysis and improvement of mass and small batch production through advanced simulation tools