The energy storage system plays an important role in the utilization of renewable energy. However, traditional battery energy storage is faced with the disadvantages of short life and low power density. The hybrid energy storage system is established by combining the energy storage characteristics of ultra-capacitor and battery. Study two kinds of energy storage element to charge and discharge management strategy, with full life cycle cost of energy storage device as the optimization goal, set up comprehensive indexes such as power, capacity constraints as constraint conditions of constraint model, this paper proposes a hybrid energy storage system capacity based on genetic algorithm optimization configuration method and is verified by an example.