; by (BB) 0.82; less (ii) the product obtained by multiplying— (I) the number of megawatt-hours of electric energy generated by the qualified combined heat and power system that are consumed onsite during such calendar year; by (II) the average of the minimum percentage of zero-emission electricity (as defined in section 202(a)(5)) for the calendar year for retail electricity suppliers in the region of the generator, as determined by the Secretary. (B) Additional credits In addition to zero-emission electricity credits issued under subparagraph (A), the Secretary shall issue to a generator described in subparagraph (A) zero-emission electricity credits for greenhouse gas emissions avoided as a result of the use of the applicable qualified combined heat and power system, rather than a separate thermal source, to meet the thermal needs of the generator or one or more additional entities. (C) Applicability This paragraph shall not apply with respect to a qualified combined heat and power system using qualified renewable biomass. (2) Qualified renewable biomass The Secretary shall issue to a generator generating zero-emission electricity during a calendar year using qualified renewable biomass a quantity of zero-emission electricity credits for such generation that is equal to the product obtained by multiplying— (A) the qualified electricity generation of the generator using qualified renewable biomass during such calendar year; by (B) the average carbon intensity of the generating units of the generator that use qualified renewable biomass. (3) Qualified waste-to-energy The Secretary shall issue to a generator generating zero-emission electricity during a calendar year that is qualified waste-to-energy a quantity of zero-emission electricity credits for such generation that is equal to the product obtained by multiplying— (A) the qualified waste-to-energy of the generator that is qualified electricity generation during such calendar year