To ensure the efficient allocation and management of new energy storage on the grid side and to reduce the waste of resources and environmental risks caused by decision-making errors, this paper presents an in-depth study on the optimal allocation model of new energy storage on the grid. . To ensure the efficient allocation and management of new energy storage on the grid side and to reduce the waste of resources and environmental risks caused by decision-making errors, this paper presents an in-depth study on the optimal allocation model of new energy storage on the grid. . To address the challenges posed to the secure and reliable operation of the power grid under the “dual-carbon” goals, an optimal planning and investment return analysis method for grid-side energy storage system (GSESS) is proposed, with multi-dimensional grid security requirements being. . To ensure the efficient allocation and management of new energy storage on the grid side and to reduce the waste of resources and environmental risks caused by decision-making errors, this paper presents an in-depth study on the optimal allocation model of new energy storage on the grid side. . This paper proposes a method for optimal allocation of grid-side energy storage considering static security, which is based on stochastic power flow analysis under semi-invariant method. Firstly,according to the load, wind power and photovoltaic probability model, a system stochastic power flow. . Grid-side energy storage is transforming how power grids operate, offering a flexible solution to balance supply and demand, enhance stability, and integrate renewable sources. As the push for cleaner energy accelerates, understanding how these systems function becomes crucial for stakeholders. . With renewables projected to supply 48% of global electricity by 2025, grid operators are scrambling to manage solar and wind's inherent variability. Last month alone, California curtailed 1. 2 TWh of renewable energy due to grid instability—enough to power 100,000 homes for a year.