A new pair of reactions to characterize imperfect macro-mixing and partial segregation in a stirred semi-batch reactor