With the increasing global demand for low-carbon, safe, and efficient energy supply systems, the development of Integrated Energy Systems (IES) has attracted widespread attention in the energy field in recent years. In this context, the theoretical research and methodological exploration of Energy Storage Systems (ESS), as a key component within the IES framework, have become particularly important. This article proposes an innovative method for rational allocation of energy storage capacity and selection of appropriate energy storage types in IES. This method comprehensively considers the power characteristics, energy characteristics, and economic factors of different energy storage media, and constructs an integrated joint optimization model based on Non dominated Sorting Genetic Algorithm II (NSGA-II). On this basis, the influence of discharge depth on the capacity degradation of ESS is analyzed, and an energy storage cycle life model is established. This model aims to optimize the entire lifecycle cost and carbon emissions of IES, thereby effectively guiding power allocation. By comparing and analyzing four different energy storage configuration schemes, the research results have verified the effectiveness of this method in achieving economic and environmentally friendly optimization, as well as extending the service life of ESS.