Voltage and Frequency Control of Balanced/Unbalanced Distribution System Using the SMES System in the Presence of Wind Energy

: This paper presents an effective solution to overcome the problem caused by intermittent energy sources that are connected to a balanced/unbalanced distribution system using a superconducting magnetic energy storage (SMES) system by mitigating the voltage and frequency ﬂuctuations during wind gusts. The fuzzy logic control technique (FLC) is used with SMES to improve the voltage and frequency. A squirrel cage induction generator (SCIG) is applied as the wind energy generator. The IEEE 33-bus distribution system is used to validate the proposed method. Buses 18 33 are the weakest points in this system; thus, the wind and SMES systems are connected to the system at these buses. We used MATLAB/Simulink to simulate the performance of the IEEE 33-bus system (balanced/unbalanced) considering the SMES, wind system, and fuzzy logic control (FLC). The simulation results show the high performance of the proposed control method to alleviate the voltage and frequency ﬂuctuation and achieve the power leveling strategy of the studied system. and PI controller were simulated using MATLAB software. The simulation results prove the efﬁcacy of the proposed control method with SMES to alleviate the voltage and frequency ﬂuctuation for the duration of wind gusts in balanced and unbalanced cases.


Introduction
Due to the significant benefits, such as the reduction of fossil fuel consumption and CO 2 emissions, ensuring environmental cleanness, preserving rural areas, covering the load demand, and the long operation period, renewable energy sources (RESs) have become the favorable choice to generate electricity in many countries. The wind turbine is considered the lowest-cost RES; thus, it is utilized in most countries with different technologies. The penetration of RESs in general and wind turbines in particular has increased in many countries. According to the annual report [1], in 2019, the installed power capacity of RESs grew to more than 200 gigawatts, and the global wind power market expanded by 19% in 2019 to 60 GW [1]. The doubly fed induction generator (Type 3) and full-rate converter wind turbines (Type 4) are considered the best wind generator types. However, the squirrel cage induction generator (SCIG, Type 1) is still used in the market [2] because it has many merits, such as low cost and high reliability. Moreover, some of the components that require continuous maintenance, such as the brushes, exciter, and slip rings, are not essential for an SCIG.
As is known, wind turbines depend on wind speed as the source for generation. The wind speed is unpredictable, leading to intermittent power generation from the wind turbine, which causes fluctuations in the voltage and frequency. Voltage and frequency stability are the most considerable problems that arise from balanced and unbalanced electrical networks. The frequency deviation degree shows the system's stability degree; meanwhile, preserving the voltage within the allowed limits keeps the operation satisfactory for the instrument and home appliances.
Several methods have been proposed as a solution for the voltage and frequency issues, such as flexible alternating current transmission system (FACTS) devices [3][4][5][6] and the on-load tap changer (OLTC) [7]. Moreover, an adaptive coordinated voltage and frequency control scheme [8], an electronic load controller (ELC) [9], and intentional controlled islanding (ICI) [10] are also used. Reference [11] showed how to optimally locate and size distribution generators (DGs) into a radial distribution network before and after reconfiguration. Furthermore, a smart inverter improves the voltage unbalance index and detects the unbalanced state of voltage magnitude and phase [12] using energy storage systems (ESSs) [13,14]. A sensitivity-based voltage control strategy is developed for the energy storage system in [15]. ESSs are used for this purpose, which include a superconducting magnetic energy storage (SMES) unit [16,17], a flywheel [18,19], or batteries [20]. They are used as a vital solution for improving the stability of voltage and frequency during weather changes. To enhance the voltage and frequency fluctuations during wind gusts in both balanced and unbalanced distribution systems, the response time, efficiency, and lifetime are considered the most important factors when choosing ESSs. Today, the SMES unit is regarded as the best type.
An SMES unit has been used with a photovoltaic (PV) system in the presence of electric vehicles to enhance the power network [21,22], with wind/PV [23], and to improve the charging/discharging performance of electric vehicles [24]. In [25], the author used an SMES unit based on the adaptive fractional-order sliding-mode control approach to improve its dynamical responses against various operation conditions. The authors of [26] presented the control of a multi-level voltage source converter relying on SMES for effective support of the active and reactive power of an electrical power network, where the SMES unit is capable of supervising the electromechanical fluctuations instantly and aids in reducing the frequency deviations under the limits. The improvement of the electrical network's voltage and frequency stability during load insertion and rejection at constant wind speed with the help of an SMES with a fuzzy logic controller (FLC) is discussed considering a wind power-based permanent magnet synchronous generator (PMSG) in [27] and a double-fed induction generator simulation model (DFIG) in [28]. Two different architectures of high-temperature superconducting (HTS) power cables are investigated under AC conditions in [29]. The adaptive model predictive control is used with SMES to mitigate the various load frequency control issues in a multi-area power system [30]. An SMES unit has been installed on wind farms with small-scale wind speed variation to alleviate the frequency fluctuations [31]. It has also been used to regulate wind power at nominal wind speed [32]. The SMES system is applied to a wind system to stabilize the wind generator in [33]. An FLC-SMES has been proposed to improve the transient stability in a multi-machine power system [34]. In reference [16], the authors proposed a solution for the frequent changes in the operating current, transient thermal characteristics, and power exchange characteristics of SMES. Moreover, the self-inductance of the magnet and the effect of the critical current of the magnet during different operating conditions are presented in [35][36][37][38][39].
This paper proposes a control method based on FLC-SMES to mitigate the severe changes in the frequency, power, and voltage caused by wind gusts with 30% penetration of the total load connected to the IEEE 33-bus balanced/unbalanced distribution system for controlling the active and reactive power injected into the system. The SCIG is chosen in this case study because it represents the worst case of a wind system in the presence of wind gusts as a considerable variation to indicate the proposed control method's robustness. The SMES and wind turbines are connected at the weakest buses, i.e., buses 18 and 33. The control of active power is attained by a DC-DC chopper based on FLC control. The voltage source converter (VSC)-based proportional-integral (PI) controller performs the reactive power control. The SMES, wind turbine, IEEE 33-bus balanced/unbalanced distribution system, and FLC and PI controller were simulated using MATLAB software. The simulation results prove the efficacy of the proposed control method with SMES to alleviate the voltage and frequency fluctuation for the duration of wind gusts in balanced and unbalanced cases.

The Main Contributions
The main contributions of this paper are as follows:

•
It proposes a control method to alleviate frequency and voltage fluctuations in a balanced/unbalanced distribution system connected to high wind power penetration during wind gusts. • It achieves a power leveling strategy during wind gusts.

•
The FLC technique is proposed for a DC-DC chopper to define the charging/discharging process of the SMES system. • It designs a bi-directional VSC based on a PI controller to achieve reactive power support of the main grid. • It smooths the real power output during wind gusts.
The rest of this paper is organized as follows: Section 2 shows the overall system mode, Section 3 presents the proposed control technique of SMES, Section 4 presents and discusses the simulation results, and Section 5 offers the conclusions. Figure 1 shows the studied system used as a case study, consisting of a 33-bus system connected to the grid as the primary power source. The wind turbine and the SMES systems are connected at buses 18 and 33, because these buses represent the weakest points from the voltage profile point of view [40].

System Configuration
Electricity 2021, 2, FOR PEER REVIEW 3 simulation results prove the efficacy of the proposed control method with SMES to alleviate the voltage and frequency fluctuation for the duration of wind gusts in balanced and unbalanced cases.

The Main Contributions
The main contributions of this paper are as follows: • It proposes a control method to alleviate frequency and voltage fluctuations in a balanced/unbalanced distribution system connected to high wind power penetration during wind gusts.

•
It achieves a power leveling strategy during wind gusts.

•
The FLC technique is proposed for a DC-DC chopper to define the charging/discharging process of the SMES system.

•
It designs a bi-directional VSC based on a PI controller to achieve reactive power support of the main grid.

•
It smooths the real power output during wind gusts.
The rest of this paper is organized as follows: Section 2 shows the overall system mode, Section 3 presents the proposed control technique of SMES, Section 4 presents and discusses the simulation results, and Section 5 offers the conclusions. Figure 1 shows the studied system used as a case study, consisting of a 33-bus system connected to the grid as the primary power source. The wind turbine and the SMES systems are connected at buses 18 and 33, because these buses represent the weakest points from the voltage profile point of view [40].  The data of the lines and buses are found in [41]. Table 1 presents the data of the SCIG system and the SMES system that will be discussed in the below sections. The data of the lines and buses are found in [41]. Table 1 presents the data of the SCIG system and the SMES system that will be discussed in the below sections.

Wind System Model
The SCIG is used as a generator with a wind turbine system. The capacitor bank is linked to the SCIG to inject reactive power and improve the power factor. The mechanical output power of the generator can be computed from Equation (1) [42]. The equivalent circuit of the SCIG and the related equation of the model are presented in [28,43].
where A is the turbine area, ρ is the air density, v is wind speed, C P is the coefficient performance of the turbine.
The C P depends on the tip speed ratio (λ) and blade pitch angle (β). The C P of SCIG can be calculated from Equations (2) and (3) [44].
where C P is the coefficient performance of the turbine, λ is the tip speed ratio, β is the blade pitch angle, and the values of the coefficients C 1 to C 6 are 0.5176, 116, 0.4, 5, 21, 0.0068, respectively.

SMES Model
The SMES unit is a type of RES that depends on storing the energy in magnetic form. Figure 2 presents the SMES system's main components: the protection system, the cryogenic refrigerator, the cryostat/vacuum vessel to preserve the coil in the superconductivity state, the superconducting coil, and the power conditioning system, which has two parts-the VSC and the DC-DC chopper. The SMES energy (E smes ) and SMES power (P smes ) can be calculated from Equations (4) and (5) by considering the SMES current (I smes ) and inductance (L smes ).  Figure 3 depicts the overall control of the SMES, which has two key phases. The fi phase is the bidirectional VSC to control the injected/absorbed reactive power to/from t grid by the SMES unit. The control of VSC depends on the PI controller, and the modeli framework of voltage-source converters is presented in [45,46]. The second phase is t DC-DC chopper, which controls the active power injected/absorbed to/from the grid the SMES unit. The FLC is used with SMES to carry out the charging and dischargi process. The FLC has two inputs and one output. The first input (dVwind) is the differen between the actual wind speed and the nominal wind speed; the second input (dIsmes) the difference between the SMES actual current and its reference value. The output is t duty cycle (D) compared with high switching frequency to fire the DC-DC chopp switches.

The Proposed Control Technique of SMES
Thus, the SMES DC-DC has three modes, as shown in Figure 3. The first mode is t charging mode; when the D achieves the condition 0.5 < D ≤ 1, a positive voltage appea across the coil of the SMES. The second mode is the standby mode, when the volta  Figure 3 depicts the overall control of the SMES, which has two key phases. The first phase is the bidirectional VSC to control the injected/absorbed reactive power to/from the grid by the SMES unit. The control of VSC depends on the PI controller, and the modeling framework of voltage-source converters is presented in [45,46]. The second phase is the DC-DC chopper, which controls the active power injected/absorbed to/from the grid by the SMES unit. The FLC is used with SMES to carry out the charging and discharging process. The FLC has two inputs and one output. The first input (d Vwind ) is the difference between the actual wind speed and the nominal wind speed; the second input (d Ismes ) is the difference between the SMES actual current and its reference value. The output is the duty cycle (D) compared with high switching frequency to fire the DC-DC chopper switches.

The Proposed Control Technique of SMES
Thus, the SMES DC-DC has three modes, as shown in Figure 3. The first mode is the charging mode; when the D achieves the condition 0.5 < D ≤ 1, a positive voltage appears across the coil of the SMES. The second mode is the standby mode, when the voltage across the coil is zero and D = 0.5. The third mode is the discharging mode; a negative voltage appears across the SMES coil and 0 ≤ D < 0. 5

Simulation Results and Discussion
The proposed FLC-SMES is examined in the balanced and unbalanced cases to improve the IEEE 33-bus distribution system's voltage and frequency and achieve the power leveling of the wind system in the presence of wind-based SCIG during wind gusts, as shown in Figure 5.

Simulation Results and Discussion
The proposed FLC-SMES is examined in the balanced and unbalanced cases to improve the IEEE 33-bus distribution system's voltage and frequency and achieve the power leveling of the wind system in the presence of wind-based SCIG during wind gusts, as shown in Figure 5.

Simulation Results and Discussion
The proposed FLC-SMES is examined in the balanced and unbalanced cases to improve the IEEE 33-bus distribution system's voltage and frequency and achieve the power leveling of the wind system in the presence of wind-based SCIG during wind gusts, as shown in Figure 5.

Balanced Case
In this section, the performance of the IEEE 33-bus balanced distribution system will be discussed. The voltages at buses 18 and 33 are displayed in Figure 6a,b, respectively. The voltage in the SMES case at buses 18 and 33 is improved and maintained within the acceptable levels. At bus 18, the voltage is enhanced from less than 0.94 pu to around 1.02 pu, and at bus 33, from less than 0.94 pu to 1.0 pu. In addition to the voltage improvement, the frequency fluctuations are mitigated successfully by utilizing the SMES system with its controller, as shown in Figure 7.

Balanced Case
In this section, the performance of the IEEE 33-bus balanced distribution system will be discussed. The voltages at buses 18 and 33 are displayed in Figure 6a,b, respectively. The voltage in the SMES case at buses 18 and 33 is improved and maintained within the acceptable levels. At bus 18, the voltage is enhanced from less than 0.94 pu to around 1.02 pu, and at bus 33, from less than 0.94 pu to 1.0 pu. In addition to the voltage improvement, the frequency fluctuations are mitigated successfully by utilizing the SMES system with its controller, as shown in Figure 7.   The powers injected at bus 18 and 33, as shown in Figure 8a,b, are smoothed successfully, where the proposed SMES-FLC achieves the power leveling strategy to improve the system's stability. Moreover, the power injected from the grid is minimized and smoothed as a reason for charging (positive sign) and discharging power (negative sign) from the SMES, as shown in Figures 9 and 10. The powers injected at bus 18 and 33, as shown in Figure 8a,b, are smoothed successfully, where the proposed SMES-FLC achieves the power leveling strategy to improve the system's stability. Moreover, the power injected from the grid is minimized and smoothed as a reason for charging (positive sign) and discharging power (negative sign) from the SMES, as shown in Figures 9 and 10.   The powers injected at bus 18 and 33, as shown in Figure 8a,b, are smoothed successfully, where the proposed SMES-FLC achieves the power leveling strategy to improve the system's stability. Moreover, the power injected from the grid is minimized and smoothed as a reason for charging (positive sign) and discharging power (negative sign) from the SMES, as shown in Figures 9 and 10.    The grid reactive power is reduced, as shown in Figure 11, because the SMES injects reactive power into the grid and wind system, as shown in Figure 12, which helps to improve the power factor and grid performance. The operational characteristics of SMES are shown in Figures 13-15. Figures 13 and 14 present the charging and discharging operation of SMES during wind speed gusts. Figure 15 shows the DC-bus voltage, which is constant during the overall time and validates the control system process. Table 2 lists the numerical results of the balanced case with and without FLC-SMES. Voltage values during the wind gust at bus 18 and 33 are improved when the SMES system is activated. When the wind speed is lower than the nominal value, the voltage at bus 18 reaches 0.922 pu without SMES and 1.01 with SMES; the voltage at bus 33 reaches 0.923 pu if the SMES is deactivated, and 1.001 if the SMES is activated. However, when the wind speed is more than the nominal value, the voltage response at bus 18 and 33 reaches 0.960 and 0.948, respectively, without the SMES system. Meanwhile, in the presence of an SMES, the voltage response at bus 18 and 33 reaches 1.024 and 1.004, respectively. The SMES system has the ability to support the grid by reactive power to mitigate the voltage fluctuation during wind gusts; the reactive power control is utilized with VSC based on a PI controller. Therefore, the SMES supported the grid by reactive power of around 0.4 MVAR at bus 18 and 1.85 MVAR at bus 33. Consequently, the maximum value of reactive power supplied from the grid is reduced from 3.75 MVAR (without SMES case) to 1.00 MVAR (with SMES case). Furthermore, the minimum value of grid reactive power is reduced  The grid reactive power is reduced, as shown in Figure 11, because the SMES injects reactive power into the grid and wind system, as shown in Figure 12, which helps to improve the power factor and grid performance. The operational characteristics of SMES are shown in Figures 13-15. Figures 13 and 14 present the charging and discharging operation of SMES during wind speed gusts. Figure 15 shows the DC-bus voltage, which is constant during the overall time and validates the control system process. Table 2 lists the numerical results of the balanced case with and without FLC-SMES. Voltage values during the wind gust at bus 18 and 33 are improved when the SMES system is activated. When the wind speed is lower than the nominal value, the voltage at bus 18 reaches 0.922 pu without SMES and 1.01 with SMES; the voltage at bus 33 reaches 0.923 pu if the SMES is deactivated, and 1.001 if the SMES is activated. However, when the wind speed is more than the nominal value, the voltage response at bus 18 and 33 reaches 0.960 and 0.948, respectively, without the SMES system. Meanwhile, in the presence of an SMES, the voltage response at bus 18 and 33 reaches 1.024 and 1.004, respectively. The SMES system has the ability to support the grid by reactive power to mitigate the voltage fluctuation during wind gusts; the reactive power control is utilized with VSC based on a PI controller. Therefore, the SMES supported the grid by reactive power of around 0.4 MVAR at bus 18 and 1.85 MVAR at bus 33. Consequently, the maximum value of reactive power supplied from the grid is reduced from 3.75 MVAR (without SMES case) to 1.00 MVAR (with SMES case). Furthermore, the minimum value of grid reactive power is reduced The grid reactive power is reduced, as shown in Figure 11, because the SMES injects reactive power into the grid and wind system, as shown in Figure 12, which helps to improve the power factor and grid performance. The operational characteristics of SMES are shown in Figures 13-15. Figures 13 and 14 present the charging and discharging operation of SMES during wind speed gusts. Figure 15 shows the DC-bus voltage, which is constant during the overall time and validates the control system process. Table 2 lists the numerical results of the balanced case with and without FLC-SMES. Voltage values during the wind gust at bus 18 and 33 are improved when the SMES system is activated. When the wind speed is lower than the nominal value, the voltage at bus 18 reaches 0.922 pu without SMES and 1.01 with SMES; the voltage at bus 33 reaches 0.923 pu if the SMES is deactivated, and 1.001 if the SMES is activated. However, when the wind speed is more than the nominal value, the voltage response at bus 18 and 33 reaches 0.960 and 0.948, respectively, without the SMES system. Meanwhile, in the presence of an SMES, the voltage response at bus 18 and 33 reaches 1.024 and 1.004, respectively. The SMES system has the ability to support the grid by reactive power to mitigate the voltage fluctuation during wind gusts; the reactive power control is utilized with VSC based on a PI controller. Therefore, the SMES supported the grid by reactive power of around 0.4 MVAR at bus 18 and 1.85 MVAR at bus 33. Consequently, the maximum value of reactive power supplied from the grid is reduced from 3.75 MVAR (without SMES case) to 1.00 MVAR (with SMES case). Furthermore, the minimum value of grid reactive power is reduced from 2.95 MVAR (without SMES case) to 0.75 MVAR. Besides supporting the grid by reactive power, the SMES system is able to inject active power into the grid during low wind speed and absorb active power during high wind speed. This helps to achieve the power leveling strategy for bus 18 and 33 and for the grid. The difference between the maximum and minimum value of active power at bus 18 and bus 33 is 0.4 MW without the SMES system and 0.03 MW with the SMES system. At the grid, the difference between the maximum and minimum value of active power reached 0.23 MW (with SMES case), instead of 1.4 MW (without SMES case). This, in turn, led to an improvement in the frequency response, where the maximum value was minimized from 50.038 Hz to 50.005 Hz, and the minimum value was minimized from 49.965 Hz to 50.00 Hz. Moreover, the number of oscillation cycles was reduced.
Electricity 2021, 2, FOR PEER REVIEW 11 from 2.95 MVAR (without SMES case) to 0.75 MVAR. Besides supporting the grid by reactive power, the SMES system is able to inject active power into the grid during low wind speed and absorb active power during high wind speed. This helps to achieve the power leveling strategy for bus 18 and 33 and for the grid. The difference between the maximum and minimum value of active power at bus 18 and bus 33 is 0.4 MW without the SMES system and 0.03 MW with the SMES system. At the grid, the difference between the maximum and minimum value of active power reached 0.23 MW (with SMES case), instead of 1.4 MW (without SMES case). This, in turn, led to an improvement in the frequency response, where the maximum value was minimized from 50.038 Hz to 50.005 Hz, and the minimum value was minimized from 49.965 Hz to 50.00 Hz. Moreover, the number of oscillation cycles was reduced.

Unbalanced Case
The proposed control method is verified by the unbalanced case, where the loads are divided between three phases, a, b, and c, by 30%, 20%, and 50% of the total load, respectively. In this case, the voltage responses of phases a, b, and c are improved. Phase c is considered to have the largest load value, so the voltage of phase c is the worst one. The voltage responses at buses 18 and 33 for the three phases are illustrated in Figure 16a,b; all the phases at buses 18 and 33 successfully remained within the limits during the presence of the SMES system, which led to the maintenance of the stability of the electrical power system. The frequency fluctuations were also damped in the unbalanced case in the SMES system's presence, as shown in Figure 17. This, in turn, improved the power system's stability during the wind speed gust in the case of an unbalanced load. The power system becomes more reliable and stable as a result of voltage and frequency control using FLC-SMES.   The presence of SMES with its controller at bus 18 and 33 ensured power leveling at these buses, as displayed in Figure 18a,b, respectively; meanwhile, without SMES, the active power fluctuates between 0.25 MW and 0.65 MW. Meanwhile, in the case of using SMES, this value is around 0.4 MW. This strategy has a positive impact on the grid, as the active power supported in the system by the grid has a smooth response, as indicated in Figure 19. The injected power fluctuates from 1.9 MW to 3.3 MW in the case without an SMES. When the SMES is activated, the grid active power fluctuates between 2.7 MW and 2.9 MW. The reduction in the injected active power from the grid results from using the SMES, where the SMES injects active power into the grid, as presented in Figure 20. The negative sign indicates the discharging mode of SMES, and the power is absorbed from the grid during high wind speed variation. The positive sign indicates the charging mode of the SMES, and the active power is injected into the grid during low wind speed variation. The presence of SMES with its controller at bus 18 and 33 ensured power leveling at these buses, as displayed in Figure 18a,b, respectively; meanwhile, without SMES, the active power fluctuates between 0.25 MW and 0.65 MW. Meanwhile, in the case of using SMES, this value is around 0.4 MW. This strategy has a positive impact on the grid, as the active power supported in the system by the grid has a smooth response, as indicated in Figure 19. The injected power fluctuates from 1.9 MW to 3.3 MW in the case without an SMES. When the SMES is activated, the grid active power fluctuates between 2.7 MW and 2.9 MW. The reduction in the injected active power from the grid results from using the SMES, where the SMES injects active power into the grid, as presented in Figure 20. The negative sign indicates the discharging mode of SMES, and the power is absorbed from the grid during high wind speed variation. The positive sign indicates the charging mode of the SMES, and the active power is injected into the grid during low wind speed variation.    According to the voltage, control is applied by using the VSC, based on the PI controller. The voltage response of the three phases is improved. This is achieved because the reactive power supplied by the grid is reduced, as shown in Figure 21. The reactive power injected from the grid is around 3.7 MVAR, while, when using SMES, the grid reactive power reaches approximately 0.8 MVAR. The SMES injects reactive power into the grid, as presented in Figure 22, to improve the voltage response, and the reduction in reactive power absorbed from the grid leads to an improvement in the power factor. The SMES energy and SMES current are displayed in Figures 23 and 24, respectively, which indicate the mode of SMES operation. To prove the effectiveness of the proposed control method, the voltage of the DC-bus is kept constant during the wind speed gust, as presented in Figure 25.
The numerical results of the unbalanced case with and without FLC-SMES are shown in Table 3. Here, the reactive power control based on PI-VSC is successful in ensuring the control and improvement of the voltage. When the SMES is energized, the maximum and minimum value of reactive power supplied by the grid is minimized from 3.750 MVAR to 1.020 MVAR and from 2.950 MVAR to 0.670 MVAR, respectively. Accordingly, the unbalanced three-phase voltages experience an enhancement; at bus 18, the voltage minimum value of phase a, b, and c is improved from 0.950 pu, 0.920 pu, and 0.890 pu to 1.019 pu, 1.012 pu, and 0.993 pu, respectively, when the SMES is turned on. At bus 33, the voltage minimum value of phase a, b, and c is improved from 0.950 pu, 0.927 pu, and 0.890 pu to 1.017 pu, 1.011 pu, and 0.977 pu, respectively, when the SMES is turned on. The overshoot and undershoot of the system frequency are minimized with the presence of the SMES system; moreover, the frequency fluctuations are reduced. The overshoot is minimized from 50.038 Hz (without SMES) to 50.005 Hz (with SMES). The undershoot is minimized from 49.965 Hz (without SMES) to 50.00 Hz (with SMES). This improvement of the frequency is a result of the SMES active power control, where the SMES injects/absorbs active power to/from the grid based on the value of the wind speed compared to the nominal wind speed. Moreover, power leveling is achieved based on the FLC-SMES, According to the voltage, control is applied by using the VSC, based on the PI controller. The voltage response of the three phases is improved. This is achieved because the reactive power supplied by the grid is reduced, as shown in Figure 21. The reactive power injected from the grid is around 3.7 MVAR, while, when using SMES, the grid reactive power reaches approximately 0.8 MVAR. The SMES injects reactive power into the grid, as presented in Figure 22, to improve the voltage response, and the reduction in reactive power absorbed from the grid leads to an improvement in the power factor. The SMES energy and SMES current are displayed in Figures 23 and 24, respectively, which indicate the mode of SMES operation. To prove the effectiveness of the proposed control method, the voltage of the DC-bus is kept constant during the wind speed gust, as presented in Figure 25.
The numerical results of the unbalanced case with and without FLC-SMES are shown in Table 3. Here, the reactive power control based on PI-VSC is successful in ensuring the control and improvement of the voltage. When the SMES is energized, the maximum and minimum value of reactive power supplied by the grid is minimized from 3.750 MVAR to 1.020 MVAR and from 2.950 MVAR to 0.670 MVAR, respectively. Accordingly, the unbalanced three-phase voltages experience an enhancement; at bus 18, the voltage minimum value of phase a, b, and c is improved from 0.950 pu, 0.920 pu, and 0.890 pu to 1.019 pu, 1.012 pu, and 0.993 pu, respectively, when the SMES is turned on. At bus 33, the voltage minimum value of phase a, b, and c is improved from 0.950 pu, 0.927 pu, and 0.890 pu to 1.017 pu, 1.011 pu, and 0.977 pu, respectively, when the SMES is turned on. The overshoot and undershoot of the system frequency are minimized with the presence of the SMES system; moreover, the frequency fluctuations are reduced. The overshoot is minimized from 50.038 Hz (without SMES) to 50.005 Hz (with SMES). The undershoot is minimized from 49.965 Hz (without SMES) to 50.00 Hz (with SMES). This improvement of the frequency is a result of the SMES active power control, where the SMES injects/absorbs active power to/from the grid based on the value of the wind speed compared to the nominal wind speed. Moreover, power leveling is achieved based on the FLC-SMES, where the difference between the maximum and minimum value of active power at bus 18 and 33 and at the grid is reduced.

Conclusions
This paper discusses an FLC-SMES technique to improve the balanced and unbalanced distribution system's performance connected to a wind-based SCIG. The proposed method successfully mitigated the voltage and frequency fluctuations during a wind gust.

Conclusions
This paper discusses an FLC-SMES technique to improve the balanced and unbalanced distribution system's performance connected to a wind-based SCIG. The proposed method successfully mitigated the voltage and frequency fluctuations during a wind gust.

Conclusions
This paper discusses an FLC-SMES technique to improve the balanced and unbalanced distribution system's performance connected to a wind-based SCIG. The proposed method successfully mitigated the voltage and frequency fluctuations during a wind gust. Moreover, the proposed method achieved power leveling for the grid and common buses (18 and 33). Furthermore, the active and reactive powers of the grid were reduced to maintain the grid's stability. The SMES system has three modes of operation, where the proposed control can operate the SMES in charging mode, discharging mode, and standby mode according to the actual wind speed and the SMES current. A possible further extension of this model is to examine hybrid energy storage systems with RESs, and the inclusion of electric vehicles to achieve energy management of electrical power systems. The main limitations of the proposed work are the high capital cost of the SMES system and preservation of the superconducting state of the SMES coil.