In this part and after the demonstration of the efficiency of EGO in the previous subsection, EGO is applied to optimize the settings of all compared controllers (i.e., PID, FPID, FPD-(1 + PI), and FFOPI-TID
μ-PIDA). The optimum settings of these controllers’ coefficients are provided in
Table 6. We conducted this test, exposing the system to 0.1 pu of step load variation (ΔPL) and 0.15 pu of constant renewable powers (ΔRPs), to demonstrate the outstanding performance of the proposed FFOPI-TID
μ-PIDA controller.
Figure 16 illustrates the system’s frequency response in this particular situation, in which one can clearly see that FFOPI-TID
μ-PIDA outperforms PID, FPID, and FPD-(1 + PI). Furthermore, the control output signals corresponding to the different controllers are illustrated in
Figure 17.
Table 7 presents the key attributes of the system’s frequency response that were examined when employing several controllers, including Max.OS, Max.US, and Set-Time. The FFOPI-TID
μ-PIDA controller obtains optimal values for Max.OS, Max.US, and Set-Time, namely 0.0221 Hz, 0.0382 Hz, and 6.314 Sec, respectively. In
Table 6, the EGO-based FFOPI-TID
μ-PIDA controller shows the smallest fitness function (0.00069) compared to EGO-based PID, FPID, and FPD-(1 + PI) controllers, highlighting the effectiveness of FFOPI-TID
μ-PIDA in this design. The dynamic system responses using the EGO-tuned PID, FPID, FPD-(1 + PI), and FFOPI-TID
μ-PIDA controllers show that FFOPI-TID
μ-PIDA Max.OS is 7 times better than FPD-(1 + PI), 10 times better than FPID, and 16 times better than PID. The subsequent subsections present additional scenarios in which fluctuations in load and power from renewable sources occur, utilizing the optimal parameters of the controllers derived in this specific case (
Table 6).
5.2.1. Case 1: Load Variation with Constant Renewable Powers
In this scenario, only load variation (ΔPL) is considered, as shown in
Figure 18, while renewable powers (ΔRPs) remain constant. The dynamic system responses using the EGO-tuned PID, FPID, FPD-(1 + PI), and FFOPI-TID
μ-PIDA controllers are presented in
Figure 19. One can note from
Figure 19 that the performance of the FFOPI-TID
μ-PIDA regulator surpasses that of the PID, FPID, and FPD-(1 + PI) regulators. The power provided by controllable plants under the EGO-tuned FFOPI-TID
μ-PIDA controller during the initial 30 s, when the power imbalance is positive (ΔRPs > ΔPL), is absorbed by controllable sources to reduce the imbalance. Between 30 and 60 s, when the power generation is insufficient to meet the load demand, these energy sources step in to supply the deficit. During this interval, these sources inject additional power into the grid to maintain stability and ensure a continuous supply of electricity. Finally, between 60 and 90 s, when the power imbalance returns to zero, controllable sources neither supply nor absorb power.
Table 8 presents the key attributes of the system’s frequency response that were examined when employing several controllers, including Max.OS, Max.US, Set-Time, steady-state error (St.St. Error) and ITSE for Case 1. The FFOPI-TID
μ-PIDA controller obtains optimal values for Max.OS, Max.US, St.St. Error and ITSE, namely 0.1533 Hz, 0.05997 Hz, 7.117 Sec., 0.0001 Hz, and 0.019, respectively.
5.2.2. Case 2: Variations in Solar Irradiance, Wind Speed and Load
For this situation, we take into account the fluctuations in load (ΔPL), solar power (ΔPV), and wind power (ΔPW), as depicted in
Figure 20.
Figure 21 displays the system frequency responses obtained from the EGO-tuned PID, FPID, FPD-(1 + PI), and FFOPI-TID
μ-PIDA controllers. The FFOPI-TID
μ-PIDA regulator shows a superior performance compared to the PID, FPID, and FPD-(1 + PI) controllers in terms of system performance metrics, including Max.OS, Max.US, and Set-Time. When the amount of renewable power generation (ΔRPs) is greater than the amount of load demand (ΔPL), controlled sources absorb the excess power. Conversely, when the load demand is greater than the renewable generation, these sources send energy to the system in order to maintain balance.
Table 9 displays the vital features of the system’s frequency response that were analyzed while using various controllers, such as Max.OS, Max.US, Set-Time, St. St. Error and ITSE for Case 2. The FFOPI-TID
μ-PIDA controller establishes that the best values for Max.OS, Max.US, Set-Time, St. St. Error and ITSE are 0.3913 Hz, 0.07728 Hz, 10.76 Sec., 0.001 Hz, and 0.498, respectively. When comparing FFOPI-TID
μ-PIDA to FPD-(1 + PI), FPID, and PID, the frequency performance is enhanced in terms of Max.US by 74.3%, 74.7%, and 75.4%, respectively. Additionally, in terms of Set-Time, there is an improvement of 25.3%, 32.8%, and 48%, respectively.
5.2.3. Case 3: Various Cyber-Attack Situations
In this scenario, the system’s response is evaluated under various cyberattack circumstances, such as Denial of Service (DoS) and data transmission delays. These cyberattacks can significantly impact the communication between distributed energy resources and the controller, leading to disturbances in frequency regulation. The system’s dynamic performance with EGO-tuned PID, FPID, FPD-(1 + PI), and FFOPI-TIDμ-PIDA controllers is analyzed under these cyberattack conditions. The outcomes demonstrate that the FFOPI-TIDμ-PIDA regulator efficiency is higher than the PID, FPID, and FPD-(1 + PI) regulators, providing better resilience to the effects of cyberattacks. The FFOPI-TIDμ-PIDA controller maintains system stability and ensures reliable frequency control even when subjected to signal disruptions and delays. Various performance metrics, such as integral errors, maximum overshoot, and maximum undershoot, indicate that the FFOPI-TIDμ-PIDA controller achieves a better overall performance, when contrasted to the PID, FPID, and FPD-(1 + PI) controllers during cyberattack scenarios. This proves the resilience of the FFOPI-TIDμ-PIDA regulator in maintaining grid stability despite communication challenges.
- (A)
Case 3A: DoS Attack Against Electric Vehicle (EV)
In the present scenario, the electric vehicle unit is entirely withdrawn from the system, but the other components remain unchanged.
Figure 22 provides a clear illustration of the outstanding performance of the FFOPI-TID
μ-PIDA controller. An analysis of multiple measures, including undershoot, indicates that the FFOPI-TID
μ-PIDA controller surpasses the PID, FPID, and FPD-(1 + PI) regulators. The recommended controller attains a frequency deviation of 0.0921 Hz, while the PID, FPID, and FPD-(1 + PI) controllers yield deviations of 0.36 Hz, 0.353 Hz, and 0.345 Hz, respectively. FFOPI-TID
μ-PIDA stabilizes within 8 s, exhibiting oscillations around zero with a range of −0.005 to 0.005. In contrast, PID, FPID, and FPD-(1 + PI) oscillate around zero with ranges of −0.2 to 0.16, −0.13 to 0.101, and −0.07 to 0.07, respectively.
- (B)
Case 3B: DoS Attack Against EV and Renewable Units
In this specific situation, the electric vehicle (EV) unit and the renewable units (solar and wind) are totally taken out of the system, but the other parts of the system are kept as they are.
Figure 23 provides an obvious visualization of the outstanding performance of the FFOPI-TID
μ-PIDA regulator. The FFOPI-TID
μ-PIDA regulator performs better than the PID, FPID, and FPD-(1 + PI) controllers, according to the outcomes of several metrics, including overshoot. The proposed controller obtains a deviation in the frequency response of 0.152 Hz, while PID, FPID, and FPD-(1 + PI) achieve shifts in the frequency of 0.295 Hz, 0.183 Hz, and 0.176 Hz, respectively. In contrast to PID, which has a settling time of 17 s, FPID, which has a settling time of 12 s, and FPD-(1 + PI), which has a settling time of 10 s, the FFOPI-TID
μ-PIDA demonstrates the most promising settling time of 6 s.
- (C)
Case 3C: DoS Attack Against EV and FESS Units
In this scenario, the Electric Vehicle (EV) and Flywheel Energy Storage System (FESS) are completely removed from the system, while all other components remain unchanged. The superior performance of the FFOPI-TID
μ-PIDA controller is clearly demonstrated in
Figure 24. A comparative analysis of various performance metrics, such as undershoot, highlights the efficacy of the presented regulator in relation to the other control strategies, including PID, FPID, and FPD-(1 + PI). Specifically, the FFOPI-TID
μ-PIDA controller achieves an undershoot value of 0.101 Hz, significantly lower than the values obtained with the PID (0.359 Hz), FPID (0.351 Hz), and FPD-(1 + PI) (0.345 Hz) controllers. Furthermore, the FFOPI-TID
μ-PIDA controller reaches a steady-state condition within 7 s, exhibiting minimal oscillations around zero, with an oscillation range of −0.0041 to 0.0045. In contrast, the PID, FPID, and FPD-(1 + PI) controllers exhibit more pronounced oscillations around zero, with respective ranges of −0.251 to 0.21, −0.16 to 0.12, and −0.091 to 0.092. These results underscore the enhanced stability and dynamics of the presented FFOPI-TID
μ-PIDA regulator compared to conventional control approaches.
- (D)
Case 3D: Cyberattacks on Communication Infrastructure and DoS Attacks Targeting the EV
In this specific scenario, the EV unit is entirely removed from the system, while all other components remain unchanged. Additionally, a modification is introduced in the signal transmission latency, increasing it from 10 ms to 20 ms. Despite these changes, the exceptional performance of the FFOPI-TID
μ-PIDA controller remains evident, as illustrated in
Figure 25. A detailed comparative analysis reveals that the suggested regulator outperforms the other compared regulators, including PID, FPID, and FPD-(1 + PI), across multiple performance metrics, with a particular emphasis on undershoot. The FFOPI-TIDμ-PIDA controller demonstrates a significantly lower undershoot value of 0.0584 Hz, whereas the PID, FPID, and FPD-(1 + PI) controllers exhibit higher undershoot values of 0.361 Hz, 0.354 Hz, and 0.347 Hz, respectively. This substantial reduction in undershoot highlights the superior disturbance rejection capability of the proposed controller. Moreover, the FFOPI-TID
μ-PIDA controller reaches a steady-state condition within 9 s, further emphasizing its rapid response characteristics. While the controller maintains oscillations around zero, these oscillations are minimal, with a narrow range of −0.0098 to 0.0073. In contrast, the PID, FPID, and FPD-(1 + PI) controllers exhibit significantly larger oscillation ranges of −0.199 to 0.16, −0.14 to 0.101, and −0.082 to 0.077, respectively.
These findings confirm that the FFOPI-TIDμ-PIDA controller not only enhances the transient response by reducing the overshoot and settling time but also improves the steady-state performance by minimizing oscillatory behaviour. The ability of the proposed controller to maintain stability and robustness under increased signal transmission latency further reinforces its effectiveness in dynamic and complex system conditions. Consequently, the FFOPI-TIDμ-PIDA controller emerges as a highly reliable solution for improving system performance compared to existing control strategies.
A summary of the frequency response characteristics for the various cyberattack scenarios examined in Case 3 is presented in
Figure 26. The comparative analysis highlights the superior performance of the proposed FFOPI-TID
μ-PIDA controller compared to the other control strategies, including PID, FPID, and FPD-(1 + PI). Under different cyberattack conditions, the FFOPI-TID
μ-PIDA controller consistently demonstrates enhanced robustness and resilience, effectively mitigating the adverse effects of cyber threats on system stability and performance.
For instance, in Case 3C, the FFOPI-TIDμ-PIDA controller achieves a significantly lower ITSE index value of 1.257, representing a substantial improvement over the conventional controllers. Specifically, the proposed controller reduces the ITSE value by a factor of 31.7 compared to the PID controller, 13.9 compared to the FPID controller, and 7.3 compared to the FPD-(1 + PI) controller. This notable reduction in ITSE underscores the superior capability of the FFOPI-TIDμ-PIDA controller in minimizing error accumulation over time, thereby enhancing system reliability and performance in the presence of cyber threats. These results further validate the effectiveness of the FFOPI-TIDμ-PIDA controller in safeguarding system operation against cyberattacks by ensuring rapid error correction and improved dynamic response. The ability of the proposed controller to maintain a superior performance under adverse conditions highlights its potential for practical implementation in cyber-resilient control systems.