This study addresses the challenges of short and long-term power fluctuations in grid planning by establishing a composite energy storage model that considers both hydrogen energy storage and electrochemical energy storage. The paper presents a grid planning model incorporating load storage, facilitating peak shaving, and supporting operations across various time scales. The proposed model is solved using an enhanced Firefly algorithm, and case studies demonstrate the method's effectiveness in reducing overall costs and enhancing operational performance.