Energy Storage for Microgrids and Community-Based Power Plants