NOVELTY - The waste refining method comprises feeding a municipal solid waste (MSW) to a pretreatment by separating and recovering a biodegradable fraction, feeding the biodegradable fraction to an anaerobic digestion process to produce purified biogas and a liquid reject and recovering biogas containing methane and carbon dioxide, pyrolyzing a fraction of the remaining part of the waste, which is separated a biodegradable fraction in a carbonizer to produce biocarbon and heat, and providing heat obtained from carbonizer in the treatment of the biodegradable fraction of MSW and/or biocarbon produced.    USE - The method is useful for refining municipal solid waste to produce methane using an anaerobic digestion process for the treatment of the biodegradable fraction of municipal solid waste.    ADVANTAGE - The method is capable of effectively, rapidly and economically refining the municipal solid waste with reduced energy consumption.    DETAILED DESCRIPTION - The waste refining method comprises feeding a municipal solid waste (MSW) to a pretreatment by separating and recovering a biodegradable fraction, feeding the biodegradable fraction to an anaerobic digestion process to produce purified biogas and a liquid reject and recovering the biogas containing methane and carbon dioxide, pyrolyzing a fraction of the remaining part of the waste, which is separated a biodegradable fraction in a carbonizer to produce biocarbon and heat, and providing heat obtained from the carbonizer in the treatment of the biodegradable fraction of MSW and/or the biocarbon produced and burning in a burner and the heat obtained from the burner in the treatment of the biodegradable fraction of MSW. The MSW is separated to: three different fractions containing a biodegradable fraction; a solid non-burning fraction containing metals, glass, stones and sand; and a solid recovered fuel (SRF) fraction. The SRF is pyrolyzed in the fraction. An auxiliary fuel substance is used for part of the heat production needed in the carbonizer, and consists of biomass, vegetable oil, fish oil and animal fat. The liquid reject is fed to a dewatering unit. The obtained solid humus is dried in a thermal dryer. The dried solid humus is granulated together with additional minerals to produce dry granulate to be used as a fertilizer. The heat obtained from the carbonizer is partly used in the thermal dryer, where the solid humus is further dried. The biocarbon produced in the carbonizer is partly fed to the thermal dryer together with the solid humus. The methane and carbon dioxide are separately recovered, and are liquefied. The biogas obtained from a landfill is fed to the same purification process as the biogas recovered in the biodegradable fraction.    DESCRIPTION OF DRAWING(S) - The diagram shows a schematic view of a waste refining process.