The present paper describes a cycle, which may be applied in sewage treatment plants as a system to convert biological waste into process heat and electricity. In sludge stabilization processes anaerobic fermentation acts as the source of methane, which can be used then to generate heat and electric current in gas turbines. Products of high-temperature oxidation can be utilized in organic Rankine cycles to generate electric power. Waste heat is used for heating the fermenting biomass. Energy balance equations mentioned in the thesis: organic Rankine cycle, regenerative gas turbine engine, anaerobic sludge stabilization system.