; (B) a municipality; (C) a water district; (D) a sanitation district; or (E) any other authority that provides water, wastewater, or water reuse services. (2) Smart energy and water efficiency pilot program The terms smart energy and water efficiency pilot program and pilot program mean the pilot program established under subsection (b). (b) Smart Energy and Water Efficiency Pilot Program (1) In general The Secretary of Energy shall establish and carry out a smart energy and water efficiency pilot program in accordance with this section. (2) Purpose The purpose of the smart energy and water efficiency pilot program is to award grants to eligible entities to demonstrate advanced and innovative technology-based projects that will— (A) increase and improve the energy efficiency of water, wastewater, and water end-use and reuse systems to help communities across the United States make significant progress in conserving water, saving energy, and reducing costs; (B) support the implementation of innovative processes for energy and water efficiency and the installation of advanced automated systems that provide real-time data on energy and water; (C) improve energy and water conservation, water quality, and predictive maintenance of energy and water systems, through the use of software and communication enabled technologies, including sensors, intelligent gateways, and security embedded in hardware; or (D) support the recovery of energy, in the form of biofuels, bioproducts (including nutrient recovery), and biopower, from municipal wastewaters, biosolids, and biowastes. (3) Project selection (A) In general The Secretary of Energy shall make competitive grants under the pilot program to at least 2 eligible entities. (B) Selection criteria In selecting an eligible entity to receive a grant under the pilot program, the Secretary of Energy shall consider— (i) energy and water cost savings anticipated to result from the project; (ii) the innovative nature, commercial viability, and reliability of the technology to be used