Heat integration in batch processes including heat streams with time dependent temperature progression