A Modelling and optimization environment for a component placement machine