A system for treating a hydrocarbon containing formation includes a steam
and electricity cogeneration facility. At least one injection well is
located in a first portion of the formation. The injection well provides
steam from the steam and electricity cogeneration facility to the first
portion of the formation. At least one production well is located in the
first portion of the formation. The production well in the first portion
produces first hydrocarbons. At least one electrical heater is located in
a second portion of the formation. At least one of the electrical heaters
is powered by electricity from the steam and electricity cogeneration
facility. At least one production well is located in the second portion
of the formation. The production well in the second portion produces
second hydrocarbons. The steam and electricity cogeneration facility uses
the first hydrocarbons and/or the second hydrocarbons to generate
electricity.