You are on page 1of 5

24th International Conference on Electricity Distribution Glasgow, 12-15 June 2017

Paper 0645

ENEL GLOBAL SOLUTION FOR POWER QUALITY MONITORING AND ANALYSIS


José María ROMERO GORDON Christian NOCE
Endesa – Spain Enel S.p.A. – Italy
josemaria.romero@enel.com christian.noce@enel.com

Last but not least, another focus point was addressed on


ABSTRACT the PQMS. Indeed every country division still has its own
The paper deals with the solution for power quality system with lack of interoperability among them. A third
monitoring and analysis selected by Enel Global set of standards has been developed covering the internal
Infrastructure & Networks. architecture (Enel code GSTQ003), user interfaces (Enel
code GSTQ004) and extra algorithms to be applied on the
The traditional approach for interfacing power quality source data (Enel code GSTQ005).
instruments (PQIs) has been based on proprietary central
systems developed by PQI manufacturers. On the In this paper, the power quality monitoring and analysis
contrary Enel has always stood for non-proprietary methodology and the cited Enel global standards (GSTs)
solutions for interfacing these devices and their data. will be presented and discussed.
However, the upload, the analysis and the reporting of
any recording data to a central location had never been EXISTING GAPS ON PQ MONITORING
completely optimized before. Based on the long-time
Although important and effective efforts have been made
analysis of both the size of databases and the proprietary
during the last 20 years in order to standardize what and
interfacing methods, Enel Global Infrastructure &
how PQIs do measure, there is an important gap on the
Networks decided a new approach valid for the whole
way data is accessed and integrated. In contrast to rather
company on a long-term prospective.
common transducers which follow well-defined remote
As a result a set of global standards for power quality control protocols, PQIs still mostly rely on proprietary
instruments and systems have been developed for the PC software and primitive downloading methods. Indeed
Enel group, leveraging compatible and replaceable every manufacturer do provide its own software for data
devices both at hardware and software levels. This new extraction and analysis.
approach shall reduce the implementation and
For instance, even though plenty of them do manufacture
integration costs of the upcoming power quality systems.
class A devices according to IEC 61000-4-30, there is
nothing in the standard describing how to extract the
INTRODUCTION information nor how to interface with the device.
The Enel group gathers extensive and long experience on Some improvements have been made on the way data can
power quality monitoring throughout the world. be accessed for further analysis. The IEEE PQDIF [7]
Monitored sites mostly comprise nearly 4000 fixed format is one of these approaches, standardizing self-
installed indoor power quality instruments (PQIs) in Italy, describing archives containing power quality
more than 1400 PQIs in Spain, over 300 in Colombia and measurements. Although this format is highly detailed
170 in Brazil. An important share of them has been and is able to describe any set of PQ data, it suffers of
monitored for over a decade [1 - 2] and the most part of several problems:
them are class A devices according to IEC 61000-4-30
[3].
 filenames are quite large compared to the
Recent regulations, such as the Romanian act 11/2016 [4] information they store;
or the update of the Brazilian Módulo 8 [5] and Chilean  the way data is stored in the PQDIF file is not close
NTD [6], will likely enlarge the amount of fixed to the way the data is stored in the device, so hard
installations in several thousand units. post-processing is always needed.
In order to reduce the complexity of the engineering It is also rather common that external processes must run
process in substations, it was decided to harmonize the within the proprietary software, not in the PQI itself, for
PQIs by defining a common set of physical properties to the translation of raw internal data into PQDIF files.
be met, e.g. connectors, dimensions and electrical ratings, Nevertheless, the PQDIF format, although not being very
which are fully described in a first global standard (Enel optimal in size, it does provide a full and standardized
code GSTQ001). It was also addressed a key requirement way of exchanging PQ data.
of interoperability between PQIs and Power Quality Other improvements have been proposed inside the IEC
Management System (PQMS), yielding a second standard 61850 series [8 – 10], so IEC TR 61850-90-17 [10] will
about communication protocols and formats (Enel code provide the services and data modelling for transmission
GSTQ002). of PQ related data from PQIs to substation/SCADA

CIRED 2017 1/5


24th International Conference on Electricity Distribution Glasgow, 12-15 June 2017

Paper 0645

systems. situation was rather different and Enel had to adapt their
systems in order to integrate existing devices. Instead
Nevertheless, the 61850-90-17 will be just a technical from now on manufacturers must adapt themselves in
report (and not an international standards), moreover the order to meet these new highly detailed Enel GSTs.
file based transmission of PQ data will be still based on GSTQ001 mostly handles the following features:
[7] and IEC 60255-24 [11].
 mechanical, either dimensions, environment,
Another similar approach is described in CIGRÉ TB596 installation modes and connectors;
[12] Annex 4.A, outlining a flat format for PQ data. This  electrical, defining type of measurements, ranges,
format is able to manage most of the recorded data by immunity and emission limits;
PQIs, it is quite optimized in size and is close to the  types, class and measurement method of devices
internal storage methods. In fact it was taken as a ground according to [3, 13 and 14];
basis for important improvements on Enel’s new PQIs.  data interfacing, either protocols or formats;
 recording and storage capabilities for periodic
Last but not least, it is also quite remarkable that most of variables, events and waveforms.
the times the new PQIs can be connected to always-on
broadband links, which is an important improvement In short, according to the standard any Enel new PQI
compared to past situations where data had to be behaves as a fully class A device with high degree of
electromagnetic immunity, wide measurement ranges,
downloaded manually or via lengthy phone calls. This very powerful recording capabilities and strong and
new situation is the main reason for another important robust interfacing methods.
improvement on Enel’s new PQIs: the distributed
database concept. The standard also defines how to accomplish a technical
conformity assessment (TCA) for any PQI, thus turning
out into a straightforward method for verifying
DISTRIBUTED DATABASE CONCEPT compliance.
PQIs do deliver great amounts of data that is rarely used.
Most of the times just percentile values are needed for a GSTQ002 ABOUT DATA FORMATS AND
compliance analysis, but instead thousands of 10-minute PROTOCOLS
and waveforms are uploaded to a central location and
stored in databases. Less than 1% (if not much less) of This Enel GST defines the formats to exchange PQ
this information is queried by end users, but since it must measurements and events between PQI and PQMS,
be managed centrally, it puts pressure on central systems mainly based on extension to international standard
and leads to huge and costly database systems. Currently formats (particularly [7]) or on the adoption of a REST
Enel is able to successfully manage all this information in server.
a few data centres, so this is the reason why we do know
about the limitations of such approach. As already stated in previous sections, PQIs manage lots
of information so the way it is transferred somewhere is a
Due to the widespread deployment of fibre optics key issue. No matter how good any PQI is doing its job
throughout substations, it turns out that both bandwidth according to [3]: if it does not have powerful interfacing
has increased and latency decreased dramatically. This methods it will be just useless. Keep in mind that these
means that querying a central database is no longer the PQIs must be integrated in an overall global PQMS, they
fastest method to downloading data, but instead each are not intended just for a single user.
query can be forwarded to distant locations without
noticing any special quality loss. Depending on the reliability and performance of the
communication network two different scenarios have
In order to tackle both the centric and the distributed data been addressed:
management, Enel developed a new and detailed
framework for global PQMS that will be depicted in  Low reliability, low bandwidth and/or high latency
following sections (standards GTQ003, GTSQ004 and (typically older mobile networks): data is packed into
GTQ005). PQDIF files and uploaded to a central location for
later processing and integration into a central
GSTQ001 ABOUT INDOOR FIXED PQI database.
 High reliability, high bandwidth and low latency
This Enel GST defines the characteristics of the fixed (typically fibre optics links): data is kept in the PQI
installed indoor PQI (according to IEC 62586 series [13 -
14]) and accessories for measurement of power quality in an embedded database and is accessed via a
parameters in a.c. distribution systems with a declared RESTful [15] interface (i.e. common HTTP
fundamental frequency of 50 Hz or 60 Hz. That means, requests).
the definition of hardware and software features of new
PQIs. Packed files are fully aligned to the PQDIF standard and
a more restrictive data structure, so when translated they
The main goal is the harmonisation of PQIs thus reducing can be easily inserted in a centric and global database. No
the engineering costs in substations. In the past the matter which manufacturer has produced the PQI, the

CIRED 2017 2/5


24th International Conference on Electricity Distribution Glasgow, 12-15 June 2017

Paper 0645

binary file will be always translated in the same way. storage.


However, some extended PQDIF requirements are
specified in order to approach some specific PQI internal However, both the PQDIF packing and the RESTful
events not managed by [7], for instance: no GPS interface do live together in every single PQI, so it is up
synchronization, memory full, voltage anomalies etc. the local Enel subsidiary how to proceed and what sort of
storage is better for every specific environment.
Regarding the PQI embedded database, due to the
lowering costs of solid state devices and the long-term GSTQ003 ABOUT PQMS ARCHITECTURE
querying requirements, a minimum permanent storage
size of 30 GB is addressed for any device. In order to This Enel GST defines the architecture, formats and data
guarantee a good end-user interface, a minimum of 2 exchange for the new set of power quality central systems
simultaneous connection (each one with a latency within Enel.
overhead below 500 ms and an overall throughput of 100
kB/s) are requested. Regarding the size of database, a So, a new global architecture was defined taking
minimum of 5-year 10-minute periodic variables, 5000 advantage of the new outstanding embedded features in
events and 1000 waveforms or RMS recordings must be PQIs. It was important to avoid islands among
guaranteed. subsidiaries, i.e. every new PQMS should be fully
interoperable with the others (in any case just avoided
Simple and straightforward RESTful methods are defined due to country policy reasons). Indeed if data
so there is no need for complex computer drivers for management turned out into a distributed architecture
getting the information. Keep in mind that although full throughout substations, why not throughout countries?
binary or text files may be requested, the outstanding
feature is the possibility of raising queries through HTTP, This standard GSTQ003 deals with the main PQMS
yielding the results either in JSON [16] , CSV [17] or features and architecture, while human machine
even COMTRADE [11] format for waveforms. Input interfaces (HMI) and batch data processing are handled in
parameters are embedded within a JSON dictionary. subsequent texts (GSTQ004 and GSTQ005).

Next follows a typical command line query by using the The main goal is the extension of the concept of
popular CURL command line utility embedded database and its RESTful interface into the
(https://curl.haxx.se): PQMS with two main tasks:
 collecting and storing data from remote PQIs (via
curl –sPOST “http://PQI/data/periodic” --header “Content-Type:
application/json” --data “....JSON dictionary...”
translation of uploaded PQDIF files);
 forwarding specific queries to remote PQIs when
Being the JSON dictionary and the output as simple as needed (via the REST API).
stated in the following examples: These tasks are transparent to the end user and the
associated HMIs, just a matter of IP-addressing.
Compared to the RESTful API for PQIs, just a list of
devices is added to the input JSON dictionary. The
results, either in JSON, CSV or COMTRADE formats,
do also include the requested devices into its body. Few
fig. 1 JSON input, some 10-min variables, CSV output. examples are depicted next:
{
"start": "2015-11-16T22:20:00Z" ,
"end": "2015-11-19T10:20:00Z" ,
"vars": [ "v_AN_min", "v_BN_avg", …, "q_AN_min" ] ,
"format": "json"
}
fig. 2 JSON input, some 10-min variables, JSON output.
{
"timestamps1": [ "2015-11-16T22:20:00Z", "2015-11-16T22:30:00Z", …, "2015-11-16T23:50:00Z" ] ,
"timestamps2": [ "2015-11-16T22:30:00Z", "2015-11-16T22:40:00Z", …, "2015-11-17T00:00:00Z" ] ,
"v_AN_avg": [ 231.5, 232.7, …, 235.3 ] ,
… …,
"v_CN_THD_avg": [ 5.12, 5.20, …, 5.68 ] fig. 5 JSON input example, some 10-min variables,
}
2 devices, CSV and JSON output.
fig. 3 JSON output, some 10-minute variables.
t1 t2 v_AN_avg … v_CN_THD_avg
2015-11-16T22:20:00Z 2015-11-16T22:30:00Z 231.5 … 5.12
2015-11-16T22:30:00Z 2015-11-16T22:40:00Z 232.7 … 5.20
… … … …
2015-11-16T23:50:00Z 2015-11-17T00:00:00Z 235.3 … 5.68

fig. 4 CSV output, some 10-min variables.


fig. 6 CSV output example,
The JSON output is better tailored for web browsers, some 10-min variables, 2 devices.
since raw data can be requested on-the-fly from the PQI
and the browser may decide what to do with it, either
plotting or showing it on tables. On the other hand CSV
output is usually better for offline processing or flat

CIRED 2017 3/5


24th International Conference on Electricity Distribution Glasgow, 12-15 June 2017

Paper 0645
name values type example
periodic_json { { } } extended json Each value corresponds to the same response a single PQI shall deliver. Each key is the PQI's id.

{
"DR0013801492RO": {
"timestamps1": [ "2015-11-16T22:20:00Z", "2015-11-16T22:30:00Z", …, "2015-11-16T23:50:00Z" ] ,
 DISPATCHERS: they forward any request from the
"timestamps2": [ "2015-11-16T22:30:00Z", "2015-11-16T22:40:00Z", …, "2015-11-17T00:00:00Z" ] ,
"v_AN_avg":

[ 231.5, 232.7, …, 235.3 ] ,
…,
web server to the specific node.

"v_CN_THD_avg": [ 5.12, 5.20, …, 5.68 ]

"S1114|1":
},
{
BACKUP SERVERS: they connect to remote PQIs
"timestamps1": [ "2015-11-16T22:20:00Z", "2015-11-16T22:30:00Z", …, "2015-11-16T23:50:00Z" ] ,
"timestamps2":
"v_AN_avg":
[ "2015-11-16T22:30:00Z", "2015-11-16T22:40:00Z", …, "2015-11-17T00:00:00Z" ] ,
[ 110.5, 111.2, …, 117.3 ] , and download specific sets of measurements.
… …,

}
}
"v_CN_THD_avg": [ 3.10, 2.95, …, 3.75 ]
Typically they will consist of few 10-minute
fig. 7 JSON output example, recordings and events list. Data is stored in a PQ
some 10-min variables, 2 devices. DATABASE.

Last but not least, the PQMS shall be able to integrate GSTQ004 ABOUT PQMS HMI
data from diverse sources such as weather stations,
lightning activity and TSO/DSO grid events. The REST This text outlines a basilar framework for the web server
of any PQMS without getting into esthetical details,
API is just extended to these type of events. See next which will depend upon local country requirements. Any
examples for lightning activity inside geographic web server will communicate and exchange information
polygons: with other PQ elements via the global REST API.
The standard defines most likely input methods and
output reports. The exact shape of these methods within
the web server is open to every country implementation.
Next follows some examples of such input methods and
fig. 8 JSON input example for lightning activity inside a reports:
geographic area.

An overall scheme of a global PQMS is shown on the


following picture:

fig. 10 Input method based on chained dropdown menus.

fig. 11 Input method based on a rectangular area on a map.


fig. 9 Architecture of a global PQMS.

In short it consists of the following elements:


 WEB SERVER, to store, process and deliver web
pages to end-users.
 PQ NODES, consisting of any of the following
elements:
 PQIs in remote substation.
 PQ DATABASES, comprising data from several
PQIs.
 WEATHER DATABASES.
 GRID EVENTS DATABASES, handling event
data from DSO and TSO.
 META DATABASES, containing associated
attributes to any site. fig. 12 Example of an output chart (magnitud/duration
 COMMUNICATION SERVERS, mostly behaving voltage dip or swell).
as global repository for remote PQIs.
 FILE SERVERS, for managing and storing raw files.
 BATCH DATA SERVERS, for offline processing of
data.

CIRED 2017 4/5


24th International Conference on Electricity Distribution Glasgow, 12-15 June 2017

Paper 0645

During 2017 a new global standard for portable outdoor


PQI (according to IEC 62586 series) and accessories
(GSTQ006) is expected to be published. These devices
will be fully interoperable with the global PQMS
architecture (stated in GSTQ003).

CONCLUSIONS
Enel has deployed a new framework for their PQ
monitoring and analysis. This new architecture shows up
with many outstanding features that will likely improve
fig. 13 Example of a map with simultaneous events. and harmonize PQ analysis throughout the company. One
of the most challenging features are the embedded
database concept together with the global REST API.
GSTQ005 ABOUT PQMS BATCH DATA Due to country-local regulations, Romania will the first
PROCESSING place to meet the standards. Other countries will join
This standard is expected to be published in second half gradually.
of 2017. It handles the offline calculation of secondary REFERENCES
variables based on primary raw data. The results are
stored in a PQ database. Next follows some examples of [1] C. Noce, S. Sartore; Present and future functionalities of the Enel
resulting magnitudes: distribuzione power quality data warehouse; CIRED International
Conference 2011, June 6-9, 2011, Frankfurt, Germany.
 Percentiles of any 10-minute variable. [2] J. M. Romero, 2012, “Experience with Voltage Quality
 Time over or under certain thresholds. Monitoring in Spain”, CEER – ECRB – EURELECTRIC Joint
 Voltage dips characterisation according to their Workshop on "Voltage Quality Monitoring", Session III: Current
Practices in VQM across Europe – Case Studies.
severity. [3] IEC, 2015, IEC 61000-4-30, Electromagnetic compatibility
 EHV, HV or MV origin of voltage dips. (EMC) - Part 4-30: Testing and measurement techniques - Power
 Most likely root fault for any voltage dip. quality measurement methods.
[4] Romanian legislation, 2016, Ord. 11/2016 privind aprobarea
Standardului de performanţă pentru serviciul de distribuţie a
COUNTRY DEPLOYMENT AND FUTURE energiei electrice.
PLANS [5] Brazilian legislation , 2017, Agência Nacional de Energia Elétrica
– ANEEL Procedimentos de Distribuição de Energia Elétrica no
First of all it was quite clear that existing PQIs shall be Sistema Elétrico Nacional – PRODIST Módulo 8 – Qualidade da
redesigned in order to cope with the new outstanding Energia Elétric (revision 7).
features stated both is GSTQ001 and GSTQ002. While [6] Chilean legislation, 1997, D.S. 327/1997, Norma técnica de
hardware requirements did not represent a challenge seguridad y calidad de servicio, Reglamento de la ley general de
servicios eléctricos.
itself, just a matter of time, the new interface methods [7] IEEE, 2003, IEEE Std 1159.3, Recommended Practice for the
and the embedded database concept put special pressure Transfer of Power Quality Data (PQDIF).
on the device. Indeed manufacturers are not comfortable [8] Daniel A. Cumming; Power quality enhancements for IEC 61850;
with embedded time series databases. 2010 14th International Conference on Harmonics and Quality of
Power (ICHQP),
Regarding country deployment plans, it must pointed out [9] Yue Fuchang, Shao Lin, Wu Zaijun; Modeling and
that a new Romanian act about power quality was implementation of power quality monitoring device based on IEC
published in 2016. This act specified that 150 units had to 61850; 2012 China International Conference on Electricity
be installed in MV busbars by the end of 2016 and 450 Distribution.
until 2018. Due to the shortage of time the first 150 units [10] IEC, TR on development, IEC 61850-90-17 TR: Communication
are based on existing hardware and rely on a firmware networks and systems for power utility automation – Part 90-17:
Using IEC 61850 to transmit power quality data.
upgrade, being the additional 450 units fully compliant to [11] IEC, 2013, IEC 60255-24, Measuring relays and protection
the standards. Moreover a fully compliant new PQMS for equipment - Part 24: Common format for transient data exchange
Romania is expected to be ready by the end of 2018. (COMTRADE) for power systems.
[12] CIGRÉ, 2014, TB596, CIGRE/CIRED JWG 4.112: Guidelines for
Regarding the rest of countries, there might be plans for Power quality monitoring – measurement locations, processing
massive installation of PQIs in Brazil and Chile, although and presentation of data.
it depends on the evolution of local regulations. [13] IEC, 2013, IEC 62586-1, Power quality measurement in power
supply systems - Part 1: Power quality instruments (PQI).
In the mid-term it is forecasted to migrating all the [14] IEC, 2013, IEC 62586-2, Power quality measurement in power
existing PQMS into the new architecture. These plans supply systems - Part 2: Functional tests and uncertainty
will depend mostly upon budget constraints. By meeting requirements.
the Enel PQ standards all these systems shall be [15] Fielding, Roy Thomas (2000). "Chapter 5: Representational State
interoperable among them, thus upper interface layers Transfer (REST)". Architectural Styles and the Design of
could be deployed regardless the HMI in use in every Network-based Software Architectures (Ph.D.). University of
country (turning out into a fully worldwide distributed California, Irvine.
[16] ECMA, 2013, ECMA-404, The JSON Data Interchange Format.
architecture). [17] The Internet Society, 2005, RFC 4180, Common Format and
MIME Type for Comma-Separated Values (CSV) Files.

CIRED 2017 5/5

You might also like