Distributed Generation Integration in the Electric Grid: Energy Storage System for Frequency Control