NOVELTY - Treatment of wastewater sludge involves anaerobic digestion of wastewater sludge; disposing the treated wastewater sludge as a Class A biosolid; capturing methane gas released during anaerobic digestion; converting the methane gas into an energy source; utilizing the energy source to meet energy requirements associated with Class A biosolid processing; capturing heat from machinery emissions; and utilizing the heat to meet the heating requirements associated with Class A biosolid processing.    USE - For treating wastewater sludge (claimed).    ADVANTAGE - The method is energy efficient and environmentally safe. The method reduces the high energy costs associated with Class A biosolid production by utilizing methane byproducts as a renewable energy supply and converts sewage sludge to electricity with improved efficiency over conventional methods. Biogases including methane produced during sewage detoxification are collected and cleansed of impurities. After cleansing, the gas is used as fuel for electrical generation equipment such as natural gas generators or gas micro turbines. These machines generate electricity that can be utilized to meet the energy requirements for equipment used in wastewater treatment process.    DETAILED DESCRIPTION - Treatment of wastewater sludge involves anaerobic digestion of wastewater sludge; disposing the treated wastewater sludge as a Class A biosolid; capturing methane gas released during anaerobic digestion; converting the methane gas into an energy source; utilizing the energy source to meet energy requirements associated with Class A biosolid processing; capturing heat from machinery emissions; and utilizing the heat to meet the heating requirements associated with Class A biosolid processing. Converting methane to an energy source involves removing contaminates (e.g. siloxane or hydrogen sulfide (H2S)) associated with the methane; and combusting purified methane to produce electricity. The captured heat is used to dry treated wastewater sludge.    An INDEPENDENT CLAIM is included for integrated energy consumption and energy production for the treatment of wastewater sludge involves anaerobic digestion at thermophilic conditions; anaerobic digestion at mesophilic conditions permitting release of methane gas; disposing the treated wastewater sludge as a Class A biosolid; capturing and converting the methane gas to an energy source; utilizing the energy source to meet the energy requirements associated with Class A biosolid processing; capturing heat from machinery emissions; and utilizing the heat to meet the heating requirements associated with Class A biosolid processing.    DESCRIPTION OF DRAWING(S) - The figure shows a schematic diagram of integrated biomass to energy wastewater treatment process.