Desalination plants and sewage treatment plants