NOVELTY - Device (1) comprises: a pyrolysis device (3) for obtaining a process gas from biomass; a block type thermal power station (11) for the production of heat energy and/or electrical energy from at least one part of the process gas; and a separator, which is adapted to separate methane from the process gas, where the device is adapted to supply remaining residual gas to the block type thermal power station for energy generation after separation of methane from the process gas.    USE - The device is useful for: producing energy from biomass; recovering a process gas from biomass by pyrolysis- or gasification device, and for recovering heat energy and electrical energy; storing the separated methane and/or supplying the separated methane into a methane supply system; compressing the biomass; conveying the biomass into and through a reactor of the pyrolysis device; negatively pressurizing the reactor; supplying water or steam into the reactor; supplying heat indirectly for allothermal gasification the biomass; discharging pyrolysis- and gasification residues, preferably carbon particles from the reactor; separating of pyrolysis- or gasification residues, preferably carbon particles from the process gas, which is produced by the pyrolysis- or gasification device; collecting the pyrolysis- or gasification residues separated by the filter elements; separating of the process gas condensate from the process gas; cooling of process gas obtained from the pyrolysis- or gasification device in the direction of the filtering device; removing heat energy and providing for storage or use; rinsing the process gas using vegetable oil; recycling the process-gas condensate separated from the pyrolysis device; collecting and removing the pyrolysis- or gasification residues, preferably carbon particles, which are driven out of the reactor; collecting the pyrolysis- or gasification residues separated by the filtering device; selectively applying adsorption filter units to adsorb low molecular weight components of process gas supplied to the separator at positive pressure; providing the adsorption filter unit for releasing the previously adsorbed low molecular weight components of the process gas, which are supplied to the separator at negative pressure; removing the non-adsorbed portion of the process gas from the separator; removing the low molecular weight components of the process gas as a residual gas; and carrying out methanation of the residual gas and/or the process gas by using catalyst (all claimed).    ADVANTAGE - The device: ensures an improved utilization of biomass; provides adaptable plant design; and improves the process quality.    DETAILED DESCRIPTION - An INDEPENDENT CLAIM is also included for using the device for producing energy from biomass, preferably for recovering a process gas from biomass by pyrolysis- or gasification device, and for recovering heat energy and electrical energy from at least one part of the process gas by block type thermal power station, by separating methane obtained from the process gas using separator, and supplying a residual gas remaining after the separation of methane from the process gas to block type thermal power station for energy production.    DESCRIPTION OF DRAWING(S) - The figure shows a schematic representation of the device.    Device (1)    Pyrolysis device (3)    Reactor (4)    Filtering device (5)    Block type thermal power station (11)