Small and smart: Distributed generation and the smart grid