Episode 4: Realistic planning of machine occupancy with real-time data and maintenance