NOVELTY - Method of generating methane and electrical and thermal energies involves performing anaerobic conversion of biomass into biogas in separated processes of hydrolysis and methane fermentation of biomass using methane mesophile, thermophile and psychrophile bacteria, decomposing biogas into methane and carbon dioxide, and producing standard gas fuel from portion of methane and biogas.    USE - For generating methane and electrical and thermal energies for producing standard gas fuel. The fuel is used for the engine of current generator and thermogenerating cell generating electric energy and heat. The compost is used in agriculture as natural fertilizer.    ADVANTAGE - The organic waste and crushed plants are completely utilized to produce methane, electrical and thermal energy and composed. The problem of controlling the process of anaerobic conversion of biomass into biogas is solved and the chemical energy is effectively converted into electrical energy.    DETAILED DESCRIPTION - Crushed plant is mixed with water in such a proportion that the amount of dry mass in water is 20-60%, preferably 30%. The crushed organic waste initially containing less than 60% of water is mixed with water. The plant and organic waste are mixed with an organic waste containing 4-20% of dry mass in water and hydrolyzed at 20degreesC for 12-36 hours. Carbon dioxide is forced through the hydrolyzed biomass until the oxygen and nitrogen disappears in the biomass. The water content of the biomass is adjusted to 4-60%, preferably 20% by adding water and fermented using methane thermophile bacteria at 35degreesC for 48-240 hours to produce biogas. A portion of biogas is directed to a tank (I). The water content of the remaining portion is preferably adjusted to 20% and fermented using methane thermophile bacteria at 55degreesC for 48-240 hours to produce a biogas which is supplied to tank (I). In both the fermentation processes, the proportion of carbon to nitrogen in the biomass is higher than 100:3, preferably 10:1, the pH of the water mixture is 6-8, preferably 7 and its redox potential is lower than 250 mV. The rest of the biomass is composted at the same time converted into biogas using methane psychrophile bacteria, preferably at 23degreesC for 190-300 hours to produce a biomass which is supplied to tank (I).    Sulfur compounds are removed from the biogas, 20-80% of which is decomposed into methane and carbon dioxide. 5-50% of carbon dioxide accumulates in a tank under higher pressure and returned to the process of removing oxygen and nitrogen, and the remaining carbon dioxide is accumulated in gas bottles, condensed or expelled to the atmosphere. 25-75% of methane is condensed, combined with natural gas, used as fuel or transformed into other chemical compounds. The remaining methane is combined with desulfurized portion of biogas which has not been decomposed in a proportion necessary to produce a gas fuel having a constant methane number of 1044 and constant heat value of 86 kWhour/m3. 20-40% of the fuel is burnt in a burner of high temperature thermoregenerator of thermoregenerative cell and the substances of thermal resolution accumulated in the cell are returned to electrodes of the cell which generates electric energy of direct current and synthesis product. The remaining fuel is burnt in the combustion engine of current generating unit generating electric energy of variable current and heat contained in the liquid which cools the engine, and is burnt in a combustion chamber of a current generating turbo set generating electric energy of variable current and heat contained in the combustion gases emitted from gas turbine. 25-75% of the heat regained from the liquids which cools the engine and from combustion gases is delivered to thermoregenerator to the process of emitting synthesis products from the electrolyte and returning them to the thermoregenerator of high temperature cell of electrolyte. 25-75% of the heat is delivered to the processes of hydrolysis and anaerobic conversion of biomass into biogas, while the remaining heat is delivered to the heat cycle of central heating and/or for producing warm water.    An INDEPENDENT CLAIM is included for system of generating methane and electrical and thermal energies.    DESCRIPTION OF DRAWING(S) - The figure shows the process for generating methane and electrical and thermal energies.