Text this: Discrete time analysis of batch processes in material flow systems