(3) in paragraph (3), by inserting and before the date of the enactment of the Energy Policy Modernization Act of 2017 after December 31, 2009, . (b) Effective date The amendments made by this section shall apply to property purchased after the date of the enactment of this Act. 413. Extension of second generation biofuel producer credit (a) In general Clause (i) of section 40(b)(6)(J) of the Internal Revenue Code of 1986 is amended by striking January 1, 2017 and inserting January 1, 2025 . (b) Effective date The amendment made by this subsection shall apply to qualified second generation biofuel production after December 31, 2016. 414. Extension of special allowance for second generation biofuel plant property (a) In general Subparagraph (D) of section 168(l)(2) of the Internal Revenue Code of 1986 is amended to read as follows: (D) the construction of which begins before January 1, 2025. . (b) Effective date The amendment made by this section shall apply to property placed in service after December 31, 2016. 415. Extension and modification of the alternative fuel vehicle refueling property credit (a) In general Section 30C of the Internal Revenue Code of 1986 is amended— (1) by amending subsection (c) to read as follows: (c) Qualified alternative fuel vehicle refueling property For purposes of this section, the term qualified alternative fuel vehicle refueling property means any of the following: (1) A pump or blender pump that is capable of dispensing a fuel mixture that is at least 50 percent ethanol. (2) A pump or blender pump that is capable of dispensing a fuel mixture that is at least 50 percent biodiesel or renewable diesel. (3) A pump that is capable of dispensing a biofuel and petroleum blend, at least 50 percent of which is a renewable fuel (as defined in section 211(o)(1) of the Clean Air Act ( 42 U.S.C. 7545(o)(1) )). (4) A direct current electric charging station with a power rating of at least 40 kilowatts. (5) An alternating current electric charging station with a voltage rating between 208