microgeneration capacitymeans the capacity of plant or machinery to be used for the generation of electricity or the production of heat— a which, in generating electricity or (as the case may be) producing heat, relies wholly or mainly on a source of energy or a technology mentioned in section 26(2) (interpretation) of the Climate Change and Sustainable Energy Act 2006;