The modular energy storage system (ESS) can decouple energy production from consumption in order to better meet consumption needs. By using energy storage to harness the potential of renewable energy to charge batteries, it becomes more efficient in terms of UPS battery monitoring and maintenance to integrate these intermittent sources into the power grid.