Energy Storage for Distributed Generation