SMS dit: Systems analysis and optimization of an electrodialysis desalination process