The existing model of electrolyzer hydrogen production ignores the start-stop control and excess heat utilization of multiple electrolyzers in the system, which leads to low efficiency of electrolyzer hydrogen production and high start-stop cost in the actual process, and the capacity allocation of the whole electric-heat-hydrogen integrated energy system (EHIES) cannot be optimized. Therefore, this paper puts forward a three-stage start-stop control strategy to improve the efficiency of hydrogen production and reduce the actual cost. Meanwhile, this paper calculates the excess heat generated during hydrogen production by combining the start-stop status of the electrolyzer and makes comprehensive use of it, and establishes an optimal capacity allocation model for the EHIES considering the start-stop characteristics of multiple electrolyzers with the objective of minimizing the cost of each type of system on a typical day. The effectiveness of the proposed method is verified by the simulation of arithmetic cases, which is compared with the traditional IES optimization allocation model.