Text this: Formulation of mathematical modelling for the design of maximum water recovery (MWR)