scieee AI-readable full text Open interactive document viewer

Sag effects on protection system in distributed generation grids

Bakkar, Mostafa

Abstract

Distributed Generators (DGs) are sensible to voltage sags, so the protection devices must trip fast to disconnect the faulted part of the grid. The DG disconnection will not be desirable in the near future with a large penetration, so it will be necessary to lay down new requirements that should be based on avoiding unnecessary disconnections. Therefore, to prevent unnecessary tripping when inverter-based DGs are connected to the Medium Voltage (MV) grid, reliable and effective protection strategies need to be developed, considering the limited short-circuit current contribution of DG. The initial goal of this study is to employ different possible control strategies for a grid-connected inverter according to the Spanish grid code and to analyze the output voltage behavior during symmetrical and unsymmetrical voltage sags. The analytical development of the proposed strategies shows the impacts of the sag on currents, voltages, active and reactive powers. Another goal of this research is to propose a protection strategy based on Artificial Intelligence for a radial or ring distribution system with high DG penetration. The protection strategy is based on three different algorithms to develop a more secure, redundant, and reliable protection system to ensure supply continuity during disturbances in ring and radial grids without compromising system stability. In order to classify, locate and distinguish between permanent or transient faults, new protection algorithms based on artificial intelligence are proposed in this research, allowing network availability improvement disconnecting only the faulted part of the system. This research introduces the innovative use of directional relay based on a communication system and Artificial Neural Network (ANN). The first algorithm, Centralize algorithm (CE), collects the data from all the PDs in the grid in the centralized controller. This algorithm detects the power flow direction and calculates the positive-sequence current of all the PDs in the grid. Significant benefits of this system are that it consolidates the entire systems security into a single device, which can facilitate system security control. However, the CE will not pinpoint the exact location of the fault if there is any loss of information due to poor communication. Therefore, the systems redundancy can be improved by cooperating with a second algorithm, the Zone algorithm (ZO). ZO algorithm is based on zone control using peer-to-peer connectivity in the same line. The faulty line in that zone may be identified by combining the two PDs data on the same line. The most relevant advantage of this algorithm is its flexibility to adapt to any grid modification or disturbance, even if they are just temporary, unlike the CE, which is fixed to the existing grid configuration. The third protection algorithm, Local algorithm (LO), has been proposed without depending on the communication between the PDs; then, the protection system can work properly in case of a total loss of communication. Each PD should be able to detect if the fault is located in the protected line or another line by using only the local information of the PD. According to the type of fault and based on local measurements at each PD of abc voltages and currents, different algorithms will be applied depending on the calculation of the sequence components. The main advantage of this algorithm is the separate decision of each PD, and avoiding communication problems. In case of radial grids, both mechanical breakers and Solid State Relays (SSRs) are used to verify the protection strategies, and in the case of ring grids, mechanical breakers are used, due to the limitations in required voltage difference of SSR. The proposed protection algorithms are compared with conventional protections (Overcurrent and Differential) protections to validate the contribution of the proposed algorithms, especially in reconfigurable smart grids.

Full text

Sag effects on protection system in distributed generation grids Mostafa Bakkar ADVERTIMENT La consulta d’aquesta tesi queda condicionada a l’acceptació de les següents condicions d'ús: La difusió d’aquesta tesi per mitjà del repositori institucional UPCommons (http://upcommons.upc.edu/tesis) i el repositori cooperatiu TDX ( h t t p : / / w w w . t d x . c a t / ) ha estat autoritzada pels titulars dels drets de propietat intel·lectual únicament per a usos privats emmarcats en activitats d’investigació i docència. No s’autoritza la seva reproducció amb finalitats de lucre ni la seva difusió i posada a disposició des d’un lloc aliè al servei UPCommons o TDX. No s’autoritza la presentació del seu contingut en una finestra o marc aliè a UPCommons (framing). Aquesta reserva de drets afecta tant al resum de presentació de la tesi com als seus continguts. En la utilització o cita de parts de la tesi és obligat indicar el nom de la persona autora. ADVERTENCIA La consulta de esta tesis queda condicionada a la aceptación de las siguientes condiciones de uso: La difusión de esta tesis por medio del repositorio institucional UPCommons (http://upcommons.upc.edu/tesis) y el repositorio cooperativo TDR (http://www.tdx.cat/?localeattribute=es) ha sido autorizada por los titulares de los derechos de propiedad intelectual únicamente para usos privados enmarcados en actividades de investigación y docencia. No se autoriza su reproducción con finalidades de lucro ni su difusión y puesta a disposición desde un sitio ajeno al servicio UPCommons No se autoriza la presentación de su contenido en una ventana o marco ajeno a UPCommons (framing). Esta reserva de derechos afecta tanto al resumen de presentación de la tesis como a sus contenidos. En la utilización o cita de partes de la tesis es obligado indicar el nombre de la persona autora. WARNING On having consulted this thesis you’re accepting the following use conditions: Spreading this thesis by the institutional repository UPCommons (http://upcommons.upc.edu/tesis) and the cooperative repository TDX (http://www.tdx.cat/?localeattribute=en) has been authorized by the titular of the intellectual property rights only for private uses placed in investigation and teaching activities. Reproduction with lucrative aims is not authorized neither its spreading nor availability from a site foreign to the UPCommons service. Introducing its content in a window or frame foreign to the UPCommons service is not authorized (framing). These rights affect to the presentation summary of the thesis as well as to its contents. In the using or citation of parts of the thesis it’s obliged to indicate the name of the author. SAG EFFECTS ON PROTECTION SYSTEM IN DISTRIBUTED GENERATION GRIDS Doctoral Thesis Author: Mostafa Ahmed Ahmed Mahmoud Ahmed Bakkar Directors: Santiago Bogarra, Felipe Córcoles Electrical Engineering Department (DEE) Thesis presented to obtain the degree of doctorate Polytechnic University of Catalonia (UPC) Escuela Superior de Ingenierías Industrial, Aeroespacial y Audiovisual de Terrassa (ESEIAAT) Terrassa, December 2021 Acknowledgment i Acknowledgment First of all, I thank ALLAH for helping me throughout my research and enabling me to finish my thesis. Then, I would like to take this opportunity to thank my supervisors of this research, Prof. Santiago Bogarra and Prof. Felipe Corcoles, for their valuable guidance and generous encouragement throughout the thesis duration, without their help this thesis could not have succeeded. Also, I am expressing my sincerest gratitude to my parents and my sister for their support during my study, and to my love Rania for her unconditional love and support all the time. A special thank goes to Dr. Alejandro Rolan Blanco and Jaume Saura, for their help during the thesis work. Their help is much indeed appreciated. Sincerely, I would like to thank my dearest friend Mr. Reda El Mansy for his great support all the time. Finally, I would like to express my appreciation and best wishes to my college, department, staff members, and colleagues. Sag effects on protection system in distributed generation grid Doctoral Thesis ii Abstract iii Abstract On the one hand, the penetration of Distributed Generation (DG) plants (cogeneration, small hydro, wind, and photovoltaic) increases to reduce the environmental impact. On the other hand, new types of loads (electric vehicles) lead to maintaining the connection of these generators under grid faults to balance generated and consumed power. Some of these generation plants require electronic interfaces to interconnect with the utility grid, and the control of the electronic converter significantly impacts grid dynamics. DG units are sensible to voltage sags, so the protection devices must trip fast to disconnect the faulted part of the grid. The DG disconnection will not be desirable in the near future with a large penetration, so it will be necessary to lay down new requirements for these generators and their protections. These requirements should be supported by studies based on the rule that unnecessary disconnections should be avoided. Therefore, to prevent unnecessary tripping when inverter-based DGs are connected to the Medium Voltage (MV) grid, reliable and effective protection strategies need to be developed, considering the limited short-circuit current contribution of DG. The safe operation of the grid has to be guaranteed through some requirements that must be considered to connect power converters. During grid faults -e.g., during voltage sags-, the converter’s control is critical to ensure power quality and incorporate the behaviour of the DG system. One of the operational changes regards the reduced fault current contribution in electronic converters (in contrast to the large fault currents in the conventional networks based on synchronous generators), leading to conflicts in the coordination of protective devices (PDs). Other conflicts can be nuisance trips, safety degradation, and changes in the reach of PDs. Despite most of the faults that occurred in the Transmission System (TS) are unsymmetrical (i.e., 80% of the faults could be estimated as unsymmetrical), the current grid codes for the TS do not provide any information regarding the negative-sequence currents to be injected by the DGs during the unsymmetrical faults. Only the positive-sequence components (voltages and currents) are considered in such codes. It is reasonable to consider that the future distribution grid codes could be similar to those currently used in the TS (with no mention of the negative-sequence components). To overcome all these conflicts, this research analyzes the dynamic behaviour of DGs and their controls under grid faults and the interaction between them to determine if they can stay connected during such disturbance accurately. Another essential question in this research regards the need to establish grid code requirements for connecting these DGs to Distribution System (DS), similar to those defined for the TS. As the well-established control strategies for electronic converters in the literature treat in a different way the negative-sequence components, one of the contributions of this research will be to analyze the influence of these strategies on the dynamics network behaviour, as well as the suitability of future grid codes (under the assumption that they could be similar to those of the TS). The initial goal of this study is to employ different possible control strategies for a grid-connected inverter according to the Spanish grid code and to analyze the output voltage behaviour during symmetrical and unsymmetrical voltage sags. The analytical development of the proposed strategies shows the impacts of the sag on currents, voltages, active and reactive powers. Another goal of this research is to propose a protection strategy based on Artificial Intelligence for a radial or ring DS with high DG penetration. The protection strategy is based on three different algorithms to develop a more secure, redundant, and reliable protection system to ensure supply continuity during disturbances in ring and radial grids without compromising system stability. In order to classify, locate and distinguish between permanent or transient faults, new protection algorithms based on artificial intelligence are proposed in this research, allowing network availability improvement disconnecting only the faulted part of the system. This research introduces the innovative use of directional relay based on a communication system and Artificial Neural Network (ANN). The first algorithm, Centralize algorithm (CE), collects the data from all the PDs in the grid in the centralized controller. This algorithm detects the power flow direction and calculates the positive-sequence current of all the PDs in the grid. Significant benefits of this system are that it consolidates the entire system’s security into a single device, which can facilitate system security control. However, the CE will not pinpoint the exact location of the fault if there is any loss of information due to poor communication. Therefore, the system’s redundancy can be improved by cooperating with a second algorithm, the Zone algorithm (ZO). ZO algorithm is based on Abstract iv zone control using peer-to-peer connectivity in the same line. The faulty line in that zone may be identified by combining the two PDs data on the same line. The most relevant advantage of this algorithm is its flexibility to adapt to any grid modification or disturbance, even if they are just temporary, unlike the CE, which is fixed to the existing grid configuration. The third protection algorithm, Local algorithm (LO), has been proposed without depending on the communication between the PDs; then, the protection system can work properly in case of a total loss of communication. Each PD should be able to detect if the fault is located in the protected line or another line by using only the local information of the PD. According to the type of fault and based on local measurements at each PD of abc voltages and currents, different algorithms will be applied depending on the calculation of the sequence components. The main advantage of this algorithm is the separate decision of each PD, and avoiding communication problems. In case of radial grids, both mechanical breakers and Solid State Relays (SSRs) are used to verify the protection strategies, and in the case of ring grids, mechanical breakers are used, due to the limitations in required voltage difference of SSR. The proposed protection algorithms are compared with conventional protections (Overcurrent and Differential) protections to validate the contribution of the proposed algorithms, especially in reconfigurable smart grids. The author publications regarding the thesis topic are listed below: 1. M. Bakkar, S. Bogarra, F. Córcoles, J. Saura and M. Moreno: “Power Control Strategies During Voltage Sags According to Spanish Grid Code,” International Conference on Renewable Energies and Power Quality (ICREPQ’18), (16), Salamanca Spain, 2018, Proceeding. (Attend o the conference and represent the paper personally). 2. A. Rolán, P. Giménez, S. Yagüe, S. Bogarra, J. Saura, M. Bakkar: “Voltage recovery influence on three-phase grid-connected inverters under voltage sags”, IET Generation, Transmission & Distribution, 2019, 13, (3), pp. 435–443. 3. M. Bakkar, S. Bogarra, A. Rolán, F. Córcoles, J. Saura: “Voltage sag influence on controlled threephase grid-connected inverters according to the Spanish grid code,” IET generation transmission & distribution, accepted, unpublished, 2020. 4. M. Bakkar, S. Bogarra, F. Córcoles, and J. Iglesias: “Overcurrent protection based on ANNs for smart distribution networks with grid‐connected VSIs”, IET Generation Transmission & Distribution, Dec. 2020, Online. 5. M. Bakkar, Ahmed Aboelhassan, M. Abdel-Geliel, and Michael Galea: “PV Systems Control Using Fuzzy Logic Controller Employing Dynamic Safety Margin under Normal and Partial Shading Conditions”, Energies, 2021, 14, x. 6. A. Rolan, S. Bogarra, M. Bakkar: “Integration of Distributed Energy Resources to Unbalanced Grids under Voltage Sags with Grid Code Compliance”, IEEE Transactions on Smart Grid, 2021. Keywords: Artificial Neural Network-based relay, distributed generators, distribution system, protection algorithms, smart grids, three-phase controlled Voltage Source Inverter. Sag effects on protection system in distributed generation grid Doctoral Thesis v Indexes vi Table of Contents Acknowledgment.……………….…………….……………………………………….... Abstract ………………………………………….…………………………………….…. Table of contents…………………………………………………………………………. List of figures ………………………………….…………………………………….…... List of tables ………………………………….…………………………………………. List of symbols ………………………………….………………………………………. List of abbreviations ……………………………………………………………….….... Page i iii vi xi xxii xxv xxix CHAPTER 1 Introduction ..……………………………………………………....... 1 1.1. 1.2. 1.3. 1.4. 1.5. 1.6. Overview.…………………………………………….……………... DG techniques …………………………………………...…...……... Protective devices …………………………………………………… Motivation …………………………………………………………… Thesis Objectives ………………………………...…………………. Thesis Outline ………………………………………………….......... 1 5 5 7 7 8 CHAPTER 2 State of the art of DG penetration impact on MV DS protection systems……………………………………………………………….. 10 2.1. DGs impact on MV distribution grid………..……………………... 10 2.1.1. Impact of fault ride-through requirements………………… 2.1.2. Impact of DG on MV distribution grid protection…………. 10 10 2.2. State of the art….……………………………...………….…….…… 12 2.2.1. State of the art on the reference current control strategies of VSI during grid faults………….………………………………… 2.2.2. State of the art of the protection schemes of MV DS with DGs penetration………………………………………………........... 12 14 CHAPTER 3 Medium voltage distribution system construction, modeling, and analysis during faults with DG penetration ………………………. 21 3.1. Modeling of DS components ……………………………………….. 21 3.2. Analysis of PV penetration impact on the DS behaviour ………… 28 CHAPTER 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code ……………………...…… 35 4.1. Spanish grid code P.0. 12.2 application with symmetrical and unsymmetrical sags …………………………………………………. 35 4.2. Three-phase grid-connected inverter …………………………..….. 37 4.2.1. Reference current control strategies using Park List of figures xiii Fig. 5.33 Zero-sequence current profile with one DG connected at bus 3 (a) the first disconnection, (b) second disconnection when a single-phase fault at DL3, (c) second disconnection when a single-phase fault at DL5 ................................................................................................................................................ 79 Fig. 5.34 Fault isolation steps in case of two-phase or two-phase to ground faults ................................... 79 Fig. 5.35 Zero-sequence current profile during two-phase fault at DL4 and two-phase to ground fault at DL2, with one DG connected at bus 3 (a) the first disconnection, (b) second disconnection .................... 80 Fig. 5.36 Inverse time-current characteristic curve for unsymmetrical faults ............................................ 80 Fig. 5.37 Three-phase fault at DL3 ............................................................................................................ 81 Fig. 5.38 Flowchart of LO for symmetrical fault and recloser algorithm .................................................. 81 Fig. 5.39 Positive-sequence voltage profile during three-phase fault with one DG connected at bus 3 (a) the first disconnection, (b) second disconnection ...................................................................................... 82 Fig. 5.40 Recloser algorithm explanation when the fault in different lines ............................................... 83 Fig. 5.41 Recloser algorithm behaviour when a three-phase fault at the middle of the DL ....................... 83 Fig. 5.42 Flowchart of the proposed CE, and ZO protection algorithms ................................................... 84 Fig. 5.43 Flowchart of the LO proposed protection algorithm .................................................................. 84 Fig. 5.44 measurement signals (a) behind the breaker, (b) in front of the breaker .................................... 85 Fig. 5.45 Difference in trip signals with and without recloser algorithms ................................................. 86 Fig. 5.46 Flowchart of proposed LO algorithm without recloser ............................................................... 86 Fig. 5.47 Single-phase to ground fault at DL3 with fault resistance r =0.1 Ω ........................................... 87 Fig. 5.48 Single-phase to ground fault at DL3 with fault resistance r =0.1 Ω, after 1st disconnection of PD5 ............................................................................................................................................................ 87 Fig. 5.49 Fault isolation steps in case of single-phase to ground fault ....................................................... 88 Fig. 5.50 Flowchart of the proposed LO algorithm with YNd11 transformer connection grounded through a zigzag transformer................................................................................................................................... 88 Fig. 5.51 Negative-sequence voltage profile during single-phase fault with one DG connected at bus 3 (a) the first disconnection, (b) the second disconnection ................................................................................ 89 Fig. 5.52 Negative-sequence voltage profile during two-phase fault with one DG connected at bus 3 (a) the first disconnection, (b) the second disconnection ................................................................................ 89 Fig. 5.53 Three-phase to ground fault at DL3, with fault resistance r = 0.1 .............................................. 90 Fig. 5.54 Three-phase to ground fault at DL3 with fault resistance r =0.1 Ω, after 1st disconnection of PD5 ................................................................................................................................................................... 90 Fig. 5.55 Three-phase fault at DL3 ............................................................................................................ 91 Fig. 5.56 Voltage profile during three-phase fault with one DG connected at bus 3 ................................. 91 Fig. 5.57 Definite time curve (a) Positive-sequence voltage, (b) Negative-sequence voltage ................... 92 Fig. 5.58 Concept diagram of (a) CE algorithm, (b) each PD fault location controller including ZO and LO algorithms, (c) post-processing algorithm ........................................................................................... 92 Fig. 5.59 Concept diagram of (a) analysed ring grid with a three-phase fault at DL3, (b) ZO algorithm, (c) CE algorithm, and (d) PD priority algorithm........................................................................................ 94 Fig. 5.60 Analysed ring grid when a three-phase fault at DL3 and LO algorithm with YNd11 transformer connection grounded through a zigzag transformer ................................................................................... 95 Fig. 6.1 Single line diagram of the analysed ring system with DG penetration ......................................... 97 Fig. 6.2 Flowchart of the studied cases ...................................................................................................... 98 Fig. 6.3 CE and ZO behaviour during a three-phase fault in DL3 with fault resistance r = 0.1 Ω, (a) with two DGs, (b) without DG .......................................................................................................................... 99 Fig. 6.4 Ring grid with two DGs during (a) three-phase fault in DL3, (b) single-phase fault in DL4 ....... 99 Fig. 6.5 CE and ZO behaviour during different fault resistance, with two DGs during a three-phase fault in DL3 (a) r = 2 Ω, (b) r = 0.05 Ω ............................................................................................................ 101 Fig. 6.6 CE and ZO behaviour during two-phase to ground fault in DL3, and r = 0.1 Ω, with two DGs, in case of (a) stiff grid, (b) weak grid .......................................................................................................... 101 Fig. 6.7 The analysed ring grid with 2 DG connected at buses 3 and 7 for CE-ZO algorithm, in case of (a) single-phase to ground fault at DL3, and (b) three-phase fault at DL4 .................................................... 101 Fig. 6.8 Flowchart of the studied cases .................................................................................................... 102 Fig. 6.9 System behaviour during symmetrical fault at DL4 with CE-ZO with r = 0.1 Ω ....................... 103 Fig. 6.10 LO scheme ................................................................................................................................ 104 Fig. 6.11 Flowchart of the LO proposed protection algorithm ................................................................ 104 List of figures xiv Fig. 6.12 Definite time curve (a) Positive-sequence voltage, (b) Negative-sequence voltage ................. 105 Fig. 6.13 abc voltages, abc currents, and trip signals for LO, with the analysed ring grid (a) with 2 DGs during 1 ph to ground (AG) at DL5, (b) without DG during 2 ph (BC) at DL1 ...................................... 106 Fig. 6.14 abc voltages, abc currents, and trip signals for LO, with the analysed ring grid (a) with 2 DGs during three-phase fault at DL3, (b) with 2 DGs during single-phase to ground fault (BG) at DL4 ....... 107 Fig. 6.15 abc voltages, abc currents, and trip signals for LO, with the analysed ring grid (a) without DG during 2 ph (BC) at DL1, (b) without DG during two-phase to ground fault (ABG) at DL2 .................. 108 Fig. 6.16 Ring grid with 2 DGs during 3 ph (abc) at DL3, (a) fault, (b) trip. .......................................... 109 Fig. 6.17 Ring grid with 2 DGs during 1 ph (BG) at DL4, (a) fault, (b) trip. .......................................... 110 Fig. 6.18 ring grid with 2 DGs during (a) 3 ph (abc) at DL3, (b) 1 ph (BG) at DL4 ............................... 111 Fig. 6.19 Single line diagram of a radial DS with DG penetration .......................................................... 111 Fig. 6.20 abc voltages, abc currents, and trip signals for LO, with the analysed radial grid (a) with2 DGs during 1 ph to ground (AG) at DL5, (b) without DG during 2 ph (BC) at DL1 ...................................... 112 Fig. 6.21 abc voltages, abc currents, and trip signals for LO, with the analysed radial grid (a) with 2 DGs during three-phase fault at DL3, (b) with 2 DGs during single-phase to ground fault (BG) at DL4 ....... 113 Fig. 6.22 abc voltages, abc currents, and trip signals for LO, with the analysed radial grid (a) without DG during 2 ph (BC) at DL1, (b) without DG during two-phase to ground fault (ABG) at DL2 .................. 114 Fig. 6.23 Radial grid with 2 DGs during (a) 3 ph (abc) at DL3, (b) 1 ph (BG) at DL4 ........................... 115 Fig. 6.24 Radial grid with 2 DGs during 3 ph (abc) at DL3, (a) fault, (b) trip. ........................................ 116 Fig. 6.25 Radial grid with 2 DGs during 1 ph (BG) at DL4, (a) fault, (b) trip. ........................................ 117 Fig. 6.26 Single line diagram of a radial DS with DG penetration .......................................................... 118 Fig. 6.27 Flowchart of the studied cases .................................................................................................. 118 Fig. 6.28 Short-circuit current of OCR, DR, CE-ZO behaviour during a three-phase fault in DL3 with fault resistance r = 0.1 Ω (a) with two DGs, (b) with one DG, (c) without DG ....................................... 119 Fig. 6.29 Trip signal of OCR, DR, CE-ZO behaviour during symmetrical and unsymmetrical faults with different fault resistance (a) with two DGs, (b) with one DG, (c) without DG ........................................ 120 Fig. 6.30 Short-circuit current of DR behaviour during single-phase fault in DL3 with fault resistance r = 0.1 Ω (a) without DGs, (b) with two DG ............................................................................................ 120 Fig. 7.1 Experimental setup. (a) Real setup, (b) Electrical scheme. ........................................................ 124 Fig. 7.2 Measured abc grid voltages and injected currents during the unfaulty steady-state condition ... 125 Fig. 7.3 Simulated and measured abc grid voltages and injected currents for a type A sag with BCC strategy ..................................................................................................................................................... 125 Fig. 7.4 Simulated and measured abc grid voltages and injected currents for a type D sag with BCC strategy ..................................................................................................................................................... 126 Fig. 7.5 Simulated and measured abc grid voltages and injected currents for a type G sag with BCC strategy ..................................................................................................................................................... 126 Fig. 7.6 Experimental results of grid voltage and injected current with the sag of h = 0.5 depth and 200 ms duration for (a) CPC strategy and (b) BCC strategy. I and II are the reactive and active current references, respectively, imposed by the Spanish grid code ...................................................................................... 127 Fig. 7.7 (a) Theoretical, (b) simulation, and (c) experimental results of CPC and BCC control strategies during unsymmetrical sag (type C). T = period. ...................................................................................... 128 Fig. 7.8 Equivalent circuit of Crydom SSR with an interface circuit ..................................................... 129 Fig. 7.9 Concept diagram of SSR ............................................................................................................ 130 Fig. 7.10 Connection between the relay and mechanical contactor ......................................................... 131 Fig. 7.11 Logic representation of laboratory scheme ............................................................................... 131 Fig. 7.12 Conceptual diagram of the algorithm schemes tested in the laboratory ................................... 131 Fig. 7.13 Procedure of the experimental verification (a) Analysed grid, (b) Concept diagram of the proposed algorithms practically, (c) Laboratory setup ............................................................................ 132 Fig. 7.14 abc voltages and currents of PD9 and PD10 during a single-phase fault at DL5 (a) generated from SIMULINK, (b) Output of dSPACETM DAC. .................................................................................... 133 Fig. 7.15 Digital output of the fault location algorithm decision and fault occurrence in case of threephase fault, and single-phase fault for (a) CE and (b) ZO ....................................................................... 133 Fig. 7.16 Implemented ring grid in the laboratory ................................................................................... 134 Fig. 7.17 Simplified radial grid ................................................................................................................ 137 Fig. 7.18 Complete Radial grid ............................................................................................................... 137 List of figures xv Fig. 7.19 Ring grid ................................................................................................................................... 137 Fig. 7.20 Flowchart of the studied cases .................................................................................................. 137 Fig. 7.21 Flowchart of the proposed CE-ZO protection algorithms ........................................................ 138 Fig. 7.22 Flowchart of the LO proposed protection algorithm ................................................................ 138 Fig. 7.23 Procedure of the experimental verification (a) Concept diagram of the proposed algorithms (b) Analysed grid, (c) Laboratory setup ........................................................................................................ 139 Fig. 7.24 Complete laboratory setup ........................................................................................................ 139 Fig. 7.25 delay between experimental and simulated abc voltage at PD1 ............................................... 141 Fig. 7.26 Scheme of the simplified radial grid without DG ..................................................................... 141 Fig. 7.27 Flowchart of the priority algorithm .......................................................................................... 142 Fig. 7.28 Behaviour of CE-ZO control for single-phase to ground fault ................................................. 142 Fig. 7.29 Behaviour of CE-ZO control for three-phase fault ................................................................... 142 Fig. 7.30 Behaviour of LO control for three-phase fault ......................................................................... 143 Fig. 7.31 Definite time curve (a) Positive sequence voltage, (b) Negative sequence voltage .................. 143 Fig. 7.32 Trip time difference between CE-ZO and LO .......................................................................... 144 Fig. 7.33 Scheme of the Simplified radial grid with DG ......................................................................... 144 Fig. 7.34 Behaviour of CE-ZO control for single-phase to ground fault with BCC ................................ 145 Fig. 7.35 Behaviour of CE-ZO control for three-phase fault with BCC .................................................. 145 Fig. 7.36 Behaviour of LO control for three-phase fault with BCC ........................................................ 146 Fig. 7.37 Behaviour of CE-ZO control for single-phase to ground fault with CPC ................................. 146 Fig. 7.38 Behaviour of CE-ZO control for three-phase fault with CRC .................................................. 147 Fig. 7.39 Scheme of the complete radial grid without DG ...................................................................... 147 Fig. 7.40 Behaviour of OCR for single-phase to ground fault when the fault at F1 ................................ 148 Fig. 7.41 Behaviour of OCR for the three-phase fault when the fault at F1 ............................................ 148 Fig. 7.42 Behaviour of DR for single-phase to ground fault when the fault at F1 ................................... 149 Fig. 7.43 Behaviour of DR for the three-phase fault when the fault at F1 ............................................... 149 Fig. 7.44 Behaviour of CE-ZO for single-phase to ground fault when the fault at F1 ............................. 150 Fig. 7.45 Behaviour of CE-ZO for the three-phase fault when the fault at F1 ......................................... 150 Fig. 7.46 Behaviour of OCR for the three-phase fault when the fault at F2 ............................................ 151 Fig. 7.47 Behaviour of DR for the three-phase fault when the fault at F2 ............................................... 151 Fig. 7.48 Behaviour of CE-ZO for the three-phase fault when the fault at F2 ......................................... 152 Fig. 7.49 Scheme of the complete radial grid with DG ........................................................................... 152 Fig. 7.50 Behaviour of OCR for single-phase to ground fault when the fault at F1 ................................ 153 Fig. 7.51 Behaviour of OCR for the three-phase fault when the fault at F1 ............................................ 153 Fig. 7.52 Behaviour of DR for single-phase to ground fault when the fault at F1 ................................... 154 Fig. 7.53 Behaviour of DR for the three-phase fault when the fault at F1 ............................................... 154 Fig. 7.54 Behaviour of CE-ZO for single-phase to ground fault when the fault at F1 ............................. 155 Fig. 7.55 Behaviour of CE-ZO for the three-phase fault when the fault at F1 ......................................... 155 Fig. 7.56 Behaviour of OCR for the three-phase fault when the fault at F2 ............................................ 156 Fig. 7.57 Behaviour of DR for the three-phase fault when the fault at F2 ............................................... 156 Fig. 7.58 Behaviour of CE-ZO for the three-phase fault when the fault at F2 ......................................... 157 Fig. 7.59 Digital output of OCR, DR, and CE-ZO with DG during (a) Single-phase fault, (b) Three-phase fault .......................................................................................................................................................... 157 Fig. 7.60 Digital output of OCR, DR, LO, and CE-ZO with DG during Three-phase fault .................... 158 Fig. 7.61 Simulation and Experimental abc voltages and currents of PD5, PD6, and Trip signals of the CE-ZO algorithm decision in case of three-phase fault, and single-phase. .............................................. 158 Fig. 7.62 Scheme of ring grid without DG .............................................................................................. 159 Fig. 7.63 Behaviour of CE-ZO for single-phase to ground fault when the fault at DL1 .......................... 160 Fig. 7.64 Behaviour of CE-ZO for the three-phase fault when the fault at DL1 ...................................... 160 Fig. 7.65 Behaviour of LO without recloser for single-phase to ground fault when the fault at DL1 ..... 161 Fig. 7.66 Behaviour of LO without recloser for the three-phase fault when the fault at DL1 ................. 161 Fig. 7.67 Behaviour of LO with recloser for single-phase to ground fault when the fault at DL1 .......... 162 Fig. 7.68 Behaviour of LO with recloser for the three-phase fault when the fault at DL1 ...................... 162 Fig. 7.69 Behaviour of PD1, PD2, and PD3 for single-phase to ground fault when the fault at DL1 ..... 163 Fig. 7.70 Behaviour of PD1, PD2, and PD3 for the three-phase fault when the fault at DL1 ................. 163 List of figures xvi Fig. 7.71 Behaviour of PD1, PD2, and PD6 for single-phase to ground fault when the fault at DL1 ..... 164 Fig. 7.72 Behaviour of PD1, PD2, and PD6 for the three-phase fault when the fault at DL1 ................. 164 Fig. 7.73 Scheme of ring grid when the fault at DL3 .............................................................................. 165 Fig. 7.74 Behaviour of CE-ZO for the three-phase fault when the fault at DL3 ...................................... 165 Fig. 7.75 Scheme of ring grid when the fault at DL2 .............................................................................. 165 Fig. 7.76 Behaviour of CE-ZO for single-phase to ground fault when the fault at DL2 .......................... 166 Fig. 7.77 Scheme of ring grid with DG .................................................................................................... 166 Fig. 7.78 Behaviour of CE-ZO for single-phase to ground fault when the fault at DL1 .......................... 167 Fig. 7.79 Behaviour of CE-ZO for the three-phase fault when the fault at DL1 ...................................... 167 Fig. 7.80 Behaviour of LO without recloser for single-phase to ground fault when the fault at DL1 ..... 167 Fig. 7.81 Behaviour of LO without recloser for the three-phase fault when the fault at DL1 ................. 168 Fig. 7.82 Behaviour of LO with recloser for single-phase to ground fault when the fault at DL1 .......... 168 Fig. 7.83 Behaviour of LO with recloser for the three-phase fault when the fault at DL1 ...................... 169 Fig. 7.84 Scheme of ring grid with DG .................................................................................................... 170 Fig. 7.85 Behaviour of PD1, PD2, and PD3 for single-phase to ground fault when the fault at DL1 ..... 170 Fig. 7.86 Behaviour of PD1, PD2, and PD3 for the three-phase fault when the fault at DL1 ................. 170 Fig. 7.87 Behaviour of PD1, PD2, and PD6 for single-phase to ground fault when the fault at DL1 ..... 171 Fig. 7.88 Behaviour of PD1, PD2, and PD6 for the three-phase fault when the fault at DL1 ................. 171 Fig. 7.89 Behaviour of CE-ZO control for single-phase to ground fault with CPC ................................. 172 Fig. 7.90 Behaviour of CE-ZO control for single-phase to ground fault with CRC ................................ 172 Fig. 7.91 Scheme of ring grid with DG when the fault at DL3 ................................................................ 173 Fig. 7.92 Behaviour of CE-ZO for the three-phase fault when the fault at DL3 ...................................... 173 Fig. 7.93 Scheme of ring grid when the fault at DL2 .............................................................................. 173 Fig. 7.94 Behaviour of CE-ZO for single-phase to ground fault when the fault at DL2 .......................... 174 Fig. A.1 Single-phase to ground fault at DL3, when the secondary part of the MV transformer is isolated, and low load consumption ....................................................................................................................... 193 Fig. A.2 Single-phase to ground fault at DL6, when the secondary part of the MV transformer is isolated, and low load consumption ....................................................................................................................... 194 Fig. A.3 Three-phase to ground fault at DL6, when the secondary part of the MV transformer is isolated, and low load consumption ....................................................................................................................... 194 Fig. A.4 Three-phase fault at DL3, when the secondary part of the MV transformer is isolated, and high voltage consumption ................................................................................................................................ 195 Fig. A.5 Two-phase to ground fault at DL3, r = 0.1 Ω (Transformer connection YNd11 “grounded”) .. 196 Fig. A.6 Two-phase to ground fault at DL3, r = 0.1 Ω (Transformer connection YNyn) ....................... 196 Fig. A.7 Single-phase to ground fault at DL3, r = 0.1 Ω (transformer connection YNyg grounded through a resistor) ................................................................................................................................................. 197 Fig. A.8 Short-circuit current during three-phase fault at DL3, with r =0.1 Ω fault resistance ............... 198 Fig. A.9 Short-circuit current during single-phase to ground fault at DL3, with r =0.1 Ω fault resistance ................................................................................................................................................................. 198 Fig. A.10 Short-circuit current during two-phase to ground fault at DL6, with r =0.1 Ω fault resistance 199 Fig. A.11 Short-circuit current during single-phase to ground fault at DL3, with r = 4 Ω fault resistance ................................................................................................................................................................. 199 Fig. A.12 Short-circuit current during three-phase fault to ground at DL4, with r =0.1 Ω fault resistance ................................................................................................................................................................. 200 Fig. A.13 Short-circuit current during single-phase to ground fault at DL4, with r =0.1 Ω fault resistance ................................................................................................................................................................. 200 Fig. A.14 Short-circuit current during single-phase to ground fault at DL6, with r =0.1 Ω fault resistance ................................................................................................................................................................. 201 Fig. A.15 Short-circuit current during two-phase to ground fault at DL2, with r =0.1 Ω fault resistance ................................................................................................................................................................. 201 Fig. A.16 RMS short-circuit currents during three-phase fault at DL3, with r = 0.1 Ω (a) without DG (b) with DG penetration................................................................................................................................. 202 Fig. A.17 Single-phase to ground fault at DL3, r =0.1 Ω (Transformer connection YNd11 zigzag) (a) before disconnection, (b) after 1st disconnection ..................................................................................... 202 Fig. A.18 Two-phase to ground fault at DL3, r =0.1 Ω (Transformer connection YNd11 zigzag) ......... 203 List of figures xvii Fig. A.19 Two-phase fault at DL3, r =0.1 Ω (Transformer connection YNd11 zigzag) ......................... 203 Fig. A.20 Three-phase to ground fault at DL3, r =0.1 Ω (Transformer connection YNd11 zigzag) ....... 204 Fig. A.21 Single-phase to ground fault at DL3, r =2 Ω (Transformer connection YNd11 zigzag) ......... 204 Fig. A.22 Single-phase to ground fault at DL3, r =0.1 Ω with one DG (Transformer connection YNd11 zigzag) ..................................................................................................................................................... 205 Fig. A.23 Two-phase to ground fault at DL3, r =0.1 Ω with one DG (Transformer connection YNd11 zigzag) ..................................................................................................................................................... 205 Fig. A.24 Three-phase to ground fault at DL3, r =0.1 Ω with one DG (Transformer connection YNd11 zigzag) ..................................................................................................................................................... 206 Fig. A.25 Single-phase to ground fault at DL5, r =0.1 Ω (Transformer connection YNd11 zigzag) ...... 206 Fig. A.26 Two-phase to ground fault at DL6, r =0.1 Ω with one DG (Transformer connection YNd11 zigzag) ..................................................................................................................................................... 207 Fig. A.27 Single-phase to ground fault at DL5, r =0.1 Ω with two DG (Transformer connection YNd11 zigzag) ..................................................................................................................................................... 207 Fig. A.28 Two-phase to ground fault at DL4, r =2 Ω with two DG (Transformer connection YNd11 zigzag) ..................................................................................................................................................... 208 Fig. B.1 Analysed ring grid with CE (a) 2 DGs during single-phase to ground fault (AG) at DL5, (b) No DG during two-phase fault (BC) at DL1 ................................................................................................. 222 Fig. B.2 Analysed radial grid with CE (a) 2 DGs during single-phase to ground fault (BG) at DL4, (b) No DG during two-phase to ground fault (ABG) at DL2 .............................................................................. 223 Fig. B.3 Analysed ring grid behaviour during symmetrical fault at DL4 with CE-ZO with r = 0.1 Ω .... 224 Fig. B.4 Analysed ring grid behaviour during symmetrical fault at DL5 with CE-ZO with r = 0.1 Ω .... 225 Fig. B.5 Analysed ring grid behaviour during symmetrical fault at DL2 with CE-ZO with r = 0.1 Ω .... 226 Fig. B.6 Analysed ring grid behaviour during single-phase to griund fault at DL3 with CE-ZO with fault resistance r = 0.1 Ω .................................................................................................................................. 227 Fig. B.7 Analysed ring grid behaviour during two-phase to ground fault at DL1 with CE-ZO with fault resistance r = 0.1 Ω .................................................................................................................................. 228 Fig. B.8 Analysed ring grid behaviour during two-phase fault at DL6 with CE-ZO with fault resistance r = 0.1 Ω .................................................................................................................................................. 229 Fig. B.9 Analysed radial grid behaviour during symmetrical fault at DL3 with CE-ZO with fault resistance r = 0.1 Ω .................................................................................................................................. 230 Fig. B.10 Analysed radial grid behaviour during two-phase to ground fault at DL1 with CE-ZO with fault resistance r = 0.1 Ω .................................................................................................................................. 231 Fig. B.11 Analysed radial grid behaviour during symmetrical fault at DL6 with CE-ZO with fault resistance r = 0.1 Ω .................................................................................................................................. 232 Fig. B.12 Analysed ring grid with ZO (a) 2 DGs during single-phase to ground fault (AG) at DL5, (b) No DG during two-phase fault (BC) at DL1 ................................................................................................. 233 Fig. B.13 Analysed radial grid with ZO (a) 2 DGs during single-phase to ground fault (BG) at DL4, (b) No DG during two-phase to ground fault (ABG) at DL2 ........................................................................ 234 Fig. B.14 Ring grid .................................................................................................................................. 235 Fig. B.15 Ring grid .................................................................................................................................. 236 Fig. B.16 Ring grid .................................................................................................................................. 237 Fig. B.17 Radial grid................................................................................................................................ 238 Fig. B.18 Radial grid with one DG .......................................................................................................... 239 Fig. B.19 Radial grid with two DG .......................................................................................................... 240 Fig. B.20 Analysed ring grid with one DG = 4 MW connected at bus 2 ................................................. 241 Fig. B.21 Analysed ring grid with one DG = 4 MW connected at bus 4 ................................................. 242 Fig. B.22 Ring grid .................................................................................................................................. 243 Fig. B.23 Ring grid .................................................................................................................................. 244 Fig. B.24 ANN training steps .................................................................................................................. 245 Fig. C.1 SSR block diagram .................................................................................................................... 247 Fig. C.2 SSR response vs. input pulse signal (a) during on/off state, (b) On-state zooming ................... 248 Fig. C.3 disconnection SSR disconnect at zero-crossing ......................................................................... 248 Fig. C.4 One line radial grid .................................................................................................................... 248 Fig. C.5 ring grid ..................................................................................................................................... 249 List of figures xviii Fig. C.6 Current at PD1 ........................................................................................................................... 249 Fig. C.7 Behaviour of CE-ZO for single-phase to ground fault when the fault at DL1 ........................... 250 Fig. C.8 Scheme of ring grid without DG ................................................................................................ 250 Fig. C.9 abc voltage, current and impedance of PD1 .............................................................................. 251 Fig. D.1 Scheme of the Simplified radial grid with DG .......................................................................... 253 Fig. D.2 Scheme of the complete radial grid with DG ............................................................................. 253 Fig. D.3 Scheme of ring grid with DG ..................................................................................................... 253 Fig. D.4 Simulink file of the currents at each PD located at the faulted line ........................................... 257 Fig. D.5 Connection of dSPACE 1104, OP-AMP, and DSP ................................................................... 258 Fig. D.6 SIMULINK program for fault type identification ......................................................................... 259 Fig. D.7 SIMULINK program for fault location (CE) ................................................................................ 259 Fig. D.8 SIMULINK program for fault location (ZO) ................................................................................ 260 Fig. D.9 SIMULINK program for fault location (LO) ................................................................................ 260 Fig. D.10 abc voltages from dSPACE in case of a three-phase fault (Control desk) (PD1 and PD2) ..... 261 Fig. D.11 abc voltages from dSPACE in case of single-phase to ground fault (Control desk) (PD1 and PD2) ......................................................................................................................................................... 261 Fig. D.12 abc voltages to ADC of DSP in case of a three-phase fault (Scope) (PD1) ............................. 262 Fig. D.13 abc voltages to ADC of DSP in case of single-phase fault to the ground (Scope) (PD1) ........ 262 Fig. D.14 abc voltages to ADC of DSP in case of a three-phase fault (Scope) (PD2) ............................. 262 Fig. D.15 abc voltages to ADC of DSP in case of single-phase fault to the ground (Scope) (PD2) ........ 263 Fig. D.16 abc voltages to DSP in case of a three-phase fault (inside Code Composer) (a) for PD1, (b) for PD2 .......................................................................................................................................................... 263 Fig. D.17 abc voltages to DSP in case of single-phase fault to the ground (inside Code Composer) (a) for PD1, (b) for PD2 ...................................................................................................................................... 264 Fig. D.18 abc voltages vs. fault occurrence for three-phase voltage ....................................................... 264 Fig. D.19 Digital output of the algorithm decision vs. fault occurrence (Three-phase fault) .................. 264 Fig. D.20 Digital output of the algorithm decision vs. fault occurrence (Single-phase fault) .................. 265 Fig. D.21 abc current from dSPACE in case of a three-phase fault (Control desk) ................................. 265 Fig. D.22 abc current from dSPACE in case of single-phase fault to the ground (Control desk) ............ 265 Fig. D.23 abc current to ADC of DSP in case of a three-phase fault (Scope) (PD1) ............................... 266 Fig. D.24 abc current to ADC of DSP in case of single-phase fault to the ground (Scope) (PD1) .......... 266 Fig. D.25 abc current to ADC of DSP in case of a three-phase fault (Scope) (PD2) ............................... 266 Fig. D.26 abc current to ADC of DSP in case of single-phase fault to the ground (Scope) (PD2) .......... 267 Fig. D.27 abc current to DSP in case of a three-phase fault (inside Code Composer) (a) for PD1, (b) for PD2 .......................................................................................................................................................... 267 Fig. D.28 abc current to DSP in case of single-phase fault to the ground (inside Code Composer) (a) for PD1, (b) for PD2 ...................................................................................................................................... 267 Fig. D.29 Digital output of the algorithm decision vs. fault occurrence (Three-phase fault) .................. 268 Fig. D.30 Digital output of the algorithm decision vs. fault occurrence (Single-phase fault) .................. 268 Fig. D.31 Scheme of Simplified radial grid (one line) without DG ......................................................... 268 Fig. D.32 LO control in case of single-phase to ground without DG ...................................................... 269 Fig. D.33 LO control in case of single-phase to ground with DG and BCC control................................ 269 Fig. D.34 CE-ZO control in case of three-phase with DG and CPC control ........................................... 270 Fig. D.35 CE-ZO control in case of three-phase with DG and CRC control ........................................... 270 Fig. D.36 Scheme of the radial grid (three-line) without DG .................................................................. 271 Fig. D.37 OCR control in case of single-phase to ground without DG ................................................... 271 Fig. D.38 OCR control in case of three-phase without DG ..................................................................... 272 Fig. D.39 DR control in case of single-phase to ground without DG ...................................................... 272 Fig. D.40 DR control in case of three-phase to the ground without DG .................................................. 273 Fig. D.41 OCR control in case of single-phase to ground without DG ................................................... 273 Fig. D.42 DR control in case of single-phase to ground without DG ...................................................... 274 Fig. D.43 CE-ZO control in case of single-phase to ground without DG ................................................ 274 Fig. D.44 Scheme of the radial grid (three-line) with DG ....................................................................... 275 Fig. D.45 OCR control in case of single-phase to ground with DG ......................................................... 275 Fig. D.46 DR control in case of single-phase to ground with DG ........................................................... 276 List of figures xix Fig. D.47 CE-ZO control in case of single-phase to ground with DG and BCC ..................................... 276 Fig. D.48 Scheme of ring grid without DG .............................................................................................. 277 Fig. D.49 CE-ZO control in case of two-phase to ground ....................................................................... 277 Fig. D.50 Scheme of ring grid without DG when fault DL3 ................................................................... 278 Fig. D.51 CE-ZO control in case of single-phase to ground .................................................................... 278 Fig. D.52 LO control in case of single-phase to ground .......................................................................... 279 Fig. D.53 LO control in case of three-phase to ground ............................................................................ 279 Fig. D.54 Scheme of ring grid without DG when fault DL2 ................................................................... 280 Fig. D.55 CE-ZO control in case of three-phase to ground ..................................................................... 280 Fig. D.56 Scheme of ring grid with DG ................................................................................................... 281 Fig. D.57 CE-ZO control in case of two-phase to ground with DG and BCC ......................................... 281 Fig. D.58 CE-ZO control in case of three-phase with DG and CPC ........................................................ 282 Fig. D.59 CE-ZO control in case of three-phase with DG and CRC ....................................................... 282 Fig. D.60 Scheme of ring grid with DG ................................................................................................... 283 Fig. D.61 CE-ZO control in case of single-phase to ground with DG and BCC ..................................... 283 Fig. D.62 Scheme of ring grid with DG ................................................................................................... 283 Fig. D.63 CE-ZO control in case of single-phase to ground with DG and BCC ..................................... 284 Fig. E.1 Three-Phase grid-connected VSC with RL filter ....................................................................... 286 Fig. E.2 Equivalent electric circuits of three-phase inverter with RL filter in Park transformed variables ................................................................................................................................................................. 289 Fig. E.3 Obtaining the symmetric components of an unbalanced system ................................................ 292 Fig. E.4 Three-phase inverter control for balanced conditions ................................................................ 294 Fig. E.5 Park transformation of the symmetric components to obtain constant variables ....................... 295 Fig. E.6 PLL Components ....................................................................................................................... 298 Fig. E.7 PLL using transformed quadrature voltage ................................................................................ 298 Fig. E.8 PLL Model according to [201] ................................................................................................... 299 Fig. E.9 abc injected current (initial condition) ....................................................................................... 300 Fig. E.10 Short-circuit currents at the start and the recovery of the sag .................................................. 300 Fig. E.11 Grid code modifications ........................................................................................................... 301 Fig. E.12 comparison between the initial and the enhanced abc injected inverter current ...................... 302 Fig. F.1 Experimental setup ..................................................................................................................... 304 Fig. F.2 Hardware connection ................................................................................................................. 305 Fig. F.3 Controller connection ................................................................................................................ 305 Fig. F.4 Experimental components (from left to right): AC Source, inverter, and dSPACE, contactor and relay ......................................................................................................................................................... 306 Fig. F.5 Experimental components smart source, resistive load, current and voltage sensors ................ 306 Fig. F.6 Complete laboratory setup .......................................................................................................... 307 Fig. F.7 Box construction ........................................................................................................................ 308 Fig. F.8 DSP, Op-Amp and power supply ............................................................................................... 309 Fig. F.9 Scheme of the complete laboratory connection of the complete ring grid ................................. 310 Fig. F.10 Scheme of the inverter connection ........................................................................................... 311 Fig. G.1 analysed grid with fault ............................................................................................................. 314 Fig. G.2 Analysed grids (a) Real grid, (b) Laboratory grid ..................................................................... 315 Fig. H.1 PV curve under different weather conditions for the KYOCERA KC200GT PV ..................... 319 Fig. H.2 General configuration of MPPT using DSM based FLC ........................................................... 322 Fig. H.3 Flowchart of the proposed DSM based FLC MPPT .................................................................. 322 Fig. H.4 PV power curves for (a) three modules (b) four modules at normal and partial shading conditions ................................................................................................................................................................. 323 Fig. H.5 PV power curve for different PV modules for DSM based FLC at partially shaded mode ....... 323 Fig. H.6 PV voltage for (a) one PV module (b) two PV modules (c) four PV modules at partial shading conditions. ................................................................................................................................................ 324 Fig. H.7 Flowchart of the proposed DSM based FLC MPPT .................................................................. 325 Fig. H.8 Practical system setup ................................................................................................................ 325 Fig. H.9 Practical and theoretical curves of the PV module at 80 W ....................................................... 326 Fig. H.10 The measured PV voltage of DSM based FLC at normal condition ........................................ 326 List of figures xx Fig. H.11 PV voltage simulation of DSM based FLC at normal condition ............................................. 326 Fig. H.12 PV curve at normal and partial shading conditions ................................................................. 327 Fig. H.13 PV power for (a) DSM based FLC, (b) FLC at partial shading condition ............................... 327 Fig. H.14 DSM definition ........................................................................................................................ 329 Sag effects on protection system in distributed generation grid Doctoral Thesis xxi List of tables xxii List of tables Table 1.1 Occurrence percentage of power system component faults [25] ................................................. 6 Table 2.1 Comparison between different current control techniques ........................................................ 14 Table 2.2 Comparison between different protection strategies. ................................................................. 15 Table 2.3 Comparison of AI techniques. [25] ............................................................................................ 17 Table 3.1 YNd11 connection schemes and vector representation .............................................................. 22 Table 3.2 Dyg11 connection schemes and vector representation .............................................................. 23 Table 3.3 Load values at the end of each line ............................................................................................ 27 Table 3.4 Grid parameters ......................................................................................................................... 27 Table 3.5 short circuit current during three-phase fault at DL4 with and without DG penetration. .......... 30 Table 4.1 Advantages and disadvantages of each control strategy during the sag ..................................... 41 Table 4.2 behaviour of each control strategy ............................................................................................. 41 Table 4.3 Equation of reference active and reactive power and negative sequence current of control strategies according to grid codes. ............................................................................................................. 42 Table 4.4 Reference active and reactive power, and negative-sequence current equations for the proposed control strategies. ....................................................................................................................................... 45 Table 5.1 OCR settings with 2 DG ............................................................................................................ 60 Table 5.2 DR settings with 2 DG ............................................................................................................... 60 Table 5.3 CE ANN fault location parameters ............................................................................................ 68 Table 5.4 ZO ANN fault location parameters ............................................................................................ 70 Table 5.5 Some of the cases used to verify the protection algorithm ........................................................ 71 Table 5.6 ANN fault classification parameters .......................................................................................... 73 Table 5.7 Some of the cases used to test the classification algorithm ........................................................ 74 Table 5.8 Results of ANN decision in different fault scenarios ................................................................. 74 Table 5.9 Grounding connection of the HV/MV power transformer ......................................................... 74 Table 5.10 Parameters for IEEE extremely inverse curve ......................................................................... 80 Table 5.11 Fault clearing time ................................................................................................................... 85 Table 6.1 Some of the scenarios used to test the protection algorithms .................................................... 98 Table 6.2 Single-phase to ground, and two-phase to ground short-circuit currents, when loads consumption are: (L1 = 5, L2 =2, L3 = 1, L4 = 1, L5 = 4) MVA, and with fault resistance r = 0.1 Ω .... 100 Table 6.3 Disconnections in case of single-phase fault at DL2 ............................................................... 105 Table 6.4 OCR settings with 2 DG .......................................................................................................... 119 Table 6.5 DR settings with 2 DG ............................................................................................................. 119 Table 6.6 Comparison between different protection strategies. ............................................................... 121 Table 6.7 Comparison of the proposed method with other methods for a similar problem. .................... 121 Table 7.1 System parameters ................................................................................................................... 124 Table 7.2 Specifications of SSR .............................................................................................................. 129 Table 7.3 List of grid components and their parameters: ......................................................................... 134 Table 7.4 System parameters ................................................................................................................... 136 Table 7.5 Comparison between the real grid and the laboratory grid parameters .................................... 136 Table 7.6 Some of the experimentally tested cases for radial grids ......................................................... 140 Table 7.7 Some of the experimentally tested cases for ring grid ............................................................. 140 Table B.1 number of cases considering fault resistance .......................................................................... 210 Table B.2 Total number of cases ............................................................................................................. 213 Table B.3 Fault identifier results for some operation conditions ............................................................. 215 Table B.4 Fault location results for some operation conditions ............................................................... 217 Table B.5 CE decision for the analysed ring grid without DG ................................................................ 235 Table B.6 ZO decision for the analysed ring grid without DG ................................................................ 235 Table B.7 CE decision for the analysed ring grid with DG ..................................................................... 236 Table B.8 ZO decision for the analysed ring grid with DG ..................................................................... 236 Table B.9 CE decision for the analysed ring grid with DG and high load consumption ......................... 237 Table B.10 CE decision for the analysed ring grid with DG and low load consumption ........................ 237 Table B.11 ZO decision for the analysed ring grid with DG and high load consumption ....................... 237 Table B.12 ZO decision for the analyzed ring grid with DG and low load consumption ........................ 237 List of abbreviations xxix List of abbreviations Abbreviations Nomenclatures A, C, G Voltage Sag Types AARC Average Active Reactive Control AC Alternating Current AI Artificial Intelligent ANN Artificial Neural Networks ANSI American National Standard Institute As Arsenic a-Si Amorphous Silicon a-Si:H Amorphous Hydrogenated Silicon AVC Automatic Voltage Control Relay b Bias BCC Balanced Current Control BIPV Building Integrated Photovoltaic BPSC Balanced Positive-Sequence Control CAGR Compound Annual Growth Rate CB Circuit Breaker CdTe Cadmium Telluride CE Centralize Algorithm CIGSS Cadmium Indium Gallium Serenide Solar Cell CPC Constant Active Power Control CSC Current Source Inverter CTs Current Transformers CuInSe2 Copper Indium Dieseline DC Direct Current DE Differential Evolution Algorithm DG Distributed Generation DL Distributionl Line DN Distribution Network DOCR Directional Overcurrent Relay DPF Direction Of The Power Flow dq Direct-Quadrature DR Differential Relay DS Distribution System DSO Distribution System Operator DSP Digital Signal Processor DT Definite Time DWT Discrete Wavelet Transform EHV Extra High Voltage EPIA European Photovoltaic Industry Association FFT Fast Fourier Transform FLC FRT Fuzzy Logic Controller Fault Ride Through Ga Gallium GA Genetic Algorithm List of abbreviations xxx GaAs Gallium Arsenide GCs Grid Codes GCV Grid Code Current Verification GOOSE Generic Object Oriented Substation Event GPV Grid Code Power Verification GSC Grid-side converter HV High Voltage IARC Instantaneous Active Reactive Control ICT Information And Communication Technologies IEA International Energy Agency IEC International Electro Technical Commission IED Intelligent Electronic Device IEEE Institute Of Electrical And Electronics Engineers IGBT Insulated Gate Bipolar Transistor ILP Integer Linear Programming INC Incremental Conductance Algorithm ISL Instantaneous Saturation Limit IT Information Technologies IT Inverse Time I-V Photovoltaic Current Versus Voltage kVA 's Kilo Volt Amperes LL Latched Limit LO Local Algorithm LP Linear Programming LV Low Voltage LVRT Low Voltage Ride-Through MAS Multi-Agent System MGs Microgrids MLP Multilayer Perceptron MMS Manufacturing Message Specification MPP Maximum Power Point MPPT Maximum Power Point Track MOV Metal-Oxide Varistor MSE Mean Square Error MV Medium Voltage MVA's Mega Volt Amperes OCR Overcurrent Relay P and O Perturb And Observe PCC Point Of Common Coupling PCS Power Conditioning System PDs Protective Devices PF Power Factor PI Proportional-Integral Controller PLL Phase-Lock Loop PNSC Positive-Negative-Sequence Control PSO Particle Swarm Optimization PSOs Power System Operators PV Photovoltaic List of abbreviations xxxi P-V curve Power Voltage Curve PWM Pulse Width Modulation RBFNN Radial Basis Function Neural Network RE Renewable Energy REE Red Eléctrica Española RL filter Resistance Inductance Filter RMS Root Mean Square SGs Smart Grids SICW Sinusoidal Current Waves SRF-PLL Synchronous Reference Frame PLL SSFID Solid-State Fault Interruption Device SSRs Solid-State Relays STATCOM Static Compensator Std Standard SVM Support Vector Machine SVP Sampled Values Protocol SYCW Symmetrical Current Waves t(I) Trip Time TCP/IP Transmission Control Protocol/Internet Protocol D T Time Dial THD Total Harmonic Distortion VSC Voltage Source Converter VSI Voltage Source Inverter VT Voltage Transducer W Weight Wi-Fi Wireless Fidelity ZO Zone Algorithm Sag effects on protection system in distributed generation grid Doctoral Thesis xxxii Chapter 1 Introduction 1 1 Introduction This chapter presents the overview and motivations to classify, locate the fault, and protect the Medium Voltage (MV) electrical Distribution System (DS), followed by the objectives and tasks needed to achieve this goal. Finally, the structure of the thesis and the contents of each chapter are briefly indicated. 1.1. Overview The main aim of electric utilities is to improve the quality of service continuously. Nowadays, the electricity demand is increasing day after day, especially with the increasing trend regarding smart homes and electric vehicles, elevating the electricity demand. The International Energy Agency (IEA) estimates that by 2040, the energy demand will increase by 40 %, as shown in Fig. 1.1 [1]. Therefore, the quality of the electrical grid must be enhanced and the fault detection and the restoration must be efficient [2], [3]. Fig. 1.1 Long-range world population projections, source: Global Energy Perspectives ITASA/WEC Spain is among the highest number of sunshine hours in Europe, accounting for nearly a third of the country’s installed solar power capacity, making this type of energy preferable in this part of the world. Also, Spain was one of the first countries to deploy large-scale solar Photovoltaics (PVs) and, as of 2018, the first country for concentrated solar power (CSP) in the world [4]. Fig. 1.2 shows the locations of renewable energy projects in Spain. Solar thermal Onshore wind Offshore wind Waves Biomass Geothermal Integrated photovoltaic Photovoltaic with tracking 4 MW 102 MW 2 MW 495 MW 5 MW 192 MW 127 MW 8.5 MW 232 MW 344 MW 108 MW 12 MW 119 MW 139 MW 332 MW 679 MW 13 MW 163 MW 67 MW 313 MW 100 MW 4 MW 17.2 MW 9 MW 806 MW 663 MW 93 MW 915 MW 2 MW 13 MW 21 MW 111 MW 8 MW 95 MW 47 MW 5 MW 102 MW 37 MW 594 MW 39 MW 93 MW 177 MW 4 MW 263 MW 3.5 MW 47 MW 58 MW 119 MW 341 MW 13 MW Fig. 1.2 Renewable energy projects in Spain, source: greenpeace.org Chapter 1 Introduction 2 In particular, the penetration of Distributed Generation (DG) in DSs has increased dramatically over the last decade [2]. As shown in Fig. 1.3, world electricity generation is expected to be more dependent on renewable energy, especially solar and wind energies [5]. Fig. 1.3 World electricity generation, source: IRENA, 2019. DG is described as power generation ranging from a few kWs to MWs, connected to a substation, distribution feeder, or customer level. DG systems include PV, wind turbines, fuel cells, micro turbines, gas turbines, and internal combustion engines [6]. Renewable energy resources will take significant importance in the electricity market in the next decades due to their ability to be directly connected to the DS located close to the consumers. DG also has some technological advantages as: improving the reliability, improving the voltage profile, power quality and voltage support of weak DSs, rapid installation in the grid, and taking shorter payback time, some DG technologies have low emissions and good overall efficiencies and contribute to greenhouse gas reduction. However, the drawbacks of DGs can be summarized as follow: DG’s connection may cause overvoltage, fluctuation, and system voltage unbalance if synchronization with the utility supply is not appropriately achieved when a DG connects to the network, short-circuit currents are modified, which modify the relay settings [7]. Inverter interfaced DGs, such as PV, are commonly connected to DS. As seen from Fig. 1.4, PV has recently experienced rapid growth worldwide due to mass production, which makes the cost relatively low. During the last decade, Smart Grids (SGs) concept has been considered an effective approach to improve the challenges in the energy domain. However, many obstacles emerge on the route to realizing those accomplishments [2]. Renewable Energy Electricity Generation Costs as Percentage Fig. 1.4 Renewable Energy Electricity Generation Costs as Percentage [16] The advantages of PV systems can be summarized as follow: quit, have no polluting environmental effects, are highly durable, and requires minimal maintenance [8]. Some of the disadvantages of PV systems are: need large areas to install PV arrays to generate sufficient power; have low efficiency, Chapter 1 Introduction 3 however, the efficiency of the PV panels have increased significantly in the previous decade, and it is predicted to continue enhancing in the following decade [9]. The DG unit owners are usually private individuals or enterprises not related to the DS operator (DSO), which usually cannot have authority over the operation of the DG units. The two sections have some level of competing interests. Usually, the DG-owners are based on generating power, optimizing income, and holding low network interconnection costs. On the other hand, the DSO’s focus is on maintaining stability, high reliability, and sufficient power quality in the network. After connecting a DG unit, the DSO must make interconnection specifications that ensure the proper operation of the DS. The goal of DSO is to utilize the ability to control voltage levels and reduce losses in the DS through control of the reactive power generation of the DG units. However, DG-owners see little gain from reactive power generation or consumption. Therefore, the systems are often run at a constant power factor near one. Currently, DSO asked all DG units to disconnect when a fault is detected. This situation is not adequate when the level of DG penetration rises. In this case, instead of disconnecting the DG, it should help support and restore the network during fault [10]. The penetration of DG will also affect the behaviour of MV DS for both radial and ring configurations, in the next section, both configurations are discussed.  Radial and ring grids For radial grids that did not contain DGs, the unidirectional power flow topology simplifies the implementation of reactive power compensation for voltage regulation; it also simplifies the systems bus characteristics calculations, and the short-circuit current computations. However, the radial system suffers a major disadvantage, as the system’s reliability is low due to the single power flow to the loads. In the case of a failure, the affected circuit will remain isolated from the source as long as the fault is repaired. For present radial systems that contain DG, the power flow can change based on generation and consumption. The radial DS will greatly benefit from the incorporation of DG by the ability to function in isolated mode as well as the enhanced system voltage profile. Another aspect regarding the DG integration in radial topology is still constrained by the maximum amount of power that can be exported, which cannot exceed the feeder rating that has been originally sized during the design stage for the busload. The meshed (ring) topology provides a significant increase in efficiency over the radial topology by providing alternative power paths to the load, which improves the system reliability, as the power outage duration is reduced significantly. On the other side, bidirectional power flow complicates the power system protection, which introduces the need to use directional relay elements to compensate for the safety of the bus according to the direction of the power flow. Fig. 1.5 shows the DS, including the operation control center and communication signals. High voltage transmission Wind farm Terminal substation MV distribution line Distribution substation Feeder meters distribution line Metered transformer Commercial consumers Radio tower Remote controlled PD Metered transformer Photovoltaic Operation control center Underground distribution Underground distribution Residential consumers Automated home devices Home energy monitor Large industrial consumers communication Power Radio antenna Fig. 1.5 Smart grid DS, source: printerest (electrical-engineering-pics.blogspot.co.at) Chapter 1 Introduction 4 SGs bring together the demands and abilities of all generators, grid operators, end-users, and stakeholders to function as efficiently as possible, reducing costs and environmental consequences while increasing system dependability, resilience, and stability. Recently, due to the evolution of Information and Communication Technologies (ICT), Artificial Intelligence (AI), and fast Internet availability especially with the contribution of the 5G technology, the trend toward Smart Grid (SG) is increasing every year [11]. Therefore, the DSO has increased the number of sensors in the network, especially in SGs, to have more information and enhance the grid’s commercial quality [12]. Accordingly, the moment has come to introduce new protection algorithms and procedures to enhance the availability of the grid [2]. The rapid development of communication system standards such as IEC 61850 and emerging communications technologies will give more creativity to adapt to new challenges. IEC 61850 began to be in DS when the idea of SG is started to develop [8]. Wherefore, new solutions are needed to propose fault location algorithms in modern DS [2]. One of the most used AI techniques in the protection of MV DS is the Artificial Neural Networks (ANNs) that will be used in this thesis. In the following subsection, the general explanation and the principle of operation will be presented.  Artificial Neural Network Because of their nonparametric, adaptive, and noise-tolerant properties, ANN’s built credibility in modeling and analyzing complex systems. As biologically inspired analytical techniques, they have the capability of learning and modeling very complex nonlinear relationships. Neural networks are simultaneous implementation of static or dynamic nonlinear systems, and their numerous independent operations can be performed at the same time. The function of an ANN is dictated by the arrangement of neurons, the characteristics of the connection, and the type of processing performed at the elements or nodes. The output to be expected in classification tasks is a categorical variable, while output is a quantitative variable in regression problems. ANN’s unique feature is to the extent it is devoted to parallel computation. In addition, it is programmed to generalize the observable inputs and will provide a valid input-output mapping even though in the learning phase the data has not been introduced to the network [13]. Fig. 1.6 shows the general principle and structure of ANN. ANNs are utilized in a wide range of applications, such as pattern recognition, approximation of functions, data compression, associative memory, optimization, prediction, modeling, and control of nonlinear systems [14]. (a) (b) Raw data Selection Neural network training Nueral network Evaluating neural network Labels Training process Feedback x1 x2 x3 xj y1 y2 yL z1 z2 z3 z4 zN-1 zN Input layer Hidden layer Output layer Inputs Outputs wNj wLN Fig. 1.6 ANN (a) principle of operation (b) structure Since ANNs can provide excellent pattern recognition, several researchers suggest performing multiple tasks in power-system relaying for signal processing and decision-making [14]. There are generally three categories of artificial neural networks: feedforward, feedback, and competitive learning. Neural network learning strategies to identify patterns can be divided into two broad categories: unsupervised and supervised learning. The desired set of outputs is determined along with the set of inputs during supervised learning, and the associated output is linked with each input. The neural network in this scenario learns to align inputs with desired targets by adjusting the network’s weights. However, desired outputs are not considered during unsupervised learning, and the network learns to recognize the similarity of input patterns by changing the weights of the network before similar inputs begin to generate related outputs [15]. However, the main disadvantage with ANNs is that there is no precise guide for Chapter 1 Introduction 5 selecting the number of hidden layers and neurons per hidden layer. On the other hand, one of the key benefits of employing ANNs is the ability to generalize flexibility. In this research, Multilayer Perceptron (MLP) is used, as it has an excellent ability to approximate any nonlinear mapping to some degree of precision [16]. In addition, they do not require a priori assumptions to be made about the properties of the data [17]. MLP is the most frequently used form of feedforward neural network [41]. It is composed of numerous layers of parallel neurons, with one or more hidden layers and an inner product of inputs, weights, and biases, and nonlinear transfer functions, followed by an output layer with an internal product of the inputs, weights, and biases, and linear/nonlinear transfer functions. Also, the back-error propagation method is used in this research, as the neuron weights are adjusted in consecutive steps to achieve minimal global error between the network’s real and predicted reaction [14]. 1.2. DG techniques DG can consist of generators directly connected to the MV grid through a transformer, such as the synchronous generators of the combined heat and power plants, or electronic converters, such as the PV generators, wind turbines, and fuel cells [7]. Green and renewable energy sources with virtually no polluting environmental effects are highly durable and require minimal maintenance, modular and versatile in ratings and applications, and PV systems are quiet and visually unobtrusive. The efficiency of PV modules is approximately around 25 %. However, higher efficiencies are anticipated soon as technology and manufacturing processes continue to develop. The following subsection will focus on PV technology as it is the main core of the DGs studied in this thesis. Two stages grid-connected is a traditional photovoltaic system. It consists of a photovoltaic panel, DC/DC converter, and DC/AC inverter. This topology has the merits of amplifying the solar array voltage, providing galvanic isolation and power decoupling. In applications such as grid-connected systems, the output current needs to be controlled, even though a Voltage Source Inverter (VSI) is often used [18]. The main advantage of the current control technique is the output current limiting. As shown in Fig. 1.7, inverters, solid-state devices that convert DC power to AC, must be used to convert Direct Current (DC) from PV cells to Alternating Current (AC). [19]. Thus, developing a PV grid-connected inverter system is important for the mitigation of energy and environmental issues. LV MV Converter PV Fuel cell Wind Fig. 1.7 Renewable energy-based DG system. PV systems are categorized as stand-alone PV systems and PV systems connected to the grid. The PV stand-alone system matches the load, and the PV grid-connected system matches the load and grid [20]. The inverter uses a tracking feature with a maximum power point to identify the ideal operating voltage for the array. Based on the available sunlight and temperature conditions, the inverter operates in phase with the grid (unity power factor) and typically delivers as much power as it can [21]. 1.3. Protective devices The electric lines in a DS are subject to various events such as severe weather conditions, interaction with wildlife, falling trees, human errors, malfunctions of equipment, and so on. For example, MV overhead lines may fail due to ice sleeves on conductors during snowfall or tree fall during windstorms, while overheating may cause the catastrophic failure of underground cables [22]. Such disasters could lead to fault events that could cause to trip the network Protective Devices (PDs), such as power switches, reclosers, circuit breakers, and fuses [23]. Rapid service restoration and excellent pinpoint accuracy Chapter 1 Introduction 6 during a fault clearance play an important role in the regular operation of the power system to reduce overall costs and increase the safety of the entire system [24]. When disconnection occurs, it can cause temporary or sustained power interruptions [2]. Due to multiple power generation, which will affect PDs settings, the issue of fault location in DSs is critical and complicated, particularly with DG penetration. The performance of those networks can be significantly improved if the exact location of the fault is detected utilizing smart protection technologies. The DS usually operates at two levels of voltage, MV and Low Voltage (LV). The MV voltage DS is the focal point of this research. As shown in Table 1.1, most of the power system component faults are located in the cables or lines, so more effort is required to improve performance and reduce errors in this topic. Table 1.1 Occurrence percentage of power system component faults [25] Power system elements % Generators and Transformers 17 Overhead lines and underground cables 59 Switchgear 12 Relays, etc. 12 PDs aim to hold currents under normal operating conditions and interrupt currents rapidly under abnormal operating conditions. The PDs are installed at the ends of each Distribution Line (DL) to isolate the faulted line from the grid [26]. PDs are intended to reduce the impact of power system outages by maintaining service quality and minimizing damage to equipment. One of the essential features of any PD is isolating faults quickly because the damage caused by a fault is mainly proportional to its duration. PD must precisely determine the type and location of faults in a short time, and provide a circuit breaker opening order to interrupt failed phases accordingly [26]. Protection of power system is achieved primarily using overcurrent (due to overload or short-circuit) protection devices [27]. This class of protection relays is widely used in DS protection. In most protective systems, overcurrent relays (OCRs) have to be coordinated with other protection devices. This has to be done in such a way that sensitivity and selectivity are guaranteed for a wide range of faulted system conditions. To meet this requirement various relay characteristics are applied. It is important to say the overcurrent protection needs to be adjusted for radial grid with DGs penetration, and also for the ring grid. Another class of overcurrent protection devices, especially applied in DSs consisting mostly in overhead lines is the recloser [28]. In these grids, the highest percentage of faults is temporary and a permanent disconnection feeder is unnecessary [3]. In radial or ring grids with DGs, disturbances can lead to fault currents, which can flow in both directions through a power system component and causes unnecessary disconnection of circuits. A directional relay is added to the OCR to provide proper protection of these grid structures and cope with bi-directional fault currents. In ring DSs, differential protection is used more widely than in radial grids. A drawback of the protection is the necessity for a communication channel to compare the current quantities. Moreover, it needs additional backup protection [29]. Typical applications of differential protection are transformers and busbars where there is a short distance between current transformers. Modern breakers particularly used in medium- and higher-voltage applications have separate relays that sense and activate the tripping. Digital and numerical relays have customized functions and offer improved network and equipment protection [3], [26]. These types of relays are used in this research as a PD, to ensure the fast disconnection of the faulted part of the system. The numerical PD is designed to combine functions such as monitoring, metering, controlling, and recording events, as well as being economical and adaptable to communicate with peers [13]. A specialized Digital Signal Processor (DSP) is used to incorporate numerical PD as computational hardware, using DSP as a relay processor, enabling it to meet basic protective requirements such as reliability, sensitivity, selectivity, and speed, which can dramatically boost the efficiency of the protection operation [30]. Therefore, the use of numerical PDs would soon replace previous PD technology such as digital PDs, static PDs, or electromechanical PDs [31]. Chapter 2 State of the art of DG penetration impact on MV DS protection systems 13 connected PV system. This research was carried out to provide constant active power during sags. A symmetrical component-based generalized power control technique is proposed in [55]; the goal is to control the instantaneous power delivered under unbalanced voltage sags. In [56], [57] during unbalanced grid faults, several methods for injecting reactive current have been investigated. During such transient unbalanced grid conditions, mathematical expressions have been established to set the reactive power limit given by a static compensator. In [38], four reactive power injection control strategies have been analysed to determine how much active and reactive power is delivered to the grid during unbalanced conditions: average active reactive control, balanced positive-sequence control, instantaneous active reactive control, and positive-negative-sequence control, named average active reactive control, balanced positive-sequence control, instantaneous active reactive control, and positive-negative-sequence control. In [58], the same control strategies represented in [38] have been used in order to reduce the DC voltage oscillations and accomplish current limiting control. A couple of reactive power reference values have been calculated for each control strategy to meet the peak current limitation and maximum DC voltage oscillations criteria. The supplied reactive power reference was determined by comparing reference values that accounted for both DC voltage oscillation and peak current limitation. In [62], PV inverters’ performance during unbalanced voltage sags has been investigated using three alternative control algorithms. The use of continuous values for control parameters in a control strategy is presented for variable power quality characteristics. Reference [63] focuses on the impact of gridconnected PV systems on system transient stability. The PV system is usually controlled to keep both active and reactive power at the reference set points. This can be achieved by controlling the inverter using the current reference signals. The PV system may have to be disconnected when its terminal voltage drops below the specified threshold voltage. This reference points out that, the faults ride-through capability of the PV system is significant to the power system transient stability. The PV system operational characteristics have impacted the transient state during the fault and the subsequent steadystate. Current limiting strategies are used to avoid exceeding the converter’s limits; however, careful attention should be paid to avoid obtaining distorted injected current or increasing the transient periods. In [64], a current limiting factor is applied to the reference current, a current limiting technique for inverter-based islanded microgrids (MGs). The drawback of that strategy is that it should be equipped with an instantaneous saturation limit (set to double the inverter rated peak current), which distorts the injected current in some cases due to crest clipping. In [65] instantaneous limiting and latched limiting with a variety of reset mechanisms are investigated for inverter-interfaced generators during and after faults. To limit the fault current, the proposed limiting strategy requires a long transient time, which will result in distorted currents for many periods. Reference [66] proposes a generalized active power control strategy for DG inverters operating under unbalanced grid faults. Based on derived formulas and graphic representations, the contributions of symmetric-sequence components to the instantaneous power and the interactions between symmetric sequences have been explained in detail. In [67], an adjustable parameter between the reference currents and the grid voltages is introduced, a strategy can control the DC-link ripples, the symmetry of currents, or the power factors in terms of controllable oscillating active and reactive powers. Reference [68] presents a reference generator for three-phase grid-connected inverters operating under unbalanced voltage sags. Two control objectives are simultaneously accomplished: to control the amplitude of the injected currents and to exploit the power capacity of the inverter. Therefore, DG power plants can avoid overcurrent tripping while flexibly helping to mitigate the adverse effects of grid faults. The main contribution is the development of a reference generator either for active or reactive power for any given unbalanced voltage sag. In [69], the transient stability behaviour of the droop-controlled VSC is theoretically explained. In [70], two control strategies for three-phase power electronics interfaced DG systems are proposed to compensate the grid steady-state unbalanced voltage. In the first method, to reduce the adverse effects of compensation on the DGs operation, DGs active power oscillation is minimized in the compensation strategy. In the second method, to effectively reduce the negativesequence voltage of the grid, DGs negative-sequence current is set to be in phase with the grid negativesequence current. In [71], a current limiting strategy is proposed to instantaneously limit the injected abc current at a pre-defined threshold. However, the current limiting technique needs many calculation steps, besides only limit the abc current at the beginning of the sag, not at the start and the end of the sag. Chapter 2 State of the art of DG penetration impact on MV DS protection systems 14 It should be noted that the previous studies do not consider either the limit of the reference currents according to the grid code requirements or the implementation of a control strategy according to such requirements. This is becoming very important nowadays due to the increase in DG systems connected to the grid. Several researchers discuss the application of grid codes to control converters based on Park transformation to derive reference currents using various methods [59], [68], [72]–[77]. For example, in [59], only symmetrical voltage sags were taken into account to meet the Spanish grid code criteria for grid-connected PV power plants. References [68], [72]–[76] take symmetrical and asymmetrical voltage sags into account. In [68], [72], [73] unbalanced currents and fluctuating active power are produced. Reference [78] provides a detailed overview of electrical protection requirements for PV-based DG, from the LV to the HV-EHV level. In addition, the study of national and regional codes that have been suggested and approved in several countries where high PV penetration levels have been achieved. The protection relays and their settings are the subjects of the study. In [74], power injection scenarios have been proposed in two different ways. The first is intended to inject balanced currents; however, both active and reactive powers fluctuate, as mentioned in [76]. The second way seeks to inject consistent active power during sags. However, the injected current is unbalanced and the reactive power oscillates, as mentioned in [75]. In [79], the performance requirements for single- and two-stage grid-connected inverters in grid-connected PV power plants under fault conditions have been addressed. According to the grid codes, modifications have been proposed to control and incorporate the PV power plant ride-through compatible with any type of fault. These modifications include applying current limiters and controlling the DC-link voltage by different methods. In [59], a control system for a PV installation connected to the grid is developed to accomplish the requirements raised in the 2010 draft version of the Spanish grid code P.O. 12.2. The flexibility of the developed control permits its adaptation to future versions and modifications in the grid code. Moreover, the control loops proposed can be implemented in another gridconnected DG. Table 2.1 gives a comparison between various references to differentiate easily between them. Table 2.1 Comparison between different current control techniques Grid code fulfill Current limiting Experimental verification Transformation technique References Yes No No Park [38] No Yes Yes Clarke [65] No Yes Yes Park [64] Yes Yes Yes Clarke [68] No Yes Yes Clarke [70] No Yes Yes Clarke [76] No Yes Yes Clarke [75] No Yes Yes Park [69] Yes Yes Yes Park [74] Yes Yes Yes Clarke [73] No Yes Yes Park [71] Yes Yes Yes Ku [60] 2.2.2. State of the art of the protection schemes of MV DS with DGs penetration A literature review of the research is presented to identify the protection schemes of MV DS with DGs penetration during grid faults. Various approaches for locating and detecting faults in DSs with DG have been proposed. As shown in Table 4 of [80], these methods can be divided into two categories: conventional and Artificial Intelligence (AI) techniques. Conventional techniques include the traveling wave method [81], synchronize voltage and current measurement, fundamental frequency method, knowledge-based methods, and impedancebased method. Some of the AI techniques employed for fault location in DSs are [25], [82], [83]: Artificial Neural Network (ANN), Support Vector Machine (SVM), Fuzzy Logic Controller (FLC), Genetic Algorithm (GA), matching approach, Discrete Wavelet Transform (DWT) technique including Chapter 2 State of the art of DG penetration impact on MV DS protection systems 15 Wavelet-Neural networks, Wavelet-Fuzzy and Neuro-Fuzzy. Table 2.2 illustrates different protection techniques from different aspects as the DG connection, the grid configuration the speed of tripping decision. Table 2.2 Comparison between different protection strategies. Inverter based Grid reconfiguration Experimental verification Trip signal Strategy References Yes Yes Yes Very fast Directional based ANN Proposed method [37] Yes Yes No Fast Linear programming [110] Yes No Yes Very fast Deep learning ANN (DNN) [111] Yes No No Moderate Directional relay [112] Yes No No Fast Discrete wavelet transform (DWT) [114] No No Yes Not specified Support Vector Machine (SVM) and ANN [113] No No No Very fast ANN [115] No No No Moderate communication‐based [116] No No No Moderate OCR with DR [109] The conventional protection strategies for the DS and the limitations of those techniques are addressed in [84]. These limitations include a change in the power flow, resulting in unpredictable operating times leading to possible coordination loss. In addition, connecting variable DGs to the system will produce variable fault levels, resulting in protection blinding and false tripping. In [85], various DS protection strategies have been proposed to utilize the advantages of DG entirely. The common protection challenges associated with integrating DG into MV DSs were discussed in [86]. A comparison between different fault classification methods has been presented in Table IV of [85]; also, a comparison between artificial intelligence is presented in Table III of [87], and the protection schemes for microgrids are presented in Table IV of [87]. The main focus of conventional relays used in this research will be on OCR and DR protection as they are the most commonly used schemes in distribution protection systems.  Conventional Protection Strategies Current research trends indicate that the addition of DG is threatening conventional protection, so the settings and the parameters need to be updated. One of the most common protection systems in DS is overcurrent protection. The relay setting for OCR depends on the fault level that relies on the DG penetration, load consumption, and grid configuration [88]. The inverse time characteristic allows the relay to discriminate between permissible and non-permissible conditions. Several types of research have been developed to calculate the OCR parameters with DG penetration [89]. Some of them use a microprocessor-based relay without communication as presented in [90]. Another way is to use linear programming with communication as in [91]. Previous studies focus on the non-based inverter DS. In [92], a new communication-assisted OC protection scheme has been proposed for inverter-based microgrids; the algorithm is developed for DC microgrids. The real drawback is that the fault is delayed, resulting in more damage to the faulty equipment and an increased risk of damage to healthy equipment. Reference [93] investigates the impact of PV systems on the coordination between OCRs in a PV-dominated distribution feeder. In [94], [95] the impact of DG on the directional OCR is studied, using the adaptive protection method. However, this process’s complexity is high, and a suitable communication medium is needed, especially with grid reconfigurations and DG penetration into DS. Differential protection is one of the preferred methods of protecting DS, especially with DG penetrations [86], because it solves the issue of bidirectional power flow. The DR merits can be summarized as follows: its operation concept of the internal zone of protection does not require information on the fault currents from the DS analysis [85]. However, providing a backup protection scheme is necessary, as the communication system may fail [96]. A line differential protection uses the differential current between Chapter 2 State of the art of DG penetration impact on MV DS protection systems 16 both end lines and compares it to a threshold. However, if the CTs are saturated or their ratios are not matched correctly, the differential signal may assume considerably large values. A second signal called “restraining signal” is created to prevent false trips, which is much higher during external faults than during internal faults. Moreover, with increasing DG penetration, the threshold current also increases, and the sensitivity of the relays is thus decreased. Also, if the contribution of DG comes from one end of the faulted line is approximately equal to the current from the other end, the DR could face tripping problems, especially with weak grids and high DG penetration [48], [97]. Some methods based on signals matching using voltages or currents will be presented. In [98], a novel algorithm based on both sinus matching and differential protection in DS with DG non-based inverter penetration is proposed. The algorithm guarantees the consistency and alacrity required for recovery. However, due to the matching process, the processing of the data needs more time and calculation; in addition, the DR uncertainty in some cases especially with DG penetration as mentioned in the previous paragraph. Standards’ advent, such as IEC 61850, and Ethernet-based communication capabilities, has evolved traditional protection schemes into new features. Also, using Multi-Agent System (MAS) [99] or wireless networks [100]. A two-terminal pilot channel could be employed to reduce communication costs, and a multi-terminal current differential protection technique is used. Previous studies targeted the DS nonbased inverter. The evolution of a centralized controller with DR is one of the main concepts in smart grids. As in [100] and [101], the concept of a hybrid protection system is presented, which implements traditional differential protection along with adaptive protection via a central controller, for a PV-based inverter system. However, the system was not tested with high PV penetration nor with high fault resistance. Many researchers propose different techniques to update the settings of conventional relays with DG penetration to solve this issue. In [102], inverse time-current characteristics are provided by dual setting relays. However, these studies did not focus on the PV-based inverter. In [103], the same idea was used with different network reconfigurations, but the reliability evaluation and stability improvement need to be carefully studied. Adaptive protection enables relays to react to any changes in the DS. However, this process’s complexity is high, and a suitable communication medium is needed, especially with grid reconfigurations and DG penetration into DS. In [104], [105], a two-stage optimization approach has been presented by including automated online readjustment of the relay settings to better suit various DS operating conditions. One way to rapidly update the relay setting is to use communication, as presented in [106], [107], which employs the current differential principle with an adjusted restrain characteristic to locate the fault. Another idea is based on preprocessing of the faulted current and voltage signals using Fourier transform. In [108], a data-mining-based differential protection scheme is proposed, using discrete Fourier transform to estimate the most affected features during faults. Differential evolution algorithm (DE) is an effective way to solve the Directional OCR (DOCR) coordination problem, as in [109], [110] an enhanced DE is proposed, and comparisons among different versions of DE are presented. Previous research focuses on non-based inverter DG. However, the protection system’s behaviour during grid reconfigurations has not been studied.  AI Protection Strategies Unlike conventional protections, smart protection techniques can locate the fault for any fault resistance or load condition impact, even when the grid could be reconfigured. The implementation of ANN will solve these. Not much research has been done about the behaviour of the protection system with high penetration of DG-based inverter [111]–[116]. The difficulties in determining the fault current and voltage profiles on high penetration of DG-based inverter systems have been discussed in [117]. One trend is to use directional relays to isolate the grid’s faulted part [110]. Another trend is the application of AI techniques. One of these trends is the use of ANNs to locate faults in inverter-based DG networks without PD communications requirements [111]. However, the problems concerning system dynamics have received little attention. MAS has recently been used to coordinate PDs [118]. MAS is also used in conjunction with ANN to locate asymmetrical faults by integrating the fault direction discriminating Chapter 2 State of the art of DG penetration impact on MV DS protection systems 17 approach with the communication system [36]. Instead of ANN, a similar concept has been employed with directional relay [110], [119]. A comparison of the aforementioned methods can be found in [33], [34], [87]. Recently, AI techniques have gained more importance in the protection of DS. Mainly because of their ability to operate fast and deal with a large number of inputs. Table 2.3 shows the advantages and disadvantages of the most common techniques. The FLCs used to enhance the current differential protection scheme are presented in [120]. Another way is to use Particle Swarm Optimization (PSO), as in [121], an adaptive protection approach is proposed. Integer Linear Programming (ILP) and PSO are used in this research. One of the most efficient approaches for resolving protection problems consists of ANNs [122]. In [123], a smart differential protection scheme using a nonlinear signal transformation based on ANN is proposed. Table 2.3 Comparison of AI techniques. [25] AI techniques Advantages Disadvantages ANN - Dealing with nonlinearity. - Results depend on the training quality of the NN. - The parameters such as hidden layers, neurons, and learning rate are identified using trial and error. SVM - Faster even for largesize problems. -minimize error bound. - Performance depends on the choice of kernel function and hyper parameters. FLC - Handles uncertainties. - Interpret input/output relationship. - Determining the global minimum. - Feature definition and extraction have to be enhanced. GA - Slow Simulation speed. - Large dimension of possible solutions. - Not consistent results over time, because almost all processes are random. Matching approach - More economical method. - Dependent on the simulated data for matching with actual data. - Time-consuming process of creating a database. Considering the studies mentioned above do not focus on DGs-based inverters. Different approaches have recently been developed that take into account the existence of DGs-based inverters. In [124], a centralized algorithm with mixed-integer linear programming is proposed to obtain the relay setting. However, no backup protection is introduced, and the algorithm was not tested experimentally. In [125], a fault detection system using DWT and ANN has been presented. Despite this, the error percentage (6.43%) has to be improved due to the large amount of transient data used to train the ANN. Reference [126] presents a new method for solving the problem of DOCRs coordination in DSs with high penetration of DG, using a hybrid PSO with linear programming (LP) algorithm. Reference [127] uses a combination of Adaptive Network-Based Fuzzy Inference System (ANFIS) and DWT, and this research proposes an accurate technique for finding defects in an MV underground power cable. The suggested method employs five ANFIS networks and is divided into two stages: fault categorization and precise fault location. In [128], [129] a new automated fault location method by using Radial Basis Function Neural Network (RBFNN) for a DS with DGs has been presented to determine the fault location, and two-staged RBFNNs have been developed for locating various fault types. The first RBFNN is used to calculate the fault distance from each power source, while the second RBFNN is utilized to determine the specific location of the faulty line. The third stage RBFNN is also created for fault isolation and determining circuit breakers’ open and close states. In [130], a new objective function within the GA approach is presented to solve the coordination of OCRs and distance relays. The existing objective function of OCRs coordination is improved and extended to include the coordination of OCR and distance relays [131]. Various OCRs parameters are considered within the approach to select the best of them by GA for optimal coordination. Two separate power system networks are used to test the proposed strategy. Reference [132] presents an attempt to design an automatic voltage control (AVC) relay based on FLC. The structure of the proposed FLC based-AVC relay is presented, and the results with and without integrated DG into DS are discussed. It has been found that the proposed FLC-based AVC relay Chapter 2 State of the art of DG penetration impact on MV DS protection systems 18 has the ability to control the voltage magnitude of DS as load changes. It has also shown that the relay’s performance is not affected by the connection of DG, and its setting does not require re-adjustment as DGs are connected to the network. Another concept is to use MAS with ANN to interact between PDs [36]. The concept focused on integrating the distinguishing method of fault direction with its communication mechanism to identify asymmetric faults. A similar concept was used with the use of a directional relay rather than using ANN. Previous studies give more flexibility to connect DG-based inverters to DS; however, these studies are limited to radial grids. In [99], micro-grid protection for radial and ring grids is presented using a MAS protection strategy based on a variable differential protection scheme. However, for inverter-based DG with high fault resistance, the protection scheme has not been tested. In [98], a unique approach based on both sine matching and differential protection is proposed, in DS with DG penetration. The algorithm ensures the speed and accuracy required for restoration. However, the protection scheme will take longer to decide when there is a high DG penetration or a high fault resistance. Many recent studies have concentrated on investigating ring grid protection challenges; for example, in [115], an ANN with PD communication has been proposed, or in [133], directional relays have been studied. In [134], MAS has been used to indicate the faulted part of the grid. Considering the studies mentioned above do not focus on DGs-based inverters. Different approaches have recently been developed that take into account the presence of DGs-based inverters. In [135], a protection system based on communication is developed according to the IEC61850 communication standard. However, more information has to be provided to analyze the dynamic behaviour and the communication characteristics of the system. In [112], [136], a communication-based DC directional overcurrent protection scheme is employed to isolate the faulted part of the grid for an islanded MVDC. In [137], the investigation of a communicated protection coordination scheme using Wireless Fidelity (Wi-Fi) 's feasibility is presented. However, the Wi-Fi protocol’s security and interference proneness need to be considered, followed by the experimental validation. Previous research has mainly focused on communication, with no solutions provided in the case of poor communication. In [138], high PV penetration protection requirements have been studied. The suggested protection strategy to eliminate the fault relies on communication between overcurrent protections. Only symmetrical faults were shown in the demonstration. As seen in the review, most of the research focuses on the behaviour of the protection schemes, and they aim to improve the system’s reliability by adding an artificial intelligence system to the controller instead of the classical control to indicate the type and location of faults. It can be seen from the aforementioned, the behaviour of the protection system in the case of a ring grid with high DG-based inverter penetration has been analysed in very few studies. In addition, none of the previous studies designed a protective algorithm using an ANN-based communication relay system to locate different types of faults in an MV ring DS, which will ensure a more secure, reliable, and redundant environment for protection. Therefore, the need for a perfect, reliable, and secure method is still in demand. The proposed ANN can identify and locate the fault using a simple training algorithm, with a minimum number of layers to minimize the training time. The new approach can improve the system’s effectiveness, reliability, and accuracy, moreover, for the sudden changes in the grid (addition of new parts, temporary modifications, network reconfiguration due to failures or maintenance) it can simultaneously speed up the response of protection system. The proposed strategy can also be used for the most common neutral connection of the HV/MV transformers. Therefore, the proposed PDs must adapt to the changes introduced by connected DGs to the grid, which implies the possible use of PDs with directional capabilities with several characteristics as rapid reactions, sensitivity, selectivity, and reliability improving DG fault ride through [86]. The proposed protection schemes in this thesis present the characteristics mentioned above for the inverter-based DG using: CE and an ANN-based backup ZO, and LO algorithms. The use of CE and ZO algorithms, which are modeled and adapted by ANN to automatically coordinate Chapter 2 State of the art of DG penetration impact on MV DS protection systems 19 the PD setting and locate the interference on the faulty line, will be explained in this research, depending on changing load consumption conditions, DG penetration, different fault locations, fault types, fault resistance and (HV/MV) transformer configuration. To implement this idea, the communication- and data-processing-based protection system should have a secure, high-speed communication system, wide area measuring devices, and remote control devices. The response of the inverter controller was assessed under grid faults integrating the capabilities of LVRT and the requirements of Spanish grid code. The proposed strategy is based on evaluating CE and ZO algorithm decisions to have a more efficient and consistent process. The CE unit will use network-wide comparison measures to locate the fault location and trip the relevant breakers to isolate the fault. The security and redundancy of the protection system are increased using a second controller working in parallel, and both controllers’ decisions will be evaluated. The algorithm is based on peer PDs communicating in the same line and transmitting data to the ZO at each PD [37]. In addition, LO will be used as a backup for CE-ZO algorithms using only the local measurements of each PDs and without communication. The abc voltages are used to calculate the positive and negative sequence components required to decide the trip actuation in each PD. The benefits of these approaches are that it has a more secure protection scheme and can be adapted for temporary adjustments in the grid. In the next chapter, the analysis and modeling of the DS used in this research are presented. Also, the analysis of the short-circuit DS with high PV penetration will be investigated. Sag effects on protection system in distributed generation grid Doctoral Thesis 20 Chapter 3 Medium voltage distribution system construction, modeling, and analysis during faults with DG penetration 21 3 Medium voltage distribution system construction, modeling, and analysis during faults with DG penetration In this chapter, the DS components’ models and their parameters are presented. Also, the modeling of the PV generator is introduced. Finally, the short-circuit faults with high PV penetration on the analysed MV DS are studied. 3.1. Modeling of DS components Power systems are usually mathematically constructed in the form of nonlinear, bulk structures, which contain subsystems often not readily identifiable as models. There is no adequate analytical technology to overcome this degree of difficulty, and the number of computational possibilities is too high resulting in unsatisfactory solutions [139]. It is important to mention that the MATLABTM 2015b SIMULINK platform is used to model the analysed DS. So, the SIMULINK models are adapted to the level of MV DS. The main components used to model the MV DS will be explained in the following points, and the calculation of its parameters will be presented.  Main grid Two main grid situations have been studied. First, the main grid is supposed to be a stiff grid, which means that the grid is strong enough to get over any load variation. Second, the system is studied under a weak grid situation. The point is that if the grid is very weak, the DGs do not have enough inertia to overcome any load variation (which will create, in turn, a frequency variation from its steady-state value), but this case is not analysed in this thesis. The model of the three-phase main grid is shown in Fig. 3.1. R R R L L L va vb vc Fig. 3.1 Main grid structure Internal R-L impedance in a balanced three-phase voltage source is implemented and linked to a grounded neutral connection (Yg). The source internal resistance and inductance are calculated by specifying the source inductive short-circuit level and X/R ratio. The grid base phase-to-phase voltage is 66 kV with a 50 Hz frequency. The grid voltage is reduced to the voltage of the MV grid (20 kV) through an HV/MV YNd11 connected transformer [140]. The internal inductance L is computed from the three-phase shortcircuit power Ssc, which equals 3600 MVA as follows:     2 3 2 base 6 SC 66*10 11 . . 3.9 mH. 2 2 50 3600*10 V LSf     (1) The internal resistance R is computed from the source reactance X, and X/R ratio as follows:   2 *50*0.0039 0.175 . 7 X RX R         (2) The base values for the MV side were obtained as the following: Chapter 3 Medium voltage distribution system construction, modeling, and analysis during faults with DG penetration 22 Base Base Base Base Base Base Base Base 20 kV, 25 MVA, 721.69 A, 16 . 33 SV V S I Z VI         (3)  Power transformers The main grid is connected to the DS through an HV/MV three-phase transformer to reduce the 66 kV (primary side) until the level of the DS voltage’s which is 20 kV (secondary side), the rated power of the transformer is 25 MVA. The MV transformer connection is YNd11. Table 3.1 shows the connection scheme and vector representation of YNd11 transformer configuration. Table 3.1 YNd11 connection schemes and vector representation Connectio n index Connecti on group Vector diagram Connection schemes Transfor mer ratio High voltage Low voltage High voltage Low voltage 11 Yd11 a bc a b c 1 2 3n n The three-phase transformer consists of three linear transformers, its model is shown in Fig. 3.2 and consists of three windings that are connected and wound on the same core, where R1 and L1 are the resistance and the inductance of the primary winding respectively, R2, and L2 are the parameters of the secondary winding, and Rm and Lm are the magnetization resistance and the inductance respectively. R1L1 L2R2 LmRm Fig. 3.2 Equivalent single-phase circuit of the linear HV/MV transformer Another aspect that must be considered is the ground connection of the (HV/MV) transformer because this connection will affect the short circuit current, which will lead to a change in the protection system behaviour. According to several connections obtained from several companies, different connections have been studied in this research [141]. In this research, two connections are considered. The most common connection used is to connect a zigzag transformer to the neutral of the delta side of the MV transformer (YNd11 grounded thorough zigzag) as shown at Bus 1 in Fig. 3.3 [141], [142], which will be explained further in the next point. The other connection is (YNyn), and its neutral is connected directly to the ground; some cases have been studied using this connection; however, the main concern is to study the (YNd11) transformer connection grounded through a zigzag transformer. Grid Bus 1 66 kV: 20kV D11 Yn Line Fig. 3.3 Zigzag connection at the secondary of the (HV/MV) transformer [141], [142] Chapter 3 Medium voltage distribution system construction, modeling, and analysis during faults with DG penetration 29 study of the system, especially in sophisticated grids with high DG-based inverter penetration. Moreover, the difference of the RMS value between transient and steady-state is slight, as illustrated in Fig. 3.12, using a normal case with one DG connected as bus 4 as shown in Fig. 3.11. 0.45 0.5 0.55 0.6 -12 -8 -4 0 4 8 12 Time (S) abc short circuit current (pu) Transient period Fig. 3.12 Transient period of the abc current during symmetrical fault It is important to note that, in a DG-based inverter, the transient period is shorter and the short circuit currents are not high so that this study will concentrate on the system’s steady-state behaviour during the fault period [152]. DG location and penetration in DS affect the Direction of the Power Flow (DPF). This change in the DPF will have a significant impact on the behaviour of the protection systems. The demonstration of DG impact on DPF in ring and radial grid can be seen in Appendix B. Fig. 3.13 shows the DPF in the case of ring grid with and without DG penetration for a specific value of the loads and DGs. Grid PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 Grid DG 1 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 DG 2 (a) (b) Forward PF Reverse PF DL1 DL3 DL4 DL5 DL6 DL2DL1 DL3 DL4 DL5 DL6 DL2 Fig. 3.13 DPF in the analysed ring grid (a) no DG (b) with DG The values of short-circuit currents without DG penetration and with high DG penetration will change significantly, which will affect the settings of the protection system. When a short-circuit occurs at the indicated location in Fig. 3.15, both the grid and the DG unit contribute to the fault current. Fault current increases due to the DG unit’s contribution, and its value depends on network configuration, grid impedances, and DG-generated power. However, the grid contribution decreases, as shown in Fig. 3.15, with fault resistance r = 1 Ω. For example, when a symmetrical fault occurs at DL4 as shown in Fig. 3.16 with fault resistance r = 0.1 Ω, the short-circuit current through PD7 increases from 3923 A without DG to 4071 A with DG. This can lead to poor relay coordination [49]. As discussed in the literature, the penetration of DG changes the value and direction of the system’s power flow (DPF) and the fault current as shown in Fig. 3.14, which leads to the miss-coordination of the relays [110], [133]. Also, Table 3.5 gives an example when two DGs connected at buses 3, and 6 as shown in Fig. 3.14; in this case, the penetration of DG will affect the short-circuit current. Chapter 3 Medium voltage distribution system construction, modeling, and analysis during faults with DG penetration 30 Table 3.5 short circuit current during three-phase fault at DL4 with and without DG penetration. DG penetration (MVA) Grid current (pu) DL1 current (pu) DL2 current (pu) DL3 current (pu) DL4 current (pu) DL5 current (pu) DL6 current (pu) DG 1 DG 2 DG 3 0 0 0 IGrid=5.1 IPD1= IPD2=1.7 IPD3= IPD4=1.7 IPD5= IPD6=1.7 IPD7=1.7 IPD8=3.3 IPD9= IPD10=3.4 IPD11= IPD12=3.4 6 0 6 IGrid=4.8 IPD1= IPD2=1.6 IPD3= IPD4=1.6 IPD5= IPD6=2.1 IPD7=2 IPD8=3.8 IPD9= IPD10=3.9 IPD11= IPD12=3.2 (b)(a) Forward PF Reverse PF Grid Bus 1 Bus 2 Bus 3 DL 1 DL 2 Load 1 Load 2 Bus 4Bus 6 Bus 5 DL 3DL 6 DL 4DL 5 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 Grid Bus 1 Bus 2 Bus 3 DL 1 DL 2 Load 1 Load 2 Bus 4Bus 6 Bus 5 DL 3DL 6 DL 4DL 5 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 DG1 DG3 66 kV: 20kV Δ Y 20 kV: 400V Δ Y 20 kV: 400V Δ Y 66 kV: 20kV Δ Y Zigzag Zigzag Forward PF Reverse PF Fig. 3.14 Single line diagram of the analysed grid during a fault in DL4 (a) power flow without DG (b) power flow with DG Grid Bus 1 Bus 2 Bus 3 DL 1 DL 2 Bus 4 Bus 5 Bus 6 DL 3DL 6 DL 4DL 5 66 kV: 20kV D11 YN PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 i+=1250 A i-=0 i0=0 i+=1250 A i-=0 i0=0 i+=1250 A i-=0 i0=0 i+=1250 A i-=0 i0=0 i+=1250 A i-=0 i0=0 i+=1250 A i-=0 i0=0 i+=2410 A i-=0 i0=0 i+=2460 A i-=0 i0=0 i+=2460 A i-=0 i0=0 i+=2460 A i-=0 i0=0 i+=2460 A i-=0 i0=0 zigzag (a) (b) Grid DG 1 Bus 1 Bus 2 Bus 3 DL 1 DL 2 Bus 4 Bus 5 Bus 6 DL 3DL 6 DL 4DL 5 YgD11 66 kV: 20kV D11YN i+=1150 A i-=0 i0=0 i+=1150 A i-=0 i0=0 i+=1150 A i-=0 i0=0 i+=1150 A i-=0 i0=0 i+=1320 A i-=0 i0=0 i+=1320 A i-=0 i0=0 i+=2470 A i-=0 i0=0 i+=2470 A i-=0 i0=0 i+=2300 A i-=0 i0=0 i+=2300 A i-=0 i0=0 zigzag DG 3 Yg D11 6 MW 6 MW Load 4 Load 4 i+=1250 A i-=0 i0=0 i+=1320 A i-=0 i0=0 i+=2470 A i-=0 i0=0 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 Fig. 3.15 Short-circuit currents during three-phase fault at DL4, with fault resistance r = 1 Ω (a) without DG (b) with DG penetration Chapter 3 Medium voltage distribution system construction, modeling, and analysis during faults with DG penetration 31 Grid Bus 1 Bus 2 Bus 3 DL 1 DL 2 Bus 4 Bus 5 Bus 6 DL 3DL 6 DL 4DL 5 66 kV: 20kV D11 YN i+=3.56kA i-=0 i0=0 i+=3.56kA i-=0 i0=0 i+=3.52kA i-=0 i0=0 i+=3.52kA i-=0 i0=0 v+=1.6kV v-=0 v0=0 i+=3.52kA i-=0 i0=0 i+=3.52kA i-=0 i0=0 i+=3.58kA i-=0 i0=0 i+=3.58kA i-=0 i0=0 i+=3.58kA i-=0 i0=0 i+=3.6kA i-=0 i0=0 i+=3.6kA i-=0 i0=0 zigzag (a) (b) Grid DG 1 Bus 1 Bus 2 Bus 3 DL 1 DL 2 Bus 4 Bus 5 Bus 6 DL 3 DL 6 DL 4DL 5 Yg D11 66 kV: 20kV D11 YN i+=3.32kA i-=0 i0=0 i+=3.32kA i-=0 i0=0 i+=3.28kA i-=0 i0=0 i+=3.28kA i-=0 i0=0 v+=1.5kV v-=0 v0=0 i+=3.53kA i-=0 i0=0 i+=3.53kA i-=0 i0=0 i+=3.58kA i-=0 i0=0 v+=1.56kV v-=0 v0=0 i+=3.58kA i-=0 i0=0 i+=3.6kA i-=0 i0=0 i+=3.6kA i-=0 i0=0 zigzag 6 MW v+=4.45kV v-=0 v0=0 v+=3.00kV v-=0 v0=0 v+=3.00kV v-=0 v0=0 v+=1.6kV v-=0 v0=0 v+=0.2kV v-=0 v0=0 i+=3.52kA i-=0 i0=0 v+=0.2kV v-=0 v0=0 v+=3.00kV v-=0 v0=0 v+=1.56kV v-=0 v0=0 v+=1.56kV v-=0 v0=0 v+=4.45kV v-=0 v0=0 v+=3.00kV v-=0 v0=0 v+=4.16kV v-=0 v0=0 v+=2.79kV v-=0 v0=0 v+=2.79kV v-=0 v0=0 v+=1.5kV v-=0 v0=0 v+=0.2kV v-=0 v0=0 i+=3.53kA i-=0 i0=0 v+=0.2kV v-=0 v0=0 v+=3.00kV v-=0 v0=0 v+=1.56kV v-=0 v0=0 i+=3.58kA i-=0 i0=0 v+=4.16kV v-=0 v0=0 v+=3.00kV v-=0 v0=0 i+=245 A i-=0 i0=0 i+=6.9kA i-=0 i0=0 Before fault i+=515 A i-=0 i0=0 i+=7.17kA i-=0 i0=0 Before fault i+=760 A i-=0 i0=0 Load 1= 5 MVA Load 3 = 8 MVA Load 4= 1 MVA Load 5= 4 MVA Load 2= 2 MVA Load 1= 5 MVA Load 3 = 8 MVA Load 4= 1 MVA Load 5= 4 MVA Load 2= 2 MVA PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 Fig. 3.16 Short-circuit currents during three-phase fault at DL4, with r = 0.1 Ω (a) without DG (b) with DG penetration Grid Bus 1 Bus 2 Bus 3 DL 1 DL 2 Bus 4 Bus 5 Bus 6 DL 3DL 6 DL 4DL 5 66 kV: 20kV D11 YN i+=3 pu i-=0 i0=0 i+=3 pu i-=0 i0=0 i+=3 pu i-=0 i0=0 i+=3 pu i-=0 i0=0 i+=2.9 pu i-=0 i0=0 i+=2.9 pu i-=0 i0=0 i+=2.9 pu i-=0 i0=0 i+=2.9 pu i-=0 i0=0 i+=2.9 pu i-=0 i0=0 i+=2.9 pu i-=0 i0=0 i+=2.9 pu i-=0 i0=0 zigzag (a) (b) Grid Bus 1 Bus 2 Bus 3 DL 1 DL 2 Bus 4 Bus 5 Bus 6 DL 3 DL 6 DL 4DL 5 Yg D11 66 kV: 20kV D11 YN i+=2.76 pu i-=0 i0=0 i+=2.76 pu i-=0 i0=0 i+=2.76 pu i-=0 i0=0 i+=2.76 pu i-=0 i0=0 i+=2.9 pu i-=0 i0=0 i+=2.9 pu i-=0 i0=0 i+=2.9 pu i-=0 i0=0 i+=2.56 pu i-=0 i0=0 i+=2.4 pu i-=0 i0=0 i+=2.4 pu i-=0 i0=0 zigzag 8 MW i+=3 pu i-=0 i0=0 i+=3 pu i-=0 i0=0 i+=2.56 pu i-=0 i0=0 i+=0.24 pu i-=0 i0=0 i+=5.16 pu i-=0 i0=0 Before fault i+=0.08 pu i-=0 i0=0 i+=5.9 pu i-=0 i0=0 Before fault i+=0.8 pu i-=0 i0=0 Load 1= 5 MVA Load 3 = 8 MVA Load 4= 1 MVA Load 5= 4 MVA Load 2= 2 MVA Load 1= 5 MVA Load 3 = 8 MVA Load 4= 1 MVA Load 5= 4 MVA Load 2= 2 MVA PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 DG 2 Yg D11 4 MW DG 3 Yg D11 6 MW DG 1 i+=0.16 pu i-=0 i0=0 i+=0.32 pu i-=0 i0=0 Fig. 3.17 Short-circuit currents during three-phase fault at DL3, with r = 0.1 Ω (a) without DG (b) with DG penetration Fig. 3.17 shows the pu values of the positive sequence current in all the DLs in the grid with and without DGs. The total number of loads consumption in the grid is 20 MVAR, and the maximum DG penetration is 18 MW. In case of steady-state and no DG penetration, the main grid delivers 0.8 pu to supply the loads (Fig. 3.17(a)); however, in case of DG penetration, the grid delivers 0.08 pu as the rest of the power consumption is supplied by the DGs (Fig. 3.17(b)). In the case of a three-phase fault at DL3, the grid penetration is reduced from 5.9 pu without DG to 5.16 pu with DG penetration. In order to illustrate the effect of DG penetration on the analysed distribution grid, the values of positive, negative, and zero sequence voltages and currents are presented with and without DG penetration. The behaviour has shown during single-phase to ground fault (Fig. 3.18), two-phase to ground fault (Fig. 3.19), two-phase fault (Fig. 3.20). In the case of single-phase faults, the short-circuit current values do not increase significantly as the zigzag grounding transformer limits the fault current in this case. However, as shown in the rest of the figures, considering other types of faults, the short-circuit current varies depending on the amount of PV penetration into the DS. More results can be seen in Appendix A. Chapter 3 Medium voltage distribution system construction, modeling, and analysis during faults with DG penetration 32 Grid Bus 1 Bus 2 Bus 3 DL 1 DL 2 Load 1 Load 3 Bus 4 Bus 5 Bus 6 DL 3 DL 6 DL 4DL 5 66 kV: 20kV D11 YN i+=396A i-=155A i0=160A i+=396A i-=155A i0=160A i+=208A i-=159A i0=160A i+=208A i-=159A i0=160A v+=17.3kV v-=521V v0=16.8kV i+=81A i-=81A i0=81A i+=107A i-=80A i0=81A i+=107A i-=80A i0=81A i+=140A i-=80A i0=81A i+=140A i-=80A i0=81A i+=302A i-=77.5A i0=81A i+=302A i-=77.5A i0=81A zigzag (a) (b) Grid DG 1 Bus 1 Bus 2 Bus 3 DL 1 DL 2 Load 1 Load 3 Bus 4 Bus 5 Bus 6 DL 3 DL 6 DL 4 DL 5 YN D11 66 kV: 20kV D11 YN i+=300A i-=156A i0=163A i+=300A i-=156A i0=163A i+=147A i-=160A i0=163A i+=147A i-=160A i0=163A v+=17.7 kV v-=520V v0=17.1 kV i+=83A i-=83A i0=83A i+=110A i-=82A i0=83A i+=110A i-=82A i0=83A v+=17.7 kV v-=472V v0=17.1 kV i+=98A i-=80A i0=83A i+=145A i-=76A i0=83A i+=145A i-=76A i0=83A zigzag DG 2 YN D11 DG 3 YN D11 3 MW 3 MW 1.5 MW Load 4 Load 5 Load 2 Load 2 Load 4 Load 5 v+=17.5 kV v-=436V v0=16.7 kV v+=17.4 kV v-=475V v0=16.8 kV v+=17.4 kV v-=475V v0=16.8 kV v+=17.3 kV v-=521V v0=16.8 kV v+=17.3kV v-=498V v0=16.8kV i+=157A i-=160A i0=160A v+=17.3kV v-=498V v0=16.8kV v+=17.4kV v-=454V v0=16.7kV v+=17.3kV v-=475V v0=16.8kV v+=17.3kV v-=475V v0=16.8kV v+=17.5kV v-=436V v0=16.7kV v+=17.4kV v-=454V v0=16.7kV v+=17.8 kV v-=434V v0=17 kV v+=17.7 kV v-=473V v0=17.1kV v+=17.7 kV v-=473V v0=17.1 kV v+=17.7 kV v-=520V v0=17.1 kV v+=17.7 kV v-=496V v0=17.1 kV i+=160A i-=163A i0=163A v+=17.7 kV v-=496V v0=17.1 kV v+=17.7 kV v-=450V v0=17.1 kV v+=17.7 kV v-=472V v0=17.1 kV i+=98A i-=80A i0=83A v+=17.8 kV v-=434V v0=17 kV v+=17.7 kV v-=450V v0=17.1 kV PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 Fig. 3.18 Short-circuit currents during single-phase to ground (AG) fault at DL3, with r = 0.1 Ω (a) without DG (b) with DG penetration Grid Bus 1 Bus 2 Bus 3 DL 1 DL 2 Load 1 Load 3 Bus 4 Bus 5 Bus 6 DL 3 DL 6 DL 4DL 5 66 kV: 20kV D11 YN i+=1.5kA i-=1.2kA i0=41A i+=1.5kA i-=1.2kA i0=41A i+=1.5kA i-=1.2kA i0=41 i+=1.5kA i-=1.2kA i0=41A v+=9.8kV v-=7.9kV v0=8.7kV i+=1.3kV i-=1.3kV i0=41A i+=1.3kA i-=1.3kA i0=41A i+=1.3kA i-=1.3kA i0=41A i+=1.3kA i-=1.3kA i0=41A i+=2.8kA i-=2.7kA i0=84A i+=2.8kV i-=2.6kV i0=84A i+=2.8kA i-=2.6kA i0=84A zigzag (a) (b) Grid DG 1 Bus 1 Bus 2 Bus 3 DL 1 DL 2 Load 1 Load 3 Bus 4 Bus 5 Bus 6 DL 3 DL 6 DL 4DL 5 YN D11 66 kV: 20kV D11 YN i+=1318A i-=1320A i0=43A i+=1318A i-=1320A i0=43A i+=1314A i-=1318A i0=43A i+=1314A i-=1318A i0=43A v+=10.1kV v-=8kV v0=8.9kV i+=1412A i-=1374A i0=43A i+=1395A i-=1386A i0=43A i+=1395A i-=1386A i0=43A v+=9.2kV v-=8.9kV v0=9kV i+=2844A i-=2754A i0=86.5A i+=2787A i-=2674A i0=86.5A i+=2787A i-=2674A i0=86.5A zigzag DG 2 YN D11 DG 3 YN D11 3 MW 3 MW 1.5 MW Load 4 Load 5 Load 2 Load 2 Load 4 Load 5 v+=10.9kV v-=7.2kV v0=8.7kV v+=10.3kV v-=7.5kV v0=8.7kV v+=10.3kV v-=7.5kV v0=8.7kV v+=9.8kV v-=7.9kV v0=8.7kV v+=9.4kV v-=7.2kV v0=8.7kV i+=1.3kA i-=1.3kA i0=41A v+=9.4kV v-=7.2kV v0=8.7kV v+=9.9kV v-=7.9kV v0=8.7kV v+=8.9kV v-=8.6kV v0=8.7kV v+=8.9kV v-=8.6kV v0=8.7kV v+=10.9kV v-=7.2kV v0=8.7kV v+=9.9kV v-=7.9kV v0=8.7kV v+=11.1kV v-=7.4kV v0=8.9kV v+=10.6kV v-=7.7kV v0=8.9kV v+=10.6kV v-=7.7kV v0=8.9kV v+=10.1kV v-=8kV v0=8.9kV v+=9.6kV v-=8.4kV v0=9kV i+=1412A i-=1374A i0=43A v+=9.6kV v-=8.4kV v0=9kV v+=10.1kV v-=8.1kV v0=9kV v+=9.2kV v-=8.9kV v0=9kV i+=1448A i-=1419A i0=43A v+=11.1kV v-=7.4kV v0=8.9kV v+=10.1kV v-=8.1kV v0=9kV PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 Fig. 3.19 Short-circuit currents during two-phase to ground fault (ABG) at DL5, with r = 0.1 Ω (a) without DG (b) with DG penetration Chapter 3 Medium voltage distribution system construction, modeling, and analysis during faults with DG penetration 33 Grid Bus 1 Bus 2 Bus 3 DL 1 DL 2 Load 1 Load 3 Bus 4Bus 5 Bus 6 DL 3 DL 6 DL 4DL 5 66 kV: 20kV D11 YN i+=2.1kA i-=1.9kA i0=0 i+=2.1kA i-=1.9kA i0=0 i+=2 k i-=1.9 k i0=0 i+=2 k i-=1.9 k i0=0 v+=9.7kV v-=8.2kV v0=0 i+=1.9kA i-=1.9kA i0=0 i+=1.9kA i-=1.9kA i0=0 i+=1.9kA i-=1.9kA i0=0 i+=2kA i-=1.9kA i0=0 i+=2kA i-=1.9kA i0=0 i+=2.1kA i-=1.9kA i0=0 i+=2.1 k i-=1.9 k i0=0 zigzag (a) (b) Grid DG 1 Bus 1 Bus 2 Bus 3 DL 1 DL 2 Load 1 Load 3 Bus 4 Bus 5 Bus 6 DL 3 DL 6 DL 4DL 5 YN D11 66 kV: 20kV D11 YN i+=2.0kA i-=1.9kA i0=0 i+=2.0kA i-=1.9kA i0=0 i+=1.9kA i-=2kA i0=0 i+=1.9kA i-=2kA i0=0 v+=10.0kV v-=7.8kV v0=0 i+=2kA i-=2kA i0=0 i+=2kA i-=2kA i0=0 i+=2kA i-=2kA i0=0 v+=10kV v-=8.4kV v0=0 i+=2kA i-=2kA i0=0 i+=2kA i-=1.9kA i0=0 i+=2kA i-=1.9kA i0=0 zigzag DG 2 YN D11 DG 3 YN D11 3 MW 3 MW 1.5 MW Load 4 Load 5 Load 2 Load 2 Load 4 Load 5 v+=11.2kV v-=7.1kV v0=0 v+=10.4kV v-=7.6kV v0=0 v+=10.4kV v-=7.6kV v0=0 v+=9.7kV v-=8.2kV v0=0 v+=9.1kV v-=8.7kV v0=0 i+=1.9kV i-=1.9kV i0=0 v+=9.1kV v-=8.7kV v0=0 v+=10.4kV v-=7.6kV v0=0 v+=9.7kV v-=8.2kV v0=0 v+=9.7kV v-=8.2kV v0=0 v+=11.2k v-=7.1 k v0=0 v+=10.4kV v-=7.6kV v0=0 v+=11.4kV v-=7.3kV v0=0 v+=10.7kV v-=7.8kV v0=0 v+=10.7kV v-=7.8kV v0=0 v+=10.0kV v-=7.8kV v0=0 v+=9.3kV v-=8.9kV v0=0 i+=2kA i-=2kA i0=0 v+=9.3kV v-=8.9kV v0=0 v+=10.7kV v-=7.8kV v0=0 v+=10kV v-=8.4kV v0=0 i+=2kA i-=2kA i0=0 v+=11.4kV v-=7.3kV v0=0 v+=10.7kV v-=7.8kV v0=0 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 Fig. 3.20 Short-circuit currents during a two-phase fault (AB) at DL4, with r = 0.1 Ω (a) without DG (b) with DG penetration As shown in Fig. 3.18(a) and Fig. 3.18(b) in the case of single-phase faults, the differences in the shortcircuit currents are not significant due to the zigzag connection, which maintains the short circuit current to a limited value. However, for two-phase, two-phase to the ground, and three-phase fault, the values are significantly different due to the ground fault or the different path of the fault current, which means the current can path through the ground fault and not through the zigzag, as shown in Fig. 3.21. Grid Bus 1 Bus 2 DL 1 Load 1 66 kV: 20kV D11 YN zigzag (a) (b) Grid Bus 1 Bus 2 Load 1 66 kV: 20kV D11 YN zigzag DL 1 if if Fig. 3.21 Short circuit current paths in case of (a) single-phase fault (b) three-phase fault In the case of large penetration of DG in the DS, DG converters control during abnormal conditions plays a significant role in the entire system’s behaviour. Power converters are designed and controlled to inject power into the grid during normal conditions and support the grid in transient operation by reducing the active power injection and increasing the reactive power injection according to the grid codes [38], [153]. The inverter controller response was evaluated under grid faults incorporating LVRT capabilities, and as specified by Spanish grid code. The behaviour of grid-connected converter under grid faults according to Spanish grid code is discussed in the next chapter. Sag effects on protection system in distributed generation grid Doctoral Thesis 34 Chapter 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code 35 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code As mentioned in the preceding chapter, the structure of the DG grid-connected converter could be single or multiple stages. A multiple-stage converter (chopper/inverter) is used in this research as shown in Fig. 4.1. The inverter control during grid sags is studied utilizing different control strategies following grid code requirements. Current control vgrid igrid VDC PWM VDC Fig. 4.1 Block diagram of the grid-connected photovoltaic (PV) system It is important to state that in this research, the PV model has been simplified to a constant current source in the analysis of the protection system, in order to simplify the system and reduce the total calculation time of the simulated cases, because a massive number of cases have been studied to analyze the protection system in different grid behaviour. Besides, during the faults (sags), the weather condition is supposed to be constant, as the sag lasts for a short period of time. The proposed method can be incorporated in the analysis of the protection system in future work by considering different generation scenarios (Appendix H). In the next section, the inverter control during sags accomplished with grid codes is demonstrated in detail. 4.1. Spanish grid code P.0. 12.2 application with symmetrical and unsymmetrical sags In MV-grids, including DG units, voltage sags can cause desirable or undesirable disconnection of some lines in the DS or even disconnect DG units. Voltage sags are characterized by the depth, duration, and frequency of occurrence. A detailed definition of sag and its characteristics can be found in [32]. In this thesis only sags caused by grid faults are considered. The majority of grid faults are unbalanced faults, affecting grid-connected converters’ performance, severely impacting grid power quality. Unsymmetrical voltage sags cause grid current peaks and DC-bus voltage fluctuations, as a pulsation of twice the fundamental frequency occurs in both voltages and currents due to the negative-sequence components, creating a ripple in the injected power to the grid and in the DC-bus voltage [51]. Therefore, negative-sequence currents must thus be controlled in order to inject more reactive power into the grid during faults and satisfy the grid’s power quality standards. Recently, the number of DG units is increased significantly. Therefore, the balance between power consumption and power generation must be achieved during grid faults by maintaining DG systems connected to the DS [154], [155]. These requirements raise the need for the new standard and grid codes, to satisfy these requirements. Therefore, the combination of introducing efficient control strategies and improving the PV power planet structure with LVRT capabilities is necessary. Distribution grid codes are required in a similar way to the grid codes used in the transmission system [156]. Grid codes require DG converters to maintain the connection to the grid during faults to support the grid, minimizing active power injection and boosting reactive power injection [157]. Chapter 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code 36 Measured RMS voltage does not present significant oscillations during symmetrical voltage sags, but it oscillates during unsymmetrical voltage sag. As a result, the reference reactive current oscillates, and the value of the active current increases during the voltage sag to sustain active power generation. However, the inverter’s apparent power must not exceed its limitations. However, the active power must be restricted according to the grid code to keep the grid in service during the fault period. In 2005, Spanish governments promoted a legal framework for technical requirements for grid access and connection, especially renewable energy sources [158]. In 2008, the required active and reactive current injection (Fig. 4.2) was defined in the draft version of response requirements to voltage sags from production facilities under the special regime (P.O.12.2). [157]. 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 1- V V (pu) 0 0.2 0.4 0.6 0.8 1 Ir(pu) 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 V (pu) 0 Ia max 1- V h = 0.7 h = 0.5 h = 0.3 III II I III II I Ia(pu) (I) (II) (III) Fig. 4.2 Active (Ia) and reactive (Ir) currents to be injected during grid faults, according to Spanish grid code P.O. 12.2. The inverter must be controlled during sags according to the injected active current Ia and reactive current Ir. The RMS remaining voltage’s instantaneous value V(t) is calculated according to (8), [159].       ab 22 c 2 ,() 3 vvt v Vt tt  (8) where: va(t), vb(t), and vc(t) are the instantaneous RMS values of the abc voltages. When unsymmetrical faults occur, the grid code does not provide a clear explanation of how to proceed. As a result, a proposal for using the grid code for both symmetrical and unsymmetrical faults is developed in this thesis. An explanation is provided assuming a two-phase fault, which produces type C sags, in order to explain how to proceed in the event of unsymmetrical sags, according to [153]. The sag depth parameter, h, is assumed to be 0.3 for point III in Fig. 4.2. This parameter is described in Table 1 from reference [160]. The per-unit RMS values during the steady-state of the fault, assuming a sag depth h = 0.3 for type C sag, are calculated using (9).       ab 22 22 c 1 3 1 3 1, 0.5635, 0.5635. 2 2 2 2 v t t h tv hv                                   (9) By substituting the values of (9) in (8) it is obtained V(t) = 0.739 pu. According to this voltage, the active Ia and reactive Ir currents can be obtained from Fig. 4.2. It is assumed that these values correspond to the positive sequence. The maximum active current Ia max is determined by the maximum value of the converter power before the sag. The magnitude of Ia max depends on the weather conditions in the case of renewable energy resources, and its value can be obtained employing the following equation [157]: a0 a max , 1V P I  (10) where: ΔV is the allowable voltage drop (which equals 7.5% in distribution grids [157]), and Pa0 is the active power supplied by the installation before the sag. The converter limits are verified to not exceed the maximum contributory fault current (Ifault_max specified for the converter) from the active and reactive current values obtained using the grid code: 22 r a fault_max pu.I I I (11) Chapter 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code 37 In this study, the converter limit is set to 1 pu in steady-state during the fault, for safety reasons, as seen in (12). 22 ra 1 pu.II (12) If the current obtained from (11) exceeds the maximum contributory fault current, then more priority is given to the reactive current to support the grid, as shown in (13). In this study Ifault_max = 1 pu. 2 a fault_max r . III (13) 4.2. Three-phase grid-connected inverter The control of power converters in DG systems may have a significant impact on grid behaviour. In addition, the inverter system must acquire the capability to operate with high speed and frequency in generating the pulse-width modulation (PWM) signals. In general, the converters can be classified as (a) Voltage Source Converters (VSC) & (b) Current Source Converters (CSC), depending upon the input and output. In VSC, the input voltage is kept constant, and the output voltage amplitude is unaffected by the load. However, the waveform of load current, and its magnitude, are determined by the load impedance. In CSC, the input current is constant but adjustable. The amplitude of CSI’s output current is unaffected by the load. The amplitude and waveform of the output voltage, on the other hand, are determined by the load impedance. In this research, VSC is used, as the objective is to control the injected abc current to the grid during voltage sags. For these reasons, it is crucial to establish analytical models that can help explain how grid-connected equipment behaves to voltage sags. In order to develop the proposed control strategy, a mathematical study of the currents during voltage sag is carried out in Appendix E. Park and Ku transformations are used to analyze the converter behaviour during sags and are utilized to control the converter current. The Ku transformation provides a clear visual representation of the electrical variables, making it easier to evaluate the essential information regarding sag depth and type than the dq representation. 4.2.1. Reference current control strategies using Park transformation Few studies investigated the performance of control strategies under grid codes during unsymmetrical sags, as indicated in the literature review [68], [72]–[76]. So, additional study is needed in this field, particularly for unsymmetrical voltage sags. Unlike earlier studies, the author studied the behaviour of a three-phase grid-connected inverter under symmetrical and unsymmetrical voltage sags as presented in [161], [162]. In addition, four different control strategies are developed to accomplish with the Spanish grid code. These control strategies offer reference voltages determined based on grid code reference currents to avoid active and reactive power oscillation since their values vary from the pre-faulted steadystate values. Another variation is that the current study considers converter limitations and presents a methodology for limiting injected current during faults. According to Park and Ku transformations, positive- and negative-sequence reference values of converted currents are computed using the instantaneous power theory described in [163]. Different control algorithms for three-phase inverters have been implemented based on this concept under unsymmetrical sags [38]. The current control strategies analysed are Balanced Current Control (BCC) that seeks to inject symmetrical current by imposing zero values for dq negative current, Constant Active Power Control (CPC) that aims to deliver constant instantaneous active power, Constant Reactive Power Control (CRC) that aims to deliver constant instantaneous reactive power and Constant Active Reactive Control (CPRC) that aims to impose null values for both terms of power oscillations. These strategies aim to calculate dq current references during voltage sags based on grid codes requirements, and study grid codes based on both positive- and negative-sequence reference currents; then, the active reference current is obtained to maximize its value without exceeding the converter limits. Also, compare the different control strategies that allow the converter to remain connected under different types of abnormal grid behaviour based on the grid codes. As said previously, the unsymmetrical sags are characterized by the appearance of a negative-sequence component. Therefore, independent control must be performed to the positive- and the negative-sequence components of the currents. Two current control loops are needed for positive- and negative-sequence controls. Each loop contains two PI controllers and decoupling terms (ωL) and feed-forward terms from Chapter 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code 38 the dq, transformed grid voltages. The summations of these components produce dq positive- and negative-sequence voltage references; finally these references are transformed to abc voltages to the inverter, as shown in Fig. 4.3; also, the overall control scheme is shown in Fig. 4.4. PI + + _ _ id+REF id+ωgLfiq+ + +_vd+REF iq+REF iq+ vq+ ωgLfid+ vq+REF + ++ vd+ + + _ _ id REF id ωgLfiq + +_vd REF iq REF iq vq ωgLfid vq REF + + + vd PI PI PI Fig. 4.3 Current control considering unbalanced conditions for positive- and negative-sequence components PWM Generato r Pulses DC bus C VDC Lf Rf Electrical Grid va vb vc Lf Rf Lf Rf ia ib ic Vc REF Vb REF Va REF PI PI + + _ _ id+REF id+ωg Lf iq+ + + _vd+REF iq+REF iq+ vq+ ωg Lf id+ vq+REF + + + vd+ PI PI + + _ _ id REF id ωg Lf iq + + _vd REF iq REF iq vq ωg Lf id vq REF + + + vd PREF QREF Reference Current Calculation (according to grid codes) dq to abc Vc REF Vb REF Va REF abc to dqo abc to dqo Notch Filter Notch Filter Theta Theta v 0 v d v q i 0 i d i q Fig. 4.4 Three-phase inverter control for unbalanced conditions Chapter 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code 45 θ+ Reference current calculation θ+ θ θ+θ Fig. 4.7 General scheme of a three-phase grid-connected inverter, and its control, supplied by a PV installation Table 4.4 Reference active and reactive power, and negative-sequence current equations for the proposed control strategies. Control method Positivesequence component Negative-sequence component Reference active and reactive powers CPC   f REF a r 1j 2 i I I                                gf gf gf gf f REF f REF gf gf gf gf f REF gf gf gf gf f REF f REF 2 gf 2 gf 2 gf Re Re Im Re Im Re Im Im Im Re 1 2Im Re Im Re Re j Im v v v v i i v v v v i v v v v i i v v v                                                                 gf gf gf gf 2 gf Re ImRe Imv v v v v                                        22 gf gf REF 2 22 gf gf REF 2 gf f REF gf f REF gf gf f REF gf f REF gf Re Re Im Im 2 Im Re Re Im 2 vv P vv Q vi vi v vi vi v                        BCC   f REF a r 1j 2 i I I  f REF 0i                 gf f REF REF gf f REF gf f REF REF gf f REF Re Re Im Im Re Re 1 2Im 1 2Im vi P vi vi Q vi                 4.3. Analysis and discussion Each of the control strategies is applied to all sag types and considers the sag depth to highlight the differences between each control strategy and comprehend their consequences. The results obtained from this analysis for several sag types (sag type G will be used as an example) and all strategies, are presented in the following figures. Fig. 4.8 illustrates the instantaneous voltage, current, active and reactive powers, in pu for CRC, CPC, BCC, and CPRC strategies for sag type G of 0.6 depth. All the strategies have oscillation in active power, reactive power, or both, and the only strategy that can inject constant active and reactive power is CPRC, as shown in the figure. However, BCC has the advantage of injecting symmetrical sinusoidal current waves. Chapter 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code 46 If negative-sequence currents are considered, BCC is the only strategy that can accomplish the grid code without any oscillations, because the other strategies have oscillation in dq currents, due to the negativesequence components. Fig. 4.9 shows the active current, reactive current, active power, and reactive power versus sag magnitude in pu, and Fig. 4.10 shows the voltage, current, active power, reactive power, and dq current of type G and type D sags, with sag depth 0.6 and BCC control strategy. On the other hand, if the active and reactive grid curves are assumed to be related to power rather than current, then the only strategy that can give constant active and reactive power is CPRC, as shown in Fig. 4.9; however, the disadvantage is the poor current control. Fig. 4.9 corresponds to the most unfavorable situation of the grid. When more priority is given to the reactive power than the active power, that means that CRC strategy can be a good option, because by using this strategy, reactive power can be controlled without any oscillation as shown in Fig. 4.9, but for active power, there are noticeable oscillations. In order to use CRC strategy, active power can be reduced to a lower limit than the upper limit of Fig. 4.9, so, the oscillation of active power did not exceed the limit of grid code. However, this strategy gives sinusoidal unsymmetrical currents. In order to inject sinusoidal symmetrical current during voltage sag, the only strategy to obtain this is the BCC. On the other hand, by using BCC, the active and reactive power must be reduced to different limits below the active power limit and above the reactive power limit. Controlling the positive- and negative-sequence reference currents are required to manage active and reactive power during abnormal grid behaviour. Different control strategies for controlling power during voltage sags are investigated in this thesis. Furthermore, two scenarios are considered to validate the Spanish grid code using these strategies: the first scenario suppose only positive-sequence current is imposed, and the second scenario assumes that positive- and negative-sequence current are imposed [167]. Chapter 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code 47 CPRC abc voltageabc current p q CPC 0 T 2T 0 T 2T BCC 0 T 2T 0 T 2T 0 1 2 0 1 2 -1.5 0 1.5 CRC -1.5 0 1.5 Time (periods) Fig. 4.8 Different control strategies for type G sag depth 0.6 Chapter 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code 48 CPC BCC CPRC Ia Ir poscillation qoscillation -0.5 1 2.5 CRC -0.5 1 2.5 -0.5 1 2.5 0.850.45 0.55 0.65 0.75 -0.5 1 2.5 0.45 0.55 0.65 0.75 0.850.45 0.55 0.65 0.75 0.85 0.45 0.55 0.65 0.75 0.85 V Fig. 4.9 Spanish grid code P.O. 12.2: active and reactive currents and powers in pu with different control strategies for type G sag of depth 0.6 Chapter 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code 49 -1.5 0 1.5 -1.5 0 1.5 Type G p instantanous P ref q instantanous Q ref id iq 0.3 0.31 0.32 0.33 0.34 0.3 0.31 0.32 0.33 0.34 -1.5 0 1.5 id iq 0.2 0.8 1.4 q instantaneous Q ref 0.8 1.4 2p instantaneous P ref Type D Voltage (pu) Current (pu) Active Power (pu) Reactive Power (pu) dq Currents (pu) Time (sec) Fig. 4.10 Comparison of types G and D sags, both of depth 0.6, under BCC strategy As seen in Fig. 4.10, BCC strategy has been tested for type D, and type G sags to demonstrate the functionality and the grid code validation of the proposed strategy in different scenarios. As seen in the third and fourth row of Fig. 4.10, the average active and reactive powers are constant; however, both instantaneous powers are oscillating. It can conclude from previous results that, BCC is the only strategy that can provide the exact specified limits of active and reactive currents, and average active and reactive powers to inject the grid’s most adverse scenario. It does, however, have the drawback of instantaneous power oscillation. On the other hand, if the grid code curves are considered to be linked to active and reactive power rather than currents, Chapter 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code 50 CPRC can validate the grid code. In addition, various controls with appropriate limitations can be employed to avoid violating grid codes. In addition, in order to test the behaviour of the control strategies using Ku transformation, another test has been made with type C sag and with different sag depth for CPC and BCC to ensure that these strategies are carried out in accordance with grid code standards. Negative reference currents are obtained for two control strategies. The first is to use BCC strategy to impose zero negative reference currents, and the second is to use CPC strategy to calculate the negative reference currents using the formulas of the third column of Table 4.4. If zero negative currents are imposed, if will not oscillate, but the active and reactive powers will change when Ia and Ir currents are adjusted to fit the grid code during the faults. The behaviour of each control strategy during a two-phase fault (type C sag) with different sag depths of h = 0.7, 0.5, and 0.3 is shown in Fig. 4.11, whose abc voltage components are indicated in the first row. It is assumed that Pa0 = 0.7 in (10), then the converter injects 70 % of its rated power before the fault. The second row of Fig. 4.11 illustrates that the abc currents are unbalanced when using CPC strategy. However, when using BCC strategy during unsymmetrical sags, the injected abc currents are balanced. The injected current limits for both cases are the converter’s rated current. The real and imaginary parts of the transformed forward component of the reference current are shown in the third and fourth rows of Fig. 4.11. It is noticed that abc currents for CPC strategy oscillate. This indicates that this strategy may not validate the grid code for unsymmetrical sags in some cases. Furthermore, for severe sags, these limits can be increased in a small amount (for example 1.1 ~ 1.2 pu). Whereas for the BCC strategy, the abc current remains constant, indicating that the grid code has been validated. The I, II, and III limits in the third and fourth rows of Fig. 4.11, correspond to the grid code limits for active and reactive currents given in Fig. 4.2. The control sets the upper limit for the active current if the imposed abc current does not exceed 1 pu, i.e. real part of the positive component of the injected current, according to (29). Nevertheless, if that current exceeds 1 pu, the control must limit the injected active current until it drops below the limit shown in Fig. 4.2. According to Fig. 4.2, there is only one feasible value for the reactive current, i.e. the imaginary part of the positive component of the injected current, as illustrated in (29). For example, the control imposes the upper limit of the active current for the sag with depth h = 0.7, in the second row of Fig. 4.11(a), ensuring that the abc current does not exceed 1 pu. However, if the upper limit of the active current is injected as seen in Fig. 4.11(b) for h = 0.5, , the abc current exceeds 1 pu, thus a limit must be imposed in this case to inject always abc current within 1 pu (solid black line in the third row of Fig. 4.11. In some cases, even though the control injects the lower limit of the active current, the injected abc current can surpass 1 pu, as illustrated in the second row of Fig. 4.11(c). The CPC strategy cannot always accomplish the grid code, as seen in the third and fourth row of Fig. 4.11 since the injected currents exceed the aforementioned limitations, while for the BCC strategy the limits are not exceeded [60]. Chapter 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code 51 CPC BCC abc voltages pu vg abc abc currents pu iabc Active power pu (p) Reactive power pu (q) Apparent power pu (s) p-q curve pu -1 -0.6 -0.2 0.2 0.6 1 0 T Time (Sec) p q 0 0.2 0.4 0.6 0.8 1 Re(if) pu Im(if) pu h = 0.7 CPC BCC p p 0.4 0.8 1 h = 0.3 -1 -0.8 -0.4 0 0 0 0.2 0.4 0.6 0.8 1 0 0.4 0.8 CPC BCC p h = 0.5 0 T Time (Sec) 0T Time (Sec) 0 T Time (Sec) 0 T Time (Sec) 0 T Time (Sec) p -1 -0.6 -0.2 0.2 0.6 1 0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 p -1 -0.6 -0.2 0.2 0.6 1 0 0.2 0.4 0.6 0.8 1 0.6 0.2 -0.2 -0.6 -1.2 -0.8 -0.4 0 0.4 0.8 1.2 -1.2 0 0.2 0.4 0.6 0.8 1 1.2 0 0.2 0.4 0.6 0.8 1 1.2 -1.2 -0.8 -0.4 0 0.4 0.8 1.2 0 0.2 0.4 0.6 0.8 1 1.2 0 0.2 0.4 0.6 0.8 1 1.2 -1.2 -0.8 -0.4 0 0.4 0.8 1.2 -1.2 -1 -0.8 -0.6 -0.4 -0.2 0 0 0.2 0.4 0.6 0.8 1 1.2 0 0.2 0.4 0.6 0.8 1 1.2 -1.2 -1 -0.8 -0.6 -0.4 -0.2 0 0 0.4 0.8 0 0.2 0.4 0.6 0.8 1 1.2 1.2 0 0.4 0.8 1.2 1.20 0.4 0.8 0 0.2 0.4 0.6 0.8 1 1.2 0 0.4 0.8 1.2 0 0.4 0.8 0 0.2 0.4 0.6 0.8 1 1.2 1.2 1.2 (a) (b) (c) I II III II II II III III III III Fig. 4.11 CPC and BCC strategies during a 2-phase fault (type C sag) for sag depth (a) h = 0.7, (b) h = 0.5 and (c) h = 0.3 Chapter 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code 52 It is observed that the negative sequence of the injected current has a value other than zero for CPC strategy, while this value is zero for the BCC strategy. In this regard, the authors’ previous work [167] has demonstrated that BCC strategy is the only strategy that can validate the grid code without restrictions for unsymmetrical sags. Both strategies will verify the grid code for symmetrical sags since the negative sequence component will be zero. However, as seen in the fifth row of Fig. 4.11, this strategy has the drawback of oscillation in the instantaneous active power (p), whereas the CPC strategy has no oscillation in that power. The instantaneous reactive power (q) oscillates, as seen in the sixth row of Fig. 4.11, but the power oscillation is larger with CPC strategy. In both control strategies, there is an oscillation in the instantaneous apparent power (obtained from (30)) as seen in the seventh row of Fig. 4.11, and since both active and reactive powers oscillate, this oscillation cannot be removed. 22 .s p q (30) The active-reactive (p-q) curve is shown in the last row of Fig. 4.11. It is observed that because there is no oscillation in the active power, this curve is represented as a straight line for the CPC strategy. However, for the BCC strategy, both powers oscillate, transforming the straight line into a circle. The results indicate that neither the CPC nor the BCC strategies for symmetrical sags violate the grid code. Only the BCC strategy achieves grid code requirements for unsymmetrical sags at the price of oscillations in instantaneous active and reactive powers. On the other hand, the CPC strategy provides constant active power under unsymmetrical sags, but it does not fulfill grid code requirements, because transformed current oscillations are always outside the grid code limits. Fortunately, only under the most severe unsymmetrical sags cause the average transformed current to exceeds the code limitations [60]. To summarize the theoretical study, the process for implementing the Spanish grid code in the control system is described below. The flowchart for that purpose is shown in Fig. 4.12. Start V(t) Ia , Ir (grid code) if+ref if-ref vgf if vf Ref vabc Ref End vgf+, vgf vg abc iabc > Ifault_max Reduce the upper limit of Ia Yes No Fig. 4.12 Flowchart to adapt Spanish grid code to a grid-connected inverter Chapter 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code 53 The process starts calculating, using (8), the per-unit instantaneous value of the RMS remaining voltage during the sag. Second, the active and reactive currents are calculated using the preceding value according to the Spanish grid code, depicted in Fig. 4.2. The active current’s upper limit is then chosen. Third, according to Table 4.4, these currents are utilized to obtain the Ku transformed positive reference current. Table 4.4 is used to calculate the Ku transformed negative reference current, which depends on the chosen control strategy. Fourth, the Ku transformed grid voltage and injected current components are determined (note that to obtain the transformed grid voltage Ku transformation equation has to be used, as explained in Appendix E). Then, the entire system’s mathematical model is obtained. Finally, the abc components of the inverter’s reference voltage are calculated as follows:       abc Ref f Ref .vv   K (31) The abc currents are calculated in this study to ensure that the value does not exceed 1 pu. If the value exceeded that limit, the active current would need to be reduced within the limits of the grid code as shown in Fig. 4.2, until the abc current equals the desired limit. It should be emphasized that the proposed analytical model represents the behaviour of a three-phase grid-connected inverter with RL filter under unsymmetrical voltage sags. Note that this model is also valid for symmetrical sags. In this situation, the negative-sequence component of the grid voltage is zero, i.e. vgf –= 0. The functionality of the proposed limiting strategy is guaranteed by comparing it with the strategy presented in [71] that is used to limit the injected current is presented in Fig. 4.13. As seen, the proposed limiting strategy gives the same performance with less calculation effort to limit the injected abc current. 0.5 0.6 0.7 0.8 0.9 -1.5 0 1.5 0.5 0.6 0.7 0.8 0.9 (a) (b) Time (s) Time (s) abc inverter injected current Fig. 4.13 Comparison between (a) limiting strategy proposed in [71], and (b) the proposed limiting strategy The utility industry’s guideline for harmonic levels in the system is generally less than 5%, as shown in Table 2 of [168]. Furthermore, as shown in Table 3 of [169], the harmonics of the injected current from DG depend on the inverter’s control technique. In this thesis, the THD of the injected current during fault is less than 4 %, as shown in Fig. 4.14. Chapter 4 Analysis of a three-phase grid-connected converter under voltage sags according to the Spanish grid code 54 Iabc DG2 Vabc DG2 0200 400 600 800 1000 Frequency (Hz) 0 0.04 0.08 0.12 0.16 Fundamental (50Hz) = 3615 , THD= 1.09% 0200 400 600 800 1000 0 0.4 0.8 1.2 1.6 Fundamental (50Hz) = 350 , THD= 2.22% 0.55 0.56 0.57 0.58 0.59 Time (s) -2 -1 0 1 2 Steady state (during fault) Mag ( % of Funda m ental) Frequency (Hz) Mag ( % of Fundam ental) iabc DG2 Fig. 4.14 THD of the injected current during steady state of three-phase fault  Analysis of sag parameters impact using Ku transformation If voltages are represented in the complex plane, i.e. Ku plane, different types of faults may be clearly distinguished, making it easier to know and recognize the sag type and depth. The abc and transformed voltages are represented in per-unit values in this section, as follows:             f pu f base abc pu abc base 32 2, v t v t V v t v t V   (32) where Vbase is the voltage base value, which corresponds to the phase voltage. Complex plane abc variables BCC -1 -0.5 0 0.5 1 Complex plane abc variables CPC -1 -0.5 0.5 1 -1 -0.5 0.5 1 Time(s) if Re{if} Im{if} -1 -0.5 0.5 1 Time(s) Grid voltage (pu)Injected current (pu)Reference voltage (pu) vg abc iabc vabc Ref vg abc iabc vabc Ref Im{vif} Re{vif} vif Im{vif} Re{vif} vif Im{vgf} Re{vgf} vgf Im{vgf} Re{vgf} vgf Im{if} Re{if} if -0.6 -0.2 0.2 0.6 0 0.4 0.8 -0.6 -0.2 0.2 0.6 1.2 -0.6 -0.2 0.2 0.6 0 0.4 0.8 -0.6 -0.2 0.2 0.6 1.2 -0.8 -0.4 0 -1.2 0 0.01 0.02 0.03 0.04 -1.5 -0.5 0.5 1.5 0 0.01 0.02 0.03 0.04 -0.5 0.5 1.5 -1.5 -0.8 -0.4 0 -1.2 Fig. 4.15 abc and the complex plane of grid voltage, injected current and inverter reference voltage for unsymmetrical sag (type C) with h=0.5 sag depth During unsymmetrical sags (type C sag), Fig. 4.15 shows the time evolution of the waveform in abc and transformed variables of the grid voltage, injected current, and reference inverter voltage. The transformed variables of the grid voltage and reference inverter voltage oscillate due to the phase unbalance, as seen by the circle waveform in the complex plane. However, the BCC strategy always imposes a symmetrical current, thus the transformed current does not oscillate (In the complex plane of the current, the is a single point, not a circle). Furthermore, because the current in the CPC strategy is unbalanced during the sag, an oscillation will appear, as indicated by the circle. Chapter 5 Proposed fault protection scheme 61 iabc (pu) PD5PD6 DR -2 -1 0 1 2 iabc (pu) -2 -1 0 1 2 (a) (b) 0.3 0.5 0.7 0.3 0.5 0.7 0.505 0.525 0.505 0.525 Time (s) No disconnection No disconnection Fig. 5.4 Short-circuit current of DR behaviour during single-phase fault in DL3 with fault resistance r = 0.1 Ω (a) without DGs, (b) with two DG As presented in previous paragraphs, the conventional relays may fail in some cases to guarantee complete protection in DS with high DG penetration. Therefore, the need for a genuine protection strategy adapted for radial and ring grids during different circumstances will be presented and discussed in the following sections. 5.3. Proposed fault protection algorithms In this section, the proposed fault location algorithms will be explained. The proposed protection scheme is based on three-level of control. CE, ZO, and LO controllers. Fig. 5.5 Shows the content distribution of the proposed protection strategy in this section, referring to the subsection of each part. CE algorithm (Section 5.3.1.) Proposed fault protection algorithms (Section 5.3.) ZO algorithm (Section 5.3.2.) LO algorithm (Section 5.3.3.) PD priority strategy (Section 5.3.4.) LO algorithm for the MV power transformer is isolated (Section 5.3.3.3.) LO algorithm for the MV power transformer is grounded (Section 5.3.3.2.) Fault classification algorithm (Section 5.3.3.1.) Unsymmetrical fault Symmetrical fault Recloser algorithm Proposed LO algorithm without recloser Unsymmetrical fault Symmetrical fault Fig. 5.5 Distribution levels of the proposed protection algorithm for grounded/ isolated power transformer The proposed strategy will be based on the decision of two algorithms to provide more reliable and secure DS protection. The first algorithm (CE), is based on DPF data analysed from all PDs in the grid. These data will be transferred to the CE, where the controller will evaluate and analyze them and execute the relevant trip signal to isolate the faulty part of the grid, as shown on the left side of Fig. 5.6 and Fig. 5.7. The second algorithm is the ZO, located at each PD, which will rely on exchanging DPF data via the communication between both PDs in the same line to alter their status according to the faulty part of the Chapter 5 Proposed fault protection scheme 62 grid, as shown on the right side of Fig. 5.6 and Fig. 5.7. The proposed CE and ZO algorithm decisions will be evaluated to have a consistent and effective process. During a fault, the CE controller will use network-wide comparative measurements to locate the fault and trip the corresponding PDs. ZO will be implemented to work in parallel with CE, then the decision of both controllers will be reviewed, in order to enhance the security and redundancy of the protection system. The ZO algorithm is based on the peer PDs in the same line and transmits their data to ZO located at each PD. Its advantages include encrypted communication, and the ability to adapt to temporary grid reconfigurations. If a communication problem is detected as a reason for errors or hacking, then, the decision priority shifts directly from one algorithm to the other. In addition, if the total communication channels have been lost due to accidents, storming, hacking, or noise interference, the LO will be able to localize the faulted part of the DS correctly. Centralize control (CE) ANN Grid Bus 2 Bus 3 Bus 4 DL1DL2 Load 2 (L2) Load 1 (L1) Load 3 (L3) Load 6 (L6) Load 4 (L4) Bus 6Bus 11 Bus 9 DL3DL6 DL4DL5 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 DG1 DG2 DG3 66 kV: 20kV Δ Y 20 kV: 400V Δ Y 20 kV: 400V Δ Y 20 kV: 400V Δ Y Zigzag Bus 1 Bus 5 Bus 10 Bus 7 IEC61850 PD1PDn Communication Zone control (ZO) ANN at each relay IEC61850 RelayCB i(t) v(t) PD8 Relay CB i(t) v(t) PD7 Communication Zone control (ZO) ANN at each relay Trip signal Trip signal Trip signal Trip signal Bus 8 Load 5 (L5) Relay CB i(t)v(t) Trip signal RelayCB i(t) v(t) Trip signal Fig. 5.6 Single line diagram of the analysed radial DS with DG penetration and CE/ZO algorithms Centralize control (CE) ANN Grid Bus 2 Bus 3 Bus 4 DL1DL2 Load 2 Load 1 Load 3Load 5 Load 4 Bus 6Bus 9 Bus 7 DL3DL6 DL4DL5 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 DG1 DG2 DG3 66 kV: 20kV Δ Y 20 kV: 400V Δ Y 20 kV: 400V Δ Y 20 kV: 400V Δ Y Zigzag Bus 1 Bus 5 Bus 10 Bus 8 IEC61850 PD1PDn Communication Zone control (ZO) ANN at each relay IEC61850 RelayCB i(t)v(t) PD8 Relay CB i(t)v(t) PD7 Communication Zone control (ZO) ANN at each relay Trip signal Trip signal Trip signal Trip signal Relay CB i(t)v(t) Trip signal RelayCB i(t) v(t) Trip signal Fig. 5.7 Single line diagram of the analysed ring system with DG penetration and CE/ZO algorithms As mentioned in the introduction, due to the growth of DG penetration, traditional protection schemes have been evolved into new features due to the advent of standards such as IEC 61850 and the use of Ethernet-based communication capabilities, especially in smart grids, which will provide many possibilities to enhance the functioning of the electrical system in a wide scale. This communication module encrypts information for the electric field using various communication protocols; it also plays an essential role in communicating with the control center. By using a check signal to ensure communication availability, as specified in the communication standard (IEC 61850), it is feasible to determine the communication loss, besides by establishing a channel between PDs and control platforms, the standard offers the essential capabilities and services to act as a communication and automation tool for PDs. Manufacturing Message Specification (MMS), Generic Object Oriented Substation Event (GOOSE), and Sampled Values Protocol are all services provided by this standard (SVP). The GOOSE service is Chapter 5 Proposed fault protection scheme 63 intended to replace current signal wiring in control systems while also adding additional functionality. Moreover, GOOSE can handle more information than just a cable, communicate rapidly across PDs, and provide quality service. The protection system allows PDs and the CE to interact in a variety of ways. TCP/IP-based Ethernet, Wi-Fi protocol, or Cellular networks communication are examples of these methods [85], [134]. Cellular networks are largely utilized for public wireless data services; however, they are not a reliable communication relay network since they are susceptible to discrepancy and hacking. In Fig. 5.8, the proposed protection strategy’s concept diagram is illustrated. Each PD receives a decision from the CE (blue arrow), and ZO (grey box) is performed internally at each PD at the same time, leveraging communication between peer PDs in the same line (red arrows). Finally, as discussed later in this chapter, both decisions will be compared and a priority check (grey box) will be used to select the optimum decision. The PD provides main protection for the corresponding DL along with backup protection for the PDs on adjacent lines, as will be explained later in this chapter (section 5.3.4.). Centralize control (CE) PD numerical relay Procedure of each numerical relay CE Decision CE Communication PD Peer PD Communication DPF I1 CE Decision (a) Peer PD numerical relay va, vb, vc ia, ib, ic va, vb, vc ia, ib, ic  Calculation of DPF (Subsection 5.3) (Fig. 5.15)  Controllers decision CE (Subsection 5.3.1)(Fig. 5.18) ZO (Subsection 5.3.2)(Fig. 5.21) LO (Subsection 5.3.3)(Fig. 5.24)  Priority check (Subsection 5.3.4) (Fig. 5.57) Trip signal decision ANN Centralize control (CE) Data from all PDs (DPF(t), I1(t)) Decision and communication to all PDs (Trip signals) Procedure of each numerical relay (b) CE Communication Fig. 5.8 Concept diagram of the proposed algorithm In the following points, the ANN training, development, and DPF implementation, the calculation used in CE and ZO algorithms will be discussed.  Artificial Neural Network (ANN) The usage of CE and ZO algorithms is modeled and adapted by ANN to automatically coordinate the PD decision and locate the disturbance on the faulty line depending on various parameters. When a fault occurs, the control unit at each PD may use network-wide comparison measures to establish the fault location and trip the relevant PDs to isolate the fault. The use of ANN provides the advantages of quick decision-making and massive data processing, making ANN preferred in DS with a high number of buses. The training procedure is dependent on the input data and expected outputs to produce the ANN function. It is easier and faster to employ ANN for this particular application than it is to use a scripted program that requires several adjustments for each change in the grid [91], [121], [124], which will complicate and decrease the precision of the algorithm decision, especially as the number of buses increases. Fig. 5.9 depicts the structure that describes the ANN fault location scheme. Each input to neuron (x) is given a weight (W) that corresponds to the input’s contribution, then a bias (b) is added to the summation of all inputs (from 1 to 24); each input includes 64 samples per cycle. W1 Wn s1s2 Input layer 64 samples per cycle s64 s1s2 s64 s1s2 x1 x2 x24 s64 ∑ʄ b Hidden layer (1) Hidden layer (2) Inputs Fault location decision ʄ (b+∑ xiWi) i=1 n Fig. 5.9 Structure of the ANN for fault location scheme Chapter 5 Proposed fault protection scheme 64 A significant number of cases are required to train the ANN, considering numerous variables such as variable DG penetration, location, various fault resistance, types, and locations. Fig. 5.10 represents the ANN train environment and the parameters that must be considered while training the ANN. ANN Fault resistance Fault type No. Of DG Fault location Contribution of DG Load consumbtion DG location HV/MV Transformer connection Fig. 5.10 ANN training environment In order to simulate many cases and minimize the simulation time, PSCAD is used to implement the multiple run scenario instead of using MATLABTM SIMULINK, which will take much more time, especially with a large number of cases that are needed to train the ANN. The same analysed radial and ring grids built in MATLABTM are rebuilt in PSCAD to reproduce the same grid behaviour in both simulation platforms, as shown in Fig. 5.11, the transient and steady-state evolution in both simulation platforms are almost identical. Fig. 5.12 shows the flowchart of the ANN procedure starting from the system modeling, passing through the system simulation taking into consideration different grid scenarios (as load consumption change, various DG numbers connected to the grid, amount of DG power penetration, fault types, MV transformer connections, fault location, and fault resistance), and ending by ANN validation and testing. 0.98 1 1.02 1.04 1.06 -6 -4.5 -3 -1.5 0 1.5 3 4.5 ia MATLAB ib MATLAB ic MATLAB ia PSCAD ib PSCAD ic PSCAD Short circuit abc current (pu) Time (s) 6 Fig. 5.11 short-circuit currents in PSCAD and MATLABTM SIMULINK simulation platforms Chapter 5 Proposed fault protection scheme 65 Test system modelling Calculation of system parameters and loads Simulation platform Calculation of sequence current and voltage Calculation of DPF Training of ANN DG location DG penetration MV Transformer connection Fault type Load consumbtion Number of DG Fault location Fault resistance ANN validation and test scenarios Fig. 5.12 Flowchart of ANN training procedure The control of DS protections will be studied using ANN, mainly because of their ability to recognize and classify patterns, making ANN ideal for this application. The goal is to locate the fault as quickly as possible and isolate the faulty part of the system. Some considerations must be taken to train ANN for specific grid behaviour. Grid behaviour must be investigated in multiple scenarios, as varying fault type, fault location, fault resistance, number of DG connected to the grid, location of DG, DG contribution, load consumption, and varied neutral connections for the MV side of the HV/MV transformer. The algorithm is evaluated on several neutral connections before being used to specific connections in this thesis (YNd11 grounded and YNd11 isolated) (Appendix A). The Neural Net Fitting tool (nftool) from the MATLABTM Toolbox is utilized to complete this task. After that, the most suitable training technique, "Levenberg Marquardt" was chosen. This approach necessitates a higher level of memory but requires less training time [171]. There is no exact method for determining the number of hidden layers and the number of neurons in each layer; nevertheless, because ANNs with more hidden layers are more difficult to train [172], therefore according to [173], the following equation is used to determine the number of hidden layers No. of hidden layers .XY     (33) The ideal number of hidden layer neurons for the Minimum Mean Square Error (MSE) can be determined using trial and error, where X and Y are the numbers of inputs and outputs, respectively, and σ is a constant between (1~10). After the ANN has been trained, test scenarios must be performed to ensure the ANN’s dependability and accuracy, and the test patterns must differ from the training patterns. The ANN is trained for about 5000 cases to manage parameter changes that impact the protection algorithm's decision. Fig. 5.13 shows in a 3-D preview, the Mean Square Error (MSE) for various neurons, and iteration. As seen, when the number of neurons is 20, the MSE equals 0.0014 n, and when the number of neurons increases the MSE also increases. Fig. 5.14 illustrates the decision of several ANN models with the estimated output. The results of the chosen ANN model (blue line) match with the estimated outputs (red lines), as seen in Fig. 5.14. The ANN will provide a faster decision instead of employing a script with loops to prolong the decision-making process. 0 1000 1 2 100 MSE 10-4 3 80 No. of iterations 4 500 60 No. of neurons 5 40 20 00 X: 20 Y: 510 Z: 1.4e-07 Fig. 5.13 ANN aspects for different trained ANN Chapter 5 Proposed fault protection scheme 66 0 1 2 3 4 5 No. of cases 0 2 4 6 8 10 Decision ANN1 (Levenberg-Marquardt ) (20 neurons) ANN2 (Bayesian Regularization) (60 neurons) ANN3 (Scaled Conjugate Gradient ) (100 neurons) Estimated output Fig. 5.14 Decision of different ANN models and the estimated output For the output of ANN, a post-processing stage is needed to make a margin for each NN output. For example, for fault at Line 3, the output should be 3, so the margin of the ANN will be from (2.9 → 3.1).  Calculation of direction of power flow Due to the bi-directionality of fault currents in the presence of DG, detection of DPF has become an appealing alternative for ring grids. The behaviour of ring and radial grids with high DG penetration can be seen in Appendix B. An Intelligent Electronic Device (IED) with DSP TMS320F28335 is utilized to recognize DPF and develop the algorithm. Instrument transformers take voltage and current measurements (VT and CT) and convert them to lower-level signals that can be processed by PD. The direction of the fault current injection can be estimated using the phase angle ‘Ψ’ between the fault current i(t) and the corresponding voltage v(t) to determine the direction of the fault. Lines are primarily inductive, therefore for forwarding line faults, i(t) lags v(t), and vice versa for reverse faults. Fig. 5.15(a) shows that the overlapping interval between voltage and current during normal conditions (-90° < Ψ < 90°) is longer than the non-overlapping interval, although during reversed power flow conditions (90°> Ψ > 270°) is the contrary, as shown in Fig. 5.15(b) [36]. This difference in the overlapping interval can be used to apply a relay’s directional element under normal and reversed power flow conditions. The figure also shows the steps to model the directional element. Signals of current and voltage are transformed to a square wave of two levels; by multiplying the two output signals of (1) will be obtained during overlapping and (-1) during non-overlapping intervals (Fig. 5.15(c)). The outcome is then integrated with an upper limit of the integrator sets to ‘0’ (Fig. 5.15(d)). During reversed power flow, the integral output drops under low level (L), the level is set to a value between (-0.01 ≤ L ≤ 0) to gain a faster response. The integral is always less than 0 under normal power flow conditions; as a result, the output of the directional element changes from ‘0’ to ‘1’, depending on achieving or not the lower limit (Fig. 5.15(e)) [37]. v(t)i(t) vs(t) sampling is(t) sampling 1 1 -1 -1 0 -0.01 vs(t) . is(t) Decision 0 0 1 0 -0.01 v(t)i(t) 1 1 1 -1 -1 -1 Upper limit Lower limit Normal condition Fault condition Overlap Integrate Conversion Conversion Multiply Integrate (a)  (b) (c) (d) (e) 1 -1 T (period) T (period) Fig. 5.15 Concept diagram for implementing directional element (a) abc current and voltage signals (b) square wave of current and voltage (c) current and voltage multiplication (d) integrator output (e) decision Chapter 5 Proposed fault protection scheme 67 During the normal condition, the power flow at both ends of the line will be the same. However, during a fault, the DPF will change at one end of the faulted line. Fig. 5.16 shows the Simulation diagram for DPF during fault. -2 -1 0 1 2 -2 -1 0 1 2 -0.05 0 0 T 0 0.2 0.4 0.6 0.8 1 -3 -2 -1 0 1 2 3 0 T 0 T v(t) sampling i(t) sampling v(t) & i(t) v(t) . i(t) Decision Upper limit Lower limit T (periods) T (periods) Fig. 5.16 Simulation diagram for DPF during fault In the case of a healthy line, DPF at both PDs at both ends of the line will be the same. On the other hand, in case of a faulty line, the DPF will change at one end of the faulted line. By comparing the values of the DPF at both ends of the faulted line, the faulted line can be located, as shown in the figure below. Next, these data will be sent to the neural network to indicate the faulted line. Grid DG 1 Bus 1 Bus 2 Bus 3 DL 1 DL 2 Load 2 Load 1 20 kV: 400 V Yg D1 66 kV: 20kV D1 1 Yg PD1PD2PD3PD4 Dir_A = 0 Dir_B = 0 Dir_C = 0 Fault Dir_A = 0 Dir_B = 0 Dir_C = 0 Dir_A = 0 Dir_B = 0 Dir_C = 0 Dir_A = 1 Dir_B = 0 Dir_C = 0 Fig. 5.17 Single phase to ground fault 5.3.1. Centralize control algorithm (CE) In this section, the methodology to implement CE for radial and ring grids will be explained. A control algorithm based on detecting the DPF of all the PDs in the ring and radial grids has been developed to locate and isolate the faulty section of the grid. In radial grids, (i+) will be utilized instead of DPF since DPF will not change in some parts of the radial grid without DG penetration, causing the algorithm to fail. If the positive-sequence current (i+) values are the same at both ends of the line, then there is no fault at this line, as shown in Fig. 5.18. These data were sent to the ANN instead of the DPF data. Then the same algorithm is used to locate and isolate the faulted part of the system. This can be done because the lines are short and the transversal capacitance is insufficient to provoke a big difference in current at both ends. Fig. 5.19 shows the concept diagram of CE controller. Chapter 5 Proposed fault protection scheme 68 Grid Bus 2 Bus 3 Bus 4 DL 1 DL 2 Load 2 Load 1 Load 3Load 6 Load 4 Bus 6 Bus 9 Bus 7 DL 3 DL 6 DL 4DL 5 PD1PD2PD3PD4 PD5 PD7 PD11 PD10 PD9PD8 i1 +=3500 A i1 -=3075 A i1 0=109 A i2 +=3500 A i2 -=3075 A i2 0=109 A i3 +=3400 A i3 -=3120 A i3 0=109 A i4 +=3400 A i4 -=3120 A i4 0=109 A i5 +=3500 A i5 -=3150 A i5 0=109 A i6 +=170A i6 -=165A i6 0=0 i7 +=20A i7 -=20A i7 0=0 i8 +=20A i8 -=20A i8 0=0 i9 +=25A i9 -=14A i9 0=0 i10 +=25A i10 -=14A i10 0=0 i11 +=93A i11 -=70A i11 0=0 i12 +=93 A i12 -=70 A i12 0=0 Fault Load 5 Bus 8 DG 1 ANN i1 +, i2 + i3 +, i4 + i5 +, i6 + i7 +, i8 + i9 +, i10 + i11 +, i12 + No fault (0) Line 1 (1) Line 2 (2) Line 3 (3) Line 4 (4) Line 5 (5) Line 6 (6) ANN (for each relay) i7 +, i8 + No fault (0) Fault (1) Downstream (2) Upstream (3) PD6 PD12 Centralize control (CE) Zone control (ZO) IEC 61850 IEC 61850 Bus 1 Bus 5 DG 2 Bus 10 8 MW 4 MW Fig. 5.18 Positive-sequence values for two-phase to ground fault at DL3, with fault resistance r = 0.1 Ω PD1 PD2 PDn CE Decision Centralize algorithm (CE) PDn PD1PD2 CE Communication Centralize controller All PDs in the grid ANN DPF1(t)... DPF(t)n i1 1(t)... in 1(t)Faulted line Distibution grid Fig. 5.19 Concept diagram of CE algorithm All connections between the PDs and the CE are considered to be available in this algorithm. The fundamental concept is to use DPF data for the ring grid and i+ data for the radial grid as inputs to the CE to make the appropriate decision. Variations in short circuit current and DPF in each PD must be included in the ANN’s training. The DPF and i+ are calculated locally at each PD using voltage and current, and only the processed data is transmitted to the controller. Because there is no need to communicate voltages and currents to the CE, which would complicate the communication process, this step will make the learning process more accessible and decrease the error percentage. The next step is the training and testing of ANN. The method utilizes back-propagation that is a supervised learning technique employed by a multilayer perceptron. Finally, the ANN decision must have a minimal error value corresponding to the faulty line number and PD trip signal. The ANN parameters for CE are as follows: twenty four inputs relate to the DPF and i+ of all PDs in the grid, six outputs equal to the faulty line, each output has seven statuses (0  6), as seen in Fig. 5.18, and two hidden layers. The ANN parameters are listed in Table 5.3. Table 5.3 CE ANN fault location parameters Number of ANN inputs 24 ANN training technique Levenberg Marquardt Number of hidden layers 2 Number of neurons in the hidden layer (1) 20 Number of neurons in the hidden layer (2) 1 Number of ANN Outputs 6 (0 to 6) Chapter 5 Proposed fault protection scheme 69 This idea is practical because no need to send voltage and current signals to the CE. Instead, these measurements signal are post-processed at each PD, then the processed information is sent to the controller, as seen in Fig. 5.20. Grid DG 1 Bus 1 Bus 2 Bus 3 DL 1 DL 2 Load 2 Load 1 Load 3Load 4 Load 5 DG 2 Bus 4Bus 5 Bus 6 DL 3DL 6 DL 4DL 5 20 kV: 400 V Yg D1 20 kV: 400 V Yg D1 66 kV: 20kV D11 Yg DPF1 Neural Network DPF1, DPF2 DPF3, DPF4 DPF5, DPF6 DPF7, DPF8 DPF9, DPF10 DPF11, DPF12 Number of faulty line PD1PD2PD3PD 4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 DPF2 DPF3 DPF4 DPF5 DPF6 DPF12 DPF11 DPF10 DPF9 DPF8 DPF7 Fig. 5.20 ANN connection in case of CE The major benefits of this system are that it consolidates the security of the entire system into a single device, performing state estimation and security evaluations [86]. On the other side, Communications issues (due to failure or safety concerns) or CE unit failure, will result in a total loss of protection for the period it takes to restore services [84]. Furthermore, all input signals must be delivered to the same ANN, necessitating additional training time and a more complex training procedure. Furthermore, specific communication between all PDs and the controller must transfer all data to a CE [118], [135], [174]. In addition, communication delay must be taken into consideration; the total communication delay consists of four components: transmission delay, queuing delay, propagation delay, and processing delay. The total communication delay will be small enough to transfer the trip signals within a timescale lower than < 1ms [119]. An additional algorithm will coordinate with CE to resolve its disadvantages, and the decision will be based on both algorithms. The total delay time of the clearing process consists of the delay time of the sensors, communication system, processing time, and circuit breaker delay, as shown in Fig. 5.21. Sensor delay Communication delay Processing delay Circuit breaker delay Fig. 5.21 Delay components of the total fault clearing time 5.3.2. Zone control algorithm (ZO) The CE will not pinpoint the exact location of the fault if certain information is missed due to poor communication. However, the faulty line in that zone may be identified by combining the data from the two PDs on the same line, as shown in Fig. 5.22. In order to improve the system’s redundancy, ZO is cooperating with CE. Every PD decides locally utilize the data acquired from the peer PD on the same line, as illustrated in Fig. 5.23, by employing the ZO, which can detect and update its decision based on Chapter 5 Proposed fault protection scheme 70 the power flow at each end of the line. There is no necessity for communication between all of the PDs and a CE in this scenario. Typically, the communication system between two PDs on the same line is handled using a Power Line Carrier (PLC) with high-frequency signals or optical fiber cables, which improves the security of the connection [119], [175]. PD1 PD2 PDn PD Data PD Communication Zone algorithm (ZO) ZO Decision Peer PD Peer PD Data Peer PD Communication PD Data & Communication Distibution grid ANN (for each relay) DPF(t), i1(t)No fault, Fault, Downstream, Upstream DPF(t), i1(t) Zone Fig. 5.22 Concept diagram of ZO algorithm For example, if the fault is at DL5, as shown in Fig. 5.7, PD9 and PD10 will be able to locate the fault, while the rest of PDs will continue to operate normally since their controller identifies that the fault is on a different line. Each PD gets DPF data from its peers and compares it to its data to make an appropriate trip signal decision that isolates the faulty line. Furthermore, the ANN of each PD in the rest of the grid could determine the fault’s direction, i.e., whether the fault is upstream or downstream of the PD. The ZO ANN consists of: two hidden layers, four inputs corresponding to the DPF and i+ for PD of each line, and one output, which could be one of these options (no-fault, fault, fault downstream the line, and fault upstream the line), as seen in Fig. 5.18. The significant advantage of this technique is its flexibility to adapt to any alterations in the grid, even if they are just temporary, unlike the CE, which is fixed to the existing grid configuration. If another line is added to the grid, the CE must be retrained to adopt new inputs. However, for the ZO the same ANN used for each PD can be utilized for the newly added line. Another merit of this algorithm is that it makes a distinct decision for each line, takes less training time, and is simpler than CE. Furthermore, there is no requirement for specific communication between the PDs and the controller, allowing for faster and more efficient PD response. As a result, the fault will be quickly located and eliminated by the closest PDs in a shorter time. Table 5.4 shows the parameters of the trained fault ZO ANN controller. Table 5.4 ZO ANN fault location parameters No. of ANN inputs 4 NN training technique Levenberg Marquardt No. of hidden layer 2 No. of neurons in the hidden layer (1) 12 No. of neurons in the hidden layer (2) 1 No. of ANN Outputs 4 ( 0 → 3 ) Chapter 5 Proposed fault protection scheme 77 the same time, it is possible to know that the grid has a single-phase fault using the fault classification algorithm. Even if it is not necessary to disconnect the faulted line, it is advisable because if there is a fault in another phase then high fault currents are expected. Fig. 5.30 shows the fault isolation steps in case of a single-phase to ground fault. When a single-phase to ground fault occurs at one end of DL2 the value of the zero-sequence current at that end will be the highest Fig. 5.30(a), so a disconnection of PD4 is executed Fig. 5.30(b). After the disconnection of PD4, the three sequence currents (positive, negative, and zero) at the other end of DL2 will be approximately the same Fig. 5.30(c), so a disconnection of PD3 is executed Fig. 5.30(d). The flowchart of the LO in the case of a two-phase fault is shown in Fig. 5.31. Identify the type of fault end Single phase to ground fault Yes Calculation of sequence current components Unsymmetrical faults Higher value of i0 means faster connection First disconnection Analyze the system after the disconnection to obtain i+ i- i0 Second disconnection No Analyze the system after the disconnection to obtain highest i0 Local algorithm Fig. 5.31 Flowchart of LO for unsymmetrical fault and recloser algorithm In some cases, during a single-phase fault, the zero-sequence current will not be enough to distinguish the exact fault location after the first disconnection, especially if the fault is near DG. As seen in Fig. 5.32, with the presence of DG, the changes in zero-sequence current are too small (< 3 A) in PD4 and PD5, this is why the second disconnection does not only depend on the zero-sequence current. For example, if a single-phase fault occurred at DL3, which is near DG1, in this case, after the disconnection of PD6, the zero sequence currents will be the same at lines DL2 and DL3. In these cases, the second disconnection will depend on the three sequence current components as the three sequence components will approximately equal, as shown in Fig. 5.32. Fig. 5.33 shows the zero-sequence current profile in the case of single-phase to ground fault at DL1, DL3, and DL5. The figure shows that for the first disconnection the trip depends on the highest zero-sequence current Fig. 5.33(a), and for the second disconnection the trip depends on the approximately equal values of three sequence currents at the other end of the faulted line Fig. 5.33(b), and Fig. 5.33(c). The flowchart of the LO in case of single-phase fault is shown in Fig. 5.31. Chapter 5 Proposed fault protection scheme 78 (a) (b) Grid DG 1 Bus 1 Bus 2 Bus 3 DL 1 DL 2 Load 2 Load 1 Load 3Load 4 Load 5 DG 2 Bus 4Bus 5 Bus 6 DL 3DL 6 DL 4DL 5 20 kV: 400 V Yg D11 20 kV: 400 V Yg D11 66 kV: 20kV D11 Yn PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 i+= 177A i-= 125A i0= 62A i+= 177A i-= 125A i0= 62A First Disconnection i+= 157A i-= 125A i0= 80A i+= 157A i-= 125A i0= 80A i+= 190A i-= 125A i0= 80A i+= 198A i-= 60A i0= 62A i+= 32A i-= 63A i0= 85A i+= 113A i-= 61A i0= 12A i+= 32A i-= 63A i0= 85A i+= 113A i-= 61A i0= 12A i+= 198A i-= 60A i0= 62A 1 ϕG i+= 10A i-= 64A i0= 110A Grid DG 1 Bus 1 Bus 2 Bus 3 DL 1 DL 2 Load 2 Load 1 Load 3Load 4 Load 5 DG 2 Bus 4Bus 5 Bus 6 DL 3DL 6 DL 4DL 5 20 kV: 400 V Yg D11 20 kV: 400 V Yg D11 66 kV: 20kV D11 Yn PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 i+= 174A i-= 187A i0= 169A i+= 174A i-= 187A i0= 169A i+= 154A i-= 187A i0= 188A i+= 154A i-= 187A i0= 188A i+= 189A i-= 188A i0= 186A i+= 00 i-= 00 i0= 00 i+= 200A i-= 6A i0= 169A i+= 40A i-= 2A i0= 33A i+= 15A i-= 4A i0= 98A i+= 40A i-= 2A i0= 33A i+= 115A i-= 4A i0= 98A i+= 200A i-= 6A i0= 169A 1 ϕG Fig. 5.32 Sequence current single-phase fault at DL3 (a) before disconnection (b) after the first disconnection during Chapter 5 Proposed fault protection scheme 79 Zero sequence current (i0) (A) Line No. DL1DL2DL3DL4DL5DL6 Fault at DL5 Fault at DL1 First disconnection (a) 0 60 120 Fault at DL3 Sequence current (i0,i1,I2) (A) Line No. DL1DL2DL3DL4DL5DL6 Fault at DL3 i0 i1 i2 Second disconnection of DL3 Faulted line (b) 0 120 240 DL3 DL5 DL1 Sequence current (i0,i1,i2) (A) Line No. DL1DL2DL3DL4DL5DL6 Fault at DL5 i0 i1 i2 Second disconnection of DL5 Faulted line (c) 0 120 240 Fig. 5.33 Zero-sequence current profile with one DG connected at bus 3 (a) the first disconnection, (b) second disconnection when a single-phase fault at DL3, (c) second disconnection when a single-phase fault at DL5 In the case of two-phase or two-phase to ground faults, the same methodology used for single-phase faults can be applied for the first disconnection. Zero-sequence current during the fault at one end of the faulted line can be used to locate the fault, as shown in Fig. 5.34. After the first disconnection, the grid is analysed again. In this case, the highest value of zero sequence current at the other end of the faulted line will be obtained, and can be used to do the second disconnection. Grid DG 1 Bus 1 Bus 2 DL 1 DL 2 Load 2 Load 1 20 kV: 400 V Yg D1 66 kV: 20kV Yn Yn PD1PD2PD3 Disconne ct PD4 Grid DG 1 Bus 1 Bus 2 Bus 3 DL 1 DL 2 Load 2 Load 1 20 kV: 400 V Yg D1 66 kV: 20kV Yn Yn PD1PD2PD3PD4 i0 Fault Fault Grid DG 1 Bus 1 Bus 2 DL 1 DL 2 Load 2 Load 1 20 kV: 400 V Yg D1 66 kV: 20kV Yn Yn PD1PD2PD3 Fault Grid DG 1 Bus 1 Bus 2 DL 1 DL 2 Load 2 Load 1 20 kV: 400 V Yg D1 66 kV: 20kV Yn Yn PD1PD2PD3 Fault Disconnect PD3 i0 PD4 PD4 PD4 Fig. 5.34 Fault isolation steps in case of two-phase or two-phase to ground faults Fig. 5.35 shows the zero-sequence current profile in the case of two-phase to ground fault at DL2 and two-phase fault at DL4. If the fault is at DL4, the highest i0 is at this line (72 A). After the first disconnection, the highest i0 is at the other end of DL4 (98 A), then both ends of the faulted line can be disconnected. Using the same concept, when the fault at DL2, the highest i0 is at one end of DL2 (68 A), then after the first disconnection, i0 at the other end of DL2 will be the highest (70 A), so the faulted line will be disconnected. Chapter 5 Proposed fault protection scheme 80 Zero sequence current (i0) (A) Line No. Fault at DL4 Fault at DL2 Zero sequence current (i0) (A) Line No. First disconnection Second disconnection Fault at DL4 Fault at DL2 0DL2DL3DL4DL5DL6DL1DL2DL3DL4DL5DL6 (a) (b) 60 120 0 90 180 Fig. 5.35 Zero-sequence current profile during two-phase fault at DL4 and two-phase to ground fault at DL2, with one DG connected at bus 3 (a) the first disconnection, (b) second disconnection  Inverse Time current characteristic curve, In order to design the inverse time-current characteristic curve, the IEEE extremely inverse standard curve is used, which is defined by the following equation: D s ( ) * T 1 , k t I c II             (34) where t(I) is the trip time in seconds, I is the input current, Is is the tripping set point (pickup) current, and TD is the time dial. Table 5.10 shows the parameters for IEEE extremely inverse curve. Table 5.10 Parameters for IEEE extremely inverse curve Characteristic Curve k c α IEEE extremely inverse (EI) 5.64 0.02434 2 As mentioned before, the zero-sequence current is used to identify the location of the fault for unsymmetrical faults, which can be implemented using inverse time-current characteristic curve [184], [185]; therefore, the design of this curve will allow implementation of the LO efficiently. Fig. 5.36 shows the designed curve used in the case of unsymmetrical faults using the zero-sequence current. The curve has been designed according to the values of the zero-sequence current in different grid configurations and scenarios. This curve can be adapted to other grid configurations and different grid voltage levels. t(s) I/Is 100 102 104 10-20 4 8 12 0.5 1 8 1210 56 2 3 4 15 TD Fig. 5.36 Inverse time-current characteristic curve for unsymmetrical faults Chapter 5 Proposed fault protection scheme 81  Symmetrical fault In the case of a three-phase fault, the under-voltage relay will be used to disconnect one end of the faulted line. After the first disconnection, the same under-voltage criteria will be used again to disconnect the other end of the faulted line. As shown in Fig. 5.37, by using the under-voltage relay, two points with the same voltage are obtained, which means two PDs could disconnect simultaneously. So, to disconnect only the PD at the faulted line, an improvement with an additional algorithm will be used named recloser algorithm. The design of the definite time curve will be explained at the end of the following subsection explaining the LO algorithm used for grounding the transformer with the zigzag transformer connected to the MV side. Grid DG 1 Bus 1 Bus 2 Bus 3 DL 1 DL 2 Load 2 Load 1 Load 3Load 4 Load 5 DG 2 Bus 4Bus 5 Bus 6 DL 3 DL 6 DL 4DL 5 20 kV: 400 V Yg D11 20 kV: 400 V Yg D11 66 kV: 20kV D11 Yn PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 Both relays have the same under voltage value Fig. 5.37 Three-phase fault at DL3 Fig. 5.38 shows the flowchart of the LO with the recloser algorithm. Identify the type of fault end Symmetrical fault Disconnect the two PDs with the same under voltage Connect one of them Fault or No? Disconnect the PD Continue connecting Connect again after a time delay Disconnect the PD Continue connecting Yes No Fault or No? Yes No Measurment of positivesequence voltage Local algorithm Fig. 5.38 Flowchart of LO for symmetrical fault and recloser algorithm Chapter 5 Proposed fault protection scheme 82 The main idea of the algorithm is to use the recloser to open and close after a specific time interval (delay). The exact idea of the recloser algorithm will be discussed in the next subsection. Fig. 5.39 shows the voltage profile in the case of a three-phase fault. As shown, when a three-phase fault has occurred at DL3, the lowest v+ will be at DL3, and after the disconnection, the same behaviour is noticed to disconnect the other end of the faulted line. As seen in Fig. 5.39, similar behaviour is noticed when the fault is located at DL4. Positive sequence voltage (V) Bus No. Fault at DL3 Fault at DL4 Positive sequence voltage (V) Bus No. First disconnection Second disconnection Fault at DL3 Fault at DL4 1 2 3 4 5 61 2 3 4 5 6 (a) (b) 0 2400 4800 2700 5400 Fig. 5.39 Positive-sequence voltage profile during three-phase fault with one DG connected at bus 3 (a) the first disconnection, (b) second disconnection  Recloser algorithm As explained before, using an under-voltage relay two PDs connected to the same bus could be disconnected, because they have the same under-voltage. As shown in Fig. 5.40, two signals are used; the first is to turn on and off the PD and the second is to indicate if there is a fault or no-fault seen by the PD. As shown in Fig. 5.37, if there is a fault at line 3, PD6 and PD7 have the same under-voltage, so both of them could disconnect simultaneously. If PD6 is a little faster than PD7 then both disconnect, but, after a fixed delay, PD6 will be connected again. If there is a fault, then PD6 will disconnect permanently, and after a longer fixed delay, PD7 will connect, as presented in Fig. 5.40. On the other hand, if PD7 is faster than PD6, at the beginning both of them disconnect due to under-voltage. Then PD7 will connect first; in this case, there is no fault seen by PD7 because PD6 is still disconnected, so that PD7 will continue connected. After a delay, PD6 will connect and see the fault so that PD6 will disconnect again. In case of fault at the middle of the line, as seen in Fig. 5.41, four PDs will have the same under-voltage (connected to the two buses at the end of the faulted line), and the recloser algorithm will be applied for each end of the line. For example, when a fault is in the middle of DL3, then PD4, PD5, PD6, and PD7 are disconnected as they have the same under voltage. Then, PD5 and PD6 will be connected simultaneously, and because they are exposed to the fault, both of them will be disconnected permanently, and then PD4 and PD7 will be connected. On the other hand, if PD4 and PD7 are faster than PD5 and PD6, then when PD4 and PD7 are connected, the fault is still cleared, so they will remain open permanently. Then, PD5 and PD6 will connect and recognize the fault and then disconnect permanently. As shown in Fig. 5.41, the recloser algorithm will also disconnect the PD at the faulted line only. The flowchart of the recloser algorithm is shown in Fig. 5.38 highlighted in blue color. Chapter 5 Proposed fault protection scheme 83 Load 3 Bus 4 DL 3 DL 5 PD6 PD7 ON OFF Fault No Fault PD6 faster than PD7 ON OFF Fault No Fault PD7 faster than PD6 Load 3 Bus 4 DL 3 DL 5 PD6 PD7 ON OFF Fault No Fault PD7 faster than PD6 ON OFF Fault No Fault PD6 faster than PD7 Time (period) Time (period) Time (period) Time (period) Fig. 5.40 Recloser algorithm explanation when the fault in different lines Load 3 Bus 4 PD4 PD5 ON OFF PD5, PD6 faster than PD4, PD7 Load 4 Bus 5 DL 3 PD6 PD7 ON OFF Fault No Fault PD4, PD7 faster than PD5, PD6 Fault No Fault Time (period) Time (period) Fig. 5.41 Recloser algorithm behaviour when a three-phase fault at the middle of the DL  A line connected directly to the main grid In the case of lines directly connected to the main grid, it is possible to use the inverse-time characteristic curve. Because Line 1 (DL1) and Line 4 (DL4) will have a considerable short-circuit current value compared to the other part of the system. Especially with the use of PV-based inverters.  Flowchart of the proposed algorithm Fig. 5.42 shows the flowchart of the complete protection strategy, but the details of LO are shown in Fig. 5.43. Chapter 5 Proposed fault protection scheme 84 Start Bus abc currents and voltages Possible to communicate between CE and all PDs Yes No end Location of faulted line Possible to obtain DATA from two relays in the same line No Yes ZO algorithm LO algorithm decisión (Fig. 5.43) Location of faulted line DPF (DATA) CE algorithm Fig. 5.42 Flowchart of the proposed CE, and ZO protection algorithms Identify the type of fault end Single phase to ground fault Yes Calculation of sequence current components Unsymmetrical faults Symmetrical fault Higher value of i0 means faster connection First disconnection Analyze the system after the disconnection to obtain i+ i- i0 Second disconnection No Analyze the system after the disconnection to obtain highest I0 Disconnect the two PDs with the same under voltage Connect one of them Fault or No? Disconnect the PD Continue connecting Connect again after a time delay Disconnect the PD Continue connecting Yes No Fault or No? Yes No Measurment of positivesqeuence voltage Local algorithm For fault at lines directly connected to the main grid Measurement of shortcircuit current Inverse-Time curve Analyze the system after the disconnection to obtain highest i0 First disconnection Second disconnection Fig. 5.43 Flowchart of the LO proposed protection algorithm Chapter 5 Proposed fault protection scheme 85  Proposed LO algorithm without recloser The disadvantage of the recloser idea is that it needs more time and more steps to disconnect the fault. Therefore, another idea is proposed that is based on changing the location of the measurement signals. The idea is based on placing the measurement devices in front of the breaker (Fig. 5.44(b)) instead of behind it (Fig. 5.44(a)). Instead of using the recloser algorithm that will take time and more steps to clear the fault, the presence of a fault can be known directly using the measured voltages. Bus 4 DL 3 PD6 PD9 v6 i6 v9 i9 DL 4 DL 3 PD6 PD9 v6 i6 v9 i9 DL 4 Before disconnection Bus 4 Bus 4 DL 3 PD6 PD9 v6 i6 v9 i9 DL 4 DL 3 PD6 PD9 v6 i6 v9 i9 DL 4 After disconnection Bus 4 disconnection Both measurement signals isolated from the fault PD6 is exposed to the fault so it must remain disconnected PD9 is not exposed to the fault so it must be reconnected (b)(a) disconnection Before disconnection After disconnection Fig. 5.44 measurement signals (a) behind the breaker, (b) in front of the breaker As shown in Fig. 5.44, in the case of measurement devices placed between the bus and the breaker, after the disconnection of both beakers, both will see the same voltage and both of them will be disconnected from the fault. In this case, a recloser algorithm needs to be applied to disconnect the breaker in the faulted line. However, in the case of placing the measurement signals in front of the breaker, after the disconnection of both breakers due to under-voltage, one of them will be disconnected from the fault and the other one will still be exposed to the fault. Therefore, there is no need for the recloser algorithm; instead, each breaker can take its own decision instantaneously with no delays. In this case, the time needed to disconnect the faulted part from the grid is reduced. Fig. 5.46 shows the flowchart of the proposed LO algorithm without recloser. Table 5.11 and Fig. 5.45 show the clearing time needed to disconnect the faulted side of the line in case of a three-phase fault with LO. Considering that the delay time of the measuring instruments needs to be added to the total tripping time. That means for each open or close more delay time is obtained, which will indicate that with the recloser algorithm the clearing time of the fault will be more than the time needed to clear the fault without the recloser algorithm. It is important to note that using this idea will not affect the algorithms of the other fault types. Table 5.11 Fault clearing time Clearing time With recloser algorithm 0.47 Sec Without recloser algorithm 0.39 Sec Time difference 0.06 - 0.08 Sec Chapter 5 Proposed fault protection scheme 86 Trip (V) Time (s) 0.4 0.8 1.2 1.6 2 -5 0 2control signal Fault Trip (No recloser) Trip (Recloser) 1 Fig. 5.45 Difference in trip signals with and without recloser algorithms Identify the type of fault Calculation of v + or v - depending on the type of fault Disconnect the two PDs with the same under voltage For 1st PD Fault or No? Disconnect the PD Continue connecting Yes No Local algorithm For 2nd PD Fault or No? Disconnect the PD Continue connecting Yes No end Fig. 5.46 Flowchart of proposed LO algorithm without recloser 5.3.3.3. LO algorithm in case of symmetrical and unsymmetrical faults and the MV side of the (HV/MV) transformer grounded through a zigzag The primary benefit of this algorithm is that it can operate independently of the HV/MV transformer’s grounding connection since it is based on the value of the sequence abc voltages at each bus, and then use the recloser algorithm to disconnect the system’s faulty part.  Unsymmetrical faults In the case of a single-phase fault, by using negative-sequence voltage during the fault, one end of the faulted line can be located. During the fault, the negative-sequence voltage of the two PDs at one end of the faulted line (bus 3) will be higher than any other negative-sequence voltage values of other lines, as shown in Fig. 5.47 and Fig. 5.48, then the recloser algorithm will be implemented to disconnect the PD at the faulted line. Therefore, the highest value means faster disconnection. Fig. 5.49 shows the steps to isolate the fault in case of a single-phase fault. Chapter 5 Proposed fault protection scheme 93 5.3.4. PD priority strategy Depending on the outcomes of the two algorithms (CE-ZO), each PD must make a local decision. This step will increase the system’s redundancy, enhancing security and reliability in the case of a failure. Furthermore, each algorithm must transmit a communication check signal (green arrows) to guarantee that the decision is available, as shown in Fig. 5.58(a). Before performing the algorithm, the controller of each PD must verify that the signals are available. If one of the algorithms fails (for example, if one of the communication check signals is lost), a delay is created; the signals are rechecked to confirm that the system has a permanent fault rather than a temporary error. If the signals are received, the decisions of the CE and ZO controllers will be evaluated (orange arrows); if both agree, the decision will be made; if not, the ZO’s decision will have priority because it has more encrypted communication (a secure channel of communication) signals. If the signals were not received, only the peer signal would be evaluated; if it were received, the ZO decision would be made. If not, the CE will be checked; if no signals are received, the decision will be made to use the LO algorithm and send a trip signal to the PD. Fig. 5.58(b) shows the flowchart of each PD fault location controller. As the grounding connection of the (HV/MV) transformer changes the values of the short circuit current in the grid and modifies the setting of all the PDs in the grid, this method has the advantage of the algorithms operating correctly independent of the grounding connection. The new method would enhance the system’s accuracy and efficiency, as well as accelerate the protection system’s response to unanticipated grid disturbances. If the CE controller transmits a trip signal to the PD but receives no response, the CE controller will initiate a post-processing step, as illustrated in Fig. 5.58(c), to disconnect the nearest line to the fault. For example, if a fault occurs at DL4 then PD7 and PD8 should be disconnected; however, if PD7 fails to disconnect, the CE controller will disconnect the closest line to the fault, by activating PD5 and PD6. The pseudocode of each PD can be described as follows: (1) Determine DPF, (2) transfer data and communication signals to the CE controller and the other PD on the same line, (3) apply the ZO controller, (4) acquire the CE decision, and (5) verify that all signals from the ZO and CE controllers have been received, (6) if not, make a delay and double-check the availability, (7) If all signals are received, check the ZO and CE controllers’ decisions, (8) If the decisions are identical, send a trip signal to the breaker; (9) if otherwise, give the ZO decision higher precedence, (10) check the peer PD signals if none of the signals were received, (11) if the peer PD signals are received, apply the ZO algorithm and make a decision, (12) If not, double-check the CE’s decision. (13) Send the trip signal to the breaker if it is received, (14) if neither CE nor ZO decisions are received, implement LO algorithm to send a disconnection signal, (15) if the trip signal did not activate, disconnect the nearest line to the fault. In order to give the reader an easy way to follow and understand the behaviour of the protection algorithms (CE, ZO, and LO), as an example, the behaviour of the algorithms will be presented when a three-phase fault at DL3 has occurred for the grid shown in Fig. 5.59(a) with YNd11 transformer connection grounded through a zigzag transformer. DPF will be different in PD5 and PD6; however, DPF will be the same at both ends of DL for the rest of PDs. Therefore, CE can decide the appropriate trip signal using the received data (DPF, and i+) of all the PDs in the grid. In this example, the CE makes the decision to trip PD5 and PD6, as shown in Fig. 5.59(c). At the same time, the ZO at each PD will receive the data from the other PD at the same line, as shown in Fig. 5.59(b), so ZO at PD5 and PD6 will recognize the fault, and give a decision. However, the ZO of the other PD will be noticed that the fault is in another line. For example, the ZO decision of PD3 and PD4 has a value of two that indicates the fault is downstream DL2, and the ZO decision of PD7 and PD8 is equal to three, indicating the fault is upstream DL4. The decision of CE and ZO is compared, then according to the priority algorithm, the decision at each PD is executed, as shown in Fig. 5.59(d). Chapter 5 Proposed fault protection scheme 94 Grid Bus 2 Bus 3 Bus 4 DL1DL2 Load 2 Load 1 Load 3Load 5 Load 4 Bus 6Bus 9 Bus 7 DL3DL6 DL4DL5 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 DG1 DG2 66 kV: 20kV Δ Y 20 kV: 400V Δ Y 20 kV: 400V Δ Y Zigzag Bus 1 Bus 5 Bus 8 CE Decision PD12 PD1PD2Centralize controller All PDs in the grid Data Communication ZO Decision PD5 Data Communication PD6 Zone algorithm (ZO) Data & Communication No Yes No Yes CE and ZO give the same decision? All signals recieved? Trip signal decision Zone controller decision All signals recieved? No Yes Peer signal recieved? No Yes Centralize signal recieve? No Yes Centralize controller decision LO contoller decision PD priority algorithm Delay CE, and ZO Decisions (a) (b) (c) (d) DPF DPF Fig. 5.59 Concept diagram of (a) analysed ring grid with a three-phase fault at DL3, (b) ZO algorithm, (c) CE algorithm, and (d) PD priority algorithm If CE-ZO fails to recognize the fault due to communication problems, the LO will be executed. In this example, as the fault is symmetrical and the grid is connected with YNd11 transformer connection grounded through a zigzag transformer, the v+ will be used, so the minimum v+ means faster disconnection In this case, v+ at PD6 will be the minimum value (585 V), as shown in Fig. 5.60(a), and the trip time according to the Definite-Time curve is 0.4 s. So both of them are disconnected, then the recloser algorithm will be executed, as shown in Fig. 5.60(b). First, PD6 is reconnected, and as it can recognize the fault it will trip again, and after a delay, PD7 will be reconnected. The same idea is used after the first disconnection of PD6 at the other end of DL3 between PD4 and PD5, as its v+ is the minimum value in this case (2260 V), and the trip time in this case according to the Definite-Time curve is 0.1 s, then PD5 will trip. Chapter 5 Proposed fault protection scheme 95 Identify the type of fault end Symmetrical fault Disconnect the two PDs with the same under voltage (PD6 , PD7), according to the Definite-Time curve Connect one of them (PD6) Fault or No? Disconnect PD6 Continue connecting Connect PD7 again after a time delay Disconnect the PD Continue connecting Yes No Fault or No? Yes No Measurment of negative-sequence voltage LO algorithm Grid DL1DL2 Load 2 Load 1 Load 3Load 5 Load 4 DL3DL6 DL4DL5 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 DG1 DG2 66 kV: 20kV Δ Y 20 kV: 400V Δ Y 20 kV: 400V Δ Y Zigzag (a) (b) 3690 VBefore 1st disconn. After 1st disconn. 5850 V 2610 V 4010 V 1590 V 2250 V 585 V 5800 V 1590 V 5815 V 2630 V 5830 V 1st disconn. Fig. 5.60 Analysed ring grid when a three-phase fault at DL3 and LO algorithm with YNd11 transformer connection grounded through a zigzag transformer In order to analyze the proposed protection scheme, various cases have been studied, including different grid behaviour. In addition, a comparative study has been implemented to emphasize the functionality and reliability of the protection algorithm. Therefore, the next chapter presents some of the simulated tested cases to fulfill this aim. Sag effects on protection system in distributed generation grid Doctoral Thesis 96 Chapter 6 Analysis and test results of the proposed protection algorithms 97 6 Analysis and test results of the proposed protection algorithms In this chapter, the analysis of the proposed protection algorithms (CE, ZO, and LO) in different scenarios are presented. Moreover, to show the dependability of the protection algorithms, a comparative study will be illustrated. The simulated results shown in this chapter are some examples of the whole of cases used to test the proposed algorithms with the grid in different operating conditions. the total number of simulated cases are approximately two hundred fifty cases. Some of these cases (forty-five cases) have been chosen to be represented in this chapter in order to show the functionality of the protection algorithms in different scenarios as changing the number of DG connected to the grid, DG penetration, fault location, fault type, fault resistance, strong and weak grids, and load consumption, changing grid configuration. The majority of the results are shown in Appendix B. The response of the VSI control was implemented under grid faults combining the LVRT capabilities and the requirements of the Spanish grid code. VSI control is not discussed in this chapter, as it was explained in chapter 4 and Appendix E. 6.1. Analytical and test results for CE, ZO, and LO protection algorithms In this section, the analysis of the protection algorithms test results obtained using MATLABTM 2015b SIMULINK is presented. The studied ring grid is shown in Fig. 6.1, with DGs connected at buses 5, 8, and 10. This grid is chosen to be represented in this chapter as it guarantees different grid configurations. Other grid configurations can be seen in Appendix B. The proposed protection algorithms can be effectively treated with different grid structures and the number of buses, as will be discussed in this chapter. Grid Bus 2 Bus 3 Bus 4 DL1DL2 Load 2 Load 1 Load 3Load 5 Load 4 Bus 6Bus 9 Bus 7 DL3DL6 DL4DL5 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 DG1 DG2 DG3 66 kV: 20kV Δ Y 20 kV: 400V Δ Y 20 kV: 400V Δ Y 20 kV: 400V Δ Y Zigzag Bus 1 Bus 5 Bus 10 Bus 8 Fig. 6.1 Single line diagram of the analysed ring system with DG penetration The PDs must be capable of holding a high current value for a specified time interval, depending on the protection algorithms, and the type of the relay [30]. For 95 % of the tested cases, PDs based on ANN Chapter 6 Analysis and test results of the proposed protection algorithms 98 provided low response times between 10 ms and 20 ms, and for the rest of the cases the response times are ≤ 25 ms, this time interval is based on the measurement devices and the speed of DPF. The algorithms were tested by modifying the load consumption, DG penetration, fault location, fault type, fault resistance, and (HV/MV) transformer configuration on the studied grid in the ring and radial configurations (Appendix B). Some of the instances utilized to validate the protection algorithms are shown in Table 6.1. In every tested situation, the protection algorithms can identify the specific location of the fault. Table 6.1 Some of the scenarios used to test the protection algorithms Fault type Fault resistance (Ω) Fault location Load consumption (MVA) DG penetration (MVA) L1 L2 L3 L4 L5 DG1 DG2 DG3 Single-phase to ground 0.1 DL1 5 2 8 1 4 6 0 0 Two-phase to ground 2.5 DL2 5 2 8 4 4 5 5 0 Two-phase 1 DL4 1 2 8 1 0.5 5 3 0 Three-phase 4 DL6 5 4 8 1 4 6 5 6 Two-phase to ground 0.1 DL3 1 2 8 1 4 5 5 0 Three-phase 0.1 DL3 5 2 8 1 4 5 5 0 6.1.1. CE-ZO protection algorithms The behaviour of CE-ZO algorithm is tested in different scenarios to demonstrate the functionality of the protection scheme. Fig. 6.2 shows the flowchart of the tested cases presented in this chapter. CE-ZO algorithm No. Of DG influence (Fig. 6.3) Fault type influence (Fig. 6.4, Fig. 6.8) Fault location influence (Fig. 6.7) Stiff/weak grid influence (Fig. 6.6) Grid configuration influence (Fig. 6.26, Fig. 6.27, Fig. 6.28) Fault resistance influence (Fig. 6.5) Fig. 6.2 Flowchart of the studied cases As an example of the acquired results, Fig. 6.3 depicts the behaviour of CE and ZO algorithms in two scenarios to demonstrate their performance. Fig. 6.3(a) illustrates CE and ZO decisions with two DGs during a three-phase fault in DL3, and Fig. 6.3(b) presents the results of both algorithms without DG. To demonstrate the values of the short-circuit current in different scenarios and the behaviour of the protection algorithms in these cases, the abc voltages, abc currents, DPF, CE decision, ZO decision, and trip signal have been displayed in Fig. 6.3. As seen in Fig. 6.1, during a three-phase to ground fault in DL3, all phase voltages dropped, (abc voltages of PD5 and PD6 in Fig. 6.3(a)). Furthermore, due to the DG penetration into the fault, the values for three-phase currents rise to around 6.1 pu (PD5 currents in Fig. 6.3(a)). However, for the same type of fault without DG penetration (PD5 and PD6 in Fig. 6.3(b)), as the faulted current is supplied exclusively from the main grid, the short-circuit currents are less than 6.1 pu (approximately 4.8 pu). Also, the DPF varies in some PDs when a fault occurs. For example, in the case of a three-phase fault in DL3, the DPF for each phase will vary. The DPFs of the two PDs in DL3 are different during the fault; therefore, the DPF of PD6 changes from 1 to 0, but the DPF of PD5 does not chage (Fig. 6.3). Regarding the DPF of the other PDs, there is no difference in the DPF of the PDs located at the other lines. CE decision correlates to the faulty line number, with 0 indicating no-fault, and 1 to 6 indicating the faulted line number. When there is a fault in DL3, CE’s decision is 3, which relates to the faulty line number. The ZO decision, on the other hand, corresponds to the PD in the faulty line. For example, when the fault occurs in DL3, only the ZO decision signals of PD5 and PD6 are triggered, and the other PDs will not trip, as there are no differences in the DPF. A trip signal is sent to PD5 and PD6, since both algorithms (CE and Chapter 6 Analysis and test results of the proposed protection algorithms 99 ZO) can identify the fault (Fig. 6.3). According to [27], in order to not disconnect the line if the fault is temporary, a delay is performed before executing the trip signal to ensure that the fault is permanent, then the trip signal decision is performed after approximately 5 cycles. 0 0.2 0.4 0.6 0.8 1 0.3 0.5 0.7 0.9 0 2 4 6 0.3 0.5 0.7 0.9 PD5PD6 vabc (pu)iabc (pu)DPF CE 0 2 4 6 PD5PD6 0 0.2 0.4 0.6 0.8 1 vabc (pu)iabc (pu)DPF CE 0 1 0.3 0.5 0.7 0.90.3 0.5 0.7 0.9 0 1 Trip Trip (a) PD5PD6PD5PD6 0.3 0.5 0.7 0.9 0.3 0.5 0.7 0.9 0.3 0.5 0.7 0.90.3 0.5 0.7 0.9 (b) 0 0.5 1 1.5 ZO ZO 0 0.5 1 1.5 -2 -1 0 1 2 -7.5 -2.5 2.5 7.5 -2 -1 0 1 2 -7.5 -2.5 2.5 7.5 DPF Phase A DPF Phase B DPF Phase C DPF Phase A DPF Phase B DPF Phase C DPF Phase A DPF Phase B DPF Phase C DPF Phase A DPF Phase B DPF Phase C Time (s) Time (s) Time (s) Time (s) Time (s) Time (s) Time (s) Time (s) Fig. 6.3 CE and ZO behaviour during a three-phase fault in DL3 with fault resistance r = 0.1 Ω, (a) with two DGs, (b) without DG Fig. 6.4 shows the DPF, CE, ZO decisions, and trip signals for the studied ring grid shown in Fig. 6.1, during symmetrical and unsymmetrical faults in DL3 and DL4, respectively. The figure represents the patterns of each signal for the 12 PDs in the grid in a 3-D preview. As seen in Fig. 6.4, the x-axis indicates the time in seconds, the y-axis represents the 12 PDs in the grid or represents the CE control device in the case of CE, and the z-axis represents the analysed signal (DPF, CE decision, ZO decision, and trip). For example, only PD5 and PD6 will have different DPFs during a symmetrical fault in DL3. In addition, if the fault is in DL4, only PD7 and PD8 will have a different DPF. The CE decision corresponds to the number of the faulty line; in the case of a fault at DL3 the value is 3, while the ZO decision signals of PD5 and PD6 are 1, as the remainder of the PDs will not trip. Besides, when a fault occurs in DL4, the CE decision is 4, and the ZO decision signals for PD7 and PD8 are 1. A postprocessing step is performed to address the trip signal transmitted to the corresponding breaker in the faulty line based on the availability of both decision signals in each PD. Fault in DL4 0.2 0.6 1 0 4 8 12 PD 0.2 0.6 1 0.2 0.6 1 0 4 8 12 PD 0.2 0.6 1 12 0.2 1 8 0.6 PD 0.6 1 40.2 0(b) DPF 0.2 0.6 1 1.2 3.6 6 CE controller device 4 Fault in DL3 DPF CE decision ZO decision Trip 12 0.2 1 8 0.6 PD 0.6 t (s) 1 40.2 00.2 0.6 1 0 4 8 12 PD 0.2 0.6 1 0.2 0.6 1 0 4 8 12 PD 0.2 0.6 1 0.2 0.6 1 CE controller device 1.2 3.6 6 (a) 3 t (s) t (s) t (s) t (s) t (s) t (s) t (s) CE decision Trip ZO decision Fig. 6.4 Ring grid with two DGs during (a) three-phase fault in DL3, (b) single-phase fault in DL4 Chapter 6 Analysis and test results of the proposed protection algorithms 100 In the case of single-phase faults, the variations in short-circuit currents are not substantial due to the zigzag connection, as shown in Table 6.2, which limits the short-circuit currents. However, for two-phase to ground fault, due to the different paths of the fault current, the values are dramatically changed. As illustrated in Table 6.2, when a single-phase to ground fault is occurring at DL3, the values of the shortcircuit current measured at PD5 and PD6 are not substantial; however, when a two-phase to ground fault is occurring at DL5 the short-circuit current values at PD9 and PD10 are different. Also, for the rest of the lines, the short-circuit currents are the same at both ends of each line (Table 6.2). Table 6.2 Single-phase to ground, and two-phase to ground short-circuit currents, when loads consumption are: (L1 = 5, L2 =2, L3 = 1, L4 = 1, L5 = 4) MVA, and with fault resistance r = 0.1 Ω Fault type Fault locatio n DG penetration (MVA) DL1 (pu) DL2 (pu) DL3 (both ends) (pu) DL4 (pu) DL5 (both ends) (pu) DL6 (pu) DG 1 DG 2 DG 3 Singlephase to ground DL3 3 1.5 3 i+=0.4, i-=0.2, i0=0.23 i+=0.2, i-=0.22, i0=0.23 i+5=0.22, i-5=0.23, i05=0.23. i+6=0.12, i-6=0.12, i06=0.12 i+=0.15, i-=0.11, i0=0.12 i+=0.14, i-=0.11, i0=0.12 i+=0.2, i-=0.1, i0=0.12 Twophase to ground DL5 3 1.5 3 i+=1.97 ,i-=1.8, i0=0.06 i+=1.8, i-=1.8, i0=0.06 i+=1.96, i-=1.91, i0=0.06 i+=1.93, i-=1.9, i0=0.06 i+9=2, i9-=1.97, i09=0.06. i+10=3.9, i-10=3.82, i010=0.12 i+=3.9, i-=3.7, i0=0.12 The sub-index 5, 6, 9, and 10 correspond to the number of the PD. As shown in Fig. 6.5(a) and Fig. 6.5(b), the protection scheme has been evaluated for various fault resistances changed from 6 Ω to 0.05 Ω, respectively, in order to test the protection scheme with very small and high fault resistance, the calculation of the fault resistance is shown in Appendix G. As shown, the decision is not affected in both cases. Also, the behaviour of the protection algorithms has been tested for stiff and weak grids. Fig. 6.6(a) shows the short-circuit current during two-phase to ground fault at DL3, as well as algorithms decision for the stiff grid. The stiff grid is supposed to be strong enough to impose the voltage and the frequency of the grid without any variation. However, in the case of a weak grid, a frequency or voltage variation from its steady-state value can occur during faults (voltage sags). The three-phase short-circuit power of the stiff grid Ssc equals 3600 MVA, and the weak grid equals 100 MVA. It is important to mention that the voltage and the frequency are imposed by the grid, not by the DG. The same signals are shown in and Fig. 6.6(b) for the weak grid. From the evaluation of the short-circuit currents of both grids, it is evident that the stiff and weak grids have different short-circuit current values. For example, for the stiff grid and during a two-phase fault, the short-circuit current is near 5.6 pu, whereas the weak grid is about 1.2 pu. As shown in Fig. 6.6, the DPF criteria' reliability allows the algorithms to detect the faulty part of the grid in both cases. Chapter 6 Analysis and test results of the proposed protection algorithms 101 0 0.2 0.4 0.6 0.8 1 0.3 0.5 0.7 0.9 0 2 4 6 0.3 0.5 0.7 0.9 PD5PD6 -4 -2 2 4 vabc (pu)iabc (pu)DPF CE -4 -2 0 2 4 -9 -3 3 9 0 2 4 6 PD6 0 0.2 0.4 0.6 0.8 1 vabc (pu)iabc (pu)DPF CE 0 1 0.3 0.5 0.7 0.9 0.3 0.5 0.7 0.9 0 1 Trip Trip (a) PD5PD6PD5PD6 0.3 0.5 0.7 0.9 0.3 0.5 0.7 0.9 0.3 0.5 0.7 0.90.3 0.5 0.7 0.9 (b) 0 0 0.5 1 1.5 ZO ZO 0 0.5 1 1.5 DPF Phase A DPF Phase B DPF Phase C -4 -2 0 2 4 DPF Phase A DPF Phase B DPF Phase C PD5 DPF Phase A DPF Phase B DPF Phase C DPF Phase A DPF Phase B DPF Phase C Time (s) Time (s) Time (s) Time (s) Time (s) Time (s) Time (s) Time (s) Fig. 6.5 CE and ZO behaviour during different fault resistance, with two DGs during a three-phase fault in DL3 (a) r = 2 Ω, (b) r = 0.05 Ω 0 0.2 0.4 0.6 0.8 1 0.3 0.5 0.7 0.9 0 2 4 6 0.3 0.5 0.7 0.9 PD5PD6 vabc (pu)iabc (pu)DPF CE -2 -1 0 1 2PD5PD6 0 0.2 0.4 0.6 0.8 1 vabc (pu)iabc (pu)DPF CE 0 1 Trip Trip (a) PD5PD6 0.3 0.5 0.7 0.9 0.3 0.5 0.7 0.9 0.3 0.5 0.7 0.9 0.3 0.5 0.7 0.9 (b) 0 0.5 1 1.5 ZO ZO 0 0.5 1 1.5 DPF Phase A DPF Phase B DPF Phase C 0.3 0.5 0.7 0.9 0.3 0.5 0.7 0 1 0 2 4 6PD5PD6 0.9 -6 -2 2 6 -2 -1 0 1 2 -1.5 -0.5 0.5 1.5 DPF Phase A DPF Phase B DPF Phase C DPF Phase A DPF Phase B DPF Phase C DPF Phase A DPF Phase B DPF Phase C Time (s) Time (s) Time (s) Time (s) Time (s) Time (s) Time (s) Time (s) Fig. 6.6 CE and ZO behaviour during two-phase to ground fault in DL3, and r = 0.1 Ω, with two DGs, in case of (a) stiff grid, (b) weak grid vabc(pu) iabc(pu) CL CE ZO 0 5 10 0 1 2 3 0.3 0.9 0 1 2 3 Trip Signal -3 0 3 -2 -1 0 1 2 0 2 4 6 0.3 0.9 PD5PD6PD7PD8 0.3 0.9 0.3 0.9 0 10 - 10 (a) (b) PD5PD6 0.3 0.9 0.3 0.90.3 0.9 0.3 0.9 vabc(pu) iabc(pu) CL CE ZO 0 5 10 0 1 2 3 0 1 2 3 Trip Signal -3 0 3 0 2 4 6PD7PD8 Time (s) Time (s) Time (s) Time (s) Time (s) Time (s) Time (s) Time (s) Fig. 6.7 The analysed ring grid with 2 DG connected at buses 3 and 7 for CE-ZO algorithm, in case of (a) single-phase to ground fault at DL3, and (b) three-phase fault at DL4 Chapter 6 Analysis and test results of the proposed protection algorithms 102 Fig. 6.7 shows the CE-ZO algorithm with DG penetration when the fault at DL3, and DL4. The figure illustrates the behaviour of the fault location algorithms as seen in the first and second column of the third row; and the location algorithms as seen in the third and fourth column of the first row for CE, and the third and fourth column of the second row for ZO, for each figure. Also, the trip signal in both cases is shown in the last row of the figure. In the case of single-phase and three-phase faults, the fault classification algorithm (CL) gives 1 that is corresponds to a single-phase fault, and 10 that corresponds to a three-phase fault, respectively, as explained in chapter 5. In addition, when the fault is at DL3, the CE gives an output that corresponds to the location of the faulted line that equals 3; besides, when the fault is at DL4 the CE output will be 4. In the case of ZO, the output of each PD corresponds to the fault. Before the fault, the ZO output is 0, and during the fault, the ZO output is 1. Therefore, when there is a fault in DL3, PD5 and PD6 are tripped, and PD7 and PD8 are tripped if the fault occurs in DL4. Fig. 6.9 shows the behaviour of the system during symmetrical faults at DL4. The figure shows the abc voltages, currents, DPF, fault Classification ANN (CL), and centralized ANN (CE) of all the relays in the grid. As shown in the figure, all the relays will be able to identify the type of fault correctly by using the fault classifier ANN, then the fault location algorithm can locate the fault, and if the fault is permanent to disconnect the faulted part of the network. As shown, for the breakers in the faulted line (DL4), the DPF is changed at one end of the faulted line from (1 → 0), which means the fault is at this line. 6.1.2. LO protection algorithm The behaviour of the LO algorithm is tested in different scenarios to demonstrate the functionality of the protection scheme. Fig. 6.8 shows the flowchart of the tested cases presented in this chapter. LO algorithm No. Of DG influence (Fig. 6.13, Fig. 6.20) Fault type influence (Fig. 6.14, Fig. 6.16, Fig. 6.21, Fig. 6.23) Fault location influence (Fig. 6.15, Fig. 6.22, Fig. 6.17, Fig. 6.24, Fig. 6.18, Fig. 6.25) Grid configuration influence (Fig. 6.13, Fig. 6.14, Fig. 6.20, Fig. 6.17, Fig. 6.21, Fig. 6.18) Fault resistance influence (Fig. 6.13, Fig. 6.20) Fig. 6.8 Flowchart of the studied cases The idea is based on using only the data of each PD to identify the type and the location of the fault. Therefore, each relay should know that the fault is at its line or another line without knowing any information about the other relays. The data used for each relay is the sequence voltage or current of each relay, as shown in Fig. 6.10. For each type of fault, a different algorithm is implemented, as explained in chapter 5. The algorithm has been tested in different cases. Chapter 6 Analysis and test results of the proposed protection algorithms 109 A more precise interpretation of the LO with the recloser process (seen in Fig. 6.11), could be obtained from Fig. 6.16 and Fig. 6.17, when a symmetrical fault occurs at DL3 and an unsymmetrical faul is at DL4. These figures show the fault and trip signals in all the PDs connected to buses at the end of the faulted line. As seen in Fig. 6.16(a), the protection algorithm depends on the definite-time curve corresponding to the positive-sequence voltage. The fault signal at PD4 and PD5 is the same because they are connected to the same bus (bus 3). The same happens for PD6 and PD7 connected to bus 4. Fig. 6.16(b) shows the trip signals of the same PDs. It is shown that the two PDs connected to the same bus trip at the same time, in this case, PD6 and PD7 have the first disconnection because they have the same minimum positivesequence value, and PD4 and PD5 have the second disconnection because the positive-sequence value is higher than for the other two PDs (PD6 and PD7). After that, the recloser algorithm is applied by connecting PD6, which is exposed to the fault, so it trips again. After the disconnection of PD6, PD7 is connected, then PD7 is not exposed to the fault, and it does not trip. The previous conclusion can be obtained from Fig. 6.17, when an unsymmetrical fault occurs at DL4. The only difference is the protection algorithm in this case depends on the negative-sequence voltage. 0.4 0.5 0.6 0.7 0.8 t (s) 0 0.5 1 1.5 PD4 0.4 0.5 0.6 0.7 0.8 t (s) 0 0.5 1 1.5 PD5 0.4 0.5 0.6 0.7 0.8 t (s) 0 0.5 1 1.5 PD6 0.4 0.5 0.6 0.7 0.8 t (s) 0 0.5 1 1.5 PD7 Fault at DL3Fault at DL3 (a) 0.4 0.5 0.6 0.7 0.8 0 0.5 1 1.5 PD4 0.4 0.5 0.6 0.7 0.8 0 0.5 1 1.5 PD5 0.4 0.5 0.6 0.7 0.8 0 0.5 1 1.5 PD6 0.4 0.5 0.6 0.7 0.8 0 0.5 1 1.5 PD7 Trip DL3Trip DL3 t (s) t (s) t (s) t (s) (b) Fig. 6.16 Ring grid with 2 DGs during 3 ph (abc) at DL3, (a) fault, (b) trip. Chapter 6 Analysis and test results of the proposed protection algorithms 110 0.4 0.6 0.8 1 0 0.5 1 1.5 PD6 0.4 0.6 0.8 1 0 0.5 1 1.5 PD7 0.4 0.6 0.8 1 0 0.5 1 1.5 Fault at DL4 PD8 0.4 0.6 0.8 1 0 0.5 1 1.5 PD9 Fault at DL4 t (s) t (s) t (s) t (s) (a) 0.4 0.6 0.8 1 0 0.5 1 1.5 Trip at DL4 PD4 0.4 0.6 0.8 1 0 0.5 1 1.5 Trip at DL4 PD5 0.4 0.6 0.8 1 0 0.5 1 1.5 PD6 0.4 0.6 0.8 1 0 0.5 1 1.5 Trip at DL4 PD7 Trip at DL4 t (s) t (s) t (s)t (s) (b) Fig. 6.17 Ring grid with 2 DGs during 1 ph (BG) at DL4, (a) fault, (b) trip. The figures show in 3-D preview the patterns of fault and trip signals during symmeyrical fault in DL3 (Fig. 6.18(a)) and unsymmetrical fault in DL4 (Fig. 6.18(a)). The definition of the axises is considered as follow: x axis corresponds to the time evolution (t), y axis corresponds to the total number of PDs in the grid (PD), and z axis in the first colomn corresponds to the fault signal, and in the second colomn corresponds to the trip signal. For example, during symmetrical fault at DL3, the fault signals of PD4, PD5 go from 0 to 1 during the fault, as both of them have the same voltage. Then the recloser algorithm is applied, to diconnect PD5. The same idea is used for PD6 and PD7 to disconnect PD6. The trip signals of PD5 and PD6 equal 1; however, for the rest of the PDs in the grid the value equal 0 as the fault at DL3. Chapter 6 Analysis and test results of the proposed protection algorithms 111 0 10 1 Fault 0.8 PD 0.6 5 1 0.4 0.2 00 0 10 1 0.8 PD 0.6 5 1 0.4 0.2 00 0 10 1 0.8 PD 0.6 5 1 0.4 0.2 00 0 10 1 0.8 PD 0.6 5 1 0.4 0.2 00 Trip (a) (b) t (s) t (s) t (s) t (s) Fault Trip Fig. 6.18 ring grid with 2 DGs during (a) 3 ph (abc) at DL3, (b) 1 ph (BG) at DL4 Fig. 6.20, Fig. 6.21, and Fig. 6.22 show the abc voltages, abc currents, and trip signals for the radial grid shown in Fig. 6.19, with symmetrical and unsymmetrical faults at different locations. In order to analyse the effect of DG penetration on the analysed radial grid, Fig. 6.20 is presented during unsymmetrical faults occurred at DL1 and DL5. For example, during a single-phase to ground fault at DL5, both PDs (PD8, PD9) will trip simultaneously. Then, the recloser algorithm will be applied; in this case, PD9 is closed before PD8, because PD9 is exposed to the fault, then PD8 will be connected. The same idea is repeated between PD10 and PD11 to disconnect DL5. Fig. 6.21 illustrates the analysed radial grid with two DGs during symmetrical and unsymmetrical faults that occurred at DL3 and DL4, respectively. For example, in the case of a single-phase to ground fault, the negative-sequence voltage will be used, in this case, PD2 and PD3 will trip; then, the recloser algorithm is implemented to distinguish between PD2 and PD3, to disconnect the corresponding PDs at the faulted DL. The same methodology is used to disconnect the other end of the line between PD4 and PD5. Fig. 6.22 shows the behaviour of LO algorithm without DGs during unsymmetrical faults in different locations (DL1, and DL2). As seen, the LO is able to disconnect the appropriate PDs, which demonstrates the functionality of the LO. Grid Bus 2 Bus 3 Bus 4 DL1DL2 Load 2 (L2) Load 1 (L1) Load 3 (L3) Load 6 (L6) Load 4 (L4) Bus 6Bus 11 Bus 9 DL3DL6 DL4DL5 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 DG1 DG2 DG3 66 kV: 20kV Δ Y 20 kV: 400V Δ Y 20 kV: 400V Δ Y 20 kV: 400V Δ Y Zigzag Bus 1 Bus 5 Bus 10 Bus 7 Bus 8 Load 5 (L5) Fig. 6.19 Single line diagram of a radial DS with DG penetration Chapter 6 Analysis and test results of the proposed protection algorithms 112 PD8PD9 vabc (pu)iabc (pu) (a) PD10 PD11 -4 -2 0 2 4 -3 -1 1 3 0.4 0.6 0.8 1 0 0.5 1 1.5 0.4 0.6 0.8 1 0.4 0.6 0.8 1 0.4 0.6 0.8 1 Time (s) Time (s) Time (s) Time (s) Grid DG 1 DL 1 DL 2 DL 3DL 6 DL 4DL 5 1234 5 6 7 11 10 9 12 8 DG 2 Trip (pu) PD12 PD1 vabc (pu)iabc (pu) (b) PD2PD3 -4 -2 0 2 4 -3 -1 1 3 -10 -6 -2 2 6 10 -3 -1 1 3 -3 -1 1 3 0.4 0.5 0.6 0.7 0 0.5 1 1.5 0.4 0.5 0.6 0.7 0.4 0.5 0.6 0.7 0.4 0.5 0.6 0.7 Time (s) Time (s) Time (s) Time (s) Grid DL 1 DL 2 DL 3DL 6 DL 4DL 5 1234 5 6 7 11 10 9 12 8 Trip (pu) Fig. 6.20 abc voltages, abc currents, and trip signals for LO, with the analysed radial grid (a) with2 DGs during 1 ph to ground (AG) at DL5, (b) without DG during 2 ph (BC) at DL1 Chapter 6 Analysis and test results of the proposed protection algorithms 113 PD4PD5 vabc (pu)iabc (pu) (a) PD6PD7 -4 -2 0 2 4 0.4 0.5 0.6 0.7 0 0.5 1 1.5 -10 -6 -2 2 6 10 0.4 0.5 0.6 0.7 0.4 0.5 0.6 0.7 0.4 0.5 0.6 0.7 Time (s) Time (s) Time (s) Time (s) Grid DG 1 DL 1 DL 2 DL 3DL 6 DL 4DL 5 1234 5 6 7 11 10 9 12 8 DG 2 Trip (pu) PD6PD7 vabc (pu)iabc (pu) (b) PD8PD9 -4 -2 0 2 4 -3 -1 1 3 0.4 0.6 0.8 1 0 0.5 1 1.5 0.4 0.6 0.8 1 0.4 0.6 0.8 1 0.4 0.6 0.8 1 Time (s) Time (s) Time (s) Time (s) Grid DG 1 DL 1 DL 2 DL 3DL 6 DL 4DL 5 1234 5 6 7 11 10 9 12 8 DG 2 Trip (pu) Fig. 6.21 abc voltages, abc currents, and trip signals for LO, with the analysed radial grid (a) with 2 DGs during three-phase fault at DL3, (b) with 2 DGs during single-phase to ground fault (BG) at DL4 Chapter 6 Analysis and test results of the proposed protection algorithms 114 Grid DL 1 DL 2 DL 3DL 6 DL 4DL 5 1234 5 6 7 11 10 9 12 8 PD12 PD1 vabc (pu)iabc (pu) (a) PD2PD3 -4 -2 0 2 4 -3 -1 1 3 -10 -6 -2 2 6 10 -3 -1 1 3 -3 -1 1 3 0.4 0.5 0.6 0.7 0 0.5 1 1.5 0.4 0.5 0.6 0.7 0.4 0.5 0.6 0.7 0.4 0.5 0.6 0.7 Time (s) Time (s) Time (s) Time (s) Trip (pu) Grid DL 1 DL 2 DL 3DL 6 DL 4DL 5 1234 5 6 7 11 10 9 12 8 PD2PD3 vabc (pu)iabc (pu) (b) PD4PD5 -4 -2 0 2 4 -10 -6 -2 2 6 10 0.4 0.5 0.6 0.7 0.8 0 0.5 1 1.5 0.4 0.5 0.6 0.7 0.8 0.4 0.5 0.6 0.7 0.8 0.4 0.5 0.6 0.7 0.8 Time (s) Time (s) Time (s) Time (s) Trip (pu) Fig. 6.22 abc voltages, abc currents, and trip signals for LO, with the analysed radial grid (a) without DG during 2 ph (BC) at DL1, (b) without DG during two-phase to ground fault (ABG) at DL2 Chapter 6 Analysis and test results of the proposed protection algorithms 115 Fig. 6.23 shows the fault and trip signals patterns during a symmetrical fault in DL4 (Fig. 6.23(a)) and an unsymmetrical fault in DL4 (Fig. 6.23(a)). The 3-D figures show the patterns of each signal for all the PDs to notice the behaviour of each of them during the fault. For example, during symmetrical fault at DL3, the trip signal is turned ON (1) only for breakers PD5 and PD6, because the rest of the breakers will not trip as the fault at DL3. 0 10 1 0.8 PD 0.6 5 1 0.4 0.2 00 0 10 1 0.8 PD 0.6 5 1 0.4 0.2 00 0 10 1 0.8 PD 0.6 5 1 0.4 0.2 00 Fault Trip (a) (b) 0 10 1 0.8 PD 0.6 5 1 0.4 0.2 00 Fault Trip t(s) t(s) t(s) t(s) Fig. 6.23 Radial grid with 2 DGs during (a) 3 ph (abc) at DL3, (b) 1 ph (BG) at DL4 Fig. 6.24 and Fig. 6.25 show the fault and trip signals in all the PDs connected to buses at the end of the faulted line (DL3 in Fig. 6.24 and DL4 Fig. 6.25) for the radial grid shown in Fig. 6.19. For example, when a three-phase fault occurs at DL3 (Fig. 6.24(a)), the LO algorithm depends on the definite-time curve corresponds to the positive-sequence voltage at PD4 and PD5, so both of them will trip at the same time and the recloser algorithm is applied to disconnect the appropriate PD. The same methodology is used to disconnect the other end of the line between PD6 and PD7. Fig. 6.25 shows the trip signals of the four PDs connected to buses at the end of DL4, as seen, both PDs connected to the same bus trip at the same time, then the recloser algorithm is applied to disconnect the corresponding PD. In this case, the only difference is that the protection algorithm depends on the negative-sequence voltage, as the fault is unsymmetrical. Chapter 6 Analysis and test results of the proposed protection algorithms 116 0.4 0.5 0.6 0.7 0.8 t (s) 0 0.5 1 1.5 Fault at DL3 PD4 0.4 0.5 0.6 0.7 0.8 0 0.5 1 1.5 PD5 0.4 0.5 0.6 0.7 0.8 0 0.5 1 1.5 PD6 0.4 0.5 0.6 0.7 0.8 0 0.5 1 1.5 PD7 Fault at DL3 t (s) t (s) t (s) (a) 0.4 0.5 0.6 0.7 0.8 0 0.5 1 1.5 Trip at DL3 PD4 0.4 0.5 0.6 0.7 0.8 0 0.5 1 1.5 Trip at DL3 PD5 0.4 0.5 0.6 0.7 0.8 0 0.5 1 1.5 PD6 0.4 0.5 0.6 0.7 0.8 0 0.5 1 1.5 Trip at DL3 PD7 Trip at DL3 t (s) t (s) t (s) t (s) (b) Fig. 6.24 Radial grid with 2 DGs during 3 ph (abc) at DL3, (a) fault, (b) trip. Chapter 6 Analysis and test results of the proposed protection algorithms 117 0.4 0.6 0.8 1 0 0.5 1 1.5 Fault at DL4 PD6 0.4 0.6 0.8 1 0 0.5 1 1.5 Fault at DL4 PD7 0.4 0.6 0.8 1 0 0.5 1 1.5 PD8 0.4 0.6 0.8 1 0 0.5 1 1.5 Fault at DL4 PD9 Fault at DL4 t (s) t (s) t (s) t (s) (a) 0.4 0.6 0.8 1 0 0.5 1 1.5 Trip at DL4 PD4 0.4 0.6 0.8 1 0 0.5 1 1.5 Trip at DL4 PD5 0.4 0.6 0.8 1 0 0.5 1 1.5 PD6 0.4 0.6 0.8 1 0 0.5 1 1.5 Trip at DL4 PD7 Trip at DL4 t (s) t (s) t (s) t (s) (b) Fig. 6.25 Radial grid with 2 DGs during 1 ph (BG) at DL4, (a) fault, (b) trip. 6.2. Comparative study A fair comparison between the proposed protection scheme and conventional protection techniques (OCR and DR) has been presented using MATLABTM SIMULINK to show the proposed protection scheme’s preponderance and emphasize the importance of the proposed protection scheme. The OCR and DR explained in [170] are used to compare classical protection schemes and the proposed protection scheme. The grid used to make the comparison is shown in Fig. 6.26. The flowchart of the tested cases presented in this section is shown in Fig. 6.27. Chapter 6 Analysis and test results of the proposed protection algorithms 118 Grid Bus 2 Bus 3 Bus 4 DL1DL2 Load 2 (L2) Load 1 (L1) Load 3 (L3) Load 6 (L6) Load 4 (L4) Bus 6Bus 11 Bus 9 DL3DL6 DL4DL5 PD1PD2PD3PD4 PD5 PD6 PD7 PD11 PD10 PD9 PD12 PD8 DG1 DG2 DG3 66 kV: 20kV Δ Y 20 kV: 400V Δ Y 20 kV: 400V Δ Y 20 kV: 400V Δ Y Zigzag Bus 1 Bus 5 Bus 10 Bus 7 Bus 8 Load 5 (L5) Fig. 6.26 Single line diagram of a radial DS with DG penetration Protection algorithms verification No. Of DG influence (Fig. 6.28, Fig. 6.30) Fault type influence (Fig. 6.29) Fault location influence (Fig. 6.29) Fig. 6.27 Flowchart of the studied cases The OCR, DR, and CE-ZO protection strategies have been tested for several DG penetrations, loads, fault resistance, fault type, and fault location. The analysis of OCR, DR, and CE-ZO protection algorithms’ behaviour is shown for the grid represented in Fig. 6.19. The currents at both ends of DL3 have been presented in Fig. 6.28 for the three protection strategies. Fig. 6.28(a) shows the case with 2 DGs, Fig. 6.28(b) with 1 DG, and Fig. 6.28(c) without DG, respectively. These results correspond to a three-phase fault in DL3 with a value of the fault resistance of 0.1Ω. Fig. 6.28(a) shows the fault currents if two DGs are located at buses 4 and 6, respectively. It can be concluded that the DR and CE-ZO protection strategies can disconnect fast the faulted part of the system, and in the cases of OCR and DR, the relay settings have to be updated if there is any change in DG penetration or grid configuration. For the OCR and DR protection strategies, the relay settings used to obtain Fig. 6.28 are shown in Table 6.4 and Table 6.5. For the DR and CE-ZO protection strategies, the fault is cleared very fast (≈ half a period); however, as shown in Fig. 6.28(a), the disconnection is faster in the CE-ZO controller than DR because for DR the trip signal depends on the differential current value, while CE-ZO protection strategy depends on the criteria of power flow direction.