TY - JOUR AU - Kamarposhti, Mehrdad Ahmadi AB - 1. Introduction The MG islanding must be identified as soon as possible and appropriate control orders issued. In the case the predetermined MG islanding, it is easier to control the voltage and frequency beforehand. But, if the islanding occurs unintentionally and during the connection of a heavy load, it will cause instability. In the case of islanding, the voltage and frequency changes of the islanded section are slow and the protective devices will not be able to detect the formation of the island [1]. Identifying the islanding status is an important issue in MGs connection, which has been the subject of research in recent years. Necessary conditions for becoming an island in microgrids have been published in a number of standards, such as IEEE-1574 and IEC-62116 [2]. The methods of identifying islanding are generally divided into two categories: "remote" and "local" detection methods [3, 4]. Remote methods are based on telecommunication systems between the operator and distributed generation (DG), while local methods use information collected at DG locations. Remote methods have a fast response time, lack of non-detection zone (NDZ), and they are highly reliable. Nonetheless, the disadvantage of this method is the relatively high cost of their implementation and maintenance. Local detection methods can be categorized into passive, active, hybrid, and intelligent methods, which operate by measuring SG parameters, such as voltage, current, frequency, and harmonic distortion on the microgrid side [5]. Passive methods include under/overvoltage relays (UVR/OVR), under/over-frequency relays (UFR/OFR) [5], rate of change of frequency (ROCOF) [6], methods based on rate of change of active power (ROCOAP) and rate of change of reactive power (ROCORP) [7], a technique based on two criteria of transient index value (TIV) and positive sequence of current angle at common connection point [8], detection methods using signal processing techniques [9], methods based on unbalance voltage (UV) [2], methods based on total harmonic distortion (THD) [10], and methods based on differential transient rate of change of frequency (DTROCOF) [11]. Active methods operate on the basis of a disruption and collecting its effects, and include a sudden increase in THD [12], Sandia frequency shift (SFS) [13], Sandia voltage shift (SVS) [14], active frequency deviation (AFD) [15], current injection [16], negative-sequence current injection [17], negative-sequence voltage injection [18], high frequency signal injection [19], traveling wave theory [20], virtual capacitor [21], dual second-order generalized integrator-phase locked loop (DSOGI-PLL) [22], voltage phase angle [23], current injection and voltage monitoring [24], and positive frequency based on frequency locked loop (FLL) [25]. In hybrid methods, the capabilities of active and passive methods have been used to detect islanding faults. Ref. [26] presents a hybrid method based on the Gibbs phenomenon for identifying islands based on a combination of ROCOF methods at a given moment and measuring the THD. The hybrid method based on active and passive algorithms that use the voltage phase angle (VPA) and the voltage unbalance (VU) is presented in [27, 28]. Authors in [29] utilize a network impedance estimation method that uses resonant excitation when a fault occurs in the network. In [30], the hybrid method of islanding detection and priority-based load curtailment has been used in distribution networks in the presence of DG units. In [31], a hybrid islanding detection system is introduced based on an inverter that acts as a virtual synchronous generator. Over time, with the growth of intelligent methods, attention has been focused on using these methods to identify islanding cases. Examples of such methods include the decision-making tree (DT) [32], support vector machine (SVM) [33], artificial neural network (ANN) [34], fuzzy logic control (FLC) [35], and adaptive neuro-fuzzy inference system (ANFIS) [36], which are used to categorize different conditions. In [37], graph search method is employed to determine the islanding operation of renewable energy sources RESs and the main grid based on system configuration. A new method of islanding detection is proposed in [38] for photovoltaic systems (PVs) connected to the main grid using the maximum power point (MPP) tracking algorithm. In [39], morphological filters along with experimental modal analysis (EMD) have been used to implement islanding adaptive signal detection. The previously introduced intelligent methods for islanding mode identification suffer from two important drawbacks: inability to identify the islanding mode in the short term and disregarding uncertainty in the power system. Several me intelligent methods are unable to detect the islanding mode in a short time due to the complex logic behind them. On the other hand, the methods that satisfy the time allowed for islanding detection do not take into account the various uncertainties that may arise in a microgrid. In this paper, a new innovative fuzzy based controller is proposed to determine the islanding mode in the event of system uncertainty. The performance of this controller is based on the type-2 fuzzy logic. In general, the capabilities of this method are summarized as follows: They do not mis operate in complex operations of the power system. They can discriminate the island mode from other network events in a short time. Uncertainties in the power system (uncertainty in load, system parameters, measuring devices, power generation in DGs) have little effect on the performance of the controller. The organization of the paper is as follows. Section 2, describes the under-study power system. Uncertainty modeling in microgrids is given in Section 3. Section 4 of the paper introduces the proposed method to identify the islanding mode. Simulation results are provided in Section 5 and finally, conclusion is done in Section 6. 2. The system under study The single line diagram of the under study microgrid is presented in Fig 1. The system has four buses, two power sources including a wind turbine on bus 1 and a photovoltaic panel installed on bus 2. Other specifications of the studied network are listed in Table 1. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 1. The system under study [40]. https://doi.org/10.1371/journal.pone.0257830.g001 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 1. Specifications of the studied network. https://doi.org/10.1371/journal.pone.0257830.t001 The line between buses 1 and 3 and the line between buses 2 and 3 has a resistance of 1.2 Ω and a reactance of 106 mH. Between buses 3 and 4 the impedance is almost zero. 3. Modeling of uncertainty in microgrids Studies and research in the field of power systems need to consider uncertainties, the lack of which leads to errors in the results of studies on the network. In this paper, load and DGs production uncertainties are tow main sources of uncertainty in the under-study MG. 3.1. Uncertainty in the network load In conventional methods for detecting the microgrid islanding, the assumption is that the load is a fixed value, which simplifies implementation but does not correspond to the actual behavior of the load in the power system. Statistical studies proved that consumers’ electrical load behavior follows a normal probability density function (PDF). In this distribution, the average value is considered to be the same as the predicted value, and the standard deviation is determined according to the historical information, which is as follows [41]. (1) where, PL, μPL and σPL denote the load power (KW), the average value of the load power (KW), and the standard deviation of the load power (KW), respectively. 3.2. Uncertainty in DGs 3.2.1 Wind turbine. Wind speed is random in nature, and to model it, it is necessary to select the probability density function (PDF) or the cumulative probability function (CDF) properly. In this field, many studies and researches have been done and various density probability functions have been tested, such as Weibull, Rayleigh, and Normal probability distribution functions. In this paper, the Weibull probability distribution function (Eq (2)) is used to model the uncertainty of wind power [42]. (2) Where, α (m/s), β, and v (m/s) are scale and shape parameters of the Weibull distribution and wind speed, respectively. These samples are then converted to wind turbine generator output power using the wind speed-power curve (Eq (3)) [42]. (3) Where, vci, vr and vco are the starting speed v (m/s), nominal speed v (m/s), and cut-off speed v (m/s) of the wind turbine. 3.2.2 PV panels. PV output power is expressed as a function of irradiation as the irradiance power curve, as given in Eq (4) [42]: (4) Where, Pr.PV, R, Rc, and RSTD denotes the nominal power of the PV (W/m2), irradiance, the specific irradiance point (W/m2) that is usually set to 150 W/m2, and irradiance in standard conditions (1000 W/m2). 3.1. Uncertainty in the network load In conventional methods for detecting the microgrid islanding, the assumption is that the load is a fixed value, which simplifies implementation but does not correspond to the actual behavior of the load in the power system. Statistical studies proved that consumers’ electrical load behavior follows a normal probability density function (PDF). In this distribution, the average value is considered to be the same as the predicted value, and the standard deviation is determined according to the historical information, which is as follows [41]. (1) where, PL, μPL and σPL denote the load power (KW), the average value of the load power (KW), and the standard deviation of the load power (KW), respectively. 3.2. Uncertainty in DGs 3.2.1 Wind turbine. Wind speed is random in nature, and to model it, it is necessary to select the probability density function (PDF) or the cumulative probability function (CDF) properly. In this field, many studies and researches have been done and various density probability functions have been tested, such as Weibull, Rayleigh, and Normal probability distribution functions. In this paper, the Weibull probability distribution function (Eq (2)) is used to model the uncertainty of wind power [42]. (2) Where, α (m/s), β, and v (m/s) are scale and shape parameters of the Weibull distribution and wind speed, respectively. These samples are then converted to wind turbine generator output power using the wind speed-power curve (Eq (3)) [42]. (3) Where, vci, vr and vco are the starting speed v (m/s), nominal speed v (m/s), and cut-off speed v (m/s) of the wind turbine. 3.2.2 PV panels. PV output power is expressed as a function of irradiation as the irradiance power curve, as given in Eq (4) [42]: (4) Where, Pr.PV, R, Rc, and RSTD denotes the nominal power of the PV (W/m2), irradiance, the specific irradiance point (W/m2) that is usually set to 150 W/m2, and irradiance in standard conditions (1000 W/m2). 3.2.1 Wind turbine. Wind speed is random in nature, and to model it, it is necessary to select the probability density function (PDF) or the cumulative probability function (CDF) properly. In this field, many studies and researches have been done and various density probability functions have been tested, such as Weibull, Rayleigh, and Normal probability distribution functions. In this paper, the Weibull probability distribution function (Eq (2)) is used to model the uncertainty of wind power [42]. (2) Where, α (m/s), β, and v (m/s) are scale and shape parameters of the Weibull distribution and wind speed, respectively. These samples are then converted to wind turbine generator output power using the wind speed-power curve (Eq (3)) [42]. (3) Where, vci, vr and vco are the starting speed v (m/s), nominal speed v (m/s), and cut-off speed v (m/s) of the wind turbine. 3.2.2 PV panels. PV output power is expressed as a function of irradiation as the irradiance power curve, as given in Eq (4) [42]: (4) Where, Pr.PV, R, Rc, and RSTD denotes the nominal power of the PV (W/m2), irradiance, the specific irradiance point (W/m2) that is usually set to 150 W/m2, and irradiance in standard conditions (1000 W/m2). 4. Type-2 fuzzy system The interval type-2 fuzzy logic system (IT2FLS) consists of two type-1 membership functions, and the distance between these two membership functions indicates uncertainty [7]. As shown in Fig 2, a IT2FLS is described similar to a type-1 fuzzy system using a series of if-then rules, except for the type-2 fuzzy sets use a range (this can be a fuzzy set) in their membership functions, instead of employing a number for defining the degree of membership. This range is called the footprint of uncertainties (FOU). Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 2. Type-2 membership function. https://doi.org/10.1371/journal.pone.0257830.g002 Fig 3 shows the IT2FLS schematic to solve the problem of islanding detection. The IT2FLS includes fuzzification, inference motor, base fuzzy rules, and an output processor. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 3. Schematic of the IT2FLS. https://doi.org/10.1371/journal.pone.0257830.g003 The type 2 fuzzy blocks are almost the same as the type I fuzzy. But for the IT2FLS a type reducer is needed. The type reducer in the IT2FLS transforms the second type set into a type I fuzzy set. The second type fuzzy set can be defined by Eq (5): (5) In above equation μA (x, u) is the function of the second type fuzzy members in the range of and A is defined as Eq (6): (6) In Eq (6), Jx is the initial member of x and the μ is variable number in range of 0 and 1. There are two kind of type-2 fuzzy set (General and Interval). For the interval fuzzy set, the value of the second member is always equal to 1. The complexity of general fuzzy design has made it unused in industry and the Interval one is mostly used. In other word, the interval second type fuzzy set is the simplified version of general type which is defined as Eq (7): (7) 5. The proposed controller The proposed controller can have a structure such as Fig 4. The proposed controller input is the frequency deviation and its derivative and the controller output is applied to a comparator block to create the appropriate control command. The membership function considered for fuzzy controllers is an interval type-2 fuzzy controller. The main idea for detecting microgrid islanding is to create a range for frequency changes as well as rate of changes over time. It is assumed that the number of changes and the ROCOF for islanding are known, and in the proposed controller, the frequency is first sampled and compared with the reference frequency, then the output of this comparison is amplified and its derivative is obtained. It is then given as two separate inputs to the type-2 fuzzy controller and the controller provides the necessary outputs based on these two inputs. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 4. Block diagram of the proposed controller. https://doi.org/10.1371/journal.pone.0257830.g004 6. Objective function The proposed controller can have a structure such as Fig 4. The proposed controller input is the frequency deviation and its derivative and the controller output is applied to a comparator block to create the appropriate control command. The membership function considered for fuzzy controllers is an interval type-2 fuzzy controller. The main idea for detecting microgrid islanding is to create a range for frequency changes as well as rate of changes over time. It is assumed that the number of changes and the ROCOF for islanding are known, and in the proposed controller, the frequency is first sampled and compared with the reference frequency, then the output of this comparison is amplified and its derivative is obtained. It is then given as two separate inputs to the type-2 fuzzy controller and the controller provides the necessary outputs based on these two inputs. The higher the accuracy of the design, the more efficient the controller. As a result, a meta-heuristic algorithm with a suitable objective function must be used to design the controller. The objective function for the proposed controller designing can be defined as Eq (8): (8) where, tsim is the simulation time, e is the frequency error value, and t is the time operator. A controller with small values of error and time will perform better. 7. PSO algorithm The PSO algorithm is a population-based search algorithm and is modeled by imitating the behavior of bird swarms. In this algorithm, the particles in the search space are randomly distributed and the location of the particles in the search space is affected by the experience and knowledge of themselves and their neighbors; thus, the positions of other particles affect how a particle searches the space. The modeling of this social behavior leads to a search process in which particles in successive repetitions tend to successful areas. The steps for implementing the algorithm are as follows [43]. Step 1: generating the initial population Generating the initial population is the random determination of the initial positions of the particles with a uniform distribution in the search space. Step 2: evaluating the objective function At this step, each particle that represents a solution to the problem must be evaluated. Depending on the problem under consideration, the evaluation method will be different. This is performed by the objective function specific to each problem. Step 3: determining the best personal particle and the best global particle After evaluating each particle, the best fitness of each particle ever obtained is stored. Step 4: updating particles The new Velocity of the particles is updated using the speed of each particle: (9) where is the best position of the experienced by all the population, w is the weighting factor for the velocity, rand1 and rand2 are two different random numbers, c1 and c2 are coefficients of the personal and global best solutions respectively. The new position of the particles is updated by Eq (15): (10) Step 5: Check the termination conditions Particle position updating continue until the maximum number of iterations is allowed. To terminate the algorithm, a criterion is always set, which can be the maximum number of iterations or the maximum number of iterations without changing the total fitness. The process of implementing the PSO algorithm is shown in Fig 5. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 5. Flowchart of the proposed method. https://doi.org/10.1371/journal.pone.0257830.g005 8. Simulation and numerical results The simulation of the proposed method is performed in MATLAB/Simulink. At t = 6s, islanding is performed using the switch that exists between the microgrid and the upstream power grid. In this microgrid, the solar source includes a PV panel that converts solar power to DC power, and using an IGBT-based inverter, DC power is converted to three-phase AC power. The output power of the inverter is controlled by modulated pulses applied to its gate, and based on the changes in the microgrid frequency, its output power changes, and as a result, its generated power is adjusted to the demand. The wind source also includes a wind turbine with the ability to adjust the output power, which changes its output power to match the supply and demand according to the frequency of the system. Table 2 shows the fuzzy rules used to identify islanding. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 2. Fuzzy rules. https://doi.org/10.1371/journal.pone.0257830.t002 To consider the uncertainty of wind speed, solar radiation, and load, we change the nominal value to ±25 p.u, with 25 different modes being considered for load demand changes. Furthermore, to investigate the effect of the type of power exchange between the system and the microgrid on frequency changes and islanding detection, we considered the system voltage angles in three different modes: 0 and ±12. In total, 75 different states of uncertainty are considered for each scenario. Four different scenarios are presented to evaluate the proposed method: Scenario 1) Islanding Scenario 2) Short circuits in the tie line between the microgrid and the network without islanding Scenario 3) Interrupting the power generation resources of the microgrid without islanding Scenario 4) Islanding simultaneous with a sudden increase in the generation power of microgrid resources 8.1. Scenario 1: Islanding Table 3 shows all possible states, frequency changes during islanding, and whether islanding was identified. Moreover, to investigate the effect of type of power exchange between the system and the microgrid on frequency changes and islanding detection, the system voltage angles are considered in three different modes. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 3. Results of islanding detection. https://doi.org/10.1371/journal.pone.0257830.t003 Table 3 shows that in all the cases considered for microgrids and changes in supply and demand, as well as changes in the exchange power between the power system and the distribution network, the islanding detection was well performed. The maximum frequency deviation occurs at 12° and the minimum frequency deviation occurs at-12°. In all cases, when the power output of the wind and solar sources is 1.25p.u. and the system voltage angle is -12°, the minimum frequency deviation is presented. Also, when the generation is 1.25p.u., the load is 0.75p.u., and the system voltage angle is 12°, the maximum frequency deviation appears. Therefore, when the MG voltage angle is less than the microgrid voltage angle, it will be more difficult to detect islanding using the proposed method, but in all cases, islanding event is detected. Fig 6 compares several cases of frequency deviation in 10s for the first scenario. In this figure, frequency changes Due to load demand (Pd) changes, Voltage angle, power generation changes are shown in Fig 6(A)–6(C) respectively. It can be observed in Fig 6(A) that the greatest impact on frequency deviation is because of load demand changes and it can be observed in Fig 6(C) that least impact is due to power generation variations. Although increasing the load did not affect the maximum deviation, it did reduce the frequency fluctuations. Also, when the network voltage angle is less than that of the microgrid, the frequency deviation is smaller. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 6. Comparison of frequency deviation in different modes for the first scenario. https://doi.org/10.1371/journal.pone.0257830.g006 To analyze the ability of the presented method, it is compared with three other methods. For this purpose, all 75 modes presented in Table 3 were simulated using type-1 fuzzy logic, neural network, and the neuro-fuzzy methods. Table 3 presents the results of the comparison statistically. Table 4 shows that the type-2 fuzzy logic is able to detect 100% of the islanding modes, while the other methods have an error percentage, wheretype-1 fuzzy logic method was the most erroneous one. It is also observed that the type-2 fuzzy logic has a higher detection speed than other methods, the neuro-fuzzy method has a better operating time than other methods, and the type-1 fuzzy logic has the lowest speed. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 4. Comparison of percentage of detection by different methods in scenario 1. https://doi.org/10.1371/journal.pone.0257830.t004 8.2. Scenario 2: Short circuits in the tie line between the microgrid and the network without islanding In this scenario, three different cases will be considered. In the case 1, the switch that creates the islanding mode at t = 6s is removed, and instead all three phases in tie line that connects the microgrid to the main grid are short circuited. Short circuit occurs at t = 6s and is cleared at t = 7s. In the case 2, islanding does not occur, but a short circuit occurs in the PV bus. In the case 3, a short circuit occurs in the WT bus. In these three cases, the islanding mode should not be detected in all 75 cases mentioned above. For this scenario, the proposed method is compared with three other methods, the results are presented in Table 5. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 5. Comparison of percentage of detection by different methods in scenario 2. https://doi.org/10.1371/journal.pone.0257830.t005 According to the results, the type-2 fuzzy logic is able to correctly identify 100% of the non-islanding modes in all three cases. Also, In the case 2, neural network and neuro-fuzzy methods had equal error percentage, but the neuro-fuzzy method has less error overall. Fig 7 compares several frequency deviations in 10s for the second scenario. In this figure, frequency changes Due to load demand changes, Voltage angle, power generation changes are shown in Fig 7(A)–7(C) respectively. It is observed in Fig 7(A)–7(C) that the effect of load demand changes on frequency deviation is lower than those in Scenario 1, but the effects of changes in the power generation and power exchange with the network had increased, although these changes have not affected the maximum deviation. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 7. Comparison of frequency deviations in different modes for the second scenario. https://doi.org/10.1371/journal.pone.0257830.g007 8.3. Scenario 3: Interrupting the power generation resources of the microgrid without islanding In this scenario, three different cases will be considered. In all three cases, the switch that creates the islanding mode at t = 6s is removed and the islanding mode is not created. In the case 1, the PV power source of is disconnected from the microgrid at t = 6s, and all 75 modes mentioned above are examined. In the case of 2, WT source is disconnected from the microgrid at t = 6s and all 75 modes are checked. In the case 3, both WT and PV sources are disconnected from the microgrid at t = 6s and all modes are examined. In this scenario, the proposed method has been compared with three other methods, the results of which have been presented in Table 6. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 6. Comparison of percentage of detection by different methods in scenario 3. https://doi.org/10.1371/journal.pone.0257830.t006 According to the results, the type-2 fuzzy logic correctly identified 100% of the non-islanding in all three cases, but other methods in this scenario also had an error percentage. In this scenario, the type-1 fuzzy logic method had the highest error in all three cases and the neuro-fuzzy method had the least error. Also, In the case 3, type-1 fuzzy, neural network, and neuro-fuzzy methods had a higher error rate than the cases 1 and 2. Furthermore, in general, in this scenario, the error percentage for these three methods has increased compared to scenarios 1 and 2. Fig 8 compares several cases of frequency deviation in 10s for the third scenario. In this figure, frequency changes Due to load demand changes, Voltage angle, power generation changes are shown in Fig 8(A)–8(C) respectively. In Fig 8(A), it is observed that the effect of load demand changes on frequency deviation is less than Scenario 1 but higher than Scenario 2. In Fig 8(B) and 8(C), it is recognizable the effects of changes in power generation and power exchange with network have increased compared to previous scenarios. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 8. Comparison of frequency deviation in different modes for the third scenario. https://doi.org/10.1371/journal.pone.0257830.g008 8.4. Scenario 4: Islanding simultaneous with a sudden increase in the generation power of microgrid resources In this scenario, three different cases are examined, and in all three cases, the switch that creates the islanding mode at t = 6s, establishes the islanding mode. In the case 1, the PV source experiences a sudden change of 70% at t = 6s and all 75 states mentioned above are investigated. In the case 2, the WT sources experiences a sudden change of 70% at t = 6s and all 75 states are investigated. In the case 3, both WT and PV sources face a sudden change of 70% at t = 6s and all 75 states are examined. In this scenario, the proposed method has been compared with three other methods, the results are presented in Table 7. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 7. Comparison of percentage of detection by different methods in scenario 3. https://doi.org/10.1371/journal.pone.0257830.t007 The results accumulated in Table 7 indicate that the type-2 fuzzy logic in all three cases correctly identified 100% of the non-islanding but other methods in this scenario also had an error percentage. In this scenario, the type-1 fuzzy logic method had the highest error in all three cases and the neural-fuzzy method had the least error. Also, In the case 3, type-1 fuzzy, neural network, and neuro-fuzzy method had a higher error percentage than cases 1 and 2. Also, in general, in this scenario, the error percentage in these three methods has increased compared to first and second scenarios. Fig 9 compares several cases of frequency deviation in 10s for the fourth scenario. In this figure, frequency changes Due to load demand changes, Voltage angle, power generation changes are shown in Fig 9(A)–9(C) respectively. The effect of load demand changes (Fig 9(A)), power generation changes (Fig 9(B)), and power exchange changes (Fig 9(A)) on frequency deviation has been greatly increased. It can even be seen that changes in power generation and power exchange changes affect the maximum frequency deviation. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 9. Comparison of frequency deviation in different cases for the fourth scenario. https://doi.org/10.1371/journal.pone.0257830.g009 8.1. Scenario 1: Islanding Table 3 shows all possible states, frequency changes during islanding, and whether islanding was identified. Moreover, to investigate the effect of type of power exchange between the system and the microgrid on frequency changes and islanding detection, the system voltage angles are considered in three different modes. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 3. Results of islanding detection. https://doi.org/10.1371/journal.pone.0257830.t003 Table 3 shows that in all the cases considered for microgrids and changes in supply and demand, as well as changes in the exchange power between the power system and the distribution network, the islanding detection was well performed. The maximum frequency deviation occurs at 12° and the minimum frequency deviation occurs at-12°. In all cases, when the power output of the wind and solar sources is 1.25p.u. and the system voltage angle is -12°, the minimum frequency deviation is presented. Also, when the generation is 1.25p.u., the load is 0.75p.u., and the system voltage angle is 12°, the maximum frequency deviation appears. Therefore, when the MG voltage angle is less than the microgrid voltage angle, it will be more difficult to detect islanding using the proposed method, but in all cases, islanding event is detected. Fig 6 compares several cases of frequency deviation in 10s for the first scenario. In this figure, frequency changes Due to load demand (Pd) changes, Voltage angle, power generation changes are shown in Fig 6(A)–6(C) respectively. It can be observed in Fig 6(A) that the greatest impact on frequency deviation is because of load demand changes and it can be observed in Fig 6(C) that least impact is due to power generation variations. Although increasing the load did not affect the maximum deviation, it did reduce the frequency fluctuations. Also, when the network voltage angle is less than that of the microgrid, the frequency deviation is smaller. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 6. Comparison of frequency deviation in different modes for the first scenario. https://doi.org/10.1371/journal.pone.0257830.g006 To analyze the ability of the presented method, it is compared with three other methods. For this purpose, all 75 modes presented in Table 3 were simulated using type-1 fuzzy logic, neural network, and the neuro-fuzzy methods. Table 3 presents the results of the comparison statistically. Table 4 shows that the type-2 fuzzy logic is able to detect 100% of the islanding modes, while the other methods have an error percentage, wheretype-1 fuzzy logic method was the most erroneous one. It is also observed that the type-2 fuzzy logic has a higher detection speed than other methods, the neuro-fuzzy method has a better operating time than other methods, and the type-1 fuzzy logic has the lowest speed. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 4. Comparison of percentage of detection by different methods in scenario 1. https://doi.org/10.1371/journal.pone.0257830.t004 8.2. Scenario 2: Short circuits in the tie line between the microgrid and the network without islanding In this scenario, three different cases will be considered. In the case 1, the switch that creates the islanding mode at t = 6s is removed, and instead all three phases in tie line that connects the microgrid to the main grid are short circuited. Short circuit occurs at t = 6s and is cleared at t = 7s. In the case 2, islanding does not occur, but a short circuit occurs in the PV bus. In the case 3, a short circuit occurs in the WT bus. In these three cases, the islanding mode should not be detected in all 75 cases mentioned above. For this scenario, the proposed method is compared with three other methods, the results are presented in Table 5. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 5. Comparison of percentage of detection by different methods in scenario 2. https://doi.org/10.1371/journal.pone.0257830.t005 According to the results, the type-2 fuzzy logic is able to correctly identify 100% of the non-islanding modes in all three cases. Also, In the case 2, neural network and neuro-fuzzy methods had equal error percentage, but the neuro-fuzzy method has less error overall. Fig 7 compares several frequency deviations in 10s for the second scenario. In this figure, frequency changes Due to load demand changes, Voltage angle, power generation changes are shown in Fig 7(A)–7(C) respectively. It is observed in Fig 7(A)–7(C) that the effect of load demand changes on frequency deviation is lower than those in Scenario 1, but the effects of changes in the power generation and power exchange with the network had increased, although these changes have not affected the maximum deviation. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 7. Comparison of frequency deviations in different modes for the second scenario. https://doi.org/10.1371/journal.pone.0257830.g007 8.3. Scenario 3: Interrupting the power generation resources of the microgrid without islanding In this scenario, three different cases will be considered. In all three cases, the switch that creates the islanding mode at t = 6s is removed and the islanding mode is not created. In the case 1, the PV power source of is disconnected from the microgrid at t = 6s, and all 75 modes mentioned above are examined. In the case of 2, WT source is disconnected from the microgrid at t = 6s and all 75 modes are checked. In the case 3, both WT and PV sources are disconnected from the microgrid at t = 6s and all modes are examined. In this scenario, the proposed method has been compared with three other methods, the results of which have been presented in Table 6. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 6. Comparison of percentage of detection by different methods in scenario 3. https://doi.org/10.1371/journal.pone.0257830.t006 According to the results, the type-2 fuzzy logic correctly identified 100% of the non-islanding in all three cases, but other methods in this scenario also had an error percentage. In this scenario, the type-1 fuzzy logic method had the highest error in all three cases and the neuro-fuzzy method had the least error. Also, In the case 3, type-1 fuzzy, neural network, and neuro-fuzzy methods had a higher error rate than the cases 1 and 2. Furthermore, in general, in this scenario, the error percentage for these three methods has increased compared to scenarios 1 and 2. Fig 8 compares several cases of frequency deviation in 10s for the third scenario. In this figure, frequency changes Due to load demand changes, Voltage angle, power generation changes are shown in Fig 8(A)–8(C) respectively. In Fig 8(A), it is observed that the effect of load demand changes on frequency deviation is less than Scenario 1 but higher than Scenario 2. In Fig 8(B) and 8(C), it is recognizable the effects of changes in power generation and power exchange with network have increased compared to previous scenarios. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 8. Comparison of frequency deviation in different modes for the third scenario. https://doi.org/10.1371/journal.pone.0257830.g008 8.4. Scenario 4: Islanding simultaneous with a sudden increase in the generation power of microgrid resources In this scenario, three different cases are examined, and in all three cases, the switch that creates the islanding mode at t = 6s, establishes the islanding mode. In the case 1, the PV source experiences a sudden change of 70% at t = 6s and all 75 states mentioned above are investigated. In the case 2, the WT sources experiences a sudden change of 70% at t = 6s and all 75 states are investigated. In the case 3, both WT and PV sources face a sudden change of 70% at t = 6s and all 75 states are examined. In this scenario, the proposed method has been compared with three other methods, the results are presented in Table 7. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 7. Comparison of percentage of detection by different methods in scenario 3. https://doi.org/10.1371/journal.pone.0257830.t007 The results accumulated in Table 7 indicate that the type-2 fuzzy logic in all three cases correctly identified 100% of the non-islanding but other methods in this scenario also had an error percentage. In this scenario, the type-1 fuzzy logic method had the highest error in all three cases and the neural-fuzzy method had the least error. Also, In the case 3, type-1 fuzzy, neural network, and neuro-fuzzy method had a higher error percentage than cases 1 and 2. Also, in general, in this scenario, the error percentage in these three methods has increased compared to first and second scenarios. Fig 9 compares several cases of frequency deviation in 10s for the fourth scenario. In this figure, frequency changes Due to load demand changes, Voltage angle, power generation changes are shown in Fig 9(A)–9(C) respectively. The effect of load demand changes (Fig 9(A)), power generation changes (Fig 9(B)), and power exchange changes (Fig 9(A)) on frequency deviation has been greatly increased. It can even be seen that changes in power generation and power exchange changes affect the maximum frequency deviation. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 9. Comparison of frequency deviation in different cases for the fourth scenario. https://doi.org/10.1371/journal.pone.0257830.g009 9. Conclusion This paper presents a novel method for detecting islanding using a combination of type-2 fuzzy logic and PSO optimization algorithm based on microgrid frequency changes in situations where the production of wind and solar resources as well as load consumption are uncertain. The proposed method was simulated on a sample system in MATLAB software and different scenarios were considered. In each scenario, 75 different modes of changes in power generation, power consumption, and power exchange between the microgrid and the main network were presented. In all cases, the proposed method was able to identify islanding. Also, the type-2 fuzzy system is superior to the type-1 fuzzy logic in supporting noise conditions, changes in the environment, and the presence of uncertainty because its membership degree is a fuzzy set itself. Eventually, the proposed method did not mis operate for any case or scenario, while other methods such as type-1 fuzzy logic, neural network, and neuro-fuzzy methods always had error percentage in identifying whether or not an islanding has occurred. TI - Real-time detection of microgrid islanding considering sources of uncertainty using type-2 fuzzy logic and PSO algorithm JF - PLoS ONE DO - 10.1371/journal.pone.0257830 DA - 2021-09-28 UR - https://www.deepdyve.com/lp/public-library-of-science-plos-journal/real-time-detection-of-microgrid-islanding-considering-sources-of-QuJOl0U4Ru SP - e0257830 VL - 16 IS - 9 DP - DeepDyve ER -