; and (4) in carrying out this section, the Secretary shall, to the maximum extent practicable, consult with relevant Federal agencies, including the Environmental Protection Agency. (c) Reservoir thermal energy storage The Secretary shall support a program of research, development, and demonstration of reservoir thermal energy storage, emphasizing cost-effective improvements through deep direct use engineering, design, and systems research. (d) Oil and gas technology transfer initiative (1) In general The Secretary shall support an initiative among the Office of Fossil Energy, the Office of Energy Efficiency and Renewable Energy, and the private sector to research, develop, and demonstrate relevant advanced technologies and operation techniques used in the oil and gas sector for use in geothermal energy development. (2) Priorities In carrying out paragraph (1), the Secretary shall prioritize technologies with the greatest potential to significantly increase the use and lower the cost of geothermal energy in the United States, including the cost and speed of geothermal drilling. (3) Coproduction of geothermal energy and minerals production research and development initiative (A) In general The Secretary shall carry out a research and development initiative under which the Secretary shall award grants to demonstrate the coproduction of critical minerals from geothermal resources. (B) Requirements An award made under subparagraph (A) shall— (i) improve the cost effectiveness of removing minerals from geothermal brines as part of the coproduction process; (ii) increase recovery rates of the targets mineral commodity; (iii) decrease water use and other environmental impacts, as determined by the Secretary