Analysis of Control Characteristics and Design of Control System Based on Internal Parameters in Doubly Fed Variable-Speed Pumped Storage Unit

In this paper, the control strategies and their characteristics when applied to the doubly-fed variable-speed pumped storage unit in generatingmode and pumpmode are discussed.(e composition of doubly fed variable-speed pumped storage unit is introduced, and the mathematical model of every component is proposed. Two control strategies of the unit are introduced. One is the power priority control strategy and the other is the speed priority control strategy. (en, the control block diagrams of the two control strategies in the generating mode and the pump mode are established, and the parameters of the unit in each control strategy are designed. (e two control strategies are simulated in power generation and pumping conditions. Finally, the conclusion that power priority strategy has a better effect on power control is obtained.


Introduction
With the large-scale development of renewable energy generation, such as wind power and photovoltaic energy [1,2], the balance of the power system is facing great challenges.
e power handling capability of the energy storage system is utilized to achieve balance in the power system, thereby ensuring the safe and stable operation of the power system, which has become an important breakthrough for the current sustainable development of the power grid [3]. Pumped-storage power stations have functions such as peak regulation, vacancies compensation, frequency regulation, phase regulation, and accident standby. It can be used to smooth the output of renewable energy on a large scale [4], which has great significance to solve the problem of safe and stable operation of the power grid caused by the large-scale development of new energy sources such as wind power [5]. e realization of variable speed pumped storage is one of the most important advances in this field in recent decades. Compared with the traditional fixed-speed unit, variable-speed pumped-storage unit can adjust the unit's speed according to the change of head and flow in the generating mode and the pump mode, so that the unit is always at optimal efficiency speed which can improve unit operating efficiency [6]. Besides, high-speed decoupling control of active power and reactive power can be realized. Variable-speed pumped-storage unit can better adapt to different operating heads, which also can improve the hydraulic performance of pump turbine; reduce vibration, cavitation, and sand wear; expand the operating range; and improve unit stability [7][8][9][10]. At present, there are two main realization forms of variable-speed pumped-storage units, which includes DFVSPS (doubly fed variable-speed pumped storage) and direct-drive variable-speed pumped storage [11,12]. And, the technology of DFVSPS is widely used. e research content of the DFVSPS unit is extensive at present. For example, the compensation effect of DFVSPS units on output fluctuations of renewable energy generation such as wind power and photovoltaic energy is studied in literature [13,14]. Some literatures have studied the converters and power electronics of the DFVSPS unit [15][16][17]. In addition, some literatures have studied the characteristics of the doubly fed variable-speed pumped-storage unit in the event of a failure [18,19]. e DFVSPS unit is a huge system, including pump turbine, doubly fed induction motor (DFIM), inverter, control system, etc. It will also cause many problems when it is applied to the power system, so there is still much to be thought about in the research of DFSPS unit.
For the research on the control characteristics of the DFVSPS unit, a large amount of literature focused on the realization of power decoupling control of the DFVSPS unit, mainly by establishing the mathematical model of each part of the unit, such as pump turbine, DFIM, and control system, then establishing a simulation program of the unit in the simulation software. After the unit enters the steady state, the control part of the rotor side converter is superimposed with the increase and decrease instruction of active power and reactive power, and whether the stator side power of the DFIM can track the change of instructions is observed [20,21]. ese studies mainly investigate whether the DFVSPS unit can respond to the superimposed power increase and decrease commands when it is operating in a steady state. e different response parameters and control methods in the power response process have not been analyzed in detail, and the effect of unit internal parameters on control characteristics has not been considered.
e overall methods to control the DFVSPS unit include power priority control strategy and speed priority control strategy. For the applicable working conditions to each control strategy, there is less relevant literature and no indepth research has been conducted. ere have been some research findings on pumped storage control. eir control strategy is not comprehensive and considers too few working conditions. e research content has little practical significance. erefore, it is necessary to study the pumped storage energy control system more deeply [22]. Power priority control strategy was adopted in the generating mode and the pump mode of the No. 4 unit of the Ohkawachi Power Station in Japan [23]. In the literature [24], the control characteristics of the two control strategies in the generating mode were simulated and studied. e characteristics of each control strategy were described. e research is not carried out from the level of the unit control system. us, it is necessary to conduct in-depth research in the control characteristics of each control strategy.
is paper focuses on the control strategies and characteristics of the DFVSPS unit. Based on the unit internal parameters and control system, the characteristics of the DFVSPS unit are studied in depth. And, the follow-up research on the application of the DFVSPS unit in the power system is prepared. e second section of this paper introduces the composition, mathematical model, and control strategy of a DFVSPS unit. e third section mainly studies the influence of the internal parameters on the control characteristics of the unit. e fourth section analyzes and designs the control parameters of the unit according to the control system. e control characteristics of the two strategies in the generating and pump mode are compared, and the applicable conditions for each control strategy are obtained in the fifth section. e full text is summarized and relevant conclusions are drawn in the last section of this paper.

Unit Composition, Mathematical Model of
Each Part, and Control Strategy e unit compositions and methods section should contain sufficient detail so that all procedures can be repeated. It may be divided into headed subsections if several methods are described.
e structure of the DFVSPS unit is shown in Figure 1, which is composed of the DFIM, pump turbine, and the converter and control system. e stator of the DFIM is connected to the grid, and the rotor side of the DFIM is connected to the grid through a converter. e control system includes a pumpturbine regulation system and a rotor side converter excitation control system.
In Figure 1, P m is the mechanical power; P s , Q s are the active and reactive power of the DFIG stator side, respectively; P r , Q r are the active and reactive power of the DFIG rotor side, respectively; P c , Q c are the active and reactive power from the grid to the converter, respectively; and P g , Q g are the active and reactive power from the DFVSPS unit to the grid, respectively.

Mathematical Model of DFIM.
In actual operation, the electromechanical energy conversion of the DFIM is mainly accomplished by a fundamental magnetic field. e general motor control also takes the magnetic flux, voltage, and current of the fundamental wave as the basis of motor control. In ideal conditions, the DFIM mathematical model in the three-phase rotating coordinate system is a highorder, nonlinear, time-varying, and strongly coupled system. So it is difficult to analyze and control the motor in ideal conditions. So, we convert the mathematical model from the three-phase rotating coordinate system to the two-phase rotating coordinate system through the coordinate transformations, and then the vector control strategy is used to analyze and control. In this paper, the stator voltage-oriented vector control strategy is adopted.
e Voltage equation and Flux equation of the mathematical model of the DFIM in the two-phase rotating coordinate system is shown in literature [25].
Electromagnetic torque equation: where p n is the number of poles. Motion equation: where ω m is the speed of the DFIM; J is rotational inertia of the DFIM; and B m is the friction coefficient of the DFIM.

Mathematical Model of the Pump Turbine.
Pump turbine is one of the important devices of the DFVSPS power station, which rotates in the positive direction in the turbine mode and in the reverse direction in the pump mode. Accurate model of the pump turbine is the basis for the study of unit control characteristics. However, due to the complex structure of the pump turbine, frequent changes of operating conditions during operation, the complex internal flow fields, water hammer, influence of cavitation erosion, and so on, , there is still no model that can fully characterize the operation characteristics of pump turbine. is is despite studies on this phenomenon by many scholars at home and abroad. e mathematical model of the pump turbine is generally expressed by the relationship among the mechanical torque T m , the flow rate Q, the guide vane opening y, the water head H, and the speed n. At present, the universal model of the pump turbine is the full characteristic curve obtained through the model test. e full characteristic curve of the pump turbine is shown in literature [26]. e full characteristic curve can describe the characteristics of the pump turbine in various operating conditions, but it needs to be obtained by the model test. So, it is difficult to obtain the data, and the amount of calculation during interpolation calculation is large, which causes great difficulties in the research and analysis of the entire variable speed pumped storage unit. erefore, this paper divides the pump turbine model into two parts as the model in the turbine mode and the model in the pump mode.

Pump Turbine Model in the Turbine Mode.
In the turbine mode, the unit operates within the rated speed range, excluding the S zone caused by the runaway speed. e conventional turbine model can be used to replace the pump turbine model in the turbine mode [27]. In this paper, the simplified analytical nonlinear model proposed by the IEEE Working Group in 1992 [28] is adopted. According to the full characteristic curve of the pump turbine, the speed has little influence on the flow characteristics of pump turbine in low-speed zone, so ignore the impact. e model can be expressed by the following formula: where P m is the mechanical power, q nl is the no-load flow rate, and A t is the ratio of ideal guide vane opening to the actual guide vane opening. e rigid water theory is used in the water diversion system, which can be derived as shown in the following formula: where T w is the time constant of water flow inertia. Considering that this paper mainly analyzes the control characteristics of the pump turbine running near the rated operating condition, the simplified nonlinear model is linearized at the rated operating point and the Laplace domain transformation is carried out to obtain the ideal pump turbine model in the rated operating condition as the following formula:

Pump Turbine in the Pump Mode.
In the pump mode, when the unit is operating near the rated operating condition, the guide vane opening is large, and the full characteristic curves of the pump turbine seriously overlap. So, the guide vane opening has little effect on the flow of the pump turbine. At this time, there is a cubic relationship between the mechanical power of the pump turbine and its speed [29]. According to the pump affinity characteristics, the pump turbine model in the pump mode can be expressed as follows:  Complexity 3 where subscript 1, 2 indicate working points at two different speeds.

Excitation System and the Pump Turbine Adjustment System
2.3.1. Excitation System. e excitation system of the DFIM is composed of AC (alternating current)-DC (direct current)-AC converter. e grid-side converter is connected to the power grid through an excitation transformer and its main control objective is to maintain the DC bus voltage. e machine-side converter is connected to the rotor side of the DFIM, which mainly accomplishes the control to the active power, reactive power, and electromagnetic torque of the DFIM. e topology structure and control method of the machine-side converter and grid-side converter are shown in Figure 2.

Pump Turbine Adjustment System.
e structure of the adjustment system of the pump turbine is shown in Figure 3. In this paper, a classic PI controller is adopted as the governor. e function of the electrohydraulic servo system is to convert the electrical signal of the governor into a mechanical signal for output, thereby controlling the guide vane opening. e common servo system is AC servo motor/ electrohydraulic actuator servo system, whose structure is shown in Figure 4. After the nonlinear links such as saturation limiting of a servomotor, dead zone, and gap nonlinearity are ignored, the servo system can be simplified to the following formula:where y pi is the output of the guide vane opening of the governor; y is the output of the guide vane opening of the servo system; and y 1 is the output of the guide vane opening of the AC servo mechanism. ere is a dead zone of governor output and a saturation limiting of main servomotor. T y 1 is the AC servo mechanism response time constant; T y is the main servomotor time constant. In this paper, T y 1 � 0.07 and T y � 1.
2.4. Control Strategy of the DFVSPS Unit. e traditional fixed-speed pumped storage unit can only operate at a synchronous speed. e unit cannot run at its optimal speed in the turbine mode, resulting in low efficiency and cavitation erosion, and its mechanical power cannot be adjusted in the pump mode. e DFVSPS unit can realize variable speed operation within a certain range by using DFIM and AC-DC-AC converter excitation system, which can improve the operation efficiency of the unit and realize the power regulation in the pump mode.
ere are two adjustable variables of the DFVSPS unit, namely, the unit speed and the unit power. e two adjustable variables can be adjusted, respectively, by the pump turbine adjustment system and the DFIM excitation system. erefore, the unit has two control strategies, namely, power priority control strategy and speed priority control strategy.

Power Priority Control Strategy.
e DFIM excitation adjustment system belongs to the electrical system, which adjusts quickly. e adjustment system of the pump-turbine guide vane opening realizes adjustment through a hydraulic system and a mechanical system, which adjusts slowly. erefore, the strategy by which the power of the unit is adjusted in the DFIM excitation system, and the speed of the unit is regulated by the pump-turbine guide vane opening adjustment system, is the power priority control strategy. In this strategy, when the unit power reference value changes, the excitation system responds quickly, and the unit power quickly tracks the reference value. At the same time, the optimal speed calculation link calculates the optimal efficiency corresponding speed according to the full characteristic curve of the pump turbine, and transmits it to the guide vane opening adjustment system to achieve the control of the unit speed. e control strategy diagram of the power priority control strategy is shown in Figure 5 [30].

Speed Priority Control Strategy.
Correspondingly, in the speed priority control strategy, the unit speed is controlled by the excitation system, and the unit power is controlled by the adjustment system of the guide vane opening. In this control strategy, when the power reference value of the unit changes, the speed corresponding to the optimal efficiency is calculated by the optimal speed calculation link firstly with the full characteristic curve of the pump turbine and the power reference value. e unit speed is adjusted by the excitation system. In the meantime, the unit power is regulated by the guide vane opening adjustment system according to the power reference value to make it stable near the reference value. e control strategy diagram of speed priority control strategy is shown in Figure 6 [30].

Analysis of the Influence of Unit Internal Parameters on Control Characteristics
According to the control strategy diagrams of the two control strategies, it can be found that the control characteristics of the unit are related to the parameters of the pump turbine (the water flow inertia time constant T w , the selection of the speed range, the selection of the flying speed, etc.), the parameters of the DFIM (selection of inductance resistance parameters, selection of moment of inertia, etc.), 4 Complexity the control parameters of the pump turbine adjustment system, and the control parameters of excitation control system. e influence of the unit's own parameters (the parameters of the pump turbine and the parameters of the DFIM) on the control characteristics is firstly analyzed in this section, and the unit's parameters are designed. is section takes the analysis of the influence of the unit's parameters on the control characteristics as an example, when the power priority control strategy is used in the generating mode. e analysis of other conditions is similar to this, so this article will not repeat them. According to the control strategy diagram and the mathematical model of the unit, the block diagram of the power priority control strategy is shown in Figure 7, which is adopted in the generating mode.

Analysis of the Influence of Pump Turbine Parameters on
Control Characteristics 3.1.1. Water Flow Inertia Time Constant T w . T w represents the time required for the water flow in the water diversion pipeline to increase from zero to the rated flow Q r when the head is rated head H r , which represents the water flow inertia in the water passing pipeline. e derivation of the T w calculation is in the literature [31]. e formula is as follows: Among them: S is the cross-sectional area of each section of the pipeline, m 2 ; L is the corresponding length of each section of the overwater pipe, m; v is the corresponding flow rate in each section of the passage, m/s; Q r is the rated flow rate of the turbine, m 3 /s; H r is the rated head, m; g is the gravitational acceleration, m/s 2 ; T w 's unit is second. e T w is related to the design of the water diversion system of the hydropower station. Generally, the larger the value of T w , the greater the flow inertia, the greater the water hammer effect, the worse the stability, the greater the overshoot, the longer the adjustment time, so that the quality of the adjustment process deteriorates. e analysis is shown as follows. After analysis, this paper takes T w � 0.5 s. Figure 8 shows the zero-pole variation of the closed-loop transfer function of the rotational speed closed-loop when the water flow inertia time constant T w changes. When T w changes, there is always a zero point in the right half plane. Changing of T w will change the position of the zero point in the right half plane, but a negative regulation will always be generated. e size of the negative regulation is affected by the change of the T w . When other parameters are unchanged and the value of T w is small, the conjugate pole is in the left half plane. As T w increases, it transitions to the right half plane. erefore, the larger T w means the greater fluctuation of the speed closed-loop response and the more difficult to stabilize.
As shown in Figure 9, when other parameters of the control system remain unchanged and the water flow inertia time constant T w changes, the power instruction increases Active power, (frequency), reactive power (AC voltage) control    Complexity 5 by 20 MW and the unit transmits the active power P g to the power grid. It can be seen that the larger the T w setting, the more obvious the power fluctuation and the longer adjustment time during the same adjustment process.

Range of Speed.
For a pump turbine, the output of the pump turbine has a great relationship with the adjustable range of the speed of the pump turbine. After determining the adjustable range of the speed of the pump turbine, the output range will be determined according to the full characteristic curve of the pump turbine. e speed adjustment range of DFVSPS units is generally ±4% to ±10% according to the capacity of pumped storage power stations, which is mainly limited by the capacity of the converter.

Runaway Speed.
It refers to the sudden drop of load due to unit failure during operation of the hydro-generator. e output power of the generator is zero. At this time, if the structure of the hydroturbine governor fails or the water guiding mechanism cannot be closed, the speed of the Head PI 2 Figure 6: Control strategy diagram of the speed priority control strategy.  6 Complexity hydro-turbine rises rapidly. e maximum speed that the unit can reach is called the runaway speed of the pump turbine.
When the load of the pumped storage unit is adjusted, the rotation speed of the shaft will fluctuate due to the difference between the output power of the pump turbine and the electromagnetic power of the DFIM. erefore, it is necessary to study whether the speed will exceed the upper limit of the unit speed or is lower than the lower limit of the unit speed.

Flywheel Torque GD 2 .
Flywheel torque is the product of the weight of the rotating part of the generator and the square of its inertia diameter. GD 2 indicates the ability of the rotating part of the unit to maintain the original motion state when there is a large disturbance in the power system, which directly affects the speed increase rate of the generator during load rejection and the operation stability of the generator when the system load changes suddenly. It also has a great impact on the transient process and dynamic stability of the power system. e larger the GD 2 , the smaller the unit speed change rate and the higher the system stability. However, when the GD 2 is too large, the unit weight increases and the cost increases. Figure 10 shows the impact of the rotary inertia on the speed increase during load shedding when other parameters are unchanged. Figure 11 shows the variation of the pole-zero diagram of the speed closed-loop transfer function when the rotary inertia J of the unit changes. It can be found that when the rotary inertia is small, the conjugate pole is located in the right half-plane and the speed closed-loop is unstable. As the rotary inertia increases, the conjugate pole transitions to the left half-plane and the speed closed-loop is stable. So we take the intermediate value of the value range of J in Figure 10, J � 4,000,000 kg m 2 in this paper.
In this paper, other parameters of the unit are selected as follows. Rated power, 300 MW; rated voltage, 18 kV; rated frequency, 50 Hz; pole pair number, 12; and friction factor B m is ignored.

Control Parameter Design of the Unit Control System
After the parameters of the pump turbine and DFIM are given, the control characteristics of the unit are directly related to the parameters in different control strategies. erefore, control parameters in different strategies need to be designed to achieve the optimal effect, including the control parameters of the pump turbine adjustment system and the excitation system. e general method to design parameters of the control system is as follows.
(1) Determine the value range of the parameters in the control system for the stability of the system; (2) Determine the steady-state error of the system and further determine the value range of the parameters of the control system ( e main discussion is the steady-state error of the system with the unit step input R (s) � 1/s); (3) Determine the parameters based on the response of the control system to the step input signal (Select the parameter with the best effect according to the overshoot amount and adjustment time of the output waveform of the control system).

Power Priority Control
Strategy. e control block diagram when the power priority control strategy is adopted in the generating mode is shown in Figure 8. Among them, standard values are used when the pump turbine regulating system is involved in calculation, and the actual value is used in the rest part. P base and n base are the reference values of power and speed, respectively, and their values take the rated values. e control parameters include the parameters of the DFIM excitation system and the pump-turbine adjustment system. By observing the block diagram, it can be found that the power control closed loop is a separate closed loop, which has nothing to do with the speed closed loop. e speed control closed loop is coupled with the power closed loop, which is affected by the power closed loop.

(1) Control Parameters Design for DFIM Excitation Control
System. e power control closed loop is shown in Figure 12.
Let k 2 � − 3U s L m /2L s , then the open-loop transfer function of the power control closed-loop is shown in the following formula: Closed-loop transfer function is shown in the following formula: Generally, the switching frequency of the PWM link is 2 kHz-10 kHz, so the effect of the time constant T s can be When PI parameters are not less than zero, the active power control closed-loop is stable.
(ii) Steady-State Characteristics of the Control Closed-Loop When k p 2 is not zero and k i 2 is not zero, the system is a no-deviation adjustment.

(iii) Step Signal Response of the Control Closed-Loop.
According to References [32] and [33], large pumped storage units are required to have the ability to increase or decrease the load by 10 MW per second. erefore, the design of the PI regulator parameters of the excitation system should be able to track the change of the command value within about 1s, and the overshoot is relatively small. According to the regulation of response time, when k p 1 � 0.00005 and k i 1 � 0.0005, the active power control closed-loop has a better response characteristic to the step signal, and its response waveform is shown in Figure 13.
(2) Control Parameters Design for the Pump Turbine Adjustment System. e pump turbine adjustment system is located in the speed control closed-loop. erefore, the design of its parameters needs to analyze the speed control closed-loop. At this time, the power control closed-loop is a disturbance in the speed control closed-loop. e linearized block diagram of the speed control closed-loop is shown in Figure 14.Also, Open-loop transfer function of the speed control closedloop is shown in the following formula: Closed-loop transfer function of the speed control closed-loop is shown in the following formula: e active power control closed-loop is used as disturbance input to the speed control closed-loop. e closed-loop transfer function of the disturbance is shown in the following formula: G T e (s) · s 0.07s 2 + s + 1 1 + 0.5T W s s 0.07s 2 + s + 1 1 + 0.5T W s Js + B + P m 0 /ω 2  (15) and (16). It can be seen that the transfer function of the speed control closed-loop is very complex, and its characteristic equation is a five-order function, as shown in formula (18). It is difficult to directly obtain the range of control parameters that meet the stability requirements. erefore, the influence of the control parameters on the zero-pole diagram of the closed-loop transfer function is firstly analyzed, and the Complexity 9 influence law between the control parameters and the stability of the control closed-loop is summarized. en, the value range of the control parameters is approximately determined. e analysis is as follows: Figure 15 shows the change of the zero-pole diagram of the closed-loop transfer function when k p 2 changes but k i 2 remains unchanged. When k p 2 increases, there is a zero point in the right-half plane of the closed-loop transfer function, so the response of speed control closed-loop will have a negative adjustment. e poles of the right half plane change from a pair of conjugate poles to no right half plane poles and then to a pair of right half plane poles. erefore, when the k i 2 is unchanged and k p 2 takes a certain value in the middle, the closed-loop speed will be stable. In other words, beyond this range, it will be unstable. Figure 16 shows the change of the zero-pole diagram of the closed-loop transfer function when k i 2 changes and k p 2 remains unchanged. Similar to the change of k p 2 , there is a zero point in the right half plane in this case, and k i 2 does not affect the position of the zero point. For convenience of observation, the zero point is not considered, the poles far from the right half plane are also not considered, and only the influence of k i 2 on the position of the conjugate pole is considered.
rough observation, when other parameters are unchanged, and k i 2 gradually increases, the conjugate pole gradually enters the right half plane. So, when k i 2 is less than a certain value, the speed control closed-loop is stable.
According to the above rules about the influence of control parameters on stability and the response of the speed control closed-loop to the step signal, the approximate range of control parameters that meet the stability requirements is given, as shown in the shaded part of Figure 17.

(ii) Steady-State Characteristics of the Speed Control Closed-Loop.
e steady-state error of speed control closed-loop with step input is shown in the following formula: Δi rd + - Figure 10 Complexity It can be obtained that when parameter k i 2 is not zero, the system can realize a no-deviation adjustment for the step input. e effect of the active power control closed-loop on steady-state error can be expressed by the following formula: When k i 1 and k i 2 are not equal to zero, the adjustment of the system is a no-deviation adjustment. erefore, considering the abovementioned effects on the steady-state error of the system, the parameter k i 2 cannot be set to zero.

(iii) Step Signal Response of the Speed Control Closed-Loop.
e requirement of the pump turbine regulation system of the speed control closed-loop on the response of step signal generally requires that the speed control closed-loop can track the speed instruction, achieve stability within 20 seconds or so, and the overshoot should not be too large. (

a) Analysis of the Influence of the Control Parameters on the Overshoot and the Adjustment Time When the Speed Is
Adjusted, . e change of overshoot and adjustment time with different k p 2 and k i 2 are shown in Figure 18. Judging from the two figures, it can be found that the overshoot does not decrease when the k p 2 increases, and the adjustment time does not decrease when the k i 2 increases. e transfer function has a pair of conjugate poles. When the parameters k p 2 and k i 2 increase, the fluctuations increase, which will increase the overshoot and the adjustment time. erefore, selecting parameters k p 2 and k i 2 within a reasonable range will make the overshoot and adjustment time smaller.
According to the setting requirements for adjustment time and overshoot, k p 2 � 3 and k i 2 � 0.55 are a set of reasonable values. At this time, the step signal response and the Bode diagram of the open-loop transfer function are shown in Figure 19. Observing the Bode diagram, the phase margin is between 40 and 50°, and the amplitude margin is about 10. (

b) Analysis of the Magnitude of the Speed Fluctuation Caused by the Adjustment of the Power Control Closed-Loop
When the Speed Is Not Adjusted. Figure 20 shows the     12 Complexity Figure 21 shows that the maximum speed fluctuation caused by the stator-side power adjustment when k p 2 changes to k i 2 remains unchanged. It can be found that the larger the parameter k p 2 , the better the suppression effect on the speed fluctuation caused by the stator side power adjustment; the larger the amount of power adjusted on the stator side, the greater the fluctuation of the speed.
In summary, when the speed is adjusted, the optimal PI parameters are k p 2 � 3 and k i 2 � 0.55; when keeping the speed command unchanged, considering the speed fluctuation caused by the power adjustment on the stator side, it is found that the larger the parameter k p 2 , the better the suppression effect. erefore, we need to make a compromise, taking k p 2 � 4 and k i 2 � 0.55. Figure 7 shows the overall structure when the speed priority control strategy is adopted in the generating mode. Combined with the mathematical model of each part of the DFVSPS unit, the overall structure of the DFVSPS unit with speed priority control strategy can be simplified into the control block diagram shown in Figure 22.

Speed Priority Control Strategy.
When the speed priority control strategy is adopted in the generating mode, the control parameter design method is the same as that in the power priority control strategy. In this paper, the analysis results are given directly without further details. e block diagram of the control closed loop (i.e., mechanical power control closed loop) where the pump turbine control system is located is shown in Figure 23. e open-loop and closed-loop transfer function of the mechanical power control closed-loop are shown in e control parameters k p 2 and k i 2 that make the mechanical power control closed-loop stable are obtained in the same way as the power priority control strategy, as shown in Figure 24.
Among them, when the control parameters k p 2 and k i 2 do not take zero, the mechanical power control closed loop is a no-deviation adjustment. e linearized block diagram of the excitation system control closed-loop (i.e., speed control closed-loop) is shown in Figure 25. e open-loop transfer function, closed-loop transfer function, and the transfer function of the disturbance to the output of the speed control closed-loop are shown in formulas (23)- (25). Where, G Pm (s) is the closed-loop transfer function of the mechanical power control closed-loop.

Complexity 13
Same as the power priority control strategy, ignoring the effects of the PWM link and nondominant poles caused by changes of the magnetic flux, the values of the control parameters k p 1 and k i 1 that stabilize the excitation system are shown in formula (26). Here, k 1 � 3p n L m U s /2L s ω s .
Among them, when the parameter k i 1 is not zero, the control closed-loop is a no-deviation adjustment, and the disturbance amount has no effect on the closed-loop after stabilization.
By analyzing the step signal response of two control closed-loop, it is concluded that k p 1 � 400, k i 1 � 50, k p 2 � 0.1, k i 2 � 0.25 are a set of ideal control parameters.

Control Parameters Design in the Pump Mode.
With reference to the design of the control parameters of the two control strategies in the generating mode, the control parameters of the two control strategies in the pump mode are designed. Different from the generating mode, when it is in the pump mode, the change of the guide vane opening of the unit has no obvious regulating effect on the unit power when operating near the rated operating point, while the unit speed has a clear regulation effect on the output power of the pump turbine. According to the actual unit operation data, the absorbed power of the pump turbine is proportional to the cube of speed. erefore, the guide vane opening adjustment system of the pump turbine loses its adjustment function when it is operated near the rated working condition. In fact, only the excitation control system plays an adjustment role in the entire control system.

Power Priority Control Strategy.
e block diagram of the power priority control strategy in the pump mode is shown in Figure 26.
At this time, the control closed loop where the excitation control system is located is the active power closed loop, and its block diagram is shown in Figure 27.
It can be seen that the active power control closed-loop is exactly the same as the power control closed-loop when the power priority control strategy is used in the generating mode, but it is not repeated here. e conclusion is that the value range of the control parameter PI1 is k p 1 , 0.00005-0.0005; k i 1 , 0.0005-0.005. e control effect is shown in Figure 28.

Speed Priority Control Strategy.
e block diagram of speed priority control strategy in the pump mode is shown in Figure 29. e control closed loop where the excitation control system is located is the speed control closed loop when the speed priority control strategy is adopted for the pump mode. e block diagram of the speed control closed-loop after linearization is shown in Figure 30.
Where, parameter k 3 can be expressed as the following formula: Open-loop and closed-loop transfer function of the speed control closed-loop are shown in:  14 Complexity G C (s) � (60/2π) · k PWM · 3ω s p n L m U s /2L s s 2 + ω 2 It is the same as the analysis method of the speed priority control strategy in the generating mode. e effects of PWM links and nondominant poles caused by changes in the magnetic flux are not considered. After calculation, the range of k p 1 that meets the stability requirement is shown in the following formula: Since the coefficient k 2 is less than zero and the coefficient k 3 is greater than zero, the speed control closed loop is stable in the condition of k p 1 > 0, and the speed control closed loop can realize the no-deviation adjustment in the condition of k i 1 > 0.
After the response of the closed loop to the step signal is analyzed, when k p 1 � 100 and k i 1 � 50, the speed control closed-loop has good control characteristics.

Comparison of Control Characteristics of Two Control
Strategies in the Generating Mode. In the previous section, the control characteristics of a DFVSPS unit in the generating mode when the power priority control strategy and the speed priority control strategy are adopted are analyzed. In the generating mode, different control strategies are adopted, which have different control characteristics. erefore, a comparative analysis of the characteristics of the two control strategies is needed to obtain the applicable working conditions of different control strategies.

When the Speed Is Not Adjusted, Only the Output
Active Power Is Adjusted. Suppose that the unit is at rated operation in the generating mode before adjustment (P � 300 MW, n � 250 r/min), keep the speed command unchanged, reduce active power by 30 MW at t � 120 s, and increase active power by 30 MW at t � 200 s. e positive direction of active power is from the DFVSPS unit to the power grid. At this time, the relative waveforms of the two control strategies are compared as shown in Figures 31 and  32.
e speed comparison diagram of two control strategies in the generating mode when n ref is unchanged and P ref is changed is shown in Figure 31, and the actual dynamic responses for a DFVSPS unit when using the power priority control strategy in the generating mode are available in [23,32]. When the power priority control strategy is adopted, the active power is controlled by the DFIM excitation system. When the power reference value is reduced, the d-axis current which controls the active power is reduced. Since the electromagnetic torque is also controlled by the d-axis current, it is also reduced; during the generating mode, the DFIM is dragged by the pump turbine. When the active power adjustment occurs, the mechanical torque does not change, and the decrease of the electromagnetic torque causes the unit speed increase, which returns to the command value because of the speed control closed loop. In the speed priority control strategy, the active power is controlled by the pump turbine adjustment system. When the power reference value is reduced, the mechanical torque is reduced. At this time, the electromagnetic torque does not change, and the unit speed is reduced. When the power reference value increases, the speed with the power priority control strategy will first decrease and then return to the command value; the speed of applying the speed priority control strategy first increases and then returns to the command value. e comparison diagram of the stator-side active power is shown in Figure 32(a). Applying the power priority control strategy, the stator-side active power can quickly track the change of the command and respond in about 1 s; while applying the speed priority control strategy, the change of the power reference causes the adjustment of the guide vane opening of the pump turbine, and then changes the output mechanical power of the pump turbine. When the shaft torque is unbalanced, the rotation speed is changed. en, the adjustment of the DFIM excitation system is triggered, and the stator-side power is adjusted accordingly. e whole process is accompanied by hydraulic adjustment and mechanical adjustment. e inertia time constant is large, the response time is long, and the power adjustment takes tens of seconds. e comparison diagram of mechanical power is shown in Figure 32(b). e adjustment of mechanical power is related to the speed change. Applying the power priority control strategy, compared with the speed priority control strategy, the power response is faster, causing a larger change in torque, and a larger amount of torque imbalance on the shaft in a short period of time. erefore, there are larger fluctuations in speed and mechanical power.
By comparison, when power control is carried out, the power priority control strategy can achieve a response within Complexity 15 milliseconds, while the speed priority control strategy cannot achieve such a fast response due to the constraints of water flow inertia and rotating shaft inertia of the unit. Regarding the speed fluctuation caused by the two control strategies, it is related to the power response time. e power priority control strategy causes larger speed fluctuation due to its extremely fast adjustment. According to the foregoing analysis, when the power response time of the power priority control strategy is equivalent to the speed priority control strategy, the speed fluctuations caused are also equivalent.

When the Active Power Is Not Adjusted, Only the Speed
Is Adjusted. Suppose that the unit operates at rated condition in the generating mode before adjustment (P � 300 MW, n � 250 r/min). Keep P ref unchanged, n ref decrease by 5 r/min at t � 120 s, and increase by 5 r/min at t � 200 s. At this time, the comparison of related waveform diagrams in the two strategies is shown in Figures 33 and 34. Observing Figure 33, it can be found that when the speed priority control strategy is adopted, the speed can reach stability faster, and the power priority control strategy requires longer adjustment time. Because of applying the power priority control strategy, the speed must be adjusted by the pump turbine, and the water inertia affects the speed of speed adjustment. Observing Figure 34, the impact of speed adjustment on power is as follows. When the power priority control strategy is used, the stator-side active power control closed loop is an independent control closed loop and is not affected by the speed adjustment. erefore, when the speed is adjusted, the stator-side power remains unchanged, while the guide vane opening changes with the adjustment of the speed, and the mechanical power changes accordingly; when the speed priority control strategy is adopted, the mechanical power control closed-loop is an independent closed-loop, which is not affected by the speed control closed-loop. erefore, during the speed adjustment process, the mechanical power remains unchanged, while the stator current and rotor current of the DFIM changes due to the speed adjustment, and the stator-side power changes.

When the Active Power and Speed Need to Be Adjusted at the Same Time.
Suppose that the unit operates at rated condition in the generating mode before adjustment (P � 300 MW, n � 250 r/min). When the power and speed need to be adjusted at the same time, the power is reduced by 30 MW at t � 120 s, and the speed reference value is reduced by 5 r/min. At t � 200 s, the power is increased by 30 MW, and the speed reference value is increased by 5 r/min. At this time, the comparison of related waveform diagrams in the two control strategies is shown in Figures 35 and 36.
For the power priority control strategy, due to its mslevel power adjustment capability, the power adjustment has been completed at the beginning of the speed adjustment, so the torque imbalance caused by the power adjustment will make the speed increase first, and then reduce to the command value due to the function of speed control closed-loop. And, the adjustment of mechanical power is accompanied by the entire speed adjustment process; regarding the speed priority control strategy, the power and the speed adjustment process are performed simultaneously. Because the reduction of power will cause the speed to decrease, the two processes are in the same direction. At the same time, due to the sudden  change of the speed command, the speed error is amplified by the PI regulator and input to the DFIM, which will cause a sudden change of the stator-side power. In this case, the speed priority control strategy has no obvious advantages compared with the power priority control strategy in speed control. In terms of power control, the response time is long, the power fluctuation is large, and the effect is not as good as the power priority control strategy. erefore, the power priority control strategy should be adopted in this case.

Comparison of Control Characteristics of Two Control
Strategies in Pump Mode. We analyze the control characteristics of the two strategies when the unit is operating in pump mode. Same as the generating mode, the control characteristics of the two control methods need to be compared to obtain the applicable conditions for different methods. According to the control parameters designed above, the relevant waveform diagrams are shown in Figures 37-39. e actual dynamic responses for a DFVSPS unit using power priority control strategy in the pump mode are available in [23,32]. e positive direction of active power in the pump mode is from the power grid to the unit.
Comparing the two control strategies in the pump mode; although the controlled objects of the two control strategies are different, the characteristics of the control strategy can be judged by the response to the step signal. Due to the unit's moment of inertia, the response time of the speed is relatively long in the two control strategies. e speed priority control strategy can shorten the speed response time, but the effect is not obvious. As for the stator-side active power, when the pow`er priority control strategy is used, the power can be adjusted in milliseconds and the waveform is stable; while the speed priority control strategy is constantly adjusting the stator current due to the long-term adjustment of the speed, the stator-side power adjustment time is also very long, the waveform is not good, and the grid-connected power fluctuates greatly. e mechanical power waveform of the pump turbine is similar to the waveform of the speed because it is proportional to the cube of the rotation speed, so it will not be repeated here.
Based on the above comparison, combined with the operating characteristics of DFVSPS units, the main purpose of achieving variable speed in the pump mode is to achieve power adjustment. e power priority control strategy can achieve rapid power adjustment, waveform is stable, and the speed response time is the same as the speed priority control strategy, so the power priority control strategy should be used in the pump mode.

Conclusions
is paper first introduces the structure of a DFVSPS unit, and then the unit is modelled as blocks, including pump turbine and its guide vane opening adjustment systems, DFIM, and excitation control systems. e following two control strategies of the unit are introduced. e control system of the unit is analyzed when two control strategies are used to operate the unit in the vicinity of the rated condition in the generating mode and the pump mode. e influence of the value of the unit's own parameters on the characteristics of the control system is analyzed, and the control parameters of the system are designed to optimize the control effect. Finally, the characteristics of two control strategies in the generating mode and the pump mode are compared, and the applicable conditions for each control strategy are obtained. e relevant conclusions reached are as follows.
In the power priority control strategy, the power control closed-loop where the excitation control system is located is an independent control closed-loop, which can achieve millisecond-level power adjustment, the waveform is stable, and the control characteristics are not affected by the speed control closed-loop where the pump-turbine guide vane opening adjustment system is located. As the adjustment time is very short, it can be considered that the adjustment system of the pump turbine is triggered due to the change of speed after the power is stabilized. erefore, it can be considered that the two control systems are decoupled and have strong stability. e speed priority control strategy can decrease the speed response time, but due to the unit's moment of inertia, the decrease of the speed response time is not very obvious. And, the control variable is the speed. e excitation control system and the pump turbine guide vane opening adjustment system will be adjusted at the same time. e coupling between the two control systems is very strong. e stability and operating efficiency will be reduced.
When the main role of the DFVSPS unit is power regulation, whether it is running in the generating mode or the pump mode, due to the excellent response of the power priority control strategy to power command, this control strategy should be given priority consideration.

Data Availability
e data used to support the findings of this study are included within the article.