A hierarchical model for novel schemes of electrodialysis desalination