Distributed electricity generation