Singapore has invested a lot of tech into this as the Malaysia keeps fucking with their water supply. 
<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;NEWater" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;NEWater</a>