Abstract
In an active distribution grid, renewable energy sources (RESs) such as photovoltaic (PV) and energy storage systems (e.g., superconducting magnetic energy storage (SMES)) can be combined with consumers to compose a microgrid (MG). The high penetration of PV causes high fluctuations of tie-line power flow and highly affects power system operations. This can lead to several technical problems such as voltage fluctuations and excessive power losses. In this paper, a fuzzy logic control based SMES method (FSM) and an optimized fuzzy logic control based SMES method (OFSM) are proposed for minimizing the tie-line power flow. Consequently, the fluctuations and transmission power losses are decreased. In FSM, SMES is used with a robust fuzzy logic controller (FLC) for controlling the tie-line power flow. An optimization model is employed in OFSM to simultaneously optimize the input parameters of the FLC and the reactive power of the voltage source converter (VSC) of SMES. The objective function of minimizing the tie-line power flow is incorporated into the optimization model. Particle swarm optimization (PSO) algorithm is utilized to solve the optimization problem while the constraints of the utility power grid, VSC, and SMES are considered. The simulation results demonstrate the effectiveness and robustness of the proposed methods.
RECENTLY, renewable energy sources (RESs) are becoming the most important generation power sources. As RESs are environmentally friendly, they have continuously grown worldwide [
Photovoltaic (PV) system is one of the most important types of RESs. Nowadays, grid integration of PV is becoming the most important and fastest-growing form of electricity generation among renewable energies. However, The output power generation of PV has an intermittent nature due to cloud transients [
The combination of SMES and MG with RESs has been pointed out in several research works. Reference [
A flat tie-line power of a small wind turbine and a PV array of a grid-connected MG supported by a battery energy storage was proposed in [
In this paper, two methods are proposed for minimizing the tie-line power flow between the MG with PV and the utility power grid in the presence of SMES. The first method is fuzzy logic control based SMES method (FSM) and the second method is optimized fuzzy logic control based SMES method (OFSM). The idea of these methods is to simultaneously control/optimize the input parameters of the fuzzy logic controller (FLC) and reactive power of the VSC of SMES to reduce the fluctuation of the tie-line power. The charging/discharging power of the SMES and the reactive power of its VSC are simultaneously computed for mitigating impacts of high power flow between the MG and the utility power grid. The optimal charging/discharging power of the SMES is determined based on the optimal change in the SMES current. A metaheuristic method, i.e., particle swarm optimization (PSO) is used to solve the optimization model considering the constraints of the utility power grid, VSC, and SMES. In summary, the contributions of this paper are as follows:
1) Proposing two methods for minimizing the tie-line power of the MG.
2) Defining three indices to study the performance of the proposed methods.
3) Considering the reactive power capability of the VSC.
4) Considering the power losses in the tie-line.
5) Comprehensive simulations are carried out without SMES and with SMES using the proposed methods, respectively.
The remainder of this paper is organized as follows. Section II describes the problems associated with the fluctuation of the tie-line power. The formulation of the proposed FSM and OFSM are given in Section III. Section IV gives a review of the PSO algorithm. The complete solution process is described in Section V. The simulation results are given in Sections VI. Section VII illustrates a comprehensive comparison of the proposed methods and Section VIII draws the conclusions.
Due to the intermittent nature of PV power generation and unexpected load variations, the line power at PCC is dramatically changing accordingly [

Fig. 1 Detailed problem description due to solar radiation and load power variations.
Two methods are proposed to minimize the power transfer between the utility power grid and the MG. These methods are based on SMES unit, in the presence of PV source, to compensate the required demand load power during the night period in which there is no power generation from PV. Moreover, the SMES stores the extra energy during the day period when the generation power of PV is greater than the demand load power.

Fig. 2 Detailed diagram of proposed methods.
As shown in the
To operate the chopper circuit with a fast response, FLC is employed to set the active power transfer between the SC and the VSC. FLC is considered one of the robust and advanced control techniques which are widely used in power system applications. FLC has several advantages such as: ① simple implementation and use; ② fast response during linear and nonlinear system applications; ③ easy to learn and modify its rules; ④ cheaper in developing compared to other controllers in the same application model [
There are four stages to complete the FLC process [

Fig. 3 Main processes of FLC technique.
Gaussian type is used to construct MFs of input and output variables. The rationale behind choosing this type is that it gives better performance for linear and nonlinear applications. The schematic diagram of main rules of FLC and the chopper circuit with FLC are discussed in

Fig. 4 Schematic diagram of main rules of FLC and chopper circuit with FLC. (a) Main rules of FLC. (b) Chopper circuit with FLC.
Graphical user interface (GUI) of MATLAB is used to implement the FLC model. The input and output are fuzzified by five sets on a scale of 0-1 MF degree where BigN, Neg., Zero, Pos., and BigP represent big negative, negative, zero, positive, and big positive for the two input variables, respectively. FastD, Dis., Not, Charg., FastC are denoted to fast-discharge, discharge, no-action, charge, and fast-charge for the output variable, respectively. The equation of Gaussian MF type can be calculated as follows [
(1) |
where x is the input variable; is the width of the Gaussian curve; and is the center of the peak value.
Defuzzification process can be achieved by IF-AND-THEN routines and the center of gravity method is used to calculate the expected defuzzification process output zo in the function of membership degree µc and the input variable of defuzzification process z as follows [
(2) |
This method is like the FSM, but the FLC inputs and the injected/absorbed reactive power of the VSC are optimally calculated to minimize the power transfer between the utility power grid and the MG. The main objective function included in the optimization problem is given as follows:
(3) |
s.t.
(4) |
(5) |
(6) |
(7) |
(8) |
(9) |
(10) |
where Ptie-linej,t is the active power at a common point at bus j; Pgj,t is the active power generation at bus j; PPVj,t is the active power of PV at bus j; NPV is the number of PV units; PLj,t is the active power demand at bus j; Qgj,t is the reactive power generation at bus j; Qsmj,t is the reactive power of SMES inverter at bus j; Psmj,t is the active power of SMES at bus j; QLj,t is the demand reactive power at bus j; Gjn is the conductance between bus j and bus n; Bjn is the susceptance between bus j and bus n; is the difference voltage angles at bus j and bus n; Vn,t and Vj,t are the voltages at bus n and bus j, respectively; the subscripts min and max represent the minimum and maximum values of corresponding variables, respectively; Ism is the current of SMES; and NB is the number of buses.
PSO is used in this paper to solve this optimization problem in which the control variables are the reactive power of VSC Qsm of the SMES and the change of current of SMES .
The complete PV generation system consists of three parts. The first part is an array which forms with modules connected in series and parallel of Sunpower SPR-305-WHT-U (305 W) panel to determine the appropriate output DC voltage and current. In this study, the PV system comprises of 5 series modules and 330 parallels to generate 500 kW DC power. In the second stage, the DC-boost converter is utilized to get a higher DC voltage, which also takes the maximum allowable power from PV array by using maximum power point tracking (MPPT) of incremental conductance. In the third stage, the voltage source inverter (VSI) is utilized to convert DC voltage to AC voltage before the interconnection with the utility power grid. Also, it keeps the DC voltage across the linked capacitor at a constant setpoint voltage. Proportional-integral (PI) technique is used in VSI control for AC and DC voltages after transformation from the three-phase system to dq reference frame. The synchronization between the grid and the output voltage of VSI is achieved by phase-locked loop (PLL) [

Fig. 5 PV system and its MPPT and VSI controllers.
Among all of ESTs, SMES has played an important role in power system applications. SMES stores its energy in magnetic form by flowing a DC through SC which forms from superconductive material with no resistance at its superconducting state [

Fig. 6 Complete structure of SMES unit.
The initial energy and operation energy of SMES (Esmo and Esm) can be calculated as functions of current of SMES Ism, inductance of SC Lsm, Psm, Ismo, Vsm, as presented in the following equations [
(11) |
(12) |
(13) |
The voltage across SC is given in (14) in terms of D of the chopper circuit and Vdc, as follows:
(14) |
The SOC of the SMES can be updated as follows:
(15) |
where and are the charging and discharging efficiencies, respectively; Psm,ch,t and Psm,disc,t are the charging and discharging power of SMES at time t, respectively; and and are the binary variables (), and because the charging and discharging of SMES cannot be simultaneously performed.
PSO is one of the smart optimization techniques that has been used in many applications. It was first introduced in [
Consider that the position of a particle i at time instant t is while its velocity is . The vectors of the position and velocity are stored during algorithm processing at time instant t to be used for updating the population at the next time instant . For each iteration, each particle is accelerated toward its previous best position and toward the global best position which is found by particle neighborhood . During each iteration, the new velocity will be used to update the particle position. The next position is calculated in the search space. This process will be repeated for a number of iterations until a minimum error is achieved [
(16) |
(17) |
(18) |
where k is the constriction factor; is the inertia weight parameter; and r1 and r2 are random number between 0 and 1.
To improve the performance of PSO, there is a common approach which promotes a balance between local and global searches. In this approach, starts with a high value and during the execution of PSO, it should decrease as follows:
(19) |
where and are the maximum and minimum inertia weights, respectively; iter is the current iteration; and itermax is the maximum number of iterations. Normally, can be changed between 0.4 and 0.9 [
(20) |
(21) |
where C1i and C2i are the initial cognitive and social coefficients, respectively; and C1f and C2f are the final cognitive and social coefficients, respectively.
The flowchart of FSM and OFSM is shown in

Fig. 7 Flowchart of proposed methods.
1) If the chosen method is FSM, the active and reactive power will be calculated without considering the optimization option.
2) If the chosen method is OFSM, the active and reactive power will be calculated considering the optimization option, i.e., the reactive power and FLC inputs are optimally calculated using (3)-(10).
3) Based on the calculated active power (charging/discharging), the SOC of the SMES is updated using (15). The commands generated at time instant t are saved and transmitted over the distribution network. This process is repeated for all time instants.
The grid-connected PV-SMES MG shown in

Fig. 8 Grid-connected PV-SMES MG.
The complete data of the utility power grid is shown in Appendix A Table AIII. In this work, three cases are studied to demonstrate the effectiveness of the proposed methods as follows:
1) Case 1: the performance of the selected grid is evaluated without using SMES and this is the default base case.
2) Case 2: the impact of the FSM on the grid is verified.
3) Case 3: OFSM is used to minimize the tie-line power transfer between the utility power grid and the MG during the whole day.

Fig. 9 Response of active power and power loss of transmission line for three cases. (a) Active power of transmission line at PCC bus. (b) Power loss of transmission line.
The voltage profile at PCC and the response of output power of SMES are discussed in Figs.

Fig. 10 Profile of voltage at PCC for three cases.

Fig. 11 Response of output power of SMES in proposed methods.

Fig. 12 Response of SMES system. (a) Duty cycle of chopper circuit. (b) Active power of SMES. (c) Current of SC.
Duty cycle changes between charging and discharging modes when its value is less than 0.5 and larger than 0.5, respectively, within 0 to 1 scale, and it changes optimally in the case of OFSM. The active power of SMES is negative when the power transfers from SMES to PCC, while it is positive in charging mode as the extra active power is stored in SC. In both two proposed methods, the current of SC increases and decreases during charging and discharging events to face the system requirements from load demand and PV power generation, respectively.

Fig. 13 Response of voltage of DC-link capacitor.
The enhancements of the proposed methods for minimizing tie-line power, reducing line energy loss, and regulating voltage at PCC are compared in Tables II and III.
The criteria used to calculate improvement percentage (IP) in overshoot/undershoot can be described as follows:
(22) |
where Shbase is the maximum overshoot/minimum undershoot for the base case; and Shpro is the maximum overshoot/minimum undershoot in the proposed methods.
Tables IV and V illustrate the validation and robustness of the proposed methods in terms of the deviation of the duty cycle and the deviation of the voltage of DC-link capacitor.
The deviation of the duty cycle of chopper circuit DDC can be calculated according to (23), and the deviation of the voltage of DC-link capacitor VD can be calculated according to (24).
(23) |
(24) |
where DMOS/MUS is the maximum overshoot/minimum undershoot value of D; and VMOS/MUS is the maximum overshoot/minimum undershoot value of the voltage of capacitor.
To demonstrate the robustness of the proposed methods, a step-change in load power and solar irradiance is applied as shown in

Fig. 14 Response of voltage at PCC and voltage of DC-link capacitor during step-change in load power and solar irradiance in both FSM and OFSM. (a) Step-changes in load power and solar irradiance. (b) FSM. (c) OFSM.
This paper presentes two methods, called FSM and OFSM, for minimizing the tie-line power of the MG and regulating the voltage at PCC. The FLC technique is employed in the proposed methods to control the duty cycle of the chopper circuit in SMES. The PSO algorithm is employed to solve the optimization problem considering the constraints of the utility power grid, VSC, and SMES. In the proposed methods, the reactive power of the VSC and the active charging/discharging power of the SMES are optimally and simultaneously computed. Therefore, the tie-line power flow is effectively minimized, and the voltage at PCC is regulated. Furthermore, the fluctuations of tie-line power flow and the transmission power losses significantly decrease. The performance of the proposed methods is compared with the base case without considering SMES. The results demonstrate the effectiveness of the proposed methods for reducing the negative impacts of high tie-line power flow. It is also shown that the optimal coordination between the reactive power of VSC and the reactive power of utility power grid can perform better in terms of voltage regulation and power loss minimization.
References
P. S. Georgilakis, “Technical challenges associated with the integration of wind power into power systems,” Renewable and Sustainable Energy Reviews, vol. 12, no. 3, pp. 852-863, Apr. 2008. [百度学术]
B. Shyam and P. Kanakasabapathy, “Renewable energy utilization in India–policies, opportunities and challenges,” in Proceedings of 2017 International Conference on Technological Advancements in Power and Energy, Kollam, India, Dec. 2017, pp 1-6. [百度学术]
N. Hatziargyriou, H. Asano, R. Iravani et al., “Microgrids,” IEEE Power and Energy Magazine, vol. 5, no. 4, pp. 78-94, Jul.-Aug. 2007. [百度学术]
B. Kroposki, R. Lasseter, T. Ise et al., “Making microgrids work,” IEEE Power and Energy Magazine, vol. 6, no. 3, pp. 40-53, May-Jun. 2008. [百度学术]
A. Arshad and M. Lehtonen, “A stochastic assessment of PV hosting capacity enhancement in distribution network utilizing voltage support techniques,” IEEE Access, vol. 7, pp. 46461-46471, Apr. 2019. [百度学术]
M.-N. Khursheed, K. M. F. Nadeem, G. Ali et al., “A review of estimating solar photovoltaic cell parameters,” in Proceedings of 2nd International Conference on Computing, Mathematics and Engineering Technologies, Sukkur, Pakistan, Jan. 2019, pp 1-6. [百度学术]
M. Farhadi and O. Mohammed, “Energy storage technologies for high-power applications,” IEEE Transactions on Industry Applications, vol. 52, no. 3, pp. 1953-1961, May-Jun. 2016. [百度学术]
V. A. Boicea, “Energy storage technologies: the past and the present,” Proceedings of the IEEE, vol. 102, no. 11, pp. 1777-1794, Nov. 2014. [百度学术]
L. Ren, Y. Xu, W. Zuo et al., “Development of a movable HTS SMES system,” IEEE Transactions on Applied Superconductivity, vol. 25, no. 4 , pp. 1-9, Aug. 2015. [百度学术]
M. Song, J. Shi, Y. Liu et al., “100 kJ/50 kW HTS SMES for micro-grid,” IEEE Transactions on Applied Superconductivity, vol. 25, no. 3, pp. 1-6, Jun. 2015. [百度学术]
X. Chen, J. Jin, Y. Xin et al., “Integrated SMES technology for modern power system and future smart grid,” IEEE Transactions on Applied Superconductivity, vol. 24, no. 5, pp. 1-5, Oct. 2014. [百度学术]
H. R. Seo, A. R. Kim, M. Park et al., “Power quality enhancement of renewable energy source power network using SMES system,” Physica C: Superconductivity and Its Applications, vol. 471, no. 21-22, pp. 1409-1412, Nov. 2011. [百度学术]
I. Ngamroo and S. Vachirasricirikul, “Design of optimal SMES controller considering SOC and robustness for microgrid stabilization,” IEEE Transactions on Applied Superconductivity, vol. 26, no. 7, pp. 1-5, Oct. 2016. [百度学术]
L. Chen, H. Chen, J. Yang et al., “Conceptual design and evaluation of an HTS magnet for an SMES used in improving transient performance of a grid-connected PV system,” IEEE Transactions on Applied Superconductivity, vol. 28, pp. 1-8, Apr. 2018. [百度学术]
S. Dechanupaprittha, K. Hongesombut, M. Watanabe et al., “Stabilization of tie-line power flow by robust SMES controller for interconnected power system with wind farms,” IEEE Transactions on Applied Superconductivity, vol. 17, no. 2, pp. 2365-2368, Jun. 2007. [百度学术]
Z. Xiao, J. M. Guerrero, J. Shuang et al., “Flat tie-line power scheduling control of grid-connected hybrid microgrids,” Applied Energy, vol. 210, pp. 786-799, Jan. 2018. [百度学术]
C. Zhang, W. Lin, D. Ke et al., “Smoothing tie-line power fluctuations for industrial microgrids by demand side control: an output regulation approach,” IEEE Transactions on Power Systems, vol. 34, no. 5, pp. 3716-3728, Sept. 2019. [百度学术]
Y. Che, J. Zhou, T. Lin et al., “A simplified control method for tie-line power of DC micro-grid,” Energies, vol. 11, no. 4, pp. 933, Apr. 2018. [百度学术]
Y. Liu, Y. Li, H. Xin et al., “Distributed optimal tie-line power flow control for multiple interconnected AC microgrids,” IEEE Transactions on Power Systems, vol. 34, no. 3, pp. 1869-1880, May 2019. [百度学术]
P. Mukherjee and V. V. Rao, “Superconducting magnetic energy storage for stabilizing grid integrated with wind power generation systems,” Journal of Modern Power Systems and Clean Energy, vol. 7, no. 2, pp. 400-411, Mar. 2019. [百度学术]
S. M. Said, M. Aly, B. Hartmann et al., “SMES-based fuzzy logic approach for enhancing the reliability of microgrids equipped with PV generators,” IEEE Access, vol. 7, pp. 92059-92069, Jul. 2019. [百度学术]
A. Ali, D. Raisz, and K. Mahmoud, “Sensitivity-based and optimization-based methods for mitigating voltage fluctuation and rise in the presence of PV and PHEVs,” International Transactions on Electrical Energy Systems, vol. 27, no. 12, pp. 1-19, Nov. 2017. [百度学术]
A. Ali, D. Raisz, and K. Mahmoud, “Voltage fluctuation smoothing in distribution systems with RES considering degradation and charging plan of EV batteries,” Electric Power Systems Research, vol. 176, pp. 1-7, Nov. 2019. [百度学术]
L. A. Zadeh, “Fuzzy sets,” Information and Control, vol. 8, no. 3, pp. 338-353, Jun. 1965. [百度学术]
S. M. Said and B. Hartmann, “Alleviation of extremely power and voltage variations caused by wind power and load demand using SMES,” Periodica Polytechnica Electrical Engineering and Computer Science, vol. 63, no. 3, pp. 134-143, Mar. 2019. [百度学术]
C. W. de Silva, “Fundamentals of fuzzy logic,” in Intelligent Control. Boca Raton: CRC Press, 2018, pp. 43-68. [百度学术]
S. S. Sastry, Intelligent Control. Boca Raton: CRC Press, 2018. [百度学术]
T. Thacker, D. Boroyevich, R. Burgos et al., “Phase-locked loop noise reduction via phase detector implementation for single-phase systems,” IEEE Transactions on Industrial Electronics, vol. 58, no. 6, pp. 2482-2490, Jun. 2011. [百度学术]
E. M. Ahmed and M. Shoyama, “Stability study of variable step size incremental conductance/impedance MPPT for PV systems,” in Proceedings of 8th International Conference on Power Electronics, Jeju, South Korea, May-Jun. 2011, pp 386-392. [百度学术]
N. Amaro, J. M. Pina, J. Martins et al., “Integration of SMES devices in power systems–opportunities and challenges,” in Proceedings of 2015 9th International Conference on Compatibility and Power Electronics (CPE), Costa da Caparica, Portugal, Jun. 2015, pp 482-487. [百度学术]
T. Mito, H. Chikaraishi, A. Kawagoe et al., “Summary of a 1 MJ conduction-cooled LTS pulse coil developed for 1 MW, 1 s UPS-SMES,” IEEE Transactions on Applied Superconductivity, vol. 19, no. 3, pp. 1999-2003, Jun. 2009. [百度学术]
Y. Li, P. Song, Y. Kang et al., “Design of a 30-K/4-kJ HTS magnet cryocooled with solid nitrogen,” IEEE Transactions on Applied Superconductivity, vol. 28, no. 4, pp. 1-6, Jun. 2018. [百度学术]
E. A. Mohamed, S. M. Said, B. Hartmann et al., “An efficient fuzzy logic controlled-smes for isolated-microgrid system considering high wind power penetration,” in Proceedings of 2018 5th International Conference on Electric Power and Energy Conversion Systems (EPECS), Kitakyushu, Japan, Apr. 2018, pp. 1-6. [百度学术]
D. Sutanto and K. W. E. Cheng, “Superconducting magnetic energy storage systems for power system applications,” in Proceedings of 2009 International Conference on Applied Superconductivity and Electromagnetic Devices, Chengdu, China, Sept. 2009, pp 377-380. [百度学术]
Eberhart R. and J. Kennedy, “A new optimizer using particle swarm theory,” in Proceedings of the 6th International Symposium on Micro Machine and Human Science, Nagoya, Japan, Oct. 1995, pp. 39-43. [百度学术]
M. Settles, “An introduction to particle swarm optimization,” Ph.D. dissertation, Department of Computer Science, University of Idaho, Moscow, Russia, 2005. [百度学术]
A. L. G. Noguera, L. S. M. Castellanos, E. E. S. Lora et al., “Optimum design of a hybrid diesel-ORC/photovoltaic system using PSO: case study for the city of Cujubim, Brazil,” Energy, vol. 142, Jan. 2018, pp. 33-45. [百度学术]