Distributed energy generation and sustainable development