Grid Code Part 3 - in English 2022 v01
Grid Code Part 3 - in English 2022 v01
90%
T&D Transmission & Distribution 80%
60%
TSO Transmission System Operator 50%
40%
_______ 30%
20%
* 1: Luis Ivan Ruiz Flores is Director of Power and Energy at ETAP Latin 10%
Environmental Regulation and iii) energy security that Electrical Systems Requirements Sustainable Projects
Requirement, MV
failure time in LV control, active power and
Failure Time
generation control
Medium
measurement
measurement measurement
✓Control requirement for energy
✓ Control Requirement and Failure ✓ Control requirement for energy
storage, network formation and
Time storage and generation control
black start-up
Traditional systems are composed of conventional facilities that will place new equipment in systems that will
generators that contribute to the inertia of the system and feed already operate with integration of connection to energy
large amounts of energy; however, having users far from the demand using VRE's.
city will have to seek to connect the use of solar parks and wind
IV. PLANNING ACTIONS FOR THE RENEWABLE FUTURE IN
farms that will be able to supply decentralized consumers.
LATIN AMERICA
The challenge of investing in technology to monitor, control
and automate the energy systems interconnected between TSO's In Latin America, there has been a great effort to move
systems and PIE's using VRE's is inevitable to conclude that it towards a trend of basing gradual actions to be able to integrate
will be for the general benefit of: i) decentralization, ii) the use of renewable energies in each country.
digitalization and iii) the electrification of 100% of local users. Therefore, in each country there are Ministerios de Energía
Therefore, the Technical Regulation having a Rule Book or that write strategic plans of how they will face the energy
local Grid Code, will allow to define the minimum and process of interconnection towards the next decades according
maximum limits of the electrical parameters and comply with to [2]. According to these Ministries of Energy and Local
the requirements to keep the energy system running smoothly Organizations of each country, the modeling of the electrical
and generate trust between the TSO's and the PIE's involving systems that allow an engineering simulation of the Public
specific benefits such as: i) implement the electricity market Network Interconnected with the Private Network must be
model with regulated electricity tariffs to offer fair prices to carried out, this model is called the electrical model or
the consumer, ii) planning of growth of the electricity grid and mathematical model. The epitome of [2] is influencing the
adhere to an operational awareness for future generations of challenge of this planning; however, in several countries there
engineers and iii) achieve a secure connection to contribute to are still no mathematical models or simulated electrical
the mitigation of the environmental impactwith an Ágil models with software tools in brownfield systems that
Decarbonization. complicates integrating with greenfield systems; that is,
So, a recommendation is to start writing a version 1 of a although local standards of actions or planning are written. ,
Local Grid Code to capture a consensus between the PIE's and they are not focusing on Technical Regulation, but rather the
TSO's with the international experience of the technical decision of Table 1 in Environmental Impact Mitigation
community. It should be taken into account that the electrical Regulations is biased and causes an effect in a slow
systems at the moment are facing 2 (two) systems called as implementation of Electricity Tariff Regulations.
brownfield and greenfield that can generate a delay in the Figures 4, 5 and 6 shows examples of how renewable
implementation ofsde the firstto version 1, possibly due to energies are being used in Colombia, Costa Rica, Mexico and
observations related to the systems. electrical with equipment Peru according to [2] and consequently must implement
that have been operating for more than 2 decades versus compliance with the Local Grid Code with agility.
IEEE PES GTD LATIN AMERICA 2022 4
Table 1. Actions for the Mitigation of Environmental Impact in Latin American countries according to [2]
Country Local S tandards Actions for the Renewable Future Local Organizations
• Energy Scenarios 2030 • Incorporation of social and environmental dimensions in long-term energy scenarios
Argentina M inistry of Economy, M inistry of Energy
• Platform energy scenarios to 2040 • Scenarios to explore the role of new technologies
• Planning continues at the M inistry of M ines and Energy, in cooperation with EPE
M inistry of M ines and Energy (M M E),
Brasil • National Energy Plan (PNE) to 2050 • Design of a long-term strategy (PNE 2050) that will guide the formulation of policies for the
Energy Research Company (EPE)
transition
• First five-year process (2018-2022) of Long-Term • Institutionalize long-term energy planning and its regular updates
Energy Planning (PELP)
Chile • Ambitious quantitative targets to achieve carbon neutrality by 2050 M inistry of Energy of Chile
• Second five-year process (2023-2027) of Long-Term
Energy Planning (PELP) • Energy scenarios built on long-term narratives and visions
• Using scenarios to explore possible energy transformation paths, their costs and implications M inistry of Energy and M ines, M ining-Energy
Colombia • National Energy Plan – PEN 2020-2050 (UPM E, 2020)
• Website where input data used in modeling is publicly displayed Planning Unit (UPM E)
• Short- and medium-term sectoral strategies aligned with the long-term National Energy Plan National Secretariat of Energy – M inistry of the
Panamá • National Energy Plan 2015-2050
• Comprehensive and quantitative evaluation of decarbonization scenarios to 2050 Presidency
Renewable Electricity Generation, Colombia 2020 Renewable Electricity Generation, México 2020
Wind Geotérmica
63 GWh 4521 GWh Solar
0.13% Solar 7% 13528 GWh
191 GWh
0.38% 20.95 %
Eólica
19701 GWh Hydroelectric
30.5% 26817 GWh
41.53 %
Hydroelectric
Hydroelectric
Hydroelectric Photovoltaic Solar Energy
49837 GWh Photovoltaic Solar Energy Wind
99.49 % Wind Geothermal
Figure 5. Use of renewable energies in Colombia according to [3] Figure 6. Use of renewable energies in Mexico according to [5]
Renewable Electricity Generation, Costa Rica 2020 Renewable Electricity Generation, Perú 2020
Solar Eólica
Geothermal Solar
65 GWh 1812 GWh
1689 GWh 779.5GWh
0.59 % 5.46%
15.53% 2.35%
Hydroelectric
30560 GWh
Wind Hydroelectric 92.18 %
1459 GWh 7661 GWh
13.41% 70.45 %
Hydroelectric
Photovoltaic Solar Energy Hydroelectric
Wind Photovoltaic Solar Energy
Geothermal Wind
Figura 4. Use of renewable energies in Costa Rica according to [4] Figure 7. Use of renewable energies in Peru according to [6]
IEEE PES GTD LATIN AMERICA 2022 5
Figure 9. Brief steps recommended by the authors to comply with the Grid
Code for electrical systems
IEEE PES GTD LATIN AMERICA 2022 6
V. RECOMMENDATIONS TO IMPLEMENT GRID CODES IN LATIN study such as the load flow analysis for example and obtain
AMERICA WITH AGILITY results to evaluate the condition of the short circuit in parallel.
Both studies (load flow and short circuit) will allow the
Nowadays, electrical systems are exposed to a lot of
Mexican authorities to demonstrate that the Grid Code is being
problems due to poor power quality, these problems are one of
partially complied with.
the main causes of unscheduled downtime. The reliability and
One of the advantages of performing the analysis of the
consistency of the electricity supply are fundamental for
electrical model is to size the amount of MVAR's necessary to
companies, when the power quality is imperfect due to
stabilize the power factor that was requested in Mexico to
disturbances, the network of the companies suffers, implying
demonstrate the requirement of 0.95 in 2019 and to be able to
economic losses.
establish the strategy of reaching the requirement of 0.97 by
On the other hand, when the facilities are going to extend in 2023 in the analyzed electrical system.
the load or expand in their electrical system it will be necessary The execution of the stable-state analysis of the electrical
to recommend solutions for: i) modeling and analysis, ii) system with the electrical model will allow the sizing of
monitoring and control and iii) implement predictive necessary equipment to avoid voltage drops along the lines,
simulation. Next, the authors propose the following additional energy loss, increase in the general demand for kVA,
recommendations based on Figure 9 and as a result it will be increase in energy consumption within the facilities, etc.
possible to obtain the effects of energy system analytics, grid The electrical community can solve the concept of the
code compliance and asset management shown in Figure 10 that power factor with the idea of placing capacitor banks; however,
is proposed by the authors to streamline compliance with grid it will be necessary to conduct a study of load flows and
codes locally in Latin American countries that are widely compare the amount of reactive energy needed to stabilize the
recommended to implement for Decarbonization. optimal condition of the load flow according to international
standards. Then, it will be reflected in being able to execute a
A. Modeling and Analysis replica of an intelligent unifilar diagram (Single-Line Diagram)
The electricity community mostly seeks to comply with that allows the visualization of the permissible limits in
local norms or standards for the electricity sector; however, parameters of voltage drops according to international
none of the customers or end users in the systems wish to breach standards.
guidelines that have already been established and that in terms On the other hand, there is a community in the electricity
of Grid Codes are reflected in written sanctions that in some sector that can execute a measurement of the power factor or
countries are voluntary and not applicable. measurement of the Total Harmonic Distortion (THD)
In Mexico, a worrying condition has been reached in the contrasting with a light receipt of the Load Center and with the
issue of sanctions since the Electricity Industry Law (LIE) analysis for example, for 7 (seven) days of the THD parameter,
ranging from 2% and up to 10% of the gross annual income of it could suggest a device to correct the level of harmonics;
the company according to the income received in the previous however, will have to demonstrate in engineering practice the
year according to Fraction I, Subsection "k" and in another simulation of the electrical system before a possible
classification in sanctions that can be from 50,000 to 200,000 improvement that is not only in the market of manufactures or
minimum wages according to Fraction II, Subsection "c". brands that could sell such filters or devices that correct the
Then, the magnitude of the non-compliance condition will THD; but they will also have to return to the step of validation
be evaluated by the Energy Regulatory Commission (CRE) and of the electric model.
with the technical support of the National Energy Control
Asset Management
Center (CENACE) taking into account among other factors, the Situational Intelligence
KPI's optimization in SEP's
A: Intelligent Automation
interruption time, number of affected users, energy not 25% A: Predictive analytics and alerts
O: Performance optimization
supplied, etc. O: Actionable decision making
Compliance with the
On the other hand, it is extremely important to clarify in Rule Book
O: Operational Awareness
Mexico that it is necessary to contribute with work plans that Local Grid Code Monitoring & Control
C: Operation control
the Load Centers have been in non-compliance since April 2019 C: State control
the idea that there has been a compliance period that is outlined, © Ruiz & Montes 2022
for example, for the beginning of the year 2024, which is why Figure 10. Authors' recommendations to streamline Decarbonization:
it is necessary to start with generating the electrical model as an modeling and analysis, monitoring and control & situational intelligence in
initial step to be able to demonstrate that a grid code compliance SEP's (Ruiz-Montes-Carrillo: RMC- Grid Code Recommendations &
Implementation)
plan is underway; that is, Step 1 is: create or generate the
mathematical model or electrical model that is sometimes
called the Digital Twin in a software tool in order to continue
with the Validation of the model in contrast to a steady state
IEEE PES GTD LATIN AMERICA 2022 7
In the electrical community, there may also be a solution to Variable speed drives with integrated services dedicated to
measure voltage flicker or "flicker" and correct it with a device Power industrial processes, including the possibility of controlling
or equipment; however, it will be inexorable to re-simulate the factor 3-phase asynchronous motors, as well as special motors
from 0.75 kW to 1.5 MW
possible solution with the electric model.
Then, it is recommended the Analysis of the Electrical Microprocessor relays for the protection, supervision and
control of feeders, cables, overhead lines with T&D
Power System that allows to go to the transition of the Protections
applications and with the versatility to connect to multi-
Connectivity of the Electric Model with the Monitoring and brand SCADA systems
Control of the system itself that will be described below. Intelligent electronic devices that allow control and
Protections supervision of different electrical substation bays with the
B. Monitoring and Control option of direct connection to instrument transformers
Within the solutions to comply with the grid code, are Digital control system for automation oriented to topology
advanced utility meters, providing precision and a host of Exchange of and electrical safety that minimizes power outages,
features, such as: transmission and distribution metering, information allowing a redesign or reconfiguration of the electrical
system
monitoring and comprehensive analysis of power quality,
compliance monitoring of power quality, digital record of Remote control of medium voltage electrical substations
Exchange of that allows remote control of various distribution
faults, etc.
information equipment at the same time with fault indicators, current
It is suggested that measurement and control equipment be measurement, etc.
integrated to allow advanced energy management in the
Online energy profilers including cloud storage and
electrical system. logging, to provide energy data presentations, utility
In the measurement equipment manufacturing market there Control
engagement and demand response for commercial and
are those indicated in Table 2 that classify the objective and industrial customers.
possible implementation in monitoring and control. Implement SW and HW tools that allow communication in
There are different types of possible solutions to obtain the Control different communication protocols for monitoring per
necessary requirements and comply with the provisions of the second or microseconds as requested by the client
Grid Code, such as: Intelligent Electronic Devices (IED),
capacitor banks, harmonic filters, different types of software for C. Situational Intelligence through predictive simulation
management, monitoring and energy control, digital control
systems, advanced power quality meters, etc. 75% of most companies today are shaping up to comply
Also, for the continuous improvement of the energy quality, with the Rulebook in countries where Grid Codes already exist;
the voltage and frequency management relays are also however, the tip of the "Iceberg" is the 25% that is missing to
recommended, they offer a solution for the improvement of the reach a true Asset Management that allows the Operational
energy quality, giving an integrated solution to obtain a safe and Awareness of energy systems and thus obtain a Predictive
efficient operation. Simulation for the benefit of Key Performance Indicators
These types of devices maintain system stability, improve (KPI’s).
power quality, ensure that interruptions that affect customers One of the effects of compliance with the Grid Code is the
are negligible and are very versatile, being an optimal and Digitization of the Electrical System and the possibility of
innovative solution to guarantee system stability. optimizing the KPI's that will drive an Automation that will
generate a Guaranteed Harmonization between compliance
Table 2. Recommendations to contribute to the monitoring and control of with local standards, optimization of the efficiency of energy
electrical systems systems and an electrification with situational intelligence
Concept or without excluding a system with cybersecurity implementation.
Solutions in the manufacturing market implement
Parameter
From the Design to the Operation es e l core axis of this
High precision meters for monitoring pie's energy Situational Intelligence is based on the electrical model that
networks, cogeneration systems, approved by LAPEM in
Monitoring
Mexico and possibility of integrating into SCADA
will allow a predictive simulation of normal or contingency
systems1 conditions, as well as a possible reconfiguration for an agile
solution in the electrical systems.
High-precision meters to measure power quality and ability
Monitoring to detect disturbance direction and analysis of rapid events The agility of implementing the grid codes in latin
including high-speed transients American countries will allow a rapid Decarbonization related
Software for Monitoring Expert in Electrical Power to a true Asset Management in the PS's (Power Systems)
Monitoring Generation, Transmission and Distribution systems to mentioned by the authors in Figures 9 and 10.
optimize operational efficiency and resource profitability Generating the Digital Twin through the creation of the
Devices for power factor compensation that guarantee the Intelligent Unifilar Diagram will allow a possibility of
Power
Factor and
handling of harmonic distortion in a simple way, with the complying with the Rule Books and at the same time having
possibility of integration in different sizes depending on the complete Projects in their future operation and automation,
Power
company, whether for commercial, industrial or public
Quality
services use allowing a true Digitalization of the Electrical Power Systems
in the country where it is tried to use the technologies already
Power Devices for correction, harmonic component reduction and
factor power factor correction and load balancing offered in the Energy Sector Market.
1
LAPEM: Testing Laboratories of Electrical Equipment and Materials of the Federal
Electricity Commission: CFE (Transmission System Operator) in Mexico.
IEEE PES GTD LATIN AMERICA 2022 8