The invention discloses a
speed regulator control parameter optimization method for primary
frequency modulation of a hydroelectric generating set. The method comprises the following steps: 1) constructing a primary
frequency modulation simulation model of the hydroelectric generating set; 2) keeping the given frequency f * of the parallel PID
speed regulator unchanged, setting the step change of the
measurement frequency f at the beginning of
simulation, forming frequency disturbance
delta f, operating the primary
frequency modulation simulation model of the hydroelectric generating set, and measuring an output power sequence Psim at the simulation model end of the
water turbine; 3) calculating residual squared values of the output power sequence Psim and the target power sequence Ptar, and solving a mean value of the residual squared values to obtain a
mean square error; 4) optimizing the primary frequency modulation simulation model of the hydroelectric generating set by taking the
mean square error as an objective function of primary frequency modulation optimization of the hydroelectric generating set; (5) the optimized
control parameters are substituted into the parallel PID
speed regulator simulation model, frequency disturbance
delta f which is the same as that in the step (2) is applied to the parallel PID speed
regulator simulation model again, and the output power Psim2 of the
water turbine simulation model end is measured; and 6) comparing response conditions of the output power Psim and the output power Psim2 before and after optimization.