An energy storage application suitable for a comprehensive operating environment. On the power supply side, energy storage is used in combination with scenarios such as consumption of abandoned power, assessment of two detailed rules, and electricity derivative market. On the user side, energy storage takes into consideration such factors as time-of-use electricity prices and demand-side response. On the grid side, energy storage can participate in the spot market and ancillary services. Based on our intelligent AI algorithm, different recharging and discharging strategies are formulated to ensure the economical use of energy storage.