; (5) promote enhanced cooperation among Federal and State agencies, including cooperation in sensing, surveying, compilation, analysis, modeling, presentation, and interactive updating of data sets to improve data quality and usability; and (6) develop the energy-water nexus database to integrate with other open data systems where appropriate. (d) Authorization of Appropriations There are authorized to be appropriated to carry out this section $20,000,000 for each of fiscal years 2018 through 2027. 1113. Energy-water nexus technology R&D program Section 979 of the Energy Policy Act of 2005 ( 42 U.S.C. 16319 ) is amended— (1) in subsection (b)— (A) in paragraph (2), by striking ; and and inserting and brine-management technologies; ; (B) in paragraph (3), by striking demand. and inserting demand; and ; and (C) by adding at the end the following new paragraphs: (4) technologies related to the energy-water nexus (as such term is defined in section 1111(c) of the Water and Energy Sustainability through Technology Act ) that lessen demand on energy and water systems, including by— (A) optimizing the freshwater efficiency of energy production, electricity generation, and end use technologies; (B) optimizing the energy efficiency of water management, treatment, distribution, and end use technologies; (C) enhancing the reliability and resilience of energy and water technologies; (D) increasing safe and productive use of nontraditional water sources through improved technology; (E) promoting responsible energy operations with respect to water quality, ecosystem, and seismic impacts; (F) utilizing efficient synergies among water and energy system technologies; and (G) recovering energy in the form of biofuels, bioproducts, and biopower from municipal and industrial wastewaters, and similar organic streams. ; (2) by redesignating subsections (d), (e), and (f) as subsections (e), (f), and (g), respectively