You are on page 1of 20

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/355387253

MICROGRID MONITORING AND SUPERVISION: WEB-BASED SCADA


APPROACH

Conference Paper · January 2021


DOI: 10.1049/icp.2021.1399

CITATION READS

1 32

10 authors, including:

Mohamed Kandil Mariam Rasmy


Arab Academy for Science, Technology & Maritime Transport Egyptian Russian University
56 PUBLICATIONS 305 CITATIONS 2 PUBLICATIONS 11 CITATIONS

SEE PROFILE SEE PROFILE

Osama Ali Ahmad Besheer


Taylor's University University of Sadat City
22 PUBLICATIONS 72 CITATIONS 46 PUBLICATIONS 538 CITATIONS

SEE PROFILE SEE PROFILE

All content following this page was uploaded by Ahmad Besheer on 12 September 2023.

The user has requested enhancement of the downloaded file.


Journal of Electrical Engineering & Technology
https://doi.org/10.1007/s42835-021-00762-0

ORIGINAL ARTICLE

Micro‑grid Monitoring and Supervision: Web‑based SCADA Approach


Mohamed A. Ali1 · Mahmoud M. Barakat1 · Masoud M. Abokhalaf1 · Yasmin H. Fadel1 · Mohamed Kandil1 ·
Mariam W. Rasmy1 · Osama N. Ali1 · Ahmad H. Besheer2 · Hassan M. Emara1 · Ahmed Bahgat1

Received: 15 February 2020 / Revised: 6 September 2020 / Accepted: 14 April 2021


© This is a U.S. government work and not under copyright protection in the U.S.; foreign copyright protection may apply 2021

Abstract
Owing to the widespread use of the micro-grid concept to serve many real life applications, the main concern of this paper
is to monitor, evaluate and manage the operational performance of an existent, already installed micro-grid that consists of
On & Off grid PV systems in addition to the main grid supply. With the aid of customized web based SCADA system fully
designed by authors, the performance evaluation of the proposed micro-grid is carried out in terms of energy consumption,
power quality indices and energy cost based on Egypt’s energy current tariff. The designed system helps in both micro-grid
status monitoring as well as load sharing between the main grid supply and the off grid PV energy system. The data of the
on grid PV energy system are accessed and collected online directly from the inverter web server instead of downloading
them offline from the PV inverter. In this case, data are analyzed with a reasonable refresh rate, which saves time and effort.
Remote access platform is developed securely through a multi-level security authentication and strong data encryption using
the OpenVPN protocol under the Dynamic Domain Name System service. Smart wired and wireless technology—used as
integrated sensing devices to the developed SCADA system—enables easy system installation and running cost saving.
Finally, to validate the collected data from the newly SCADA designed monitoring system, a performance characterization
for the on grid PV system following international standards of yields calculations is carried out for 3 months in 2019.

Keywords Photovoltaic · Microgrid · Remote access · SCADA

1 Introduction Distributed energy sources, energy storage systems and


micro-grid technologies are among electrical networks’ new
Recently, the large-scale deployment of renewable energy concepts and approaches. For example, a micro-grid mainly
resources to mitigate the environmental concerns and features a self-sustained attributes that enables serving its
achieve sustainable development led to a drastic change electrical demand autonomously even in case of grid failure.
in the ways of operating and managing electrical grids. In such case, an energy management system is essential for

* Ahmad H. Besheer Osama N. Ali


ahmed.tawfeek@esri.usc.edu.eg osamanady761996@gmail.com
Mohamed A. Ali Hassan M. Emara
m.a.elgendy@hotmail.com hmrashad@gmail.com
Mahmoud M. Barakat Ahmed Bahgat
mahm0dbarakat@gmail.com abahgat@gmail.com
Masoud M. Abokhalaf 1
Electrical Power and Machines Deptartment, Faculty
masoud107mm@gmail.com
of Engineering, Cairo University, Giza, Egypt
Yasmin H. Fadel 2
Environmental Studies and Research Institute, University
yasminhamdy118@gmail.com
of Sadat City, Sadat City, Egypt
Mohamed Kandil
mohamedkandil399@gmail.com
Mariam W. Rasmy
mariamwilliam140@gmail.com

13
Vol.:(0123456789)
Journal of Electrical Engineering & Technology

optimal energy flow and use of resources in intelligent, reli- each remote station. For example, Saito et al. in [6] imple-
able, and coordinated manner. mented a home gateway architecture, which incorporates
Many researches have discussed different topologies and various home network technologies. An external client is
architectures of the micro-grid, which generally consists of connected to the local network through the link layer (layer
a number of conventional and renewable energy resources in 2 in the OSI model). In [7], Álvarez et al. developed a web
addition to electrical loads. The design of energy monitoring based SCADA system using the OPC standard for commu-
and management system for micro-grids has been exten- nication and a mash-up web interface that eases customiza-
sively discussed as well. Abouarkoub et al. in [1] assumed a tion and getting access via simple web browser. Although,
system that contains an AC generator, PV system, a battery this approach provided a convenient multiple clients’ access
pack with a charger controller and a utility grid. A fuzzy environment through internet explorer web client, it is not
logic algorithm is proposed to improve the performance secure enough and the data could be amenable to hackers.
of this micro-grid system. A SCADA system to monitor a Batista et al. in [8] proposed a hybrid micro-grid in an edu-
micro-grid that includes inverters, batteries, solar panels, cational building, which is remotely controlled by Arduino
biomass and geothermal generators with power meters to micro-controller board with relays via internet. Connected
monitor and collect status data to ensure health of a micro- loads are fed from the hybrid PV system or directly from the
grid system’s components is built in [2]. Poonahela et al. utility grid. Electrical measurements are recorded such as
in [3] presented an interactive monitoring interface based voltage and energy flow by the charger controllers and are
on LabVIEW software for a micro-grid that contains PV handled by the Arduino. Recently, an internet of things (IoT)
system, wind turbine, diesel generator and battery units. The based monitoring system approach is used in [9], to evalu-
proposed micro-grid and its management system enable the ate and enhance the performance of a PV based micro-grid.
operator to change certain parameters to allow working in Web clients can connect to site server locally or remotely
several modes and to observe the interaction between the via internet. Alexey et al. [10] presented the features of
components involved. Reddy et al. in [4] performed a behav- SCADA systems application and the IoT technologies. It is
ioral simulation of each individual component in a proposed shown that the use of web-based SCADA provides most of
micro-grid. The paper suggests using programmable logic the requirements for such systems and is a scalable solution
controller (PLC) and SCADA instead of conventional mod- at all its levels.
eling and simulation tool of MATLAB. Accordingly, simu- Using GPRS communication technology, a secure
lation speed, simulation span are enhanced. Moreover, the point-to-point connection with no possibility for any third
proposed method possesses high fidelity to design, which party intrusion for a remote wireless monitoring system is
supports communication with real time hardware. Corchado achieved in [11]. Under the same direction of data security,
et al. in [5] implemented an architecture based on a multi- a secure multi remote terminals connection for a wireless
agent approach on single-board computers; each agent is remote monitoring system based on the GPRS to connect the
responsible for a certain area of the building. Unlike com- geographically separated remote units to the central interface
mon solutions, it is designed for end-users to interact with station is achieved in [12].
the grid. All agents interact with each other to store the data To enhance the SCADA web server remote access secu-
and to achieve the integrated energy management plan. This rity through internet, Zhang et al. in [13] developed an
modular architecture could not be easy to be extended in internet home automation system using a web server and
future micro-grid expansions. All of the above mentioned Dynamic Domain Name System (DDNS) service. In this
research works are based on monitoring and analyzing the manner, a fixed host name is provided to the external cli-
collected data in a centralized manner where the operator ents for getting access instead of having a static IP address.
should exist in front of the SCADA master station normally Furthermore, Hongping et al. in [14] assured all internal
in the control room. Meanwhile, the remote access monitor- network resources security via accessing only the web server
ing approach is considered to be useful for such application without accessing the local network in a proposed archi-
to enhance the reliability and the operability of the SCADA tecture of a web server based central monitoring node. In
based monitoring and management system for micro-grid. [15], a distributed control system (DCS) is alternatively used
Many researchers have worked in the internet based remote as a data acquisition system for monitoring and control of
monitoring approach; one of the common proposed archi- a university campus micro-grid consists of two combined
tectures is to deploy a network gateway to connect external heat and power generators. Using an IoT enabled open
clients to network resources which has a static public Inter- sourced software (BEMOSSTM), they controlled the load
net Protocol (IP) address. On the other hand, Global System connected to the micro-grid and managed energy consump-
for Mobile (GSM) modems are used in cellular based remote tion. The DCS unit is remotely accessed for monitoring
monitoring through General Packet Radio Service (GPRS) and control through internet and the security is assured by
by installing a Subscriber Identity Module (SIM) card at proper authentication and access control. Lawrence et al. in

13
Journal of Electrical Engineering & Technology

[16] presented the development of a low cost, open source • Designing a reliable SCADA system that can be accessed
SCADA system for solar PV system monitoring and remote from anywhere and at any time for monitoring and analy-
control. The proposed SCADA system is based on the Inter- sis purposes of micro-grid generation system.
net of Things (IoT) SCADA architecture which incorporates • Designing a wide customizable SCADA application
web services with the conventional SCADA for a robust which enables integrating multi-vendors’ products into
supervisory control and monitoring. a single web interface with an easy future expansion edit-
The developed platform in this paper features interoper- ing with an open software that enables server redundancy
ability attribute and avoids common drawbacks in the lit- architecture.
erature such as: • A relevant analysis and planning tool for evaluating the
operational performance of the studied micro-grid, hence
• Lack of parameters storage capability for long-term ensures the health of the system components and assists
analysis for more than one year; as the majority of the in future installation of such novel concept.
used energy monitoring and management platforms are • The ability of robust operation and data storage over long
single-board computers based with limited built in stor- durations using smart meters across different nodes of the
age memory and limited visualization customizability. micro-grid.
• Non-fault tolerant energy monitor platform and no redun- • A load-sharing algorithm via the designed SCADA sys-
dancy architecture for energy management servers. tem is adopted to relieve stress condition on the electrical
• Less robust operation when using non-industrial control- network and to provide power exchange pricing optimiza-
lers such as Arduino. tion.
• High initial cost on implementing the remote access • The proposed architecture for remote access has consid-
architecture when using geographically separated GSM erable less initial and running cost. It also provides more
remote units at each place. security for the data transmission.
• High running costs of remote data transmission charging
when connecting remote clients through the link layer
(layer 2 in the OSI model).
2 The Proposed System
In this paper, an energy status monitoring and manage-
ment platform for micro-grid reliable operation is developed The micro-grid under study is composed of three power
through connecting multi-vendor products installed at differ- sources namely on-grid PV system with nominal capacity
ent points of the micro-grid to single platform using standard of 5.1 kW, off-grid PV system with nominal capacity of
communication protocols. Instead of accessing the platform 1.1 kW in addition to the 3 phase main supply. The on-grid
as a conventional SCADA client, all SCADA servers and PV system consists of one PV array of 20 polycrystalline
screens are deployed to the network web server in the same modules each 255 W, grid-tied inverter while the off-grid PV
machine; this facilitated accessing the platform through a system includes one PV array of 4 polycrystalline modules
web browser locally or remotely. A secure cost saving inter- each 255 W, 500Ah, 24 V battery system, 24 V charger con-
net connection between external clients (such as stakehold- troller and standalone inverter. All power sources are coor-
ers, building administrators and operators of the micro-grid) dinated to feed different kinds of electrical loads situated in
and the main network webserver (SCADA master station) is DCS laboratory in building 9 at the faculty of Engineering,
developed to increase the operability of the designed status Cairo University, Egypt. Both PV energy systems are erected
monitoring system. An OpenVPN server is setup based on on the rooftop of the same building. Three different power/
Dynamic Domain Name System service for managing access energy meters are also erected in the proposed system for
of remote clients if they match all credentials and certifi- the sake of monitoring and control. Firstly, SIEMENS SEN-
cates. This establishes an encrypted secure private tunnel TRON PAC3200 energy meter [26] is installed directly after
between clients and the webserver. the KOSTAL/PIKO on grid inverter [27] to monitor differ-
To characterize the performance of the proposed micro- ent variables in the on grid PV system. Secondly, PM 710
grid under real climatic conditions, an operational perfor- power meter [28] is installed on the main feeder of the utility
mance investigation is performed following the IEC-61724 grid to measure the overall consumption of the building 9
standard [17]. This investigation is mainly based on the and identify the direction of the power flow to and from the
computation of performance indices calculated from differ- utility grid. Finally, a smart wireless energy sensor (Power
ent energy yields and losses, (see for instance: [18–25]). Tag) [29] is installed on the local distribution board of the
The investigation depends on the collected and stored data DCS lab to only identify the totalized consumption of this
through the designed SCADA system. lab. The technical specs for the all used devices and the two
The key advantages of this work are as follows: PV energy systems are found in [18]. The system is also

13
Journal of Electrical Engineering & Technology

equipped with various types of protection devices. All used for system’s data in a faster and more efficient manner.
meters are functioned as the field sensors to collect data for Furthermore, it shows detailed and centralized parameters
monitoring and supervisory controlling purposes via a com- display. The collection and the display of the data are facil-
plete designed SCADA system. Figure 1 shows the proposed itated by the use of “PowerSCADA expert 8.1” software
micro-grid with different auxiliary devices. [30]. The general communication layout for the suggested
SCADA system is shown in Fig. 2.

3 Monitoring and Management


of the Proposed Micro‑grid 3.1.1 Communication of KOSTAL/PIKO Inverter with SCADA
Webserver
3.1 Centralized SCADA System
The data collection process in the designed SCADA sys-
In this section of the paper, a complete design for SCADA tem of the proposed micro-grid is mainly based on estab-
system is introduced. The designed SCADA system is built lishing proper communication links between the SCADA
to monitor different parameters of the on grid PV system, server (master station) and various measuring sensors (on
various reading of PM 710 power meter device, SENTRON grid inverter, PM 710, Sentron Pac 3200 and the power
PAC 3200 energy meter and the power tag wireless energy tag). These sensors have the ability to measure and trans-
sensor. The different collected and displayed micro-grid mit the reading of number of useful parameters in the pro-
parameters are shown in Table 1. posed micro-grid. Thanks to the intrinsic capabilities of
Although there are two ways to collect and monitor the the KOSTAL/PIKO inverter which can collect more than
data of the system which are based on either a dedicated 19 parameters for the on grid PVES. The collection and
software that can connect to the KOSTAL/PIKO inverter archiving of these data is important to evaluate the opera-
via Hypertext Transfer Protocol (HTTP) communication tional performance of the micro-grid as shown in section
protocol or the webpage of the inverter itself, the designed (last section). In our design, although the KOSTAL/PIKO
SCADA system replaced both of them and offered couple inverter doesn’t communicate through Modbus TCP/IP
of advantages. It provides continuous access and display protocol, the problem of getting online data to the SCADA

Fig. 1  Micro-grid single line diagram

13
Journal of Electrical Engineering & Technology

Table 1  Main measured micro- Parameters Unit Parameters Unit


grid parameters
PM 710 (on the main feeder) Sentron Pac 3200 (on the AC side of the
inverter)
AC current/phase A AC voltage V
AC voltage/phase V AC current A
Active power W Active power kW
Reactive power VAR Reactive power KVAR
Apparent power VA Apparent power KVA
Power factor 0.000–1 Power factor %
Active energy kWh THD in voltage %
Reactive energy VARh THD in current %
Apparent energy VaAh Active energy kWh
THD in voltage Max/min Reactive energy kvarh
THD in current Max/min Apparent energy kVAh
Power Tag Kostal PIKO Inverter
Lab current A AC and DC voltages V
Lab voltage V AC and DC currents A
Lab active power W Ambient and cell temperatures °C
Lab reactive power VAR In plane radiation W/m2
apparent power VA Active power W
Lab power factor % Daily and total active energy kWh
Lab energy measure Wh

system continuously from an HTTP based device is solved. Figure 4 shows the real time data being displayed on the
To access the data of the inverter, the following procedures webserver then extracted to the excel sheet and finally
are followed: uploaded to the SCADA database to be displayed at the
SCADA graphic display as shown in the top right of the
1. Access the stored data of the inverter through its web- figure.
page using its IP address.
2. Enable Visual Basic Macro in an Excel file to retrieve 3.1.2 Communication of other Devices with SCADA
these data from the Hypertext Markup Language Webserver
(HTML) file of the accessed inverter webpage.
3. Transfer these accessed data to a spread sheet in the In addition to the data extracted from the on grid PV
excel file. inverter, the designed SCADA system communicates
4. Use DDERead function in the SCADA software to trans- with other measuring sensors such as PM 710, Sentron
mit the required information to the SCADA database. Pac 3200 and power tag to collect other useful data that
5. The SCADA software displays the data in any suitable help in monitoring the daily load profile of building 9. The
form. installation of the PM 710 power meter on the building
distribution board with the necessary protection breakers
The sample rate of the measured data using excel sheet is shown in Fig. 5. The communication link between this
method is 10 s which is faster than the 10 min sample rate meter and the SCADA server is established through Mod-
of the stored data in the inverter memory. This is a one-way bus RTU serial communication protocol via a twisted pair
static communication which is read once from the appli- RS-485 cable. A gateway (EGX100 Bridge) is also used to
cation per call. To read the useful data dynamically, this convert RS485 with master/slave media access to Ethernet
function is called only during inverter active hours at a rate with random media access to facilitate the required con-
of 10 s at which the data are to be updated. To filter useful nection to the SCADA server.
data from the HTML file in a single polling, useful HTML The Sentron Pac 3200 smart energy meter is installed at
elements are extracted by their tag name using the (getEle- the AC terminals of the KOSTAL/PIKO inverter to provide
mentsByTagName) function. Figure 3 shows the block various PV AC measurements and to calculate the on grid PV
diagram of the prescribed communication cycle between energy sold at the end of each month. The communication
the KOSTAL/PIKO inverter and the SCADA webserver.

13
Journal of Electrical Engineering & Technology

Fig. 2  System communication


layout

Fig. 3  Data flow between


inverter and SCADA webserver

link between this meter and the SCADA server is established measurements over the wireless Zigbee protocol and to pro-
through Modbus TCP/IP via Ethernet cable. vide these data to the SCADA system.
Finally, the energy sensor (Power Tag) that featured
compact size and easy installation procedures is installed 3.2 Remote Access Via Web Client Topology
at the base of the main circuit breaker located at the DCS
lab’s distribution board as shown in the Fig. 6. A wireless This section introduces a cost saving secure internet connec-
concentrator (Smartlink) [31] is used to retrieve the sensor tion between remote external clients (not in front of master

13
Journal of Electrical Engineering & Technology

Fig. 4  Co-ordination in inverter readings among all interfaces

Fig. 5  Main feeder power meter panel Fig. 6  Power tag at the main lab circuit breaker

13
Journal of Electrical Engineering & Technology

station) such as stakeholders, building administrators and 3. Once the client is connected to the OpenVPN network,
operators and the SCADA server. The proposed commu- he is able to access the server resources, which is mainly
nication link is based on DDNS service where an Open- the web server if it is on the same machine as the Open-
VPN server is setup for granting access to remote clients if VPN server like in our case.
they match all credentials and certificates. It establishes an 4. Some additional network resources need to be accessed
encrypted secure private tunnel between clients in remote by OpenVPN clients as an alternative for the incompati-
locations and the SCADA webserver. The operating sys- bility of the web client on other platforms than windows;
tem used is Windows server 2008 R2 Enterprise SP1 while server internal routing commands are set up to route data
the SCADA server and the Web server used are licensed traffic between the selected devices in the local network
PowerSCADA Expert v8.1 and Internet Information Ser- and OpenVPN clients who are in the OpenVPN net-
vices (IIS 7) respectively. The server machine series is Dell work, which are both two different networks. As with
PowerEdge R720. The approach proposed to establish the the mobile IoT applications.
required remote access to the SCADA system is performed 5. In regard to the needed security level in such com-
as follows: munication channel, the OpenSSL available ciphers
to encrypt data and control channels is used based on
1. The OpenVPN server grants clients connection request Secure Socket Layer (SSL) and Transport Layer Security
after validating the client data and establishes an (TLS) for key exchange (layer 6 in the OSI model).
encrypted private tunnel. 6. Moreover, an additional Hash-based Message Authen-
2. A network firewall is deployed to block any external tication Code (HMAC) packet authentication feature is
incoming malicious connections and to only allow the added as an extra layer of security.
external client specific request port to be forwarded to
the OpenVPN server as in Fig. 7.

Fig. 7  Remote access architecture

13
Journal of Electrical Engineering & Technology

Fig. 8  Web server system architecture

Instead of client access through traditional SCADA with specific OpenVPN protocols to get users to subscribe in
installing the SCADA software prerequisite, a web client their higher-priced services.
access is introduced locally (within the local network) or • When connecting OpenVPN clients to some LAN
remotely (outside the local network). Accessing our SCADA resources, linking through layer 3 in the Open System
system through a web browser will be done by establishing
a deployment of the SCADA servers (Alarms server, Trend
server, Report server, I/O server) which will be the project
node and storing it in the network web server with all config-
ured SCADA interfaces. Figure 8 illustrates this architecture
as following:

Remark 1

• The proposed approach Makes use of the already existing


internet connection in the DCS lab via the Asymmetric
Digital Subscriber Line (ADSL) service as a media of
connection with remote clients.
• The OpenVPN runs over User Datagram Protocol (UDP)
or Transmission Control Protocol (TCP), which makes
it a more desirable solution than Internet Protocol Secu-
rity (IPsec) where an internet service provider may block

Fig. 9  Windows remote openVPN client

13
Journal of Electrical Engineering & Technology

Fig. 10  Android remote Open- 4 Results


VPN client
4.1 Micro‑grid Parameters Visualization

A single line diagram of the proposed micro-grid is shown


on SCADA page in Fig. 13. A quasi-instantaneous status
monitoring of some of the collected parameters in Table 1
are also shown in Fig. 14. the trends express the current,
voltage and power of the on grid PV system using the
designed SCADA. Four SCADA screens for KOSTAL/PIKO
inverter, PM 710 power meter, SENTRON PAC 3200 energy
meter and the wireless power tag energy sensor are shown
in Fig. 15.
The daily load curve for Building 9 on May 21th 2019
Interconnection (OSI) model (Network layer) is used by is displayed on SCADA screen as shown in Fig. 16. The
routing configuration to only route the intended traffic building’s loads consumption is almost constant at night
and reduce traffic overhead in the OpenVPN tunnel. between 6 PM and 6 AM, as all the halls are closed and
• With routing configuration, OpenVPN is supported only some of the loads–mainly computers- at labs are
by plenty of platforms (e.g. Windows, Android, IOS, working. At 8 pm it is noticed that the direction of the
Linux), while bridging configuration (Layer 2 /link layer) power is reversed, because the PV system starts to gener-
or tap mode are not supported in both android and IOS. ate power to the network. The Building’s Peak consump-
tion is occurred during the time from 4 to 5 p.m. The
In this section, the remote external clients are proposed Building’s minimum consumption is occurred during the
to be a home PC running on windows 10 and an Android time from 1 to 2 p.m.
phone. Both of them get its internet connection through a
home gateway and cellular data respectively. Figures 9 and Remark 2
10 show the open OpenVPN connections for the windows
and Android clients. Three devices are selected (SmartLink, • The negative portion of the building load curve expresses
on-grid inverter and EGX100) to be accessed by the pre- the amount of the excessive generated energy from the
vious two remote access clients. Figures 11 and 12 dem- on grid PVES as a part of the micro-grid and sold to the
onstrate these devices tabs, which are opened next to each utility grid.
other in the windows client and in cascade manner in the • The maximum and the minimum building’s energy con-
android client. sumptions are inversely related to the amount of energy
generated from the on grid PVES.

Fig. 11  Selected network


devices web interfaces on
windows

13
Journal of Electrical Engineering & Technology

each phase of the main feeder of the utility grid and the
maximum phase voltage.
These indices are very useful and necessary to main-
tain stable power supply performance and improve the
power quality of the system. The monthly total energy,
the monthly peak demand and the monthly bill value based
on the Egyptian electricity tariff are included in this report
to get the building administrators always informed of how
they are accounted in their bill.
On the left side of the figure, a bar chart shows the sold
and consumed energy on a monthly basis. The values of the
instantaneous total active power are extracted upon a daily
event specified on the SCADA application. Those values are
used to calculate both the daily average of the positive values
and the daily average of the negative values. Hence, the total
daily sold and consumed energy values can be calculated
and aggregated to previous values of the same month. A
comparison study among those months is carried out in the
(Micro-Grid Performance Indices) section; where system
yields and losses in each month have a significance on the
amount of consumed/sold energy in that month.
The bottom right side of the figure shows the tariff of the
Fig. 12  Selected network devices web interfaces on android
month to be updated daily. The building consumption tariff
is calculated using the net active energy recorded by the
power meter, which is automatically reset at the beginning
of each month.

4.2 Automatic Load Sharing

This section of the paper is intended for the management of


the energy flowed in the micro-grid. The main concern is
to relieve the stress condition of the main grid particularly
in peak period by automatically transfer some of the DCS
lab loads to be fed from the off grid PV system. A PLC of
type Modicon M221 and two contactors TeSys D are used
to emulate the role of automatic transfer switch (ATS). The
emulated ATS hardware circuit is shown in Fig. 18. The PLC
is also monitored and controlled via the proposed SCADA
server. The PLC is communicated with the SCADA through
Ethernet as a physical layer using Modbus TCP/IP protocol.
Fig. 13  SCADA micro-grid single line diagram The main utility grid and the off grid PV system are coor-
dinated to serve feeding the load continuously. The main
A monthly summary report on the power injected and objectives of the PLC logic are two folded. Firstly, to keep
consumed of the utility grid is designed in the SCADA the battery charged and secondly, to serve the lab load at
system and shown in Fig. 17. This provides better under- all time.
standing of the productivity of energy generation systems Figure 19 demonstrates the process of the proposed con-
installed in such building compared to its consumption; trol algorithm as follows:
this can be helpful in determining how dependent the
building is on the utility grid and how to take forward 1. In normal case, in the early morning, the off grid system
steps towards sustainability by sizing future micro-grid is managed to charge the battery and the load is served
expansions. The report also exhibits some power quality from the main grid.
indices such as max total harmonic distortion (THD) in 2. At the first time stamp during the increase of the grid
loading exceeding the 9 kW barrier, as the PV injected

13
Journal of Electrical Engineering & Technology

Fig. 14  Current, voltage, power trends

power is decreasing. A total load of 4 kW is released for July 17th. Finally, the daily variation of AC output power
from the grid by the means of load shedding of the addi- and the radiation are plotted in Fig. 25 For August 5th.
tional air conditioner of 3 kW and feeding a portion of There is a direct relation between the radiation and the
lab loads from the 1 kW off grid system. difference between cell and ambient temperatures in Figs. 20
3. The off grid PV system continues to feed the load for 5 h and 21. This relation factor depends on the Nominal Operat-
(Egyptian solar peak hours) to discharge all the energy ing Cell Temperature (NOCT) parameter, which is defined
captured from the sun during the day. In such case, this by the PV cell manufacturer.
will alleviate the load during the peak period. When referring to Fig. 22 at sunrise, when radiation
4. Afterwards, when the load is 5 kW or below, the off grid builds up, the open circuit voltage increases simultaneously.
PV system is disconnected and all the loads are fed back The on-grid inverter starts its operation when the voltage
from the main grid. across the PV panels reaches the cut-off value around 650 V.
When the inverter starts Maximum Power Point Track-
4.3 Performance Evaluation ing (MPPT), the DC voltage across PV panels drops to the
MPPT value. The on-grid inverter adjusts this voltage oper-
This section represents operational performance investiga- ating point along the day until sunset.
tion for the proposed micro-grid particularly the on grid In Figs. 23 and 24, both DC and AC currents take the
PVES. This investigation is performed based on computed shape of the solar radiation along the day.
performance indices following international standards. There is a direct relation between output power and radia-
These performance Indices are calculated using the proposed tion as they both share the same pattern as in Fig. 25.
SCADA based status monitoring. For the sake of brevity,
sample of data collected and stored in the designed SCADA
is presented. Based on these monitored system’s variables, 4.4.1 Micro‑grid Performance Indices
the results of the calculation are only shown below. The for-
mula and the detailed calculation procedures can be found In this section, the operational performance of the micro-
in [18]. grid is evaluated based on different energy quantities gener-
ated from the on grid PV inverter webserver and collected
4.4 Micro‑grid Status Monitoring by the developed excel sheet. In this excel sheet where the
PV database exist, simple calculations are executed on these
Radiation, ambient and cell temperatures trends are dis- data to obtain and visualize micro-grid performance Indi-
played in SCADA screens as shown in Figs. 20 and 21 for ces on charts. The monthly output energy of the PV array
July 20th. Time versus DC voltage with radiation is pre- “EDC” and the total monthly-injected energy into the grid
sented in Fig. 22 For July 21th and DC and AC currents from the PV system “EAC” for the period of three months
variation along with time are all presented in Figs. 23 and 24 spring season of 2019 are shown in Fig. 26. Based on these

13
Journal of Electrical Engineering & Technology

Fig. 15  SCADA real time parameters display from different metering devices

energy values, different monthly system yield quantitates • In Jun-19 the Y


­ r was high which means that the radiation
(array “Ya”, reference “Yr” and final yield “Yf”) are calcu- was good but this was not completely reflected on the Y ­ f
lated and shown in Fig. 27. Hence, different monthly sys- or ­Ya
tem’s losses quantitates (captures and system losses) are • the capture losses in this month is high, this means that
also computed and a comparison between final yield “Yf”, the inverter was not working continuously in that month
capture losses “Lc”, and system losses “Ls” are also shown in due to AC grid absence in vacations as in Fig. 26 and 27.
Fig. 28. finally, the monthly performance index that reflects • The performance ratio for that month decreased as a result
how ideal the micro-grid operates is shown in Fig. 29. of the capture losses did not reflect on the system DC and
AC energies.
Remark 3
This figure shows the monthly performance ratio for the
PVES during the studied period. It describes how close a PV

13
Journal of Electrical Engineering & Technology

Fig. 16  The relation between the PV generated power and the power of the main feeder

Fig. 17  Building summary report

system performs in an ideal manner. The minimum perfor- 5 Conclusion


mance ratio of the system (PR = 0.53) was achieved in June
due to the increase in the overall system losses. While the This paper evaluates the operational performance of a
maximum PR equals 0.84 was achieved in April due to the micro-grid (MG) consists of On and Off grid PV systems
improvement of both the capture losses and the inverter effi- plus the grid supply. This MG is designed to serve the
ciency.table

13
Journal of Electrical Engineering & Technology

electrical loads demand in the DCS lab located in build-


ing 9 faculty of engineering, Cairo University. This paper
presents a fully designed micro-grid system consists of
5.1 kW on grid and 1.1 kW off grid PV energy systems
in the presence of main utility grid to serve the electrical
loads demand in the DCS lab located in building 9 fac-
ulty of engineering, Cairo university. The paper is mainly
focused on designing a web based SCADA system for the
purposes of status monitoring and energy management
for the proposed micro-grid. The data of the on grid PV
system is collected then analysed online and a historian
trend is shown in a designed SCADA system with a rea-
sonable refresh rate. The SCADA development serves
as a simple and easy to install planning and monitoring
system. It also outperforms the web server capabilities of
Fig. 18  The emulated ATS hardware setup

Fig. 19  Load sharing management process

Fig. 20  Solar radiation Fig. 21  Ambient and cell temperature

13
Journal of Electrical Engineering & Technology

Fig. 22  Time versus DC voltage with radiation

Fig. 23  Daily variation of DC currents Fig. 24  Daily variation of AC currents

the system inverter and collects the data in a very short be accessed from anywhere and at any time for monitoring
sampling period (10 s. instead of 10 min.). A cost sav- and analysis purposes of micro-grid generation system.
ing secure internet connection between external clients Based on the designed SCADA system, a validation for
and the main network webserver is further developed to the SCADA based collected data is performed. The opera-
increase the reliability/operability of the newly designed tional performance of the proposed micro-grid under real
monitoring system. Based on Dynamic Domain Name climatic condition of Cairo is explored with performance
System service, an OpenVPN server is setup for granting ratio ranged from 70 to 90%. Finally, the key features of
access to remote clients if they match all credentials and the developed web based SCADA platform that highlight
certificates. By this way, the designed SCADA system can the paper contribution is demonstrated in Table 2.

13
Journal of Electrical Engineering & Technology

Fig. 25  Daily variation of AC output power and the radiation

Fig. 28  Comparison between final Yield “Yf”, capture losses “Lc” and
system losses “Ls”
Fig. 26  PV array energy “EDC” and the injected energy to the grid
“EAC”

Fig. 27  Variation of monthly system yields

Fig. 29  Monthly performance ratio of the micro-grid

13
Journal of Electrical Engineering & Technology

Table 2  Developed platform key features

Aspect Contribution

System installation Easy installation as system equipment can be added to conventional power switchboards with minimal replace-
ments and additional wiring as with the (Powertag energy sensor)
System transforms conventional grid elements to be smart by modelling and interacting with their information
through added equipment as with all meters and controllable contactors
Cost Cost saving by using one central unit (PLC) which is responsible for implementing the load sharing algorithm and
sending the control orders to the simple switching elements (Contactors)
Cost saving by using an open source software in the SCADA visualization platform
Cost saving by using an open protocol (OpenVPN) in implementing a secure remote access to the platform
utilizing the existing ADSL internet connection without purchasing of additional network units or any service
subscription
Interoperability System features multi-vendor products (Schneider Electric, Siemens, Kostal Piko) and integrates them all using
standard communication protocols (Modbus, ZigBee, HTTP)
Operation sustainability Platform is operating 24 h a day, seven days a week with the functionality to self-restore after a power interruption
Convenience Platform features all system parameters in a single SCADA web interface as with (Incorporating inverter web
server measurements in the SCADA interface)
Providing remote access to external clients using either (Windows, Android or IOS)
Security A two layer 256-bit encryption protects the local network from any external intrusion by the (OpenVPN) protocol
A hierarchical authentication is setup in the network master web server to manage web clients access
A hierarchical authentication is setup in the SCADA server to manage visualizing or controlling micro-grid assets
Extendibility Platform can be extended for future micro-grid extensions by adding more devices, switches and configuring their
parameters and screens in the SCADA software
Safe resources management A load sharing algorithm is implemented to maintain utility grid loading limit, batteries state of charge and impor-
tant loads service continuity
Equipment Maintenance Predictive maintenance programs can be scheduled according to the performance evaluation conducted on a
monthly basis
Loads malfunctioning issues can be addressed from recording the power quality indices at different nodes of the
micro-grid

Acknowledgements This work was conducted in the Distributed Con- 6. Saito T, Tomoda l, Takabatake Y, Ami J, Teramoto K (2000)
trol Systems (DCS) lab. at faculty of Engineering, Cairo University as Home gateway architecture and its implementation, IEEE Trans
a part of the research outcomes of the grant no. STDF2663 funded by Consum Electron 46(4)
Science and Technology Development Fund (STDF) in Egypt. 7. E. Álvarez, AM Campos R. García S. González and Díez C,
(2010) Scalable and usable web based supervisory and control
system for micro-grid management, International conference on
renewable energies and power quality (ICREPQ’10), Granada
References (Spain), 23rd to 25th March 2010
8. Tiggemann H, Dias JB, Dai-Prá LB (2016) Monitoring and remote
1. AbouArkoub A, Soliman, M, Gao Z, et al (2018) An online smart control of a hybrid photovoltaic micro-grid. Int Journal of Engi-
microgrid energy monitoring and management system, The 6th neering Research and Application 6(7):74–78
IEEE international conference on smart energy grid engineering 9. Tyagi A, Dubey M, and Gawre, S, (2018) Advance monitoring of
2. Lazar E, Etz R, Petreus D, et al (2015) SCADA development for electrical and environmental parameters of PV system, International
an Islanded Microgrid, IEEE 21st International symposium for conference on sustainable energy, electronics, and computing sys-
design and technology in electronic packaging (SIITME) tems (SEEMS), 2018.
3. Poonahela I, Bayhan S, (2018) Development of labVIEW Based 10. Sviridov A, Bobkov V, Bobrikov D, (2020) Alexander Balashov
monitoring system for ac microgrid systems, IEEE 12th interna- Architecture of WEB-based SCADA, Conference of Russian young
tional conference on compatibility, power electronics and power researchers in electrical and electronic engineering (EIConRus)
engineering (CPE-POWERENG) 11. Chao C, Keqilao M, Muyu G, (2009) The remote wireless monitor-
4. Reddy YJ, Ramsesh A, Raju KP, et al (2011) Novel approach for ing system based on GPRS for off-grid wind turbine”, International
modeling and simulation of hybrid power systems using PLCS conference on new trends in information and service science
and SCADA for hardware in the loop test, second international 12. Zhong-xuan L, Xiao-yu J, Zhao-fu H, (2010) Research on remote
conference on sustainable energy and intelligent system (SEIS- wireless monitoring system based on GPRS and MCU, International
CON 2011), India, 20–22, July2011 conference on computational problem-solving, 2010
5. Gomes L, Juan ZV, Corchado M (2019) Micro-grid management 13. Zhang X., Sun J, Zhou, L, Development of an internet home automa-
system based on a multi-agent approach: an office building pilot. tion system using java and dynamic DNS service, Proceedings of the
International Measurement Confederation (IMEKO) journal sixth international conference on parallel and distributed computing,
154:107427 applications and technologies (PDCAT’05)

13
Journal of Electrical Engineering & Technology

14. Fang H. Fang, K. (2010) The Design of remote embedded monitor- 335/​en_​US/​Power​SCADA%​20Exp​ert%​20Sys​tem%​20Int​egrat​ors%​
ing system based on internet, International conference on measuring 20Man​ual%​20v8.1.​pdf
technology and mechatronics automation, China, 2010 31. Acti9 Smartlink SI D – User Manual. (2018, March 1). Retrieved
15. Khan K, Rahman A, Nadeem A, Siddiqui M, (2018) Remote moni- July 2, 2019, from https://​www.​schne​ider-​elect​ric.​com/​en/​downl​oad/​
toring and control of microgrid using smart sensor network and docum​ent/​DOCA0​115EN/
internet of thing”, 1st international conference on computer appli-
cations & information security (ICCAIS), Saudi-Arabia, 2018 Publisher’s Note Springer Nature remains neutral with regard to
16. Aghenta LO Iqbal MT (2019) Development of an IoT based open jurisdictional claims in published maps and institutional affiliations.
source scada system for pv system monitoring, Canadian conference
of electrical and computer engineering (CCECE), 2019
17. INTERNIOAL STANDARD IEC-61724. https://​webst​ore.​iec.​ch/​
previ​ew/​info_​iec61​724%​7Bed1.0%​7Den.​pdf Mohamed A. Ali received his B.Sc. from the Electrical Power &
18. Besheer A, Eldreny M, Emara H, Bahgat A (2019) Photovoltaic Machines Department (EPMD) at Cairo University (CA) in 2019. He
energy system performance investigation: case study of 5.1-kW is pursuing his M.Sc. degree in the Energy Management Research at
rooftop grid tie in Egypt. J Energy Eng 145(3):1–10 Cairo University.
19. Adaramola MS, Vagnes ET (2015) Preliminary assessment of a
small-scale rooftop PV-grid tied in Norwegian climatic conditions. Mahmoud M. Barakat received his B.Sc. from the (EPMD) at CA in
Energy Convers, Manage. 90:458–465. https://​doi.​org/​10.​1016/j.​ 2019. He is currently working as a SCADA Operator Engineer at the
encon​man.​2014.​11.​028 National Advanced Transmission & Automation Centre (NATA) and
20. Micheli D, Alessandrini S, Radu R, Casula I (2014) Analysis of the pursuing his MSc degree.
outdoor performance and efficiency of two grid connected photovol-
taic systems in northern Italy. Energy Convers Manage 80:436–445. Masoud M. Abokhalaf received his B.Sc. from the (EPMD) at CA in
https://​doi.​org/​10.​1016/j.​encon​man.​2014.​01.​053 2019. He is currently working as an Industrial Automation Engineer.
21. Díez-Mediavilla M, Alonso-Tristán C, Rodríguez-Amigo MC,
García-Calder´on T, Dieste Velasco MI (2012) Performance analy- Yasmin H. Fadel received her B.Sc. from the Electrical Energy Engi-
sis of PV plants: optimization for improving profitability. Energy neering Department at Cairo University in 2019. She is currently work-
Convers Manage. 54(1):17–23. https://​doi.​org/​10.​1016/j.​encon​man.​ ing as Tendering Engineer in the field of construction and pursuing
2011.​09.​013 her M.Sc.
22. Ayompe LM, Duffy A, McCormack SJ, Conlon MC (2011) Meas-
ured performance of a 1.72 kW rooftop grid connected photovoltaic Mohamed Kandil received his B.Sc. from the Electrical Power &
system in Ireland. Energy Convers, Manag. 52(2):816–825. https://​ Machines Department at Cairo University in 2019. He is currently
doi.​org/​10.​1016/j.​encon​man.​2010.​08.​007 working as an Industrial Automation Engineer.
23. Mpholo M, Nchaba T, Monese M (2015) Yield and performance
analysis of the first grid connected solar farm at Moshoeshoe I Inter- Mariam W. Rasmy received her B.Sc. from the EPMD at CA in 2019.
national Airport Lesotho. Renew. Energy 81:845–852. https://​doi.​ She is currently working as R & D Engineer. Her research interest is
org/​10.​1016/j.​renene.​2015.​04.​001 smart city solutions.
24. Kumar KA, Sundareswaran K, Venkateswaram PR (2014) Perfor-
mance study on a grid connected 20 kWp solar photovoltaic instal- Osama N. Ali received hid B.Sc from EPMD at CA in 2019. He is
lation in an industry in Tiruchirappalli (India). Energy Sustainable currently an Engineer First Lieutenant at the Egyptian Armed Forces.
Dev. 23:294–304. https://​doi.​org/​10.​1016/j.​esd.​2014.​10.​002
25. Padmavathi K, Daniel SA (2013) Performance analysis of a 3 MWp Ahmad H. Besheer is currently a professor of Electrical Power Systems
grid connected solar photovoltaic power plant in India. Energy Sus- at University of Sadat City (USC) and serves as a manger of Technol-
tain. Dev. 17(6):615–625. https://​doi.​org/​10.​1016/j.​esd.​2013.​09.​002 ogy Innovation Commercialization Office at USC. He is SMIEEE. He
26. SIEMENS. (2008) SENTRON PAC3200: Power monitoring device, has been granted University Award for Scientific Research Excellence
manual. Accessed May, 18, 2019. https://​cache.​indus​try.​sieme​ns in 2019 as well as many prizes for international publishing.
.com/dl/files/
27. Solar Electric GmbH. (2013) PIKO 4.2 inverter. Accessed April 15, Hassan M. Emara is currently a professor of Automatic Control &
2019. http://​www.​kostal-​solar-​elect​ric.​com/​en-​GB/​Stand​alone/. Systems at Cairo University. He has been granted many awards for
28. Power Meter Series 700 Functions and characteristics. (n.d.). distinct research and international publishing from CA and Academy
Retrieved July 2, 2019, from http://​datas​heet.​octop​art.​com/​PM710​ for Scientific Research & Technology, Egypt.
MG-​Schne​ider-​Elect​ric-​datas​heet-​21406​029.​pdf
29. PowerTag Acti9 Energy Sensor Product data sheet. (2019, February Ahmed Bahgat is LMIEEE and professor of Automatic Control at
28). Retrieved July 2, 2019, from https://​www.​schne​ider-​elect​ric.​ EPMD, CA, Egypt. He received Dr. Ing. from the Technical University
com/​en/​produ​ct/​downl​oad-​pdf/​A9MEM​1542 of Dresden, Germany in 1978. He was the vice dean of research and
30. PowerSCADAExpertv. 8.1 with Advanced Reporting and Dash- the director of the Energy Research Center in the Faculty of Engineer-
boards System Integrators Manual. (2016, March). Retrieved July ing CA. He is the author & coauthor of 105 publications and PI of 74
2, 2019, from https://​www.​schne​idere​lectr​ic.​com/​resou​rces/​sites/​ research projects in industrial and electrical power areas.
SCHNE​IDER_​ELECT​RIC/​conte​nt/​live/​FAQS/​269000/​FA269​

13

View publication stats

You might also like