A method for treating a nahcolite containing subsurface formation includes removing water from a saline zone in or near the formation. The removed water is heated using a steam and electricity cogeneration facility. The heated water is provided to the nahcolite containing formation. A fluid is produced from the nahcolite containing formation. The fluid includes at least some dissolved nahcolite. At least some of the fluid is provided to the saline zone.