Optimal sizing of PV and battery-based energy storage in an
A modular interface (MI) is embedded in the nanogrid for facilitating battery swapping. As given in Fig. 2, the MI integrates a group of modular batteries, bidirectional con-verters, and a battery














