I. Introduction
In Recent years, distributed power generation based on renewable energy sources (RESs), such as photovoltaic (PV) and wind power, has been growing rapidly due to the attention given to environmental pollution [1], [2]. However, the intermittency of RESs leads to a mismatch between power generation and demand in the power system. Therefore, in order to maintain reliable operation, it requires the ESSs to achieve peak shaving and valley filling [3], [4], [5]. Microgrid, as a small-scale power system that integrates RESs, ESSs, and loads, has been widely studied [6], [7]. In particularly, DC microgrid can directly connect the DC sources, ESSs and DC load without DC-AC converters, and, compared to AC microgrid, there are no issues with harmonics, phase synchronization, reactive power, and frequency. Thus, the application of ESSs in DC microgrids has attracted widespread attention [8], [9].