System parameter, lot-size, and work-in-progress optimization in manufacturing processes : an approach based on the application of Timed Event Graphs