Text this: Parametric study and optimization of energy consumption in batch reverse osmosis for constant permeate flowrate