NOVELTY - Production of electricity (2) and conversion products such as ethanol (3) comprises separating starch source into starch-rich fraction (6) and residue fraction (7), heating starch-rich fraction to the gel the starch, enzymatically converting gelled starch into sugars, converting sugars into conversion products, processing conversion products from conversion medium, producing biogas from residue fraction, producing electricity and heat from biogas and/or residue fraction, and using heat produced from the steps.    USE - Method for production of electricity and conversion products such as ethanol (claimed).    ADVANTAGE - The method provides optimal use of starch source, and optimal use of heat with low economic value. The method avoid viscosity build up by gelling starch in its natural casing, eliminates or reduces the use of water to be added to control the viscosity, and requires simple devices such as tank. The method allows less energy and less investment requirement to process ethanol and other products.    DETAILED DESCRIPTION - Production of electricity (2) and conversion products such as ethanol (3) comprises separating starch source into starch-rich fraction (6) and residue fraction (7), heating starch-rich fraction to the gel the starch, releasing gelled starch from starch-rich fraction, enzymatically converting gelled starch into sugars, converting sugars into conversion products by fermentation, processing conversion products from conversion medium, producing biogas from residue fraction, producing electricity and heat from biogas and/or residue fraction using heat force coupling, and using heat produced from the first through sixth step. An INDEPENDENT CLAIM is included for electricity and conversion product producing device comprising unit for separating starch source into starch-rich fraction and residue fraction (5), unit for heating the starch-rich fraction for gelling the starch, unit(s) for enzymatic conversion of gelled starch into sugars and for conversion of sugars into conversion products by fermentation, unit for producing biogas from residue fraction, coupled heat force unit for combined production of electricity or mechanical energy and heat from residue fraction and/or biogas, unit for processing of conversion products, and unit for conveying heat from the heat force coupling unit to other unit(s) from the device.    DESCRIPTION OF DRAWING(S) - The drawing shows a flow diagram of the production of electricity and conversion products such as ethanol and electricity and conversion produce producing device.    Electricity (2)    Unit for separating starch source into starch-rich fraction and residue fraction (5)    Starch-rich fraction (6)    Residue fraction (7)    Storage unit (8)    Heating unit (10)