; and (2) in subparagraph (A), by striking that— and all that follows through the period at the end of clause (ii) and inserting the following: “that produces usable energy from a renewable energy source. (B) Inclusions The term renewable energy system includes— (i) distribution components necessary to move energy produced by a renewable energy system to the initial point of sale; and (ii) other components and ancillary infrastructure of a renewable energy system, such as a storage system. . (b) Funding Section 9007(g) of the Farm Security and Rural Investment Act of 2002 ( 7 U.S.C. 8107(g) ) is amended— (1) in paragraph (1), by striking expended— and all that follows through the period at the end and inserting expended, $150,000,000 for each of fiscal years 2018 through 2023. ; (2) in paragraph (3), by striking $20,000,000 for each of fiscal years 2014 through 2018 and inserting $50,000,000 for each of fiscal years 2018 through 2023 ; and (3) by adding at the end the following: (4) Allocation of funding For each fiscal year, not more than 30 percent of amounts made available to carry out this section may be used for— (A) any 1 form of renewable energy described in subparagraphs (A) and (B) of section 9001(15); or (B) technologies to improve the efficiency of energy usage. . 6. Biomass research and development Section 9008(h) of the Farm Security and Rural Investment Act of 2002 ( 7 U.S.C. 8108(h) ) is amended— (1) in paragraph (1), by striking expended— and all that follows through the period at the end and inserting expended, $20,000,000 for each of fiscal years 2019 through 2023. ; and (2) in paragraph (2), by striking 2018 and inserting 2023 . 7. Feedstock Flexibility Program for Bioenergy Producers Section 9010(b) of the Farm Security and Rural Investment Act of 2002 ( 7 U.S.C. 8110(b) ) is amended— (1) in paragraph (1)(A), by striking 2018 and inserting 2023