Cogeneration is recovering the heat from an electric generator to heat a building.
Another solution: Plan to install a standalone electric power source (electric generator, solar panels or windmills).