In recent years, renewable energy has received extensive attention due to its advantages of sustainability, economy, and environmental protection. However, with the rapid development of renewable energy, the problem of curtailment is becoming increasingly serious. Studying the calculation method and establishing a quantitative evaluation system of renewable energy accommodation capacity are important means to solve this problem. This paper comprehensively considers the factors affecting the accommodation of renewable energy, establishes a accommodation calculation model with the maximum accommodation of renewable energy as the optimization target based on the time series production simulation method, and uses the hybrid particle swarm optimization (PSO) algorithm to solve it. The model is verified with historical data such as load, photovoltaic (PV), and wind power in a certain region throughout the year. The experimental results verify the rationality of the renewable-energy accommodation-capacity model proposed in this paper and the correctness of the theoretical analysis. The calculation results have important reference and guiding significance for the operation and control of power-grid planning and dispatching.