Advanced process control and the optimisation of seawater desalination