The wind-solar hydrogen production system can realize the consumption of wind-solar power generation and the green production of hydrogen energy, which has a good strategic significance. Aiming at the problem of selecting the alkaline water electrolyzers standby state, an optimization strategy for energy management of wind-solar hydrogen generation system based on alkaline water electrolyzers state recognition is proposed. Firstly, the composition of hydrogen production system is determined and the system module model is established. Secondly, the absorption rate of wind-solar power generation and the profit ratio of hydrogen sales are determined as the objectives, and the constraints of system operation are determined. GA and SPEA2 algorithms were used at the same time. Then combined with the weather forecast data and power grid data, the cold or hot standby state of the electrolyzer was determined by the energy management optimization strategy. Finally, a numerical example is used to demonstrate. The results of the example show that the energy management optimization strategy can accurately identify the cold or hot standby state of alkaline water electrolyzers, and can use the cold standby state to save the system energy, reasonably distribute the power in the system, and improve the system revenue.#$NLKeywords: alkaline water electrolysis, state recognition, wind-solar hydrogen production system, energy management, the GA algorithm, the SPEA2 algorithm.