Property Section 45(e) of such Code is amended by adding at the end the following new paragraph: (12) Coordination with energy credit for qualified biogas property The term qualified facility shall not include any facility which produces electricity from gas produced by qualified biogas property (as defined in section 48(c)(5)) if a credit is determined under section 48 with respect to such property for the taxable year or any prior taxable year. . (e) Effective Date The amendments made by this section shall apply to periods after December 31, 2016, in taxable years ending after such date, under rules similar to the rules of section 48(m) of such Code (as in effect on the day before the date of the enactment of the Revenue Reconciliation Act of 1990). 4. New Clean Renewable Energy Bonds for Qualified Biogas Property and Qualified Manure Resource Recovery Property (a) In General Section 54C(d)(1) of the Internal Revenue Code of 1986 is amended by inserting , a qualified biogas property (as defined in section 48(c)(5)), or a qualified manure resource recovery property (as defined in section 48(c)(6)) before owned by . (b) Effective Date The amendment made by this section shall apply to obligations issued after the date of the enactment of this Act. 5. Study of Biogas and Nutrient Reuse (a) In General The Secretary of the Treasury shall enter into an agreement with the National Renewable Energy Laboratory to undertake a study of biogas that addresses the following: (1) The quality of biogas, including a comparison of biogas to natural gas and the identification of any components of biogas which make biogas unsuitable for injection into existing natural gas pipelines. (2) Methods for obtaining the highest energy content in biogas, including the use of co-digestion and identifying the optimal feed mixture. (3) Recommendations for the expansion of biogas production, including an analysis of the extent to which increasing the methane content of biogas would result in the greater use of biogas and an analysis of how the