; (2) in paragraph (6), by striking the period at the end and inserting ; and ; and (3) by adding at the end the following: (7) the research, development, and demonstration program of grid-scale energy storage systems under subsection (l) $60,000,000 for each of fiscal years 2021 through 2024. . 124. Deployment of energy storage through tax credits (a) Energy credit for energy storage technologies (1) In general Subclause (II) of section 48(a)(2)(A)(i) of the Internal Revenue Code of 1986 is amended by striking paragraph (3)(A)(i) and inserting clause (i) or (ix) of paragraph (3)(A) . (2) Energy storage technologies Subparagraph (A) of section 48(a)(3) of the Internal Revenue Code of 1986, as amended by section 121, is amended by striking or at the end of clause (vii), by adding or at the end of clause (viii), and by adding at the end the following new clause: (ix) equipment which receives, stores, and delivers energy using batteries, compressed air, pumped hydropower, hydrogen storage (including hydrolysis), thermal energy storage, regenerative fuel cells, flywheels, capacitors, superconducting magnets, or other technologies identified by the Secretary in consultation with the Secretary of Energy, and which has a capacity of not less than 5 kilowatt hours, . (3) Phaseout of credit Paragraph (6) of section 48(a) of the Internal Revenue Code of 1986 is amended— (A) by striking energy in the heading and inserting and energy storage