Amir Dakkak Dear Achar, ...
Published by Amir Dakkak, Water Source - Founder and CEO
Amir Dakkak
Dear Achar,
Usually in Wastewater treatment plants and sewage treatment plants, the renewable energy used is the one harvested during the treatment process. Methane is produced and it's harvested and then burned in order to produce energy. This energy in turn is used to power the plant itself. For example, this is being implemented in Al-Samra wastewater treatment plant in Jordan, where 40% of the energy required to power the plant is produced through the methane harvested from the treatment process.
Solar energy is recently being used mainly on desalination plants because there is no methane produced to harvest. This is especially true in arid regions such as the Middle East and North Africa. Saudi Arabia has started projects that incorporate solar energy with desalination plants. In order to further understand this process I found these links: https://www.irena.org/DocumentDownloads/Publications/IRENA-ETSAP%20Tech%20Brief%20I12%20Water-Desalination.pdf
http://www.solarwaterenergy.net/solardesalinationplant.html
Unfortunately I could not find any details about using soalr energy to power STP but as the other comments have said UV rays have been used in the water treatment process