NOVELTY - Operating a plant for producing energy, comprises converting the carbonaceous mass, preferably biomass in at least one single-stage gasification process with the production of thermal energy into a combustible gas, where coke is formed as an intermediate product, and the combustible gas is partially converted into electrical energy. A part of the coke is converted into gas to produce energy and the other part of the coke is removed from the process and temporarily stored.    USE - The method is useful for operating a plant for producing energy.    ADVANTAGE - The method efficiently removes coke, thus it improves energy balance of the plant, and utilizes dry forestry biomass, which is energy efficient and ensures the balance of carbonaceous mass.    DETAILED DESCRIPTION - INDEPENDENT CLAIMS are also included for:    (1) reducing annually accruing exhaust emissions during the process of energy production from carbonaceous mass, preferably biomass, where an energy-processed intermediate product is formed which is utilized for the production of thermal and electrical energy. The necessary part of the energetically processed intermediate product is used during periods of lower heat consumption for the generation of electrical energy such that the remaining part of the energetically processed intermediate product is removed in the energy generating process and temporarily stored as energy storage;    (2) a plant for energy production, comprising at least one material inlet (1) for carbonaceous mass, preferably biomass, at least one device for generating thermal energy, and at least one apparatus for generating electrical energy (8), and at least one material outlet (9) provided for an energetically processed intermediate product in the region of at least one device for generating thermal energy, which opens into an intermediate bearing;    (3) producing calorific value storage, preferably pellets, comprising pressing pellets with the coke under the addition of other substances, where removed coke is used for gasification process of carbonaceous mass, preferably biomass; and    (4) a calorific value storage, preferably pellet, comprising coke removed from a gasification process of carbonaceous mass, preferably biomass.    DESCRIPTION OF DRAWING(S) - The figure shows a schematic representation of the plant for producing energy.    Material inlet (1)    Dryer (2)    Gasification unit (5)    Electrical energy (8)    Material outlet (9)