DISTRIBUTED GENERATION WITH ENERGY STORAGE SYSTEMS A CASE STUDY