Title: Optimization of a multistage reverse osmosis desalination system based on the plug flow model for the bulk flow in the membrane unit