real-time capacity planning