Sustainable Energy Solutions For Water Purification Applications: Municipal And Industrial Case Studies