; and (ii) on a million-British-thermal-unit basis, uses not less than 80 percent of the total annual aggregate net output of electric energy and useful thermal energy of the qualifying small power production facility for onsite industrial, commercial, or institutional purposes, rather than for sale. . (e) Recognition of State or local determinations Section 210(m) of the Public Utility Regulatory Policies Act of 1978 ( 16 U.S.C. 824a–3(m) ) (as amended by subsection (d)) is amended by adding at the end the following: (9) State or local determination Effective beginning on the date of enactment of this paragraph, no electric utility shall be required to enter into a new contract or obligation to purchase electric energy under this section from a qualifying small power production facility that is not a qualifying small power production facility described in paragraph (8)(B), if the appropriate State regulatory agency or non-regulated electric utility determines that— (A) the electric utility has no need to purchase electric energy from the qualifying small power production facility in the quantities offered within the timeframe proposed by the qualifying small power production facility to meet any obligation to serve a customer, consistent with the needs for electric energy and the timeframe for those needs, as specified in the integrated resource plan of, or other applicable demonstration of need by, the electric utility