Libya - Supporting Electricity Sector Reform (P154606) Contract No. 7181909 - Task D: Strategic Plan for Renewable Energy Development Grid Code for Renewable Sources 12th December 2017 Client: The World Bank 1818 H Street, N.W. Washington, DC 20433 Consultant: GOPA-International Energy Consultants GmbH Justus-von-Liebig-Str. 1, 61352 Bad Homburg, Germany Phone: +49-6172-1791-800; Fax: +49-6172-944 95 20 eMail: info@gopa-intec.de; www.gopa-intec.de Suntrace GmbH Grosse Elbstrasse 145c, 22767 Hamburg, Germany Phone: +49-40-767 96 38 0; Fax: +49-40-767 96 38 20 www.suntrace.de -1- Table of Contents Page Summary 1 1. Introduction 2 2. Glossary and Definitions 3 3. Connection Requirements 9 3.1 General Requirements for Power Generating Modules 9 3.1.1 Requirements for Type A Power Generating Modules 11 3.1.2 General Requirements for Type B Power Generating Modules 14 3.1.3 General Requirements for Type C Power Generating Modules 19 3.1.4 General Requirements for Type D Power Generating Modules 27 3.2 Requirements for Synchronous Power Generating Modules 30 3.2.1 Requirements for Type B Synchronous Power Generating Modules 30 3.2.2 Requirements for Type C Synchronous Power Generating Modules 30 3.2.3 Requirements for Type D Synchronous Power Generating Modules 32 3.3 Requirements for Power Park Modules 33 3.3.1 Requirements for Type B Power Park Modules 33 3.3.2 Requirements for Type C Power Park Modules 34 3.3.3 Requirements for Type D Power Park Modules 38 4. Operational Notification Procedure for Connection 39 4.1 Operation Notification Procedure for Connection of New Power Generating Modules 39 4.1.1 Provisions for Type A Power Generating Modules 39 4.1.2 Provisions for Type B, C and D Power Generating Modules 39 4.1.2.1 Additional Provisions for Type B and C Power Generating Modules 40 4.1.2.2 Additional Provisions for Type D Power Generating Modules 40 4.2 Operational Notification Procedure for Existing Power Generating Modules 51 5. Compliance 54 5.1 Compliance Monitoring 54 5.1.1 Responsibility of the Power Generating Facility Owner 54 5.1.2 Tasks of the System Operator 54 5.1.3 Common Provisions on Compliance Testing 55 5.1.4 Common Provisions on Compliance Simulations 58 5.2 Compliance Testing for Synchronous Power Generating Modules 59 5.2.1 Compliance Tests for Type B Synchronous Power Generating Modules 59 5.2.2 Compliance Tests for Type C Synchronous Power Generating Modules 60 5.2.3 Compliance Tests for Type D Synchronous Power Generating Modules 62 5.3 Compliance Testing for Power Park Modules 62 5.3.1 Compliance Tests for Type B Power Park Modules 62 5.3.2 Compliance Tests for Type C Power Park Modules 63 5.3.3 Compliance Tests for Type D Power Park Modules 66 5.4 Compliance Simulations for Synchronous Power Generating Modules 66 Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx -2- Table of Contents Page 5.4.1 Compliance Simulations for Type B Synchronous Power Generating Modules 66 5.4.2 Compliance Simulations for Type C Synchronous Power Generating Modules 67 5.4.3 Compliance Simulations for Type D Synchronous Power Generating Modules 68 5.5 Compliance Simulations for Power Park Modules 69 5.5.1 Compliance Simulations for Type B Power Park Modules 69 5.5.2 Compliance Simulations for Type C Power Park Modules 70 5.5.3 Compliance Simulations for Type D Power Park Modules 71 6. Power Quality 72 6.1 Harmonics 72 6.2 Voltage Variation 73 6.2.1 Voltage Fluctuation 73 6.2.2 Voltage Unbalance 73 6.3 Frequency Variation 74 6.4 Measuring the Quality of Delivered Electric Power 74 7. Non-Compliance 75 7.1 Derogations 75 7.1.1 Request for Derogation 75 7.1.2 Decision on Derogation 76 7.1.3 Compliance of Existing Power Generating Modules 77 List of Figures Figure 3-1: Active Power Frequency Response capability of Power Generating Modules in LFSM- O Figure 3-2: Maximum power capability reduction with falling Frequency. The diagram represents the boundaries defined by the System Operator Figure 3-3: Fault-ride-through profile of a Power Generating Module. The diagram represents the lower limit of a voltage-against-time profile by the Voltage at the Interconnection Point, expressed by the ratio of its actual value and its nominal value per unit before, during and after a fault. Figure 3-4: Active Power Frequency Response capability of Power Generating Modules in LFSM- U Figure 3-5: Active Power Frequency Response capability of Power Generating Modules in FSM illustrating the case of zero deadband and insensitivity Figure 3-6: Active Power Frequency Response capability Figure 3-7: U-Q/Pmax-profile of a Synchronous Power Generating Module. The diagram represents boundaries of a U-Q/Pmax-profile by the Voltage at the Interconnection Point, expressed by the ratio of its actual value and its nominal value per unit, against the ratio of the Reactive Power (Q) and the Maximum Capacity (P max). The position, size and shape of the inner envelope are indicative. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx -3- Figure 3-8: U-Q/Pmax-profile of a Power Park Module. The diagram represents boundaries of a U- Q/Pmax-profile by the Voltage at the Interconnection Point, expressed by the ratio of its actual value and its nominal value per unit, against the ratio of the Reactive Power (Q) and the Maximum Capacity (Pmax). The position, size and shape of the inner envelope are indicative. Figure 3-9: P-Q/Pmax-profile of a Power Park Module. The diagram represents boundaries of a P- Q/Pmax-profile at the Interconnection Point by the Active Power, expressed by the ratio of its actual value and the Maximum Capacity per unit, against the ratio of the Reactive Power (Q) and the Maximum Capacity (Pmax). The position, size and shape of the inner envelope are indicative. List of Tables Table 3-1: Parameters for Figure 3-3 for fault-ride-through capability of Synchronous Power Generating Modules Table 3-2: Parameters for Figure 3-3 for fault-ride-through capability of Power Park Modules Table 3-3: Parameters for Active Power Frequency Response in FSM (explanation for Figure 3-5) Table 3-4: Parameters for full activation of Active Power Frequency Response resulted from Frequency step change (explanation for Figure 3-6) Table 3-5: Minimum time periods a Power Generating Module shall be capable of operating for Voltages deviating from the nominal value at the Interconnection Point without disconnecting from the Network. (The Voltage base for p.u. values is from 66 kV to 220 kV) Table 3-6: Minimum time periods a Power Generating Module shall be capable of operating for Voltages deviating from the nominal value at the Interconnection Point without disconnecting from the Network. (The Voltage base for p.u. values is 400 kV) Table 3-7: Parameters for Figure 3-3 for fault-ride-through capability of Synchronous Power Generating Modules Table 3-8: Parameters for Figure 3-3 for fault-ride-through capability of Power Park Modules Table 6-1: Planning levels for harmonic voltages (in percent of the fundamental voltage) for system rated voltages above 1 kV Table 6-2: Compatibility levels for individual harmonic voltages in power systems up to 33 kV Table 6-3: Planning levels for flicker for system rated voltages above 1 kV Table 6-4: Compatibility levels for flicker in voltage systems up to 400 V Table 6-5: Planning levels for voltage unbalance for system rated voltages above 1 kV Table 6-6: Compatibility levels for voltage unbalance in power systems up to 33 kV Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx -4- List of Abbreviations AVR Automatic Voltage Regulator CT Current transformer EON Energisation Operational Notification FON Final Operational Notification FSM Frequency Sensitive Mode HV High Voltage IEEE Institute of Electrical and Electronics Engineers intec GOPA-International Energy Consultants GmbH ION Interim Operational Notification km Kilometre kV Kilovolt kVA Kilovolt amp kWh Kilowatt hour LFSM-O Limited Frequency Sensitive Mode - Overfrequency LFSM-U Limited Frequency Sensitive Mode - Underfrequency LON Limited Operational Notification LOP List of Open Points LV Low Voltage MV Medium Voltage O&M Operations and Maintenance PGMD Power Generating Module Document PPM Power Park Module PSS Power System Stabilizer TSO Transmission System Operator Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx -1- GENERAL REMARK: THIS SUMMARY IS NOT PART OF THE GRID CODE. IT DESCRIBES THE GENERAL BACKGROUND AND APPROACH AND GIVES AN OVERVIEW. BEFORE PUBLISHING THIS GRID CODE, THIS PAGE NEEDS TO BE REMOVED. Summary Initially, the Consultant task was to develop a grid code document for connecting such onshore re- newable energy projects to the Libyan power system, which we considered in other parts of the project as well. The grid code document needs to regulate a number of topics for the conventional power plants as well as it would be the first Grid Code for generator units in the Libya. The task is extended and prepared such grid code document including conventional power plants with an intention to har- monize technical requirements for renewable and conventional power plants. For the Libya case, a transition into a liberal market will take place, which organises utilities from the unique, state-owned electricity utility that is vertical structured into a bigger number of market partners. On a liberal market, there are then many stakeholders interested in power system expansions. Grid Code is a document which defines transparently and not discriminatory technical requirements as rules for all participants on the market. Thus, Grid Code should not be developed for certain projects. Grid Code shall be a common and public document for all participants on the market. For the Libya case, Grid Code represents a connection code for generation unit types. Grid Code in this report is based on ENTSO-E grid code and as such it represents the state-of-art of technical re- quirements for all types of generation units. ENSO-E is one of the strongest associations of power system operators in the world, that gathers 43 operators from 36 countries with developed and emerg- ing economy. The Grid Code will continuously undergo updates. Therefore, Grid Code in this report provides good guidelines for future development. Keeping in mind future interconnection between EN- TSO-E network and Libyan network, it has to be emphasised that all national power system operators connected to ENTSO-E network are obliged to follow rules defined by ENTSO-E. Voltage deviations have local character, while frequency deviation affects entire synchronous zone that can be caused by renewable sources penetration. Therefore, Grid Code has to define connection requirements for all voltage levels. All generation units can be classified in four generation groups ( Type A, Type B, Type C, and Type D) in accordance with rated capacity and voltage level connection. Connection requirements for all four types of generation units are divided in five main chapters:  Connection requirements chapter defines technical requirements;  Operational Notification Procedure for Connection chapter defines procedures for each con- nection phase. The number of connection phases depends on generation group. Operation Notification templates for Type D generation unis are provided in the report;  Compliance monitoring, testing and simulations are defined in chapter Compliance;  Power quality requirements for disturbing equipment, such as inverter based generation unit, is defined in chapter Power Quality; and  Derogations for existing or new generation units, that cannot satisfy connection requirements defined in previous chapter, are define in chapter Non-Compliance. Finally, before publishing this general layout for a Grid Code in Libya, the local TSO needs to fine-tune on a few occasions. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx -2- 1. Introduction This Connection Code defines a common framework of grid connection standards of Power Generat- ing Facilities, including Synchronous Power Generating Modules and Power Park Modules. It also de- fines a common framework of obligations for System Operator to appropriately make use of the Power Generating Facilities’ capabilities in a transparent and non -discriminatory manner ensuring a level- playing field throughout the Libya. The requirements established in this Connection Code and their applications are based on the principle of non-discrimination and transparency as well as the principle of optimisation between the highest overall efficiency and lowest total cost for all involved parties. This Connection Code is made considering: 1. ENTSO-E Connection Code, 2013 [EU]; 2. IEC/TR 61000-3-6; 3. IEC/TR 61000-3-7; 4. IEC/TR 61000-3-13; 5. EN 50160. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx -3- 2. Glossary and Definitions For the purpose of this Connection Code, the following definitions shall apply: Active Power - is the real component of the Apparent Power at fundamental Frequency, expressed in watts or multiples thereof (e.g. kilowatts (kW) or megawatts (MW)). Active Power Frequency Response - is an automatic response of Active Power output from a Power Generating Module, in response to a change in system Frequency from the nominal system Frequen- cy. Alternator - is a device that converts mechanical energy into electrical energy by means of a rotating magnetic field. Ancillary Services - refer to a range of functions, which the System Operator contracts in order to guarantee system security. They include black start capability; frequency response; fast reserve; the provision of reactive power and other services. Apparent Power - is the product of Voltage and Current at fundamental Frequency. It is usually ex- pressed in kilovolt-amperes (kVA) or megavolt-amperes (MVA) and consists of a real component (Ac- tive Power) and an imaginary component (Reactive Power). Automatic Voltage Regulator (AVR) - is the continuously acting automatic equipment controlling the terminal Voltage of a Synchronous Power Generating Module by comparing the actual terminal Volt- age with a reference value and controlling by appropriate means the output of an Excitation System, depending on the deviations. Authority – is the National Regulatory Authority or similar state organised body to do administration of power system and market operation Black Start Capability - is the capability of recovery of a Power Generating Module from a total shut- down through a dedicated auxiliary power source without any energy supply which is external to the Power Generating Facility. Closed Distribution System Operator (CDSO) - is a natural or legal person operating, ensuring the maintenance of and, if necessary, developing a closed distribution Network. Compliance Monitoring - is the process to verify that the (technical) capabilities of Power Generating Modules are maintained compliant by the Power Generating Facility Owner with the specifications and requirements of this Connection Code. Compliance Simulation - is the process to verify that Power Generating Modules are compliant with the specifications and requirements of this Connection Code, for example before starting their opera- tion. The verification should include, inter alia, the revision of documentation, the verification of the re- quested capabilities of the Power Generating Module by simulation studies and the revision against actual measurements. Compliance Testing - is the process to verify that Power Generating Modules are compliant with the specifications and requirements of this Connection Code, for example before starting their operation. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx -4- The verification includes, inter alia, the revision of documentation, the verification of the requested ca- pabilities of the Power Generating Module by practical tests. Connection Agreement - is a contract between the System Operator and the Power Generating Fa- cility Owner which includes the relevant site and technical specific requirements for the Power Gener- ating Facility. Control Area - is a part of the interconnected electricity transmission system controlled by a single TSO. Current - unless stated otherwise, Current refers to the root-mean-square value of the positive se- quence of the phase Current at fundamental Frequency. Derogation - is a time limited or indefinite (as specified) acceptance in writing of a non-compliance of a Power Generating Module with regard to identified requirements of this Connection Code. Droop - is the ratio of the steady-state change of Frequency (referred to nominal Frequency) to the steady-state change in power output (referred to Maximum Capacity). Distribution System Operator (DSO) - is a natural or legal person responsible for operating, ensur- ing the maintenance of and, if necessary, developing the distribution Network in a given area and, where applicable, its interconnections with other Networks and for ensuring the long-term ability of the Network to meet reasonable demands for the distribution of electricity. Energisation Operational Notification (EON) - is a notification issued by the System Operator to a Power Generating Facility Owner prior to energisation of its internal Network. An EON entitles the Power Generating Facility Owner to energise its internal Network by using the grid connection. Equipment Certificate - is a document issued by an Authorised Certifier for equipment used in Power Generating Modules confirming performance in respect of the requirements of this Connection Code. In relation to those parameters, for which this Connection Code defines ranges rather than definite values, the Equipment Certificate shall define the extent of its validity. This will identify its validity at a national or other level at which a specific value is selected from the range allowed at a Libya level. The Equipment Certificate can additionally include models confirmed against test results for the purpose of replacing specific parts of the compliance process for Type B, C and D Power Generating Modules. The Equipment Certificate will have a unique number allowing simple reference to it in the Installation Document or the Power Generating Module Document. Excitation System - is the equipment providing the field Current of a synchronous electrical machine, including all regulating and control elements, as well as field discharge or suppression equipment and protective devices. Existing Power Generating Module - is a Power Generating Module, which is not a New Power Generating Module. Evacuation Distance - is the line length between the Power Generating Facility and the Interconnec- tion Point. Final Operational Notification (FON) - is a notification issued by the System Operator to a Power Generating Facility Owner confirming that the Power Generating Facility Owner is entitled to operate Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx -5- the Power Generating Module by using the grid connection because compliance with the technical de- sign and operational criteria has been demonstrated as referred to in this Connection Code. Frequency - is the Frequency of the electrical power system that can be measured in all Network are- as of the synchronous system under the assumption of a coherent value for the system in the time frame of seconds (with minor differences between different measurement locations only); its nominal value is 50 Hz. Frequency Control - is the capability of a Power Generating Module to control speed by adjusting the Active Power Output in order to maintain stable system Frequency (also acceptable as speed control for Synchronous Power Generating Modules). Frequency Response Deadband - is used intentionally to make the Frequency Control not respon- sive. In contrast to (in) sensitivity, deadband has an artificial nature and basically is adjustable. Frequency Response Insensitivity - is the inherent feature of the control system defined as the min- imum magnitude of the Frequency (input signal) which results in a change of output power (output signal). Frequency Sensitive Mode (FSM) - is a Power Generating Module operating mode which will result in Active Power output changing, in response to a change in System Frequency, in a direction which assists in the recovery to Target Frequency, by operating so as to provide Frequency Response. House load Operation - in case of Network failures resulting in disconnection of Power Generating Modules from the Network and being tripped onto their auxiliary supplies, house-load operation en- sures that Power Generating Facilities are able to continue to supply their in-house loads. Inertia - is the fact that a rotating rigid body such as an Alternator maintains its state of uniform rota- tional motion. Its angular momentum is unchanged, unless an external torque is applied. In the context of this code, this definition refers to the technologies for which Alternator speed and system Frequency are coupled. Installation Document - is a simple structured document (data/tick sheet) containing information about a Type A Power Generating Module and confirming compliance with the relevant requirements of this Connection Code. The blank Installation Document shall be available from the System Operator for the Type A Power Generating Facility Owner or alternatively the site installer on the owner’s behalf to fill in and submit to the System Operator. Instruction - is a command given orally, manually or by automatic remote control facilities, e. g. a Setpoint, from a System Operator to a Power Generating Facility Owner in order to perform an action. Interconnection Point - is the interface at which the Power Generating Module is connected to a transmission, distribution or closed distribution Network as identified in the Connection Agreement. Interim Operational Notification (ION) - is a notification issued by the System Operator to a Power Generating Facility Owner confirming that the Power Generating Facility Owner is entitled to operate the Power Generating Module by using the grid connection for a limited period of time and to under- take compliance tests to meet the technical design and operational criteria of this Connection Code. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx -6- Island Operation - is the independent operation of a whole or a part of the Network that is isolated af- ter its disconnection from the interconnected system, having at least one Power Generating Module supplying power to this Network and controlling the Frequency and Voltage. Limited Frequency Sensitive Mode – Overfrequency (LFSM-O) - is a Power Generating Module operating mode which will result in Active Power output reduction in response to a change in System Frequency above a certain value. Limited Frequency Sensitive Mode – Underfrequency (LFSM-U) - is a Power Generating Module operating mode which will result in Active Power output increase in response to a change in System Frequency below a certain value. Limited Operational Notification (LON) - is a notification issued by the System Operator to a Power Generating Facility Owner which has previously reached FON status, but is temporarily subject to ei- ther a significant modification or loss of capability which has resulted in non-compliance to the Con- nection Code. Maximum Capacity - is the maximum continuous Active Power which a Power Generating Module can feed into the Network as defined in the Connection Agreement or as agreed between the System Operator and the Power Generating Facility Owner. It is also referred to in this Connection Code as Pmax. Minimum Regulating Level - is the minimum Active Power as defined in the Connection Agreement or as agreed between the System Operator and the Power Generating Facility Owner that the Power Generating Module can regulate down to and can provide Active Power control. Minimum Stable Operating Level - is the minimum Active Power as defined in the Connection Agreement or as agreed between the System Operator and the Power Generating Facility Owner, at which the Power Generating Module can be operated stably for unlimited time. Network - is plant and apparatus connected together in order to transmit or distribute electrical power. System Operator - is an entity that operates a Network. New Power Generating Module - is a Power Generating Module, for which  with regard to the provisions of the initial version of this Connection Code, a final and binding con- tract of purchase of the main plant has been signed after the day, which is two years after the day of the entry into force of this Connection Code, or,  with regard to the provisions of the initial version of this Connection Code, no confirmation is pro- vided by the Power Generating Facility Owner, with a delay not exceeding thirty months as from the day of entry into force of this Connection Code, that a final and binding contract of purchase of the main plant exists prior to the day, which is two years after the day of the entry into force of this Connection Code, or,  with regard to the provisions of any subsequent amendment to this Connection Code and/or after any change of thresholds pursuant to the re-assessment procedure of Chapter 3.1(6), a final and binding contract of purchase of the main plant has been signed after the day, which is two years after the entry into force of any subsequent amendment to this Connection Code and/or after the entry into force of any change of thresholds pursuant to the re-assessment procedure of Chapter 3.1(6). Overexcitation Limiter - is a control device within the AVR which prevents the rotor of an Alternator from overload by limiting the excitation Current. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx -7- Power Factor - is the ratio of Active Power to Apparent Power. Power Generating Facility - is a facility to convert primary energy to electrical energy which consists of one or more Power Generating Modules connected to a Network at one or more Interconnection Points. Power Generating Facility Owner - is a natural or legal entity owning a Power Generating Facility. Power Generating Module - is either a  Synchronous Power Generating Module, or  a Power Park Module. Power Generating Module Document (PGMD) - is a document issued by the Power Generating Fa- cility Owner to the Relevant System Operator for a Type B or C Power Generating Module. The PGMD is intended to contain information confirming that the Power Generating Module has demon- strated compliance with the technical criteria as referred to in this Connection Code and provided the necessary data and statements including a Statement of Compliance. Power Generation Modules with substantial local load - are considered to regularly operate in par- allel with the national grid but additionally largely supply the requirements of localized industrial or do- mestic loads in the project area. Consequently, the power plant, load and generation capacity consid- ered together, results into either a net import or net export electrical energy to and/or from the national grid. Power Generation Modules with minimal local loads - are considerably built to harness a source of energy. Power Park Module (PPM) - is a unit or ensemble of units generating electricity, which  is connected to the Network non-synchronously or through power electronics, and  has a single Interconnection Point to a transmission, distribution or closed distribution Network. Power System Stabilizer (PSS) - is an additional functionality of the AVR of a Synchronous Power Generating Module with the purpose of damping power oscillations. P-Q-Capability Diagram - describes the Reactive Power capability of a Power Generating Module in context of varying Active Power at the Interconnection Point. Reactive Power - is the imaginary component of the Apparent Power at fundamental Frequency, usually expressed in kilovar (kvar) or megavar (Mvar). Secured Fault - is defined as a fault, which is successfully cleared by Network protection according to the System Operator’s planning criteria. Setpoint - is a target value for any parameter typically used in control schemes. Significant Power Generating Module - is a Power Generating Module which is deemed significant on the basis of its impact on the cross-border system performance via influence on the control area’s security of supply, which is identified according to the criteria set forth in this Connection Code and falls within one of the categories provided in Chapter 3.1(6). Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx -8- Slope - is the ratio of the change in Voltage, based on nominal Voltage, to a change in Reactive Pow- er infeed from zero to maximum Reactive Power, based on maximum Reactive Power. Statement of Compliance - is a document provided by the Power Generating Facility Owner to the System Operator stating the current status with respect to compliance itemised for each relevant ele- ment of this Connection Code. Steady-State Stability - if the Network or a Synchronous Power Generating Module previously in the steady-state reverts to this state again following a sufficiently minor disturbance, it has Steady-State Stability. Statement of Completeness (SOC) - means a statement indicating that SYSTEM OPERATOR is sat- isfied that the Power Generating Facility Owner Equipment is Compliant and requesting the Affected Network Owners to agree to the issue of the FON. Statement of Readiness (SOR) - means a statement from a User indicating that User Equipment is ready to be energised or synchronised, as appropriate. Synchronous Compensation Operation - is the operation of an Alternator without prime mover to regulate Voltage dynamically by production or absorption of Reactive Power. Synchronous Power Generating Module - is an indivisible set of installations which can generate electrical energy. It is either  a single synchronous unit generating power within a Power Generating Facility directly connected to a transmission, distribution or closed distribution Network, or  an ensemble of synchronous units generating power within a Power Generating Facility directly connected to a transmission, distribution or closed distribution Network with a common Intercon- nection Point, or  an ensemble of synchronous units generating power within a Power Generating Facility directly connected to a transmission, distribution or closed distribution Network that cannot be operated independently from each other (e. g. units generating in a combined-cycle gas turbine facility). Synthetic Inertia - is a facility provided by a Power Park Module to replicate the effect of Inertia of a Synchronous Power Generating Module to a prescribed level of performance. System Operator - is the operator of the Network to which a Power Generating Module is or will be connected. U-Q/Pmax-profile - is a profile representing the Reactive Power capability of a Power Generating Mod- ule in context of varying Voltage at the Interconnection Point. Underexcitation Limiter - is a control device within the AVR, the purpose of which is to prevent the Alternator from losing synchronism due to lack of excitation. Voltage - unless stated otherwise, Voltage refers to the root-mean-square value of the positive se- quence of the phase-to-phase Voltages at fundamental Frequency. According to IEV 601-01-28 the boundaries between the various voltage levels are:  low voltage (LV) refers to 230 V and 400 V;  medium voltage (MV) refers to 11 kV and 30 kV;  high voltage (HV) refers to 66 kV, 132 kV and 220 kV;  extra high voltage (EHV) refers to 400 kV. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx -9- 3. Connection Requirements 3.1 General Requirements for Power Generating Modules 1. The requirements set forth by this Connection Code shall apply to New Power Generating Mod- ules in Libya. 2. The requirements set forth by this Connection Code shall apply to Existing Power Generating Modules in Libya, to the extent their applicability has been decided by the Authority, and if this has been proposed by the System Operator, following a public consultation. The proposal by the Sys- tem Operator shall be made in particular on the basis of a sound and transparent quantitative Cost-Benefit Analysis, including the costs of requiring compliance that shall demonstrate the so- cio-economic benefit of application of the requirements set forth by this Connection Code to Exist- ing Power Generating Modules. The System Operator shall have the right to re-assess, in case of factual change such as the evolution of system requirements, the applicability of the requirements set forth by this Connection Code to Existing Power Generating Modules regularly, but not more often than every three years. The System Operator shall notify the launch of the procedure for re- assessment on its website. The date of notification on the website shall constitute the first day of the launch of the procedure for re-assessment. A public consultation shall be conducted in the frame of the procedure for re-assessment. Prior to the System Operator carrying out the quantita- tive Cost-Benefit Analysis an initial qualitative comparison of costs and benefits shall be undertak- en in order to determine the cases of sizes of Power Generating Modules or types of Power Gen- erating Modules or locations of Power Generating Modules or clauses of this Connection Code for which there may be a viable case for application to Existing Power Generating Modules. Where this preparatory stage demonstrates that a subsequent analytical Cost-Benefit Analysis has a rea- sonable prospect of demonstrating positive cost-benefit, the System Operator may proceed with the full transparent quantitative Cost-Benefit Analysis. Where the preparatory stage or later stage demonstrate that applicability of the Connection Code to Existing Power Generating Modules is not required no further action is to be undertaken. 3. Existing Power Generating Modules not covered by Chapter 3.1(2) shall continue to be bound by such technical requirements that apply to them pursuant to legislation in force in Libya or contrac- tual arrangements in force. Should national legislation be repealed or cease to be in force, the Ex- isting Power Generation Module not covered by Chapter 3.1(2) shall continue to be bound by such technical requirements that applied to it pursuant to the respective national legislation such as it was the day prior to it ceasing to be in force. 4. With regard to Power Generating Modules not yet connected to the Network: a) Within a delay not exceeding thirty months as from the day of entry into force of this Connec- tion Code, the Power Generating Facility Owner shall provide the System Operator with a con- firmation of final and binding contracts it has concluded for the construction, assembly or pur- chase of the main plant of a Power Generating Module with relevance to the provisions of this Connection Code and which exists prior to the day, which is two years after the day of entry into force of this Connection Code. b) The confirmation shall at least indicate the contract title, its date of signature and of entry into force, and the specifications of the main plant to be constructed, assembled or purchased. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 10 - c) The System Operator may demand that the Authority confirms the existence, relevance and finality of such a contract, i.e. that its material terms can no longer be changed by one of the parties to the contract unilaterally and that no party to the contract has the right to terminate it at will. The Power Generating Facility Owner shall supply the Authority with all documents the Authority requests in order to ascertain that a binding and final contract exists. d) The Power Generating Module shall be considered as an Existing Power Generating Module, provided that: 1) In accordance with Chapter 3.1(4) (a) and (b) above, the System Operator is provided with sufficient evidence of the existence of binding and final contracts for the construction, assembly or purchase of the main plant of a Power Generating Module prior to the day, which is two years after the day of entry into force of this Connection Code; or 2) Following the verification performed by the Authority in accordance with Chapter 3.1(4) (c), it is ascertained that binding and final contracts for the construction, assembly or pur- chase of the main plant of a Power Generating Module exist prior to the day, which is two years after the day of entry into force of this Connection Code. e) In case the Power Generating Facility Owner does not provide the System Operator with the confirmation within the delay set forth in Chapter 3.1(4) (a), the Power Generating Module shall be considered as a New Power Generating Module. 5. The applicability and extent of the requirements a Power Generating Module has to comply with depends on the Voltage Level of its Interconnection Point and its Maximum Capacity according to the categories defined below. 6. Power Generating Modules which are considered to be Significant Power Generating Modules within the scope of this Connection Code are categorized as follows: a) A Power Generating Module is of Type A if its Interconnection Point is below or equal 1 kV or 11 kV and its Capacity is 0.8 kW or more. Requirements applicable to Type A Power Generat- ing Modules are the basic level requirements, necessary to ensure capability of generation over operational ranges with limited automated response and minimal system operator control of generation. They ensure there is no wide scale loss of generation over system operational ranges, thereby minimizing critical events, and include requirements necessary for wide spread intervention during system critical events. b) A Power Generating Module is of Type B if its Interconnection Point is below or equal 66 kV and its Capacity is 0.2 MW or more. The definition of the threshold shall be coordinated with the adjacent System Operator and Distribution Licensee and shall be reviewed by the Authori- ty. The Power Generating Facility Owner shall assist and contribute to this determination of the threshold and provide the relevant data as requested by the System Operator. The Sys- tem Operator shall have the right to re-assess the determination of the threshold regularly, if relevant circumstances have changed materially, but not more often than every three years. A public consultation shall be conducted in the frame of the procedure for re-assessment. Fol- lowing any change to thresholds any Power Generating Module that has been moved to a new type will not automatically have to comply retroactively with the additional requirements but will be subject to the same procedure as applied to Existing Power Generating Modules in line Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 11 - with Chapter 4.2. Requirements applicable to Type B Power Generating Modules provide a wider level of automated dynamic response with higher resilience to more specific operational events to ensure use of this higher dynamic response and a higher level system operator con- trol and information to utilize these capabilities. They ensure automated response to alleviate and maximize dynamic generation response to system events, greater Power Generating Module resilience of these events to ensure this dynamic response and better communication and control to leverage these capabilities. c) A Power Generating Module is of Type C if its Interconnection Point is below or equal 66 kV and its Capacity is 5 MW or more. The definition of the threshold shall be coordinated with the adjacent System Operator and Distribution Licensee and shall be reviewed by the Authority. The Power Generating Facility Owner shall assist and contribute to this determination of the threshold and provide the relevant data as requested by the System Operator. The System Operator shall have the right to re-assess the determination of the threshold regularly, if rele- vant circumstances have changed materially, but not more often than every three years. A public consultation shall be conducted in the frame of the procedure for re-assessment. Fol- lowing any change to thresholds any Power Generating Module that has been moved to a new type will not automatically have to comply retroactively with the additional requirements but will be subject to the same procedure as applied to Existing Power Generating Modules in line with Chapter 4.2. Requirements applicable to Type C Power Generating Modules provide re- fined, stable and highly controllable (real time) dynamic response to provide principle ancillary services to ensure security of supply. These requirements cover all operational Network states with consequential detailed specification of interactions of requirements, functions, control and information to utilize these capabilities. They ensure real time system response necessary to avoid, manage and respond to system events. These requirements provide sufficient genera- tion functionality to respond to both intact and system disturbed situations, and the need for in- formation and control necessary to utilize this generation over this diversity of situations. d) A Power Generating Module is of Type D if its Interconnection Point is above 66 kV . A Syn- chronous Power Generating Module or Power Park Module is of Type D as well if its Intercon- nection Point is below 66 kV and its Capacity is 15 MW. The definition of the threshold shall be coordinated with the adjacent System Operator and Distribution Licensee and shall be re- viewed by the Authority. The Power Generating Facility Owner shall assist and contribute to this determination of the threshold and provide the relevant data as requested by the System Operator. The System Operator shall have the right to re-assess the determination of the threshold regularly, if relevant circumstances have changed materially, but not more often than every three years. A public consultation shall be conducted in the frame of the procedure for re-assessment. Following any change to thresholds any Power Generating Module that has been moved to a new type will not automatically have to comply retroactively with the ad- ditional requirements but will be subject to the same procedure as applied to Existing Power Generating Modules in line with Chapter 4.2. Requirements applicable to Type D Power Gen- erating Modules are in particular specific for higher Voltage connected generation with impact on entire system control and operation. 3.1.1 Requirements for Type A Power Generating Modules 1. Type A Power Generating Modules shall fulfil the following requirements referring to Frequency stability: a) With regard to Frequency ranges: Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 12 - 1) A Power Generating Module shall be capable of staying connected to the Network and operating within the Frequency ranges and time periods specified in IEEE Std. C37.106. 2) Wider Frequency ranges or longer minimum times for operation can be agreed between the System Operator and the Power Generating Facility Owner to ensure the best use of the technical capabilities of a Power Generating Module if needed to preserve or to re- store system security. If wider Frequency ranges or longer minimum times for operation are economically and technically feasible, the consent of the Power Generating Facility Owner shall not be unreasonably withheld. 3) While respecting the provisions of Chapter 3.1.1(1) (a) point 1) a Power Generating Mod- ule shall be capable of automatic disconnection at specified frequencies, if required by the System Operator. Terms and settings for automatic disconnection shall be agreed be- tween the System Operator and the Power Generating Facility Owner. b) With regard to the rate of change of Frequency withstand capability, a Power Generating Module shall be capable of staying connected to the Network and operating at rates of change of Frequency up to a value defined by the System Operator other than triggered by rate-of- change-of-Frequency-type of loss of mains protection. This rate-of-change-of-Frequency-type of loss of mains protection will be defined by the System Operator and subject to notification to the Authority. The modalities of that notification shall be determined in accordance with the applicable national regulatory framework. c) With regard to the Limited Frequency Sensitive Mode - Overfrequency (LFSM-O) the following shall apply: 1) The Power Generating Module shall be capable of activating the provision of Active Power Frequency Response according to Figure 3-1 at a Frequency threshold between and in- cluding 50.2 Hz and 50.5 Hz with a Droop in a range of 2 – 12 %. The actual Frequency threshold and Droop settings shall be determined by the System Operator subject to noti- fication to the Authority. The modalities of that notification shall be determined in accord- ance with the applicable national regulatory framework. The Power Generating Module shall be capable of activating Active Power Frequency Response as fast as technically feasible with an initial delay that shall be as short as possible and reasonably justified by the Power Generating Facility Owner to the System Operator if greater than 2 seconds. The Power Generating Module shall be capable of either continuing operation at Minimum Regulating Level when reaching it or further decreasing Active Power output in this case, as defined by the System Operator. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 13 - P Pref  f1 fn f fn s2  Synchronous Power Generating Modules: Pref is the Maximum Capacity  Power Park Modules: Pref is the actual Active Power output at the moment the LFSM-O threshold is reached or the Maximum Capacity, as defined by the System Operator Figure 3-1: Active Power Frequency Response capability of Power Generating Modules in LFSM-O Notes: Pref is the reference Active Power to which ΔP is related and may be defined dif- ferently for Synchronous Power Generating Modules and Power Park Modules. ΔP is the change in Active Power output from the Power Generating Module. fn is the nominal Fre- quency (50 Hz) in the Network and Δf is the Frequency change in the Network. At overfrequencies where Δf is above Δf1 the Power Generating Module has to provide a negative Active Power output change according to the Droop s2. 2) The Power Generating Module shall be capable of stable operation during LFSM-O opera- tion. When LFSM-O is active, the LFSM-O Setpoint will prevail over any other Active Pow- er Setpoints. d) The Power Generating Module shall be capable of maintaining constant output at its target Ac- tive Power value regardless of changes in Frequency, unless output shall follow the defined changes in output in the context of Chapter 3.1.1(1) (c), (e) or Chapter 3.1.3(2) (b), and Chap- ter 3.1.3(2) (c) where applicable. e) The System Operator shall define admissible Active Power reduction from maximum output with falling Frequency within the boundaries, given by the full lines in Figure 3-2: – Below 49 Hz falling by a reduction rate of 2 % of the Maximum Capacity at 50 Hz per 1 Hz Frequency drop; – Below 49.5 Hz by a reduction rate of 10 % of the Maximum Capacity at 50 Hz per 1 Hz Frequency drop. Applicability of this reduction is limited to a selection of affected generation technologies and may be subject to further conditions defined by the System Operator. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 14 - P Pmax 48 f [Hz] 48.5 49 49.5 50 5% 10% Figure 3-2: Maximum power capability reduction with falling Frequency. The diagram repre- sents the boundaries defined by the System Operator f) The Power Generating Module shall be equipped with a logic interface (input port) in order to cease Active Power output within less than 5 seconds following an Instruction from the Sys- tem Operator. The System Operator shall have the right to define the requirements for further equipment to make this facility operable remotely. g) The System Operator shall define the conditions under which a Power Generating Module shall be capable of connecting automatically to the Network. These conditions shall include: – frequency ranges, within which an automatic connection is admissible, and a correspond- ing delay time; and – maximum admissible gradient of increase of Active Power output. Automatic connection is allowed unless determined otherwise by the System Operator. 3.1.2 General Requirements for Type B Power Generating Modules 1. In addition to fulfilling the requirements listed in Chapter 3.1.1, Type B Power Generating Modules shall fulfil the requirements in this Chapter. 2. Type B Power Generating Modules shall fulfil the following requirements referring to Frequency stability: a) In order to be able to control Active Power output, the Power Generating Module shall be equipped with an interface (input port) in order to be able to reduce Active Power output as in- structed by the System Operator. The System Operator shall have the right to define the re- quirements for further equipment to make this facility operable remotely. 3. Type B Power Generating Modules shall fulfil the following requirements referring to robustness of Power Generating Modules: Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 15 - a) With regard to fault-ride-through capability of Power Generating Modules: 1) the System Operator shall define a voltage-against-time-profile according to Figure 3-3 at the Interconnection Point for fault conditions which describes the conditions in which the Power Generating Module shall be capable of staying connected to the Network and continuing stable operation after the power system has been disturbed by Secured Faults on the Network. U/p.u. 1.0 Urec2 Urec1 Uclear Uret 0 tclear trec1 trec2 trec3 t/sec Figure 3-3: Fault-ride-through profile of a Power Generating Module. The diagram repre- sents the lower limit of a voltage-against-time profile by the Voltage at the Inter- connection Point, expressed by the ratio of its actual value and its nominal val- ue per unit before, during and after a fault. Notes: Uret is the retained Voltage at the Interconnection Point during a fault, tclear is the instant when the fault has been cleared. Urec1, Urec2, trec1, trec2 and trec3 specify cer- tain points of lower limits of Voltage recovery after fault clearance. 2) This voltage-against-time-profile shall be expressed by a lower limit of the course of the phase-to-phase Voltages on the Network Voltage level at the Interconnection Point during a symmetrical fault, as a function of time before, during and after the fault. This lower limit is defined by the System Operator using parameters in Figure 3-3 according to Table 3-1 and Table 3-2. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 16 - Table 3-1: Parameters for Figure 3-3 for fault-ride-through capability of Synchronous Pow- er Generating Modules Voltage parameters [p.u.] Time parameters [seconds] Uret: 0.05 – 0.3 tclear: 0.14 – 0.25 Uclear: 0.7 – 0.9 trec1: tclear Urec1: Uclear trec2: trec1 – 0.7 Urec2: 0.85 – 0.9 and ≥ Uclear trec3: trec2 – 1.5 Table 3-2: Parameters for Figure 3-3 for fault-ride-through capability of Power Park Mod- ules Voltage parameters [p.u.] Time parameters [seconds] Uret: 0.05 – 0.15 tclear: 0.14 – 0.25 Uclear: Uret – 0.15 trec1: tclear Urec1: Uclear trec2: trec1 Urec2: 0.85 trec3: 1.5 – 3.0 3) The System Operator shall define and make publicly available defining the pre-fault and post-fault conditions for the fault-ride-through capability in terms of: – conditions for the calculation of the pre-fault minimum short circuit capacity at the Interconnection Point; – conditions for pre-fault active and Reactive Power operating point of the Power Generating Module at the Interconnection Point and Voltage at the Interconnec- tion Point; and – conditions for the calculation of the post-fault minimum short circuit capacity at the Interconnection Point. 4) The System Operator shall provide on request by the Power Generating Facility Own- er the pre-fault and post-fault conditions to be considered for fault-ride-through capa- bility as an outcome of the calculations at the Interconnection Point as defined in Chapter 3.1.2(3) (a) point 3) regarding: – pre-fault minimum short circuit capacity at each Interconnection Point expressed in MVA; – pre-fault operating point of the Power Generating Module expressed in Active Power output and Reactive Power output at the Interconnection Point and Volt- age at the Interconnection Point; and – post-fault minimum short circuit capacity at each Interconnection Point expressed in MVA. Alternatively generic values for the above conditions derived from typical cases may be provided by the System Operator. 5) The Power Generating Module shall be capable of staying connected to the Network and continue stable operation when the actual course of the phase-to-phase Voltages on the Network Voltage level at the Interconnection Point during a symmetrical fault, given the pre-fault and post-fault conditions according to Chapter 3.1.2(3) (a) points 3) and 4), remains above the lower limit defined in Chapter 3.1.2(3) (a) point 2), unless Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 17 - the protection scheme for internal electrical faults requires the disconnection of the Power Generating Module from the Network. The protection schemes and settings for internal electrical faults shall be designed not to jeopardize fault-ride-through perfor- mance. 6) While still respecting Chapter 3.1.2(3) (a) point 5), undervoltage protection (either fault-ride-through capability or minimum Voltage defined at the Interconnection Point Voltage) shall be set by the Power Generating Facility Owner to the widest possible technical capability of the Power Generating Module unless the System Operator re- quires less wide settings according to Chapter 3.1.2(5) (b). The settings shall be justi- fied by the Power Generating Facility Owner in accordance with this principle. 7) Fault-ride-through capabilities in case of asymmetrical faults shall be defined by the System Operator. 4. Type B Power Generating Modules shall fulfil the following requirement referring to system resto- ration: a) With regard to capability of reconnection after an incidental disconnection due to a Network disturbance, the System Operator shall adopt a decision defining the conditions, under which a Power Generating Module shall be capable of reconnecting to the Network after an inci- dental disconnection has taken place due to a Network disturbance. Installation of automatic reconnection systems shall be subject to prior authorization by the System Operator. 5. Type B Power Generating Modules shall fulfil the following general system management require- ments: a) With regard to control schemes and settings 1) Schemes and settings of the different control devices of the Power Generating Module relevant for transmission system stability and to enable emergency actions shall be coordinated and agreed between the System Operator and the Power Generating Fa- cility Owner. 2) Any changes to the schemes and settings of the different control devices of the Power Generating Module, relevant for transmission and distribution system stability and to enable emergency actions, shall be coordinated and agreed between the System Op- erator and the Power Generating Facility Owner, especially if they concern the cir- cumstances referred to under Chapter 3.1.2(5) (a) point 1). b) With regard to electrical protection schemes and settings: 1) The System Operator shall define the schemes and settings necessary to protect the Network taking into account the characteristics of the Power Generating Module. Pro- tection schemes relevant for the Power Generating Module and the Network and set- tings relevant for the Power Generating Module shall be coordinated and agreed be- tween the System Operator and the Power Generating Facility Owner. The protection schemes and settings for internal electrical faults shall be designed not to jeopardize the performance of a Power Generating Module according to these Connection Code requirements otherwise. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 18 - 2) Electrical protection of the Power Generating Module shall take precedence over op- erational controls taking into account system security, health and safety of staff and the public and mitigation of the damage to the Power Generating Module. 3) Protection schemes can protect against the following aspects: – external and internal short circuit; – asymmetric load (Negative Phase Sequence); – stator and rotor overload; – over-/underexcitation; – over-/undervoltage at the Interconnection Point; – over-/undervoltage at the Alternator terminals; – inter-area oscillations; – inrush Current; – asynchronous operation (pole slip); – protection against inadmissible shaft torsions (for example, subsynchronous resonance); – Power Generating Module line protection; – unit transformer protection; – backup schemes against protection and switchgear malfunction; – overfluxing (U/f); – inverse power; – rate of change of Frequency; and – neutral Voltage displacement. 4) Any changes to the protection schemes relevant for the Power Generating Module and the Network and to the setting relevant for the Power Generating Module shall be agreed between the System Operator and the Power Generating Facility Owner and be concluded prior to the introduction of changes. c) With regard to priority ranking of protection and control, the Power Generating Facility Owner shall organize its protections and control devices in compliance with the following priority rank- ing, organized in decreasing order of importance: – Network system and Power Generating Module protection; – Synthetic Inertia, if applicable; – Frequency control (Active Power adjustment); – Power Restriction; and – Power gradient constraint. d) With regard to information exchange: 1) Power Generating Facilities shall be capable of exchanging information between the Power Generating Facility Owner and the System Operator in real time or periodically with time stamping as defined by the System Operator. 2) The System Operator shall define the contents of information exchanges and the pre- cise list and time of data to be facilitated. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 19 - 3.1.3 General Requirements for Type C Power Generating Modules 1. In addition to fulfilling the requirements listed in Chapters 3.1.1 and 3.1.2, except for Chapter 3.1.1(1) (f) and Chapter 3.1.2(2) (a), Type C Power Generating Modules shall fulfil the require- ments in this Chapter. 2. Type C Power Generating Modules shall fulfil the following requirements referring to Frequency stability: a) With regard to Active Power controllability and control range, the Power Generating Module control system shall be capable of adjusting an Active Power Setpoint as instructed by the System Operator to the Power Generating Facility Owner. It shall be capable of implementing the Setpoint within a period specified in the above Instruction and within a tolerance defined by the System Operator (subject to the availability of the prime mover resource), subject to no- tification to the Authority. The modalities of that notification shall be determined in accordance with the applicable national regulatory framework. Manual, local measures shall be possible in the case that any automatic remote control devices are out of service. b) In addition to Chapter 3.1.1(1) (c) the following shall apply accumulatively with regard to Lim- ited Frequency Sensitive Mode – Underfrequency (LFSM-U): 1) The Power Generating Module shall be capable of activating the provision of Active Power Frequency Response according to Figure 3-4 at a Frequency threshold be- tween and including 49.8 Hz and 49.5 Hz with a Droop in a range of 2 – 12 %. In the LFSM-U mode the Power Generating Module shall be capable of providing a power increase up to its Maximum Capacity. The actual delivery of Active Power Frequency Response in LFSM-U mode depends on the operating and ambient conditions of the Power Generating Module when this response is triggered, in particular limitations on operation near Maximum Capacity at low frequencies according to Chapter 3.1.1(1) (e) and available primary energy sources. The actual Frequency threshold and Droop settings shall be determined by the System Operator, subject to notification to the Au- thority. The modalities of that notification shall be determined in accordance with the applicable national regulatory framework. The Active Power Frequency Response shall be activated as fast as technically feasible with an initial delay that shall be as short as possible and reasonably justified by the Power Generating Facility Owner to the System Operator if greater than 2 seconds. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 20 - P Pref  Synchronous Power Generating Modules: Pref is the Maximum Capacity  Power Park Modules: Pref is the actual Active Power output at the moment the LFSM-O threshold is reached or the Maximum Capacity, as defined by the System Operator s2 f1 f  fn fn Figure 3-4: Active Power Frequency Response capability of Power Generating Modules in LFSM-U Notes: Pref is the reference Active Power to which ΔP is related and may be defined differently for Synchronous Power Generating Modules and Power Park Modules. ΔP is the change in Active Power output from the Power Generating Module. f n is the nominal Frequency (50 Hz) in the Network and Δf is the Frequency change in the Network. At underfrequencies where Δf is below Δf1 the Power Generating Module has to provide a positive Active Power output change according to the Droop S2. 2) Stable operation of the Power Generating Module during LFSM-U operation shall be ensured. The LFSM-U reference Active Power shall be the Active Power output at the moment of activation of LFSM-U and shall not be changed unless triggered by fre- quency restoration action. c) In addition to Chapter 3.1.3(2) (b) the following shall apply accumulatively, when operating in Frequency Sensitive Mode (FSM): 1) The Power Generating Module shall be capable of providing Active Power Frequency Response with respect to Figure 3-5 and in accordance with the parameters specified by the System Operator within the ranges shown in Table 3-3. This specification shall be subject to notification to the Authority. The modalities of that notification shall be determined in accordance with the applicable national regulatory framework. 2) In case of overfrequency the Active Power Frequency Response is limited by the Min- imum Regulating Level. 3) In case of underfrequency the Active Power Frequency Response is limited by Maxi- mum Capacity. The actual delivery of Active Power Frequency Response depends on the operating and ambient conditions of the Power Generating Module when this re- sponse is triggered, in particular limitations on operation near Maximum Capacity at low frequencies and available primary energy sources. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 21 - 4) The Frequency Response Deadband of Frequency deviation and Droop are selected by the System Operator and must be able to be reselected subsequently (without re- quiring to be online or remote) within the given frames in Table 3-3, subject to notifica- tion to the Authority. The modalities of that notification shall be determined in accord- ance with the applicable national regulatory framework. 5) As a result of a frequency step change, the Power Generating Module shall be capa- ble of activating full Active Power Frequency Response, at or above the full line ac- cording to Figure 3-6 in accordance with the parameters specified by the System Op- erator (aiming at avoiding Active Power oscillations for the Power Generating Module) within the ranges according to Table 3-4. This specification shall be subject to notifica- tion to the Authority. The modalities of that notification shall be determined in accord- ance with the applicable national regulatory framework. The combination of choice of the parameters according to Table 3-4 shall take into account possible technology de- pendent limitations. The initial delay of activation shall be as short as possible and reasonably justified by the Power Generating Facility Owner to the System Operator, by providing technical evidence for why a longer time is needed, if greater than 2 sec- onds or a shorter time if specified by the System Operator for generation technologies without Inertia. 6) Each Power Generating Module shall be capable of increasing output as it is defined in Table 3-4, when the frequency falls (limited to 105 % Maximum Continuous Rating for thermal generating units and 110 % Maximum Continuous Rating for hydro gener- ating units). Ramping back to the previous MW level (in case the increased output level cannot be sustained) shall not be faster than 1 % per minute. P Pmax  P1 Pmax s1 f fn  P1  Pmax Figure 3-5: Active Power Frequency Response capability of Power Generating Modules in FSM illustrating the case of zero deadband and insensitivity Notes: Pmax is the Maximum Capacity to which ΔP is related. ΔP is the change in Ac- tive Power output from the Power Generating Module. fn is the nominal Frequency (50 Hz) in the Network and Δf is the Frequency deviation in the Network. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 22 - P Pmax  P1 Pmax t1 t/s t2 Figure 3-6: Active Power Frequency Response capability Notes: Pmax is the Maximum Capacity to which ΔP is related. ΔP is the change in Ac- tive Power output from the Power Generating Module. The Power Generating Mod- ules have to provide Active Power Output ΔP up to the point ΔP1 in accordance with the times t1 and t2 with the values of ΔP1, t1and t2 being specified by the System Op- erator according to Table 3-4. t1 is the initial delay. t2 is the time for full activation. Table 3-3: Parameters for Active Power Frequency Response in FSM (explanation for Fig- ure 3-5) Parameters Ranges P1 Active Power range related to Maximum Capacity 1.5 – 10 % Pmax f1 10 – 30 mHz Frequency Response Insensitivity f1 0.02 – 0.06 % fn Frequency Response Deadband 0 – 500 mHz Droop S1 2 – 12 % Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 23 - Table 3-4: Parameters for full activation of Active Power Frequency Response resulted from Frequency step change (explanation for Figure 3-6) Parameters Ranges Active Power range related to Maximum Capacity (Frequency P1 1.5 – 10 % response range) Pmax Maximum admissible initial delay unless justified otherwise 2 seconds for generation technologies with Inertia Maximum admissible initial delay unless justified otherwise As specified by for generation technologies without Inertia System Operator Maximum admissible choice of full activation time , unless longer activation times are admitted by the System Operator 30 seconds due to system stability reasons d) With regard to Frequency restoration control, the Power Generating Module shall provide functionalities compliant to specifications defined by the System Operator, aiming at restoring Frequency to its nominal value and/ or maintain power exchange flows between control areas at their scheduled values. e) With regard to disconnection due to underfrequency, any Power Generating Facility with sub- stantial load, shall be capable of disconnecting its load in case of underfrequency. f) With regard to real-time monitoring of FSM: 1) To monitor the operation of Active Power Frequency Response the communication in- terface shall be equipped to transfer on-line from the Power Generating Facility to the Network control centre of the System Operator on request by the System Operator at least the following signals: – status signal of FSM (on/off); – actual parameter settings for Active Power Frequency Response; and – Droop and dead band. – Telecom failure – Number of farm units available – Number of farm units unavailable – Number of farm units under maintenance – Total MW infeed – Total Mvar – Voltage level – Farm rated maximum MW output – Farm current maximum MW output – Temperature – Wind speed – Wind direction – Cloud covering – CB/Switch status 2) The System Operator shall define additional signals to be provided by the Power Generating Facility for monitoring and/or recording devices in order to verify the per- Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 24 - formance of the Active Power Frequency Response provision of participating Power Generating Modules. 3. Type C Power Generating Modules shall fulfil the following requirements referring to Voltage sta- bility: a) The System Operator shall have the right to specify Voltages at the Interconnection Point at which a Power Generating Module shall be capable of automatic disconnection. The terms and settings for this automatic disconnection shall be defined by the System Operator. 4. Type C Power Generating Modules shall fulfil the following requirements referring to robustness of Power Generating Modules: a) In case of power oscillations, Steady-state Stability of a Power Generating Module is required when operating at any operating point of the P-Q-Capability Diagram. A Power Generating Module shall be capable of staying connected to the Network and operating without power re- duction notwithstanding the provisions of Chapter 3.1.1(1) (e), as long as Voltage and Fre- quency remain within the admissible limits pursuant to this Connection Code. b) Single-phase or three-phase auto-reclosures on meshed Network lines, if applicable to this Network, shall be withstood by Power Generating Modules without tripping. Details of this ca- pability shall be subject to coordination and agreements on protection schemes and settings according to Chapter 3.1.2(5), (b). 5. Type C Power Generating Modules shall fulfil the following requirements referring to system resto- ration: a) With regard to Black Start Capability: 1) Black Start Capability is not mandatory. If the System Operator deems system securi- ty to be at risk to a lack of Black Start Capability in a Control Area, the System Opera- tor shall have the right to obtain a quote for Black Start Capability from Power Gener- ating Facility Owners. 2) A Power Generating Module with a Black Start Capability shall be able to start from shut down within a timeframe decided by the System Operator, without any external energy supply. The Power Generating Module shall be able to synchronise within the Frequency limits defined in Chapter 3.1.1(1) and Voltage limits defined by the System Operator or defined by Chapter 3.1.4(2) where applicable. 3) The Power Generating Module Voltage regulation shall be capable of regulating load connections causing dips of Voltage automatically. The power-generating module with black start capability shall: – be capable of regulating load connections in block load; – control Frequency in case of overfrequency and underfrequency within the whole Active Power output range between Minimum Regulating Level and Maximum Capacity as well as at house load level; – be capable of parallel operation of a few Power Generating Modules within one island; and Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 25 - – control Voltage automatically during the system restoration phase. b) With regard to capability to take part in Island Operation: 1) The capability to take part in Island Operation, if required by the System Operator, shall be possible within the Frequency limits defined in Chapter 3.1.1(1) and Voltage limits according to Chapter 3.1.3(3) or Chapter 3.1.4(2) where applicable. 2) If required, the Power Generating Module shall be able to operate in FSM during Is- land Operation, as defined in Chapter 3.1.3(2) (b). In the case of a power surplus, it shall be possible to reduce the Active Power Output of the Power Generating Module from its previous operating point to any new operating point within the P-Q-Capability Diagram as much as inherently technically feasible, but at least an Active Power out- put reduction to 55 % of its Maximum Capacity shall be possible. 3) Detection of change from interconnected system operation to Island Operation shall not rely solely on the System Operator’s switchgear position signals. The detection method shall be agreed between the Power Generating Facility Owner and the Sys- tem Operator. 4) The generator breaker and bus bar at generator voltage be provided for Island Opera- tion. 5) For Island Operation synchronizing arrangement should be made from generator breakers as well as from interconnecting LV/MV grid breaker. 6) Control performance of the voltage control loop shall be such that under isolated op- erating conditions the damping coefficient shall be above 0.25 for the entire operating range. c) With regard to quick re-synchronization capability: 1) Quick re-synchronization capability is required in case of disconnection of the Power Generating Module from the Network in line with the protection strategy agreed be- tween the System Operator and the Power Generating Facility Owner in the event of disturbances to the system. 2) The Power Generating Module whose minimum re-synchronization time after its dis- connection from any external power supply exceeds 15 minutes shall be designed for tripping to house load from any operating point in its P-Q-Capability Diagram. For identifying house load operation any System Operator’s switchgear position signals may be used only as additional information which cannot be solely relied on. 3) Power Generating Modules shall be capable of continuing operation following tripping to house load, irrespective of any auxiliary connection to the external Network. The minimum operation time shall be defined by the System Operator taking into consid- eration the specific characteristics of the prime mover technology. 6. Type C Power Generating Modules shall fulfil the following general system management require- ments: Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 26 - a) With regard to loss of angular stability or loss of control, a Power Generating Module shall be capable of disconnecting automatically from the Network in order to support preservation of system security and/or to prevent damage from the Power Generating Module. The Power Generating Facility Owner and the System Operator shall agree on the criteria to detect loss of angular stability or loss of control. b) With regard to instrumentation: 1) Power Generating Facilities shall be equipped with a facility to provide fault recording and dynamic system behaviour monitoring of the following parameters: – Voltage; – Active Power; – Reactive Power; and – Frequency. The System Operator shall have the right to define quality of supply parameters to be complied with provided a reasonable prior notice is given. 2) The settings of the fault recording equipment, including triggering criteria and the sampling rates shall be agreed between the Power Generating Facility Owner and the Authority in coordination with the System Operator. 3) The dynamic system behaviour monitoring shall include an oscillation trigger, speci- fied by the System Operator, detecting poorly damped power oscillations of the Tur- bine speed control below 3 % for gas turbines and 5 % for steam turbine. 4) The facilities for quality of supply and dynamic system behaviour monitoring shall in- clude arrangements for the Power Generating Facility Owner, the System Operator to access the information. The communications protocols for recorded data shall be agreed between the Power Generating Facility Owner and the System Operator. c) With regard to the simulation models: 1) The System Operator shall have the right to require the Power Generating Facility Owner to provide simulation models, that shall properly reflect the behaviour of the Power Generating Module in both steady-state and dynamic simulations (50 Hz com- ponent) and, where appropriate and justified, in electromagnetic transient simulations. The decision shall include: – the format in which models shall be provided – the provision of documentation of models structure and block diagrams The models shall be verified against the results of compliance tests as of Chapters 5.2 and 5.3. They shall then be used for the purpose of verifying the requirements of this Connection Code including but not limited to Compliance Simulations as of Chapters 5.4 and 5.5 and for use in studies for continuous evaluation in system planning and operation. 2) For the purpose of dynamic simulations, the models provided shall contain the follow- ing sub-models, depending on the existence of the mentioned components: Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 27 - – Alternator and prime mover; – Speed and power control; – Voltage control, including, if applicable, Power System Stabilizer (PSS) func- tion and excitation system; – Power Generating Module protection models as agreed between the System Operator and the Power Generating Facility Owner; and – Converter models for Power Park Modules. 3) The System Operator shall deliver to the Power Generating Facility Owner an esti- mate of the minimum and maximum short circuit capacity at the Interconnection Point, expressed in MVA, as an equivalent of the Network. 4) The System Operator shall have the right to require Power Generating Module record- ings in order to compare the response of the models with these recordings. d) With regard to the installation of devices for system operation and/or security, if the System Operator considers additional devices necessary to be installed in a Power Generating Facility in order to preserve or restore system operation or security, the System Operator and the Power Generating Facility Owner shall investigate this request and agree on an appropriate solution. e) The System Operator shall define minimum and maximum limits on rates of change of Active Power output (ramping limits) in both up and down direction for a Power Generating Module taking into consideration the specific characteristics of the prime mover technology. f) With regard to earthing arrangement of the neutral-point at the Network side of step-up trans- formers, transformer shall be connected with grounded star on low voltage side and delta on high voltage side. g) With regard to changes to, modernization of or replacement of equipment of Power Generat- ing Modules, any Power Generating Facility Owner intending to change plant and equipment of the Power Generating Module that may have an impact on the grid connection and on the interaction, such as turbines, Alternators, converters, high-voltage equipment, protection and control systems (hardware and software), shall notify in advance (in accordance with agreed or decided national timescales) the System Operator in case it is reasonable to foresee that these intended changes may be affected by the requirements of this Connection Code and shall agree on these requirements before the proposals are implemented with the System Op- erator. In case of modernisation or replacement of equipment in existing Power Generating Modules the new equipment shall comply with the respective requirements which are relevant to the planned work. The use of existing spare components that do not comply with the re- quirements has to be agreed with the System Operator in each case. 3.1.4 General Requirements for Type D Power Generating Modules 1. In addition to fulfilling the requirements listed in Chapters 3.1.1, 3.1.2, and 3.1.3 unless referred to otherwise in this Chapter, except for Chapter 3.1.1(1) (f), (g), Chapter 3.1.2(2) (a) and Chapter 3.1.3(3) (a), Type D Power Generating Modules shall fulfil the requirements in this Chapter. 2. Type D Power Generating Modules shall fulfil the following requirements referring to Voltage sta- bility: Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 28 - a) With regard to Voltage ranges: 1) While still respecting the provisions according to Chapters 3.1.2(3) (a) and 3.1.4(3) (a), a Power Generating Module shall be capable of staying connected to the Network and operating within the ranges of the Network Voltage at the Interconnection Point, expressed by the Voltage at the Interconnection Point related to nominal Voltage (per unit), and the time periods specified by Table 3-5 and Table 3-6. Table 3-5: Minimum time periods a Power Generating Module shall be capable of operating for Voltages deviating from the nominal value at the Interconnection Point with- out disconnecting from the Network. (The Voltage base for p.u. values is from 66 kV to 220 kV) Voltage Range Time period for operation 0.85 p.u. – 0.90 p.u 60 minutes 0.90 p.u. – 1.118 p.u. Unlimited 1.118 p.u. – 1.15 p.u. Not less than 20 minutes Table 3-6: Minimum time periods a Power Generating Module shall be capable of operating for Voltages deviating from the nominal value at the Interconnection Point with- out disconnecting from the Network. (The Voltage base for p.u. values is 400 kV) Voltage Range Time period for operation 0.85 p.u. – 0.90 p.u 60 minutes 0.90 p.u. – 1.05 p.u. Unlimited 1.05 p.u. – 1.0875 p.u. Not less than 60 minutes 2) Wider Voltage ranges or longer minimum times for operation can be agreed between the System Operator and the Power Generating Facility Owner to ensure the best use of the technical capabilities of a Power Generating Module if needed to preserve or to restore system security. If wider Voltage ranges or longer minimum times for opera- tion are economically and technically feasible, the consent of the Power Generating Facility Owner shall not be unreasonably withheld. 3) While still respecting the provisions of Chapter 3.1.4(2) (a) point 1), the System Oper- ator shall have the right to specify Voltages at the Interconnection Point at which a Power Generating Module shall be capable of automatic disconnection. The terms and settings for automatic disconnection shall be agreed between the System Opera- tor and the Power Generating Facility Owner. 3. Type D Power Generating Modules shall fulfil the following requirements referring to robustness of Power Generating Modules: b) With regard to fault-ride-through capability of Power Generating Modules: 1) The voltage-against-time-profile shall be defined by the System Operator using pa- rameters in Figure 3-3 according to Table 3-7 and Table 3-8. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 29 - 2) The System Operator shall define and make publicly available the pre-fault and post- fault conditions for the fault-ride-through capability according to Chapter 3.1.2(3) (a) point 3). Table 3-7: Parameters for Figure 3-3 for fault-ride-through capability of Synchronous Pow- er Generating Modules Voltage parameters [p.u.] Time parameters [seconds] Uret: 0 tclear: 0.14 – 0.25 Uclear: 0.25 trec1: tclear – 0.45 Urec1: 0.5 – 0.7 trec2: trec1 – 0.7 Urec2: 0.9 trec3: trec2 – 1.5 Table 3-8: Parameters for Figure 3-3 for fault-ride-through capability of Power Park Mod- ules Voltage parameters [p.u.] Time parameters [seconds] Uret: 0 tclear: 0.14 – 0.25 Uclear: Uret trec1: tclear Urec1: Uclear trec2: trec1 Urec2: 0.85 trec3: 1.5 – 3.0 3) The System Operator shall provide on request by the Power Generating Facility Own- er the pre-fault and post-fault conditions to be considered for fault-ride-through capa- bility as an outcome of the calculations at the Interconnection Point as defined in Chapter 3.1.2(3) (a) point 3) regarding: – pre-fault minimum short circuit capacity at each Interconnection Point ex- pressed in MVA; – pre-fault operating point of the Power Generating Module expressed in Active Power output and Reactive Power output at the Interconnection Point and Voltage at the Interconnection Point; and – post-fault minimum short circuit capacity at each Interconnection Point ex- pressed in MVA. 4) Fault-ride-through capabilities in case of asymmetrical faults shall be defined by the System Operator. 4. Type D Power Generating Modules shall fulfil the following general system management require- ments: a) With regard to synchronization, when starting a Power Generating Module, synchronization shall be performed by the Power Generating Facility Owner after authorization by the System Operator. The Power Generating Module shall be equipped with the necessary synchroniza- tion facilities. Synchronization of Power Generating Modules shall be possible for frequencies within the ranges set out in IEEE Std. C37.106. The System Operator and the Power Generat- ing Facility Owner shall agree on the settings of synchronization devices to be concluded prior Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 30 - to operation of the Power Generating Module. An agreement shall cover the following matters: Voltage, Frequency, phase angle range, phase sequence, deviation of Voltage and Frequen- cy. 3.2 Requirements for Synchronous Power Generating Modules 3.2.1 Requirements for Type B Synchronous Power Generating Modules 1. In addition to fulfilling the requirements listed in Chapters 3.1.1 and 3.1.2, Type B Synchronous Power Generating Modules shall fulfil the requirements in this Chapter. 2. Type B Synchronous Power Generating Modules shall fulfil the following requirements referring to Voltage stability: a) With regard to Reactive Power capability the System Operator shall have the right to define the capability of a Synchronous Power Generating Module to provide Reactive Power. b) With regard to the Voltage control system, a Synchronous Power Generating Module shall be equipped with a permanent automatic excitation control system in order to provide constant Alternator terminal Voltage at a selectable Setpoint without instability over the entire operating range of the Synchronous Power Generating Module. 3. Type B Synchronous Power Generating Modules shall fulfil the following requirements referring to robustness of Power Generating Modules: a) With regard to post fault Active Power recovery after fault-ride-through, the System Operator shall define magnitude and time for Active Power recovery the Power Generating Module shall be capable of providing. 3.2.2 Requirements for Type C Synchronous Power Generating Modules 1. In addition to fulfilling the requirements listed in Chapters 3.1.1, 3.1.2, 3.1.3 and 3.2.1, except for Chapter 3.1.1(1) (f), Chapter 3.1.2(2) (a) and Chapter 3.2.1(2) (a), Type C Synchronous Power Generating Modules shall fulfil the requirements in this Chapter. 2. Type C Synchronous Power Generating Modules shall fulfil the following requirements referring to Frequency stability: a) Under all system operating conditions, the Power Generating Module speed shall not exceed 103 % corresponding to 51.5 Hz in the interconnection with EAPP system. b) The speed rise due to full load rejection under Island Operation should not be more than 35 % or even lower in case of special (large motor) load characteristics. In case Island Operation is not required, the speed rise on full load rejection can be increased up to 55 % - 60 %. 3. Type C Synchronous Power Generating Modules shall fulfil the following requirements referring to Voltage stability: Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 31 - a) With regard to Reactive Power Capability, for Synchronous Power Generating Modules where the Interconnection Point is not at the location of the high-voltage terminals of the step-up transformer to the Voltage level of the Interconnection Point nor at the Alternator terminals, if no step-up transformer exists, supplementary Reactive Power may be defined by the System Operator, to compensate for the Reactive Power demand of the high-voltage line or cable be- tween these two points from the responsible owner of this line or cable. b) With regard to Reactive Power capability at Maximum Capacity: 1) The System Operator shall define the Reactive Power provision capability require- ments in the context of varying Voltage. For doing so, it shall define a U-Q/Pmax- profile that shall take any shape within the boundaries of which the Synchronous Power Generating Module shall be capable of providing Reactive Power at its Maxi- mum Capacity. 2) The U-Q/Pmax-profile is defined by the System Operator in conformity with the follow- ing principles: – the U-Q/Pmax-profile shall not exceed the U-Q/Pmax-profile envelope, repre- sented by the inner envelope in Figure 3-7; – the position of the U-Q/Pmax-profile envelope within the limits of the fixed outer envelope in Figure 3-7. U/p.u. Fixed Outer Envelope 1.10 Inner Envelope 1.05 Voltage Range 1.00 Q/Pmax Range 0.95 0.90 Q/Pmax 0.85 0.10 0.20 0.30 0.40 0.50 0.60 0.70 - 0.60 - 0.50 - 0.40 - 0.30 - 0.20 - 0.10 0.00 Consumption (lead) Production (lag) Figure 3-7: U-Q/Pmax-profile of a Synchronous Power Generating Module. The diagram rep- resents boundaries of a U-Q/Pmax-profile by the Voltage at the Interconnection Point, expressed by the ratio of its actual value and its nominal value per unit, against the ratio of the Reactive Power (Q) and the Maximum Capacity (P max). The position, size and shape of the inner envelope are indicative. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 32 - 3) The Reactive Power provision capability requirement applies at the Interconnection Point. For profile shapes other than rectangular, the Voltage range represents the highest and lowest values. The full Reactive Power range is therefore not expected to be available across the range of steady-state Voltages. 4) The Synchronous Power Generating Module shall be capable of moving to any oper- ating point within its U-Q/Pmax profile in appropriate timescales to target values re- quested by the System Operator. c) With regard to Reactive Power capability below Maximum Capacity, when operating at an Ac- tive Power output below the Maximum Capacity (P33 kV = 3 %. Table 6-2: Compatibility levels for individual harmonic voltages in power systems up to 33 kV Odd harmonics Odd harmonics Even harmonics non-multiple of 3 multiple of 3 Harmonic Harmonic Harmonic Harmonic Harmonic Harmonic order voltage order voltage order voltage h % h % h % 5 6 3 5 2 2 7 5 9 1.5 4 1 11 3.5 15 0.4 6 0.5 13 3 21 0.3 8 0.5 17≤h≤49 2.27*17/h-0.27 21≤h≤45 0.2 10≤h≤50 0.25*10/h+0.25 The compatibility level for the total harmonic distortion is THD = 8 % Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 73 - 6.2 Voltage Variation 6.2.1 Voltage Fluctuation 1. The 95 % weekly value of short term flicker (Pst) and long term flicker (Plt), shall not exceed the emission limit at the PCC. The System Operator defines for each Power Generating Module emis- sion limits being derived from the planning levels given in Table 6-3 in accordance with IEC/TR 61000-3-7, while the compatibility levels for flicker in power systems up to 400 V are given in Table 6-4. Table 6-3: Planning levels for flicker for system rated voltages above 1 kV Planning levels MV HV, EHV Pst 0.9 0.8 Plt 0.7 0.6 Table 6-4: Compatibility levels for flicker in voltage systems up to 400 V Compatibility levels Pst 1.0 Plt 0.8 6.2.2 Voltage Unbalance 1. The 95 % weekly value of i2sh, current unbalance emission level over "short" 10 min periods, should not exceed the emission limit at the PCC. The System Operator defines for each Power Generating Module current unbalance emission limit being derived from the voltage unbalance planning levels given in Table 6-1 in accordance with IEC/TR 61000-3-13, while the compatibility level for voltage unbalance in power systems up to 33 kV is given in Table 6-6. Table 6-5: Planning levels for voltage unbalance for system rated voltages above 1 kV Planning level Voltage level Lu2 (%) 11 kV, 33 kV 1.8 66 kV, 132 kV, 220 kV 1.4 400 kV 0.5 Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 74 - Table 6-6: Compatibility levels for voltage unbalance in power systems up to 33 kV Compatibility levels Cu2 (%) 1.0 Note: The negative sequence voltage may vary above 1 %, but not beyond 2 % for a total of 5 minutes in every 30 minute period for Type B Power Generating Modules. 2. A Power Park Module shall ensure that current in each phase of a three-phase electrical installa- tion does not deviate from the average of the three-phase currents: a. by more than 5 % for a standard nominal voltage up to 1 kV; and b. by more than 2 % for a standard nominal voltage above 1 kV. 3. Notwithstanding clause in Chapter 6.2 Voltage Fluctuation, deviations are permissible for periods of less than 2 minutes: a. Up to 10 % for a standard nominal voltage up to 1 kV; and b. Up to 4 % for a standard nominal voltage above 1 kV. 6.3 Frequency Variation 1. The nominal frequency of the supply voltage shall be 50 Hz. Under normal operating conditions the mean value of the fundamental frequency measured over 10 s shall be within a range of: – for systems with synchronous connection to SYSTEM OPERATOR network 50 Hz ± 1 % (i.e. 49.5 ... 50.5 Hz) during 99.5 % of a year, 50 Hz + 4 %/- 6 % (i.e. 47 ... 52 Hz) during 100 % of the time. – for systems with no synchronous connection to SYSTEM OPERATOR network (e.g. supply systems on certain islands) 50 Hz ± 2 % (i.e. 49 ... 51 Hz) during 95 % of a week, 50 Hz ± 15 % (i.e. 42.5 ... 57.5 Hz) during 100 % of the time. 6.4 Measuring the Quality of Delivered Electric Power 1. Measuring the quality of delivered electric power at the Interconnection Points shall be carried out in accordance with the standard IEC 61000-4-30, by measuring phase voltages and line currents. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 75 - 7. Non-Compliance 7.1 Derogations 1. The procedure for derogation defined in this Chapter applies to all Power Generating Facility Owners, both of Existing and New Power Generating Modules, to which the provisions of this Connection Code are applicable pursuant to Chapter 3. Only the Power Generating Facility Owner shall have the right to apply for derogations for Power Generating Modules within its facility. 2. It shall apply as well to the System Operator when applying for derogations for classes of both ex- isting and new Power Generating Modules connected to the Network. 3. The derogation process shall be transparent, non-discriminatory, non-biased, well documented and based in particular on the Cost-Benefit Analysis performed, in the conditions set forth by Chapter 4.2(4) and (5), by the System Operator. Cost-Benefit Analysis does not need to be per- formed by the System Operator if, on its reasoned request, an individual exemption is granted to the System Operator by the Authority. 4. Criteria for assessing the request for derogation shall be set by the Authority taking into account recommendation of the System Operator. The criteria set by the Authority shall be non- discriminatory, objective and shall be published by the Authority. 7.1.1 Request for Derogation 1. Power Generating Facility Owners may apply for derogation in respect of one or more require- ments of this Connection Code by submitting a request to the System Operator. 2. The request for derogation, submitted by the Power Generating Facility Owner shall include all the information and documents which are required by the System Operator, including, inter alia, but not limited to: a) identifying data of the Power Generating Facility Owner, with reference contact person for any communications; b) the specific Power Generating Module, to which the request is referred to; c) the provision of the Connection Code, for which a derogation is requested, with the detailed description of the requested derogation; and d) detailed reasoning accompanied with all relevant documents supporting the request. 3. A DSO or CDSO may apply for derogation in respect of one or more requirements of this Connec- tion Code by submitting a request to the System Operator. 4. The request for derogation, submitted by the DSO or CDSO shall include all the information and documents, which are required by the System Operator, including, inter alia, but not limited to: a) identifying data of the DSO or CDSO, with reference contact person for any communications; b) the number of Power Generating Modules affected and the total installed capacity, to which the request is referred to; Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 76 - c) the provision of the Connection Code, for which a derogation is requested, with the detailed description of the requested derogation; and d) detailed reasoning accompanied with all relevant documents supporting the request. 5. The System Operator may apply for derogation in respect of one or more requirements of this Connection Code by submitting a request to the National Regulatory Authority. 6. The request for derogation, submitted by the System Operator shall include the following infor- mation: a) identifying data of the System Operator, with reference contact person for any communica- tions; b) the number of Power Generating Modules affected and the total installed capacity, to which the request is referred to; c) the provision of the Connection Code, for which a derogation is requested, with the detailed description of the requested derogation; and d) detailed reasoning accompanied with all relevant documents supporting the request. 7.1.2 Decision on Derogation 1. Further to the request for derogation submitted by the Power Generating Facility Owner, the Sys- tem Operator shall assess the request and related documentation. If the request or the related documentation is considered to be incomplete the Power Generating Facility Owner shall submit the missing information as requested by the System Operator. As from the day of the receipt of the complete request by the System Operator until the issuance of the decision granting or refus- ing the derogation by the Authority according to Chapter 7.1.2(7), the Power Generating Module, to which the request is referred to, is deemed as compliant. 2. No later than six months after the receipt of the complete request according to Chapter 7.1.2(1) the System Operator shall submit its assessment of the request, including a reasoned opinion, to- gether with a related documentation and, where applicable, a Cost-Benefit Analysis to the Authori- ty. The above deadline shall be shortened to three months in case a reasoned request for exemption from Cost-Benefit Analysis is submitted by the System Operator to the National Regulatory Au- thority. In case the request by the Power Generating Facility Owner is for a Type C or D Power Generat- ing Module connected to a distribution Network or closed distribution Network the System Opera- tor shall obtain the assessment within two months after notification and include it in its submission to the Authority. If the System Operator has requested an exemption from Cost-Benefit Analysis the Authority shall decide on granting or refusing the exemption within one month after the receipt of this request. When the request is rejected, the System Operator shall provide a Cost-Benefit Analysis within three months following the decision of the Authority. 3. Further to the request for derogation submitted by a DSO or CDSO, the System Operator shall assess the request and related documentation. If the request or the related documentation is con- sidered to be incomplete the DSO or CDSO shall submit the missing information as requested by Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 77 - the System Operator. As from the day of the receipt of the complete request by the DSO or CDSO until the issuance of the decision granting or refusing the derogation by the Authority according to Chapter 7.1.2(7), the Power Generating Facilities, to which the request is referred to, are deemed as compliant. 4. No later than six months after the receipt of the complete request according to Chapter 7.1.2(3) the System Operator shall submit its assessment of the request, including a reasoned opinion, to- gether with a related documentation and, where applicable, a Cost-Benefit Analysis performed by the DSO or CDSO. The above deadline shall be shortened to three months in case a reasoned request for exemption from Cost-Benefit Analysis is submitted by the DSO or CDSO to the Authority. If the DSO or CDSO has requested an exemption from the Cost-Benefit Analysis Authority shall decide on granting or refusing the exemption within one month after the receipt of this request. If the request is rejected, the DSO or CDSO shall provide a Cost-Benefit Analysis within three months following the decision of the Authority. 5. Further to the request for derogation submitted by the System Operator, the Authority shall assess the request and related documentation. If the request or the related documentation is considered to be incomplete the System Operator shall submit the missing information as requested by the Authority. As from the day of the receipt of the complete request by the System Operator until the issuance of the decision granting or refusing the derogation by the Authority according to Chapter 7.1.2(7), the Power Generating Facilities, to which the request is referred to, are deemed as com- pliant. 6. Together with request according to Chapter 7.1.2(5) the System Operator shall submit either a Cost-Benefit Analysis or a reasoned request for exemption from Cost-Benefit Analysis to the Au- thority. If the System Operator has requested an exemption from Cost-Benefit Analysis the Author- ity shall decide on granting or rejecting this request within one month after the receipt of this re- quest. When the request is rejected, the System Operator shall provide a Cost-Benefit Analysis within three months following the decision of the Authority. 7. The Authority shall issue a motivated decision granting or refusing the derogation and specifying the duration of the derogation, including a reasoned opinion, within a further three months after re- ceipt of the complete documentation. 8. The Authority shall have the right to issue a motivated decision revoking the granted derogation under the conditions and pursuant to the provisions of national law reserving the vested interests of the concerned grid users, in the cases where the prerequisites for granting the derogation no longer exist for reasons attributable to the concerned grid users. 7.1.3 Compliance of Existing Power Generating Modules 1. An Existing Power Generating Module, which is not compliant with a requirement of the Connec- tion Code, that applies to it according to Chapter 3.1, shall apply for derogation from this require- ment according to Chapter 7.1.1 within twelve months from the day the requirement, of which it is not compliant with, becomes applicable. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx - 78 - 2. The System Operator shall have the right to refuse the operation of the Power Generating Module, if the twelve months period terminates without an application for derogation. Libya SPREL – Grid Code for Renewable Sources 2560_LBY_Grid_Code_for_RE_Updated Final.docx