Blue energy recovery to increase water sustainability in wastewater treatment plants supporting SDG 6. Sustainable alternatives for water remediation in coastal wastewater treatment plants is discussed as well as the Influence of the main components and variables of a reverse electrodialysis stack.