On the optimization of RO (Reverse Osmosis) system arrangements and their operating conditions