The Strategy of Considering the Participation of Doubly-Fed Pumped-Storage Units in Power Grid Frequency Regulation

: Facing the challenges of grid stability brought by the large-scale access of new energy to the grid, as one of the important means of frequency regulation of the grid, the doubly-fed pumped-storage units (DFPSU) have great practical signiﬁcance in the study of the joint frequency regulation strategy with the thermal power unit (TPU). In order to reduce the frequency regulation pressure on the grid caused by the large-scale entry of new energy sources, this paper proposes a joint frequency regulation strategy for the TPU and DFPSU. Based on establishing the optimal scheduling model of the system, taking into account the minimum total operating cost and the optimal time as goals, the chaotic particle swarm optimization (CPSO) is proposed to solve the model. Finally, through MATLAB simulation, the relevant examples are studied and analyzed, and the simulation results verify that the joint frequency regulation strategy in this paper can effectively improve the frequency regulation performance of the unit and the operation economy is good.


Introduction
In recent years, with the sustained development of the social economy, the electricity demand is increasing, and users' requirements for the quality and reliability of the power supply are also further improving. With the development and construction of UHV and smart grids, the large-load power supply is gradually increasing. Due to the uncertainty of the safety risk of a long-distance power supply, the large-load tripping in the region and the impact of large-capacity unit load shedding on the power grid have caused the frequency fluctuation of the power grid and the reduction of power supply reliability. To ensure the safe operation of the grid and prevent the occurrence of grid collapse accidents, the grid frequency level must be maintained. Therefore, we have to carry out joint frequency regulation research on the power system, which is of great practical significance to realize the economical distribution of unit load and meet the safe and economical operation of the power system.
As a mature traditional energy storage method, the pumped storage unit (PSU) occupies an important position in the power system with its great peak shaving ability [1][2][3]. Among them, the doubly-fed pumped storage units overcome the shortcomings of the traditional pumped storage units with non-adjustable rotational speed, and play an important role in improving the operational stability of the power grid and increasing the energy utilization rate, thus becoming one of the mainstreams of new units in pumped storage power plants nowadays. In recent years, with the global consensus to accelerate energy transformation and promote the development of renewable energy [4,5], the large-scale capacity connection of new energy units to the grid has promoted energy conservation and emission reduction work, but at the same time, it makes the stable operation and frequency control of the power system more difficult [6,7]. The sustained increase of the penetration rate of renewable energy in the power system requires that the DFPSU not only has the function of peak regulation, but also needs to have the ability to participate in the frequency regulation of the power grid. Compared with the traditional power grid, in which only the TPU participates in the system frequency regulation [8][9][10], the DFPSU participates in the grid frequency regulation, which has the advantage of automatically tracking the grid frequency changes, and can quickly smooth the grid frequency fluctuations in a short time, and adjust the frequency of the grid. The method is more flexible, the storage capacity is larger, and the environmental pollution is smaller [11,12]. Therefore, in the future, the strategy research on the participation of the DFPSU in power grid frequency regulation will receive more and more attention.
At present, most of the research on the PSU participating in system frequency regulation uses PSU as an auxiliary means and does not play a role in a large amount of energy storage. The literature [13] proposed a method for pumped storage units to participate in the system automatic power generation control and frequency regulation operation, which realized the step change of output power by changing the operation state of pumped storage units to realize the pumped storage units auxiliary thermal power units to participate in the system frequency control, but did not explain the advantages and economic benefits of pumped storage units auxiliary thermal power units to participate in the system frequency control. The literature [14][15][16] established a simulation model of the combined wind-fire-storage multi-source system in Simulink, and verified that the pumped storage unit-assisted thermal unit, which can smoothly regulate the fluctuation of wind power and stochastic power output, has a better effect on frequency control for the dynamic situation of load change. However, there are few studies on the participation of doubly-fed pumped storage units in system frequency regulation, and most of them focus on the modeling and operating characteristics of the units. The advantages of using doubly-fed pumped storage units for joint frequency control are not explained. References [17][18][19] applied the theory of field-oriented control respectively, deduced the mathematical model of the DFPSU, and verified its ability to support frequency stability through simulation. References [20,21] through the research on the droop controller strategy, compared with the traditional PSU and verified the superiority of the DFPSU in the dynamic stability of the response frequency. Although a few references have done related research on the operation control strategy of the unit [22][23][24][25], some simplify the model in the dynamic test, which makes the control effect of the unit too ideal [22]. Some focus on evaluating the performance of DFPSU on a time scale combined with physical characteristics and economic indicators [23]. The main purpose of some research control strategies is to apply the frequency regulation capability of the DFPSU to the wind power fluctuation compensation scheme [24,25]. As an important frequency regulation tool, in the future, DFPSU will be connected to the grid and combined with other grid units, such as TPU, to participate in the strategy research of system frequency regulation.
Based on the above background, because of the frequency distribution characteristics of the power grid and the inherent characteristics of frequency regulation of conventional units [26,27], this paper proposed a joint frequency regulation strategy for TPU and DFPSU, establishing an optimal scheduling model for system joint frequency regulation. Considering the output constraints of TPU, the output constraints of DFPSU, the storage capacity constraints of DFPSU, and the power balance constraints in the system, aiming at the lowest total operating cost and optimal time of the system, the CPSO is proposed to solve the model. The CPSO can jump out of the local optimal optimization process, to obtain the optimal solution. The simulation is carried out in MATLAB, and the simulation results verify that the joint frequency regulation strategy in this paper can effectively improve the frequency regulation performance of the unit and the operation economy is good.

Modeling of the TPU
The control of the AGC to the generator set is mainly completed by the coordination and cooperation of the speed regulating mechanism and the generator set controller.
In today's power grid operation, the control mode of TPU is mainly adjusted by decentralized regulation. Its main function is to collect data, and after analyzing the collected data, quickly feedback the analysis results to the control center for adjustment and use by the control center. It can also control the start of the unit, adjust the rotor speed, monitor the state of the furnace to ensure safe production, and control the trip of the steam turbine. The speed regulation system of thermal power units is composed of a prime mover, a generator, a load, and a governor. The mathematical model is as follows.
Depending on the speed deviation, the following equation can be obtained: Taking the Lagrangian transformation of the above formula, the following equation can be obtained: The load model can be expressed as.
where ∆P L is the power change of the non-frequency sensitive equipment; δ∆ω is the power change of the frequency sensitive equipment; δ is the ratio of the percentage of load change to the percentage of frequency change. The prime mover model, taking the reheat steam turbine as an example, can be expressed as: The output of the governor ∆P g is the difference between the set power ∆P re f and the power ∆ω R , which can be expressed as: where ∆ω R is given by the governor characteristics. The frequency-domain relationship can be expressed as: In summary, the frequency control model of the thermal power generating unit is shown in the Figure 1. A summary explanation of the variables is presented in Table 1.

Modeling of the DFPSU
The DFPSU overcomes the shortcomings of the traditional constant-speed PSU that the rotational speed cannot be adjusted, and has higher a stability and better operating performance.
where is given by the governor characteristics. The frequency-domain relationship can be expressed as: In summary, the frequency control model of the thermal power generating unit is shown in the Figure 1. A summary explanation of the variables is presented in Table 1. Figure 1. Frequency control system model of the TPU. The traditional PSU uses a synchronous motor as a generator motor, and the constant rotational speed limits the unit's operating capacity and operating efficiency. However, because the DFPSU adopts the doubly-fed motor as the generator motor, the unit can use the excitation power on the rotor side of the motor to adjust the frequency, amplitude, and phase of the rotor voltage and current, thus realizing the adjustable speed. The principal structure is shown in Figure 2.

Modeling of the DFPSU
The DFPSU overcomes the shortcomings of the traditional constant-speed PSU that the rotational speed cannot be adjusted, and has higher a stability and better operating performance.
The traditional PSU uses a synchronous motor as a generator motor, and the constant rotational speed limits the unit's operating capacity and operating efficiency. However, because the DFPSU adopts the doubly-fed motor as the generator motor, the unit can use the excitation power on the rotor side of the motor to adjust the frequency, amplitude, and phase of the rotor voltage and current, thus realizing the adjustable speed. The principal structure is shown in Figure 2. The operating states of the DFPSU can generally be summarized as static, power generation, and pumping. However, the output power of the DFPSU is limited due to the characteristic of the turbine to avoid the vibration-heavy operating area, so the operating state of the DFPSU cannot be adjusted at will. When the DFPSU is in the power generation condition, the operating characteristics of the hydroelectric unit are not much different, so it can be treated similarly. Within a limited range, the system frequency can be controlled by receiving an AGC signal adjustment command. When the DFPSU is in the pumping mode, the output power can be changed by switching the operating state to a static state, so that the frequency of the system can be controlled by the generated power change, solving the problem that the output power cannot be adjusted freely. When the DFPSU stops working, it can be regarded as the output state of unit 0, and the system frequency can be controlled by the power change generated by switching the working mode. There are at most 6 possible transition paths between the 3 operating states. Path 1 is from the stationary state to the power generation state; Path 2 is from the power generation state to the stationary state; Path 3 is from the stationary state to the pumping state; Path 4 is from the pumping state to the stationary state; Path 5 is from the power generation state to the pumping state and Path 6 is from the pumping state to the power generation state, as shown in Figure 3. The operating states of the DFPSU can generally be summarized as static, power generation, and pumping. However, the output power of the DFPSU is limited due to the characteristic of the turbine to avoid the vibration-heavy operating area, so the operating state of the DFPSU cannot be adjusted at will. When the DFPSU is in the power generation condition, the operating characteristics of the hydroelectric unit are not much different, so it can be treated similarly. Within a limited range, the system frequency can be controlled by receiving an AGC signal adjustment command. When the DFPSU is in the pumping mode, the output power can be changed by switching the operating state to a static state, so that the frequency of the system can be controlled by the generated power change, solving the problem that the output power cannot be adjusted freely. When the DFPSU stops working, it can be regarded as the output state of unit 0, and the system frequency can be controlled by the power change generated by switching the working mode. There are at most 6 possible transition paths between the 3 operating states. Path 1 is from the stationary state to the power generation state; Path 2 is from the power generation state to the stationary state; Path 3 is from the stationary state to the pumping state; Path 4 is from the pumping state to the stationary state; Path 5 is from the power generation state to the pumping state and Path 6 is from the pumping state to the power generation state, as shown in Figure 3. The probability characteristics of different switching paths are different. A mathematical model is developed for the power characteristics of the switching states for each operating condition, as shown in the formula following.
where represents the starting time of the working state switching, · is the number of AGC delay steps from the time of receiving the command until the output power starts to change.
, take P when the DFPSU is in the motor state. , take G when it is in the generator state, and take O when it is in the static state. · is the number of AGC delay steps required to change the output power when the DFPSU switches to operating conditions. The output power of the unit when it is in the state of The probability characteristics of different switching paths are different. A mathematical model is developed for the power characteristics of the switching states for each operating condition, as shown in the formula following.
where σ t represents the starting time of the working state switching, M is the number of AGC delay steps from the time of receiving the command until the output power starts to change. N 1 , N 2 take P when the DFPSU is in the motor state. N 1 , N 2 take G when it is the number of AGC delay steps required to change the output power when the DFPSU switches to operating conditions. The output power of the unit when it is in the state of the motor is P p . The maximum power and the minimum power when it is in the state of the generator is expressed by P gmax and P gmin .
The mathematical model of the governor can be expressed as: where T g is the time constant of the turbine governor. The mathematical model of the turbine can be expressed as: where T w is the time constant of the hydro-generator.
Due to the existence of the water hammer effect, it is often necessary to add a water hammer compensation link to the governor model to ensure the stability of the turbine. The mathematical expression of the water hammer compensation link is: The compensator parameters Based on empiricism, the reset time parameter T R and the transient slope coefficient R T are defined as follows: where M represents the inertia of the unit. In summary, the frequency control model of the DFPSU is shown in Figure 4. A summary explanation of the variables is presented in Table 2. the motor is . The maximum power and the minimum power when it is in the state of the generator is expressed by and . The mathematical model of the governor can be expressed as: where is the time constant of the turbine governor. The mathematical model of the turbine can be expressed as: where is the time constant of the hydro-generator. Due to the existence of the water hammer effect, it is often necessary to add a water hammer compensation link to the governor model to ensure the stability of the turbine. The mathematical expression of the water hammer compensation link is: The compensator parameters = , = ( / ) . Based on empiricism, the reset time parameter and the transient slope coefficient are defined as follows: where M represents the inertia of the unit. In summary, the frequency control model of the DFPSU is shown in Figure 4. A summary explanation of the variables is presented in Table 2.   The system model connecting multiple TPU and multiple hydropower units through tie lines is shown in Figure 5:

System Model of the TPU and DFPSU
The system model connecting multiple TPU and multiple hydropower units through tie lines is shown in Figure 5:  Figure 5. Joint frequency regulation control system diagram.

Optimal Dispatching Model for Joint Frequency Regulation of the TPU and DFPSU
3.2.1. Constraints 1. The upper and lower limits of the output of TPU can be expressed as: where and are the upper and lower output limits of unit i, respectively, and n is the number of TPU.
2. The upper and lower limits of the output of PSU can be expressed as: where and are the upper and lower limits of the output of the DFPSU j, respectively, and m is the number of the DFPSU.

The storage capacity constraint of the DFPSU is
where 、 represent the average hydro-power conversion rate under the condition of power generation and pumping, respectively, = Δ /Δ ; , , are the initial water capacity, the minimum water capacity, and the maximum water capacity of the upper reservoir of the DFPSU; is the power generation of the DFPSU; is the pumprated power. 4. The power balance constraint in the system is The upper and lower limits of the output of TPU can be expressed as: where P himax and P himin are the upper and lower output limits of unit i, respectively, and n is the number of TPU.

2.
The upper and lower limits of the output of PSU can be expressed as: where P wjmax and P wjmin are the upper and lower limits of the output of the DFPSU j, respectively, and m is the number of the DFPSU. 3.
The storage capacity constraint of the DFPSU is where η t , η p represent the average hydro-power conversion rate under the condition of power generation and pumping, respectively, η = ∆C/∆P; C 0 , C min , C max are the initial water capacity, the minimum water capacity, and the maximum water capacity of the upper reservoir of the DFPSU; P wT is the power generation of the DFPSU; P wP is the pump-rated power.

4.
The power balance constraint in the system is where Φ j = {−1, 0, 1} indicates the state of the DFPSU. When it is 0, it means that the unit is in the static state; when it is 1, it means that the unit is in the power generation state, and when it is -1, it means that the unit is in the pumping condition; S i , S j are the state of the TPU and the DFPSU in the adjustment. When the output exceeds the upper limit of the unit or is lower than the lower limit of the unit, the corresponding unit does not participate in the AGC adjustment, at this time S i = 0, S j = 0; otherwise, S i = 1, S j = 1.

Objective Function
The objective function of the system is the lowest overall operating cost and the optimal time of the system: where ACE i is the output of unit i, in MW; i is the serial number of TPU, n is the number of TPU; f (P hi ) represents the coal consumption corresponding to the output of TPU i, which f (P hi ) = a i P hi 2 + b i P hi + c i , a i , b i , c i are the characteristic parameters of operating consumption; and S i is the state of the unit. When the output exceeds the upper limit of the unit or is lower than the lower limit of the unit, the corresponding unit does not participate in the AGC adjustment, at this time S i = 0; otherwise, S i = 1.

MinT(ACE
The total amount of regional control deviation in the system at a certain time is ACE all , the current regulation amount carried by each AGC unit is ACE nowi , the regulation rate of each unit is V i , N is the sum of all AGC units, N = m + n: n is the thermal power AGC unit number, m is the number of DFPSU. Economic goals: MinF = ∑ i∈n S i f i (P hi ) The weighted summation of economic goals and time goals is used to convert the multiobjective problem into a single-objective problem to solve. The expression is as follows: where W is the time weight, that is, the importance ratio of the time-based optimization allocation in the whole objective, which shows the importance of the power grid to the time optimization. By changing the value of W, the flexible transformation of economic indicators and time indicators of the interconnected system can be realized, which is highly maneuverable and has important practical significance.

Principle of the PSO
The PSO has been widely used in many engineering practices [28]. Its main idea is to learn from the behavior of bird groups to share information in the process of predation, to realize the optimal way for themselves and the group to find the target. The principle of the conventional particle swarm algorithm is as follows: Set the total number of n particles, calculate in the D-dimensional space, set the coordinate of particle i as X i = (X i1 , X i2 , X i3 , . . . , X iD ), the moving speed of particle i as . . , V iD ), the optimal position found by the particle after one iteration is S besti = (S i1 , S i2 , S i3 , . . . S iD ). The optimal position of the entire particle swarm after iteration is S bestg = S g1 , S g2 , S g3 , . . . , S gD .
The relationship between the position and velocity of particles after each iteration is calculated as follows: where S i represents the optimal position of particle i in the iterative process, S g represents the optimal position found by the entire population, α 1 and α 2 are the acceleration coefficient, w is the inertia coefficient, β 1 , β 2 are random quantities equally distributed between 0 and 1. Among them, w represents the influence of the current particle speed by the previous particle speed, also known as inertia weight. The value of w directly affects the ability of the PSO algorithm for global and local optimization. When the value of w is too large, the PSO algorithm will be more inclined to improve the ability of global optimization, while the ability of local optimization will be weakened; when the value of w is too small, the PSO algorithm will be more inclined to improve the ability of local optimization, while reducing the ability of global optimization.

Principle of the CPSO 4.2.1. Chaos Variables
Chaos is a random state of motion obtained from a deterministic equation, which is a more common phenomenon in nonlinear systems with complex and random behavior. Chaotic systems have the following characteristics: Pseudo-randomness: Chaotic variables have the random properties of some random sequence on the surface, but at the same time can be predetermined; Ergodicity: Chaotic variables can be ergodic over all points in the space, which means that the values of chaotic variables are absolutely unique in the evolution process; Regularity: Chaotic variables have certain internal correlations within them, which are obtained by mapping the determined iterative equations, such as the logistic mapping used in this paper; Sensitivity to initial values: Two initial values with small differences can produce two completely different chaotic systems, because chaotic mapping is done based on iterations, and each iteration amplifies the error between initial values, so reasonable initial values are especially important for chaotic iterations.
In order to make the PSO algorithm avoid premature and have good global search ability, this paper uses a chaotic optimization algorithm to improve the diversity of particles according to the advantages and disadvantages of the particle swarm algorithm, so that the PSO algorithm can obtain better diversity and global ergodicity in the initial state. With the help of the randomness and ergodicity of chaotic variables, it is possible to variate the particle search results in the particle search process, and then improve the distribution of particles, so that the algorithm can jump out of the local optimal search process.
The function of the chaotic variable in this paper is: where X t is the state of the current particle, X t+1 is the state of the particle after chaotic processing and λ is the control parameter.

The CPSO Algorithm Flow
The calculation process of the CPSO is as follows: 1. Initialize parameters, initialize particle position: initialize the population size (N), particle dimension (D), acceleration coefficient (α 1 , α 2 ) and other parameters of the particle swarm.

2.
Calculate the fitness of particles: Calculate and evaluate the fitness of the objective function and the fitness of the constraint function of each particle to obtain the individual optimal value A best and the global optimal value Z best . 3.
Update the velocity and position of the particle: the calculation formula is as described above.

4.
The chaotic variable processing is performed on the updated particle state, and the formula is as follows: where t is the current number of iterations; s ij (t) is the particle state after chaotic variable processing; u ij (t) is obtained from the above formula; γ(t) is the control parameter, and the calculation formula is as follows: where t max is the maximum number of iterations; k is a constant.

5.
End condition judgment: judge whether the particle target value converges or whether it reaches the maximum number of iterations, otherwise go to step 2 to continue the optimization.

Flow of Joint Frequency Modulation Algorithm Based on the CPSO
Based on the above contents, the flow chart of the joint frequency modulation algorithm based on the CPSO is proposed in this paper, as shown in Figure 6.

1
When initializing parameters, initialize the particle position, set the particle scale to 20, the maximum number of iterations T max = 300, and the acceleration coefficient α 1 and α 2 are 2, position the current evolutionary algebra at t = 1, define S D randomly generated X i = (X i1 , X i2 , X i3 , . . . , X iD ) particles in the space, and form the most initial population X(t). The initial displacement of each randomly generated particle changes The population X(t), the objective function fitness values and constraint function fitness values in each dimension are evaluated and calculated. 3 Compare the target value with its own optimal value, if the current target value is better than its own optimal value, replace its own optimal value with the current target value, and also update the current position in the D-dimensional space synchronously. The global optimal value of the population is compared with the current target value, and if the current target value is better than the global optimal value, the global optimal value is replaced with the current target value of the particle. 4 Assign values to the new position and velocity formulas after introducing chaotic perturbations, and update the coordinate values of the particles in each dimension simultaneously to create a new population, denoted by the X(t + 1) denote. 5 Judging whether the particle target value converges or not; in general, the PSO optimization search process only stops when the difference between the target value and the optimal value is less than the precision ε or when the maximum number of iterations is exceeded, otherwise, t = t + 1 and return to step 2 to continue the optimization search.
whether it reaches the maximum number of iterations, otherwise go to step 2 to continue the optimization.

Flow of Joint Frequency Modulation Algorithm Based on the CPSO
Based on the above contents, the flow chart of the joint frequency modulation algorithm based on the CPSO is proposed in this paper, as shown in Figure 6.

Comparison of Simulation Results between PSO Algorithm and Chaotic PSO Algorithm
As shown in Figure 7, it can be compared that the CPSO algorithm has a smoother convergence process compared to the conventional PSO algorithm, and it is less likely to fall into local optimum and has better convergence performance. When initializing parameters, initialize the particle position, set the particle scale to 20, the maximum number of iterations = 300, and the acceleration coefficient are 2, position the current evolutionary algebra at t = 1, define randomly generated = ( ， ， ，. . . ， ) particles in the space, and form the most initial population X(t). The initial displacement of each randomly generated particle changes = ( ， ， ，. . . ， ) to form a displacement transformation matrix ( ). The population X(t), the objective function fitness values and constraint function fitness values in each dimension are evaluated and calculated. 3 Compare the target value with its own optimal value, if the current target value is better than its own optimal value, replace its own optimal value with the current target value, and also update the current position in the D-dimensional space synchronously. The global optimal value of the population is compared with the current target value, and if the current target value is better than the global optimal value, the global optimal value is replaced with the current target value of the particle. 4 Assign values to the new position and velocity formulas after introducing chaotic perturbations, and update the coordinate values of the particles in each dimension simultaneously to create a new population, denoted by the X(t + 1) denote. 5 Judging whether the particle target value converges or not; in general, the PSO optimization search process only stops when the difference between the target value and the optimal value is less than the precision ε or when the maximum number of iterations is exceeded, otherwise, t = t + 1 and return to step 2 to continue the optimization search.

Comparison of Simulation Results between PSO Algorithm and Chaotic PSO Algorithm
As shown in Figure 7, it can be compared that the CPSO algorithm has a smoother convergence process compared to the conventional PSO algorithm, and it is less likely to fall into local optimum and has better convergence performance.

Case Analysis
This paper establishes an optimization model aiming at the minimum system operating cost and the optimal time. The model is solved under the MATLAB2018b platform. The computer parameters are Intel Core i5-8400 CPU@2.80 GHz, 8 GB memory.

Basic Data
Given and assigned to 5 TPU to form 1 TPU and 5 DFPSU to form a hydropower plant, Ai is the adjustment amount to be allocated to each unit, and the relevant data characteristic parameters are shown in Tables 3 and 4.

Case Analysis
This paper establishes an optimization model aiming at the minimum system operating cost and the optimal time. The model is solved under the MATLAB2018b platform. The computer parameters are Intel Core i5-8400 CPU@2.80 GHz, 8 GB memory.

Basic Data
Given ACE all and assigned to 5 TPU to form 1 TPU and 5 DFPSU to form a hydropower plant, A i is the adjustment amount to be allocated to each unit, and the relevant data characteristic parameters are shown in Tables 3 and 4.

Simulation Results and Analysis
The simulation results of the dynamic characteristics of the unit are shown in the following Figures 8-11

Simulation Results and Analysis
The simulation results of the dynamic characteristics of the unit are shown in the following Figures 8-11:       As shown in Figures 8-11, when a separate TPU is frequency-regulated, the overshoot is large and the adjustment time is long when the time weight W takes a small value, and the overshoot is small and the adjustment time is short when the time weight W takes a large value. When the DFPSU participates in the frequency regulation system, the area control deviation (ACE) amount of the adjustment undertaken by the TPU decreases, the ACE adjustment amount undertaken by the DFPSU increases, and the overall adjustment speed of the system slows down when the time weight W takes a small value. The ACE amount of the adjustment undertaken by the TPU increases, the ACE adjustment amount undertaken by the DFPSU decreases, and the overall adjustment speed of the system is accelerated when the time weight W takes a larger value. As shown in Figures 6 and 9, the adjustment time when W = 1 is faster than the adjustment period when W = 0 and the deviation can be adjusted to zero more quickly. When W = 0, the overshoot is larger and the adjustment time is longer. When W = 1, the system adjustment time is accelerated without considering the coal consumption factor, but due to the larger time weight, the system oscillates slightly and eventually converges to zero.
To sum up, both the frequency regulation system which the DFPSU participates in and the independent TPU finally converge to zero, but the frequency-regulation system which the DFPSU participates in can converge to zero more quickly, and the rise time and adjustment time are higher than those of the independent TPU, and the dynamic characteristics are relatively good. As shown in Figures 8-11, the TPU cannot quickly and stably adjust the ACE signal, but when the DFPSU participates in the frequency regulation system, although the overshoot is relatively large, the convergence is stable and the dynamic response is relatively better. Moreover, when the time weight W takes a small value, the regional control deviation borne by the TPU is relatively reduced, and the regional control deviation borne by the DFPSU is relatively increased, so the overall adjustment speed of the system becomes slower. The introduction of the W value has a strong practical application value for the formulation of the unit load distribution plan. Conversely, when the time weight W value increases, the distribution of TPU increases and the distribution of DFPSU decreases. That is, the adjustment input on the thermal power side increases, and the adjustment input on the hydropower side decreases. The total adjustment time of the system becomes faster, and the adjustment time is relatively short. Therefore, the combined regulation system of the DFPSU and the TPU has a good regulation ability to the grid disturbance.

Conclusions
Aiming at the research on the strategy of the DFPSU participating in the frequency regulation of the power grid, based on the analysis of the DFPSU participating in the frequency regulation of the system, this paper proposes a joint frequency regulation strategy of the TPU and the DFPSU. The optimal scheduling model of the system is proposed, the lowest total operating cost and optimal time are considered as the goals, and the CPSO is introduced to solve the model to obtain the optimal solution. The simulation results show that the joint frequency regulation strategy can effectively improve the frequency regulation performance of the unit and the operation economy is good.
(1) Taking into account the challenges to grid stability posed by the large-scale entry of new energy sources into the grid, the joint frequency regulation strategy of doubly-fed pumped storage units and thermal power units is proposed, providing a new control strategy for maintaining grid frequency stability. (2) In this study, the problem of working condition changes of pumped storage units is involved, and the dynamic characteristics of hydro units when performing working conditions change are thoroughly studied, and mathematical models are established for six switching paths to improve the accuracy of hydro units in the simulation. (3) The chaotic PSO algorithm proposed for the shortcomings of the conventional PSO algorithm is summarized. The simulation results show that the improved PSO algorithm has a better convergence performance.
(4) An optimal system scheduling model is established, and the model is solved considering the lowest total system operating cost and optimal time as the objectives.
The simulation results show that the joint frequency regulation strategy is of great significance for the improvement of the unit frequency regulation performance.