TECHNOLOGY FOCUS - INSTRUMENTATION AND TESTING - Preferred Components: The device comprises a third system unit connected with the first system unit by a fourth connecting unit for feeding the heat from the third system unit to the first system unit, a third system unit is connected with the fourth system unit by a fifth connecting unit for feeding the heat from the third system unit to the fourth system unit. A fifth system unit (5) is arranged between the second system unit and the fourth system unit for phase separation. The fifth system unit is connected both with the second system unit and the fourth system unit. The fifth system unit is connected with the first system unit by a sixth connecting unit for feeding the permeate from the fifth system unit to the first system unit. The second system unit is a fermenter. The third system unit is a combined heat and power plant. The fourth system unit is a reactor.    TECHNOLOGY FOCUS - ORGANIC CHEMISTRY - Preferred Components: The ethanol is produced by at least a starch containing, sugar containing and/or cellulose containing organic substance. The vinasse before being fed into the first system unit is attached with at least a biogenic substrate. The biogas produced is methane gas, in which the methane gas is purified and dried. The energy is produced in the form of electric current or heat, in which heat is fed into the first- and the second system unit. The industrial water and biofiltrate are used during the production of the fertilizer. The cleaned and processed water amount is used as a carrier of high calorie energy to produce steam and the high calorie energy is used in the first-, second-, third- and the fourth system unit. The biomass produced from the phototrophic organisms is fed into the second system unit. The fertilizer is fed to the effective area of the soil, so that the carbon is stored for longer-time in the effective area of the soil. The energy is produced in the form of electric current and heat in the third system unit. Preferred Method: The fermentation residue is subjected to phase separation, where the water is fed into the first system unit, the dried matter which is used to produce the fertilizer is fed into the fourth system unit and the gas is fed into the fourth system unit. The water amount obtained in first-, second-, third- and fourth system unit as a by product is cleaned and processed, the ingredients obtained during cleaning and processing and from the extracted water amount is fed into the fourth system unit and cleaned and processed water amount is fed into the first- and/or second system unit. EXAMPLE - No suitable example given.