The modular energy storage system (ESS) can decouple the production of energy from its consumption to meet consumption needs. By using the potential of renewable energy to charge batteries, it is more efficient to integrate these intermittent sources into the power grid.