Method for scheduling energy storage system in micro-grid

The invention discloses a method for scheduling an energy storage system in a micro-grid. The method comprises the following steps of: discretizing the state of the energy storage system in the micro-grid; forming a target function by using the operating cost of the micro-grid in a cycle; setting output and climbing constraint conditions of a distributed power supply, power and energy constraint conditions of the energy storage system, a power balancing constraint condition of the micro-grid and the like; and designing a dynamic programming algorithm, and on the premise that the constraint conditions are met, acquiring an optimal scheduling scheme of the energy storage system. For the characteristics of the micro-grid, the energy storage system is optimally scheduled, the operating cost of the micro-grid can be reduced, the permeability of renewable energy sources is improved, and benefits of the energy storage system are maximized.