A Timed Event Graph Approach for Management and Control of Manufacturing Systems