with increasing need of water for agriculture and industries, its the best option to extract pure industrial or event potable water from wastewater produced by cities or industries specificly mining industries.
there are several methods for wastewater treatments such as:
ZLD
DAF
MBR