1. Introduction
Renewable energy sources are generating electricity on an ever-increasing scale, reaching 83% of newly installed power capacity worldwide in 2023 [
1]. However, such a scale of intermittent energy access to the grid leads to increasingly significant grid uncertainty. The solution to this problem is to build energy storage power plants compatible with new energy sources [
2]. Among the energy storage power plants, pumped storage power plants have the characteristics of a stable operation, long life, low unit cost, and environmentally friendliness. For those reasons, they have been widely used to consume new energy, adjust the peak frequency and phase, and improve the stability of the power grid [
3,
4]. The variable-speed technology means pumped storage units are not limited to rated speed operation, thus making the regulation more flexible, fast, efficient, and reliable. Accordingly, developing this technology has become a new direction and R&D hotspot in pumped storage worldwide [
5,
6]. Since a variable-speed pumped storage unit requires the coordinated operation of multiple subsystems, such as a hydraulic system and electrical system, its control system faces challenges that require it to operate with an entirely different control strategy from that of the conventional pumped storage unit [
7]. Doubly-fed variable-speed pumped storage units usually include two sets of control subsystems: one is the pump-turbine control system, and the other is the doubly-fed motor control system; and the two sets of control systems usually adopt a PID control, which is easy to realize due to its simple control law. However, the operation of a variable-speed pumped storage unit has solid nonlinear characteristics, and when the operating conditions of the unit change frequently with the grid demand, it is difficult to determine a set of control parameters that can be adapted to all operating conditions. In addition, the real-time control rate of a PID control is only related to the current and past states, and cannot predict future operating conditions. Some control strategies to improve PID focus on the optimization of controller parameters to improve the control efficiency, such as a PID control with the introduction of the elite memory mechanism particle swarm algorithm (PSO) [
8]; a PID control based on Hopf bifurcation theory for stability partitioning [
9]; a PID control with the introduction of the sensitivity margin index [
10]; an adaptive fast fuzzy fractional-order PID (AFFFOPID) control strategy [
11]; and so on.
The working principle of model predictive control (MPC) is based on the prediction and real-time optimization of the system model. In each control cycle, the MPC uses the system model to predict the system behavior in the future, and it minimizes the tracking error and the cost of the control input by setting the objective function. Subsequently, the MPC determines the control input sequence, which optimizes the objective function by solving a constrained optimization problem. Although the MPC calculates an input sequence, only the first control input is implemented in actual applications. As the system state is updated, the MPC repeats this process in each cycle, and it adjusts the control strategy through a real-time feedback mechanism, thereby effectively dealing with nonlinearity, time-varying characteristics, and multivariable coupling and realizing dynamic optimization control of the system. The PID control strategy has achieved specific effects in the control system of variable-speed pumped storage units, but there are still some shortcomings, such as failing to adapt well to the characteristics of the actual system in the processing of nonlinear dynamics, failing to satisfy the complex constraints such as power, speed, load, and other constraints in the control of the variable-speed pumped storage units; most importantly, it cannot flexibly adjust the control parameters [
7,
12]. As an advanced control method, the MPC has apparent advantages in dealing with complex systems, considering future prediction, flexibility and adaptability, constraints, regulation capability, and scalability. Some studies have applied MPC to variable-speed pumped storage units and achieved better results. For example, from the hydraulic perspective, one study in the literature proposed a nonlinear model predictive control strategy for controlling the pump-turbine, which improves the stability of the hydraulic system [
13]. In contrast, another study in the literature proposed an enumeration-based MPC strategy that increases the hydraulic unit’s operational flexibility [
14]. Some other research has been conducted from an electrical point of view, and one entry in the literature proposes an MPC-based controller for direct power control of doubly-fed motors, which results in a faster and more accurate unit power output [
15].
Elsewhere, one study proposes a robust continuous-time model predictive direct power control method to ensure the smooth operation of the DFIG [
16]. Another considers the high-voltage ride-through (HVRT) period of the unit’s bipolar blocking problem, where an MPC method based on P-Q coordination is proposed to bring the parameters to the target values under the constraints [
17]. These studies entirely use the advantages of an MPC in multi-parameter tuning and effectively solve the drawback that PID control can only deal with univariate or decoupled multivariate systems. It is challenging to realize the coordinated control of complex systems. Although the MPC has many advantages, the quality and accuracy of the model determine its performance and effectiveness. Most of the existing research on variable-speed pumped storage units use mathematical models of the system, which are simplified but still present complex nonlinearities; for instance, the full characteristic curve/surface model of the main equipment pump-turbine with prominent “S” characteristics and the static and dynamic models of doubly-fed motors are both sets of higher-order differential equations [
18]. In addition, there are significant errors between the model and the actual equipment due to the differences in manufacturers, capacities, and models. These factors lead to the difficulty and poor accuracy of modeling. It is worth noting that a large number of data are generated during the design, testing, and operation of variable-speed pumped storage units, which can represent the most realistic state and underlying relationships of the equipment, can help reveal hidden patterns in complex systems, and can be used to improve the model’s capacity to adapt to changing conditions [
19]. Several studies have looked at data-driven approaches to MPC, to improve the control performance further. For example, one investigation used data to model a wind turbine and mitigated vortex interactions using the recently learned model predictive control (LMPC) algorithm [
20]. Another study [
21] transitioned from model-based to data-driven optimal control strategies in the field of motor drives, providing design guidelines for practitioners, and then worked to improve the efficiency of data utilization for an MPC, demonstrating its effectiveness in the motor current control case [
22]. In the present study, we used a data-driven approach to model predictive control in the area of variable-speed pumped storage unit control, to improve the control performance of the unit. There is little related research in this area, but the few entries include some innovative research works, such as a data-driven pumped storage unit model predictive control method based on machine learning algorithms, which uses data to build a partitioned simplified model of the pump-turbine and improves the responsiveness of the unit control [
23]. Moreover, another study put forward an in-line sequential limit learning machine algorithm of the model predictive control of the pumped storage unit, which can learn the coupled-system dynamic behavior and shows superiority in voltage and load adjustment and frequency oscillation suppression [
24].
In this paper, a data-driven model predictive control (MPC) method is proposed to solve the problems of strong nonlinear characteristics, complex constraints, and a cumbersome parameter optimization process of a traditional PID controller in the control of variable-speed pumped storage units. An MPC can predict the future behavior of the system in real time by using actual operating data to establish an accurate dynamic model, and it can dynamically adjust the control input through an optimization algorithm in each control cycle, thus replacing the traditional PID controller’s parameter adjustment method, which relies on fixed parameters. In contrast, an MPC not only simplifies the parameter adjustment process, but also more effectively adapts to the nonlinear and multivariable coupling characteristics of the system, while being able to naturally handle operational constraints. This method achieves a higher control accuracy and response speed through dynamic optimization, greatly improves the robustness of the system, and provides a more efficient and reliable variable-speed pumped storage unit control solution.
From the control effect point of view, although the MPC method proposed in this paper does not show a significant performance improvement in the control effect when compared with the PID control method we developed before. This is mainly because the variable-speed pumped storage unit is limited in its performance during actual operation, leaving limited room for improvement in the control performance. We wish to highlight that although the developed PID control method performs excellently, its parameter adjustment process is complicated, especially when the working condition is changed; the optimization program often requires a long time to calculate and the selection of the initial value of the optimization is extremely dependent on experience and skills. In contrast, the MPC method proposed in this paper successfully avoids the complexity of the traditional PID controller parameter adjustment process by dynamically adjusting the control input through real-time optimization, and it greatly simplifies the application and debugging of the controller. Therefore, we believe that this innovation provides a more efficient and practical solution for the control of variable-speed pumped storage units.
4. Simulation Results
A simulation experiment of the control strategy was carried out using MATLAB/Simulink with a simulation step size of 5 × 10
−5 s. The background of the experiment was a microgrid consisting of photovoltaics, wind power, a variable-speed pumping unit, a diesel generator set, and auxiliary pumping pumps, where the power assumed by each device was as shown in
Figure 8a. The doubly-fed motor control system controlled the output power of the unit. The pump-turbine control system controlled the speed by adjusting the opening of the guide vane. In the steady-state operation of the variable-speed pumping and storage unit, the opening of the guide vane of the water pump-turbine was optimized and calculated. The results are shown in
Figure 8b, which gives the distribution of the optimal opening of the guide vane. These data were directly used as the control signals to implement the adjustment of the guide vane through the sophisticated servo system. In conjunction with the adjustment of the guide vane opening, the optimal selection of the rotational speed was also carefully calculated, and the results are shown in
Figure 8c, which guided the control strategy of the power converter and ensured the optimization of the output power of the pumped storage system.
In order to test the dynamic response of the proposed model predictive control strategy for the electrical quantity when the output power of variable-speed pumped storage unit changed, we selected the two cases of a rise and fall in output active power under a power generation condition and pumping condition, respectively, as shown in
Figure 9a–d, of which (a) is the case of a rise in output power under the power generation condition, where the power rises from 151.93 MW to 161.50 MW; (b) is the case of a power decrease in the generation condition, with the power decreasing from 168.38 MW to 129.76 MW; (c) is the case of a power increase in the pumping condition, with the power increasing from 115.38 MW to 120 MW; and (d) is the case of a power decrease in the pumping condition, with the power decreasing from 194.21 MW to 140.63 MW.
4.1. Simulation Results of Output Active Power
The simulation results of the output active power for four working conditions are shown in
Figure 10, where P_ref is the reference value of output active power, P_PID(opt) represents the control response after optimization of PID parameters, P_PID(Nopt) represents the control response with unoptimized PID parameters, and P_MPC is the response of MPC in this paper.
For the steady-state error, the PID controller with unoptimized parameters can eventually reach a steady state, but with more oscillations. Both the optimized PID controller and the MPC controller can effectively eliminate the steady-state error and closely track the reference signal.
In terms of transient response, the unoptimized PID controller shows a delayed response with significant overshooting and oscillations, indicating poor control performance. The optimized PID controller shows a fast transient response with minimal overshooting and a better regulation performance. In contrast, the MPC controller has better stability and less overshooting, which is suitable for systems with higher stability requirements, but its response speed is slightly slower.
It can be seen that in the control process of variable-speed pumped storage units, the use of PID controllers requires the optimization of parameters, and the parameters, if not selected appropriately, will lead to larger overshoots and oscillations, indicating a poorer damping effect and control quality. In contrast, the MPC controller used in this paper can have a more minor overshoot and smoother response without the parameter optimization process.
In addition, due to the working principle based on global optimization and prediction, the MPC can consider and correct the control strategy in advance by predicting the future system response and performing rolling optimization in each control cycle, avoiding the type of tuning of PID controllers that relies solely on the current error, and thus reducing the magnitude of the overshoot.
4.2. Simulation Results of Variable-Speed Pumped Storage Units for Each Variable
4.2.1. Control Variables
The control variable simulation results of the variable-speed pumped storage unit are shown in
Figure 11, including three control variables: the rotor speed
of the doubly-fed motor, the rotor q-axis voltage
, and the guide vane opening
.
As can be seen from this figure, the MPC controller is effective in maintaining the stability of the rotor speed, quickly adjusting, and restoring the speed to the target value when perturbed. The stability of the rotor speed is critical to the system’s overall performance, and the MPC ensures it by predicting and regulating the rotor speed. At the same time, the MPC controller ensures that the guide vane opening varies within reasonable limits, thus avoiding over-or under-regulation. The most direct control variable for the MPC controller is the rotor q-axis voltage. The controller ensures that the voltage fluctuation is minimized during the system’s operation through accurate voltage regulation, avoiding adverse effects on the rotor speed and the system’s performance. The voltage’s stability further reflects the MPC’s superior performance under multivariable control.
4.2.2. Observed Variables
The observed variables include head h, flow q, and mechanical torque PT for the hydraulic system; and stator q-axis current
and rotor q-axis current
for the electrical system. The simulation results of the control process are shown in
Figure 12.
When observing the simulation results of the hydraulic and electrical variables, it can be seen that the MPC put forward in this paper realizes the multivariable optimal control of the complex system. The MPC maintains the system’s stability and responsiveness under perturbation conditions and effectively manages the system’s performance in a multivariable and multicentric environment. This control strategy is particularly suitable for complex electromechanical systems such as variable-speed pumped storage units, which can achieve efficient system operation while maintaining a steady-state performance.
However, while the MPC (model predictive control) demonstrates a powerful control performance and flexibility, its application also faces some limitations, and precautions should be taken. First, the computational complexity of MPC is high, which may affect its real-time performance, especially when the system is large, or the model is complex. Second, the performance of MPC is highly dependent on the accuracy of the system model, and model errors may lead to control decision errors. In addition, complex constraint processing and sensitivity to interference and model uncertainty are also challenges of the MPC. Third, when compared with traditional PID controllers, the implementation and maintenance of MPC are more complicated and require professional knowledge and skills, especially in parameter adjustment and initial value selection. To summarize these considerations, when proposing the application of MPC, it is necessary to weigh the tradeoff between its high performance and implementation complexity, as well as consider whether the provisions are in place to ensure model accuracy and sufficient computing power, and to reasonably handle constraints and uncertainties.
4.3. Comprehensive Performance Evaluation
In order to effectively compare the performance of the MPC strategy proposed in this paper with that of PID control, a Comprehensive Performance Index (CPI) was designed. The CPI combines the system’s steady-state error, overshooting, tuning time, control energy, and robustness under different operating conditions to provide a comprehensive quantitative score for a control system. The CPI is calculated as follows, where the smaller the CPI value obtained, the better the combined performance of the system in all the performance indicators, and where the variable y is the total output power of the variable-speed pumped storage unit:
Among the components here are the following:
① Steady-state error (SE), calculated by the difference between the output value and the set point after the system reaches a steady state:
② Overshoot (OS), the maximum percentage by which the output value exceeds the steady-state value during the system response:
③ Tuning time (ST), the time at which the system output first enters the specified error band, after which it remains there.
④ Control energy (CE), the total energy consumption when using the control input signal:
⑤ Robustness (RI), the ability of the control system to adapt to perturbations and changing conditions under different operating conditions, calculated using the active power output in the four operating conditions described above:
where:
N is the number of working conditions, taken as 4;
is the average absolute deviation between the system output and the reference value for the i-th working condition;
is the standard deviation of the output for the i-th working condition;
is the average of the reference values for all working conditions.
Weights are set to . The weight selection process is as follows: all five weights are initially set to 0.2. Since both MPC and optimized PID must ensure the stable operation of the unit, the impact of stability (SE) is reduced to 0.1. The control method can lead the variable-speed pumped storage unit to be applicable under various working conditions, which is desirable, so the robustness weight (RI) is expanded to 0.3.
According to the above equations, the CPI values of MPC and PID control for a doubly-fed variable-speed pumped storage unit were calculated to be 0.083 and 0.126, respectively, and the distribution of each index is shown in
Figure 13.
Through experiments and simulations, we discerned that the MPC can better optimize the CPI metrics in complex multivariable systems, exhibiting a higher control accuracy and faster system response speed. This is because the MPC combines model prediction and optimization algorithms to predict future behaviors and optimize control signals at multiple time steps within each control cycle, thus handling system dynamics and complex constraints more efficiently. By explicitly handling input and output constraints, the MPC excels in multi-input and multi-output systems and optimizes the overall performance metrics for a better steady-state error, overshoot, tuning time, and control energy. In addition, the MPC demonstrates a better robustness in dealing with uncertainties and external perturbations. The robustness index (RI) of the MPC improved by 0.2 compared to the optimized PID control, which means there will be an improved control performance 20% of the time compared to the optimized PID control method when the operating conditions are frequently switched. This marks an effective improvement over the control robustness of variable-speed pumped storage units.
The introduction of data-driven technology further enhances the performance of MPC, which can better adapt to changes in system dynamics and the external environment by accurately modeling the system of variable-speed pumped storage units. This dynamic adjustment capability allows MPC to exhibit greater flexibility and accuracy in complex or nonlinear systems, especially in rapidly changing or difficult-to-model scenarios.
5. Conclusions
This study has explored the application of a data-driven model predictive control (MPC) method in a doubly-fed variable-speed pumped storage unit and verified its effectiveness and superiority under complex working conditions through simulation. When compared with the traditional PID control method, the MPC algorithm significantly improves the control accuracy and response speed by predicting the future behavior of the system and optimizing the control input sequence in real time within each control cycle. The working principle of the MPC is based on the prediction and real-time optimization of the system model. It uses rolling optimization to minimize the tracking error and control cost within each control cycle, implements only the first control input in the optimal control sequence, and continuously adjusts the control strategy through a real-time feedback mechanism. This method effectively copes with the nonlinearity, time-varying characteristics, and multivariable coupling of the system and also realizes the dynamic optimization control of the system.
In the specific implementation process, we adopted a data-driven approach to build a prediction model of the system based on historical operation data, which was used to train the model parameters, improving the model’s accuracy and robustness. Meanwhile, the control algorithm calculates the optimal control inputs in real time during each control cycle by solving an online optimization problem, enabling the system to respond quickly to external disturbances and load changes. In order to improve the computational efficiency and real-time performance of the algorithm, we also appropriately simplified and approximated the optimization problem.
In this study, simulation experiments were carried out on a variable-speed pumped storage unit model, and MPC exhibited a faster response speed and greater stability than the traditional PID control. During both power rise and fall, an MPC can quickly track the reference value, avoiding major overshooting and oscillation phenomena, realizing fast boosting, and showing a good dynamic response capability. Under power generation and pumping conditions, an MPC also performs well, avoiding the common oscillation and overshooting phenomena in a PID control, and ensuring a smooth response and high stability of the system in power change.
In addition, in the control of the rotational speed and guide vane opening, the MPC strategy ensures a smooth change in rotational speed and realizes the stable operation of the system by appropriately adjusting the guide vane opening in the regulation of electrical variables, particularly when the load changes, the transient response and stability of the rotor voltage are excellent. The calculation of the scores on the comprehensive evaluation indexes compiled in this study showed that the MPC strategy can improve the dynamic response speed of the system, reduce overshooting and oscillations, and maintain the system stability and robustness better than PID control in a complex multivariable system such as a variable-speed pumped storage unit.
This study has also shown that the data-driven MPC strategy has broad application prospects in doubly-fed variable-speed pumped storage units. By combining actual operating data with model predictive control, we achieved the accurate modeling and dynamic optimization control of complex systems, effectively dealing with the nonlinearity, multivariable coupling, and complex constraint problems of the system. Future research will further optimize the control algorithm to improve the response speed and stability of the system, and research will verify its efficacy in actual engineering to promote the application and promotion of this technology. This innovative control method is expected to significantly improve the operating efficiency and reliability of pumped storage units, and in doing so, provide a solid guarantee of the efficient use of new energy.