A method and apparatus for steam cracking hydrocarbons, which method
consists in heating a mixture of hydrocarbons and steam to a desired
temperature that is high enough to crack the hydrocarbons and transform
them into olefins, the source of energy needed for heating the mixture is
supplied essentially by cogeneration using combustion of a fuel to
produce simultaneously both heat energy and mechanical work which is
transformed into electricity by an alternator, and wherein the mixture is
initially subjected to preheating using the heat energy supplied by the
cogeneration and is subsequently heated to the desired cracking
temperature by means of electrical heating using the electricity supplied
by the cogeneration.