Next Article in Journal
Parametric Transient Stability Constrained Optimal Power Flow Solved by Polynomial Approximation Based on the Stochastic Collocation Method
Previous Article in Journal
Slope Estimation Method of Electric Vehicles Based on Improved Sage–Husa Adaptive Kalman Filter
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Microgrid Energy Management System Based on Fuzzy Logic and Monitoring Platform for Data Analysis

by
Khaizaran Abdulhussein Al Sumarmad
*,
Nasri Sulaiman
*,
Noor Izzri Abdul Wahab
and
Hashim Hizam
Department of Electrical and Electronic Engineering, Faculty of Engineering, University Putra Malaysia, Serdang 43400, Malaysia
*
Authors to whom correspondence should be addressed.
Energies 2022, 15(11), 4125; https://doi.org/10.3390/en15114125
Submission received: 30 April 2022 / Revised: 27 May 2022 / Accepted: 2 June 2022 / Published: 3 June 2022

Abstract

:
Energy management and monitoring systems are significant difficulties in applying microgrids to smart homes. Thus, further research is required to address the modeling and operational parts of the system’s future results for various applications. This paper proposes a new technique for energy management in a microgrid using a robust control approach and the development of a platform for real-time monitoring. The developed controller is based on a fuzzy logic method used in the energy Internet paradigm with connected distributed generators (DGs) in the microgrid. The developed method regulates the power flow of the microgrid, and frequency/voltage regulation improved the load-management performance and monitoring system using the ThingSpeak platform for real-time data analysis. The MATLAB. simulation results show the feasibility and effectiveness of the proposed strategy and the introduced approach in microgrid control under various operating conditions. Additionally, the results show that the proposed monitoring platform facilitates real-time data analysis.

1. Introduction

Consumer safety, resiliency, reliability, and power quality are under threat as demand rises and the power system infrastructure ages. Governments must invest heavily in the construction and modernization of power system infrastructure. As a result, renewable energies (REs) account for many electrical networks such as microgrids [1]. Many downsides have arisen due to the increased prevalence of REs, including dynamic, control, and energy management issues. Surplus power generation (SPG) has emerged as a critical topic in recent years, owing to REs’ unpredictable behavior and increased penetration [2].
However, meteorological conditions, such as wind speed, temperature, and solar irradiation, impact RE generation efficiency, which can cause multiple problems in an electrical grid. Therefore, the more efficient and secure microgrid (MG) solution necessitates using a hybrid grid approach built on RE [3].
An MG utilizes a combination of energy sources (renewable and non-renewable) and energy storage systems (ESSs) to fulfill load demand. An MG can be linked to the primary grid through a power converter or operated independently [3]. MGs function independently in an isolated mode when a fault occurs in the primary grid. As shown in Figure 1, an MG consists of power sources, a storage system, balanced and regulated electrical loads, and intelligent devices such as circuit breakers (CBs) and inverters.
The discounted power production of renewable sources causes microgrid imbalance, which reduces the importance of a microgrid for residential use. Therefore, it is crucial to include an energy management system and demand response mechanism for system stability and reduction of electricity bills, as mentioned in [4].
The energy management system is a multiobjective, complicated control system that deals with challenges from various technological fields, time ranges, and physical levels. Load power-sharing, voltage/frequency and power quality regulation, market participation, short- and long-term scheduling, and so on are all areas of interest [5].
The MG central controller is an MG brain used for improving its performance, calculating optimal values, achieving voltage and frequency control, and balancing load. The principal objective is to keep the system’s voltage and frequency under strict supervision. The MG is automatically reconnected following islanding, utilizing frequency differences between the islanded mode and the main grid [6]. The microgrid control system ensures that all control functions are performed. Its objective is to ensure that power is distributed evenly and precisely across the system and manage voltage and frequency. The EMS functions can be performed centrally or dispersed.
In centralized control, all data are collected by a single MGCC unit that can calculate the necessary computations and specify the control procedures and actions. This strategy necessitates extensive communication between the MGCC and the other substation units. On the other hand, decentralized control uses the local controller to operate the unit [7].
The microgrid of distributed energy should be monitored and controlled to meet the following requirements [8]:
  • sharing the load consumption among the power sources;
  • in island mode, voltage and frequency control;
  • reconnection to the electrical grid and islanding;
  • optimal power production and consumption in the microgrid;
  • power distribution system components are monitored in real-time.
  • Control levels in a hierarchical control structure can be used to balance entirely centralized and completely dispersed control [9]. The three control levels that apply to a microgrid’s hierarchical control are as follows:
  • The primary control is based on droop control, which shares the microgrid’s load among power sources.
  • Secondary control corrects steady-state errors caused by droop control and makes sure that DER sources in the microgrid are sent out at the best times.
  • Tertiary control manages power flow between the microgrid and the power grid to optimize grid-coordinated operations.
The concept of MGs cannot be widely adopted unless an active energy management system (EMS) is implemented to achieve an efficient and reliable control procedure [10].
A recent study indicates that between 20 and 30 percent of building energy usage could be reduced with optimal operation and management and without structural changes to the energy supply system. Through a proper energy management system, it is feasible to reduce the energy consumption of buildings [11] significantly.
An EMS is used to maximize the performance of dispatchable energy sources such as wind, photovoltaic, storage systems, and demand-side management across the main grid and power exchanges across microgrids [12].
Furthermore, extending the usage of the RES in microgrids has increased uncertainties and created new uncertainty parameters in the operation of MGs, and decreased the system’s stability. As a result, traditional EMSs in MG research based on deterministic modeling is no longer suitable for mitigating risks. As a result, new techniques and models based on EMSs in advanced networks are being created to analyze the EMS in microgrids under various uncertainties [13].
The microgrid type, the elements employed, and the geographic area influence how each control strategy is implemented. While centralized and decentralized control approaches have many advantages (low-performance complexity), they also have drawbacks in reliability, expandability, and flexibility [14].
Both the MG and EMS are critical in resolving challenges associated with DER unit integration. For instance, both the MG and EMS are essential in resolving issues related to integrating DER units such as photovoltaic (PV) systems, wind turbines, microturbines systems, and fuel cells and batteries into power systems. Examples include photovoltaic (PV) systems, wind turbines, microturbines fitted with a combined heat and power (CHP) system, and hybrid power systems comprised of fuel cells and batteries [15].
Advanced energy management systems are essential for flexibility since they monitor and control energy production, storage, and consumption in smart microgrids while considering user comfort and economic and environmental concerns [16]. The advancement of energy management in the microgrid for energy management, control, and monitoring has been described in several study methodologies in the literature. In recent research, we suggested multiple control approaches for microgrid control, including PI/PID linear control, fuzzy logic, and artificial neural network control for energy management, voltage, and frequency regulation [17]. The simulation results demonstrate that the fuzzy logic controller outperforms alternative solutions. As a result, we shall develop the same controller for more complex cases in this study.
Microgrid applications have been linked to various monitoring systems to provide real-time data to prosumers and power producers. The Internet of Things (IoT) is one of these emerging technologies that has gained appeal in this industry due to its ease of integration and low cost [18].
IoT technologies are based on an embedded system capable of reading electrical characteristics from sensors connected to the electrical system and transferring these data to a cloud server over a TCP/IP Internet connection [19]. Large-scale distributed electrical generation systems necessitate long-range wireless technology. Despite all of the enticing features of IoT technology, such approaches have limited reach and throughput and can only transport tiny amounts of data. Large-scale distributed electrical generation systems necessitate long-range wireless technology. Despite the allure of IoT technology, such approaches are restricted in coverage and throughput and can only be utilized to transport tiny amounts of data [20,21].
Deploying IoT nodes in a private network with a star topology is another way to overcome range limitations. A local gateway uses any wireless device that supports TCP/IP connections to transfer data from nodes to a remote server [22].
Data acquisition units (DAQs) are another approach used for microgrid monitoring [23]. These are small electronic devices that are physically coupled to a processing unit and are used to gather and transfer data. The processing unit handles data gathering, display, analysis, and possible transfer to other destinations utilizing various communication protocols. Because DAQs are not designed to communicate data outside the processing unit, they are substantially faster than the IoT. DAQs in smart grid monitoring systems have received much attention in the literature [24,25].
The nonintrusive load monitoring (NILM) algorithm is applied and used in many studies as a monitoring system to analyze and control microgrids [26,27]. NILM is a technique for identifying the power consumption of different appliances and their activation intervals by disaggregating the power consumption profile of the house, which avoids the installation and maintenance costs of separate sensors for single devices, which are required in intrusive techniques [28].
Numerous research has been conducted on developing intelligent energy management systems for microgrids. An energy management system for a microgrid was proposed in [29] based on particle swarm optimization (PSO). In [30], the authors developed an intelligent monitoring system based on the Arduino device that monitors the system’s current and voltage and the interface for data analysis. Ref. [31] described an intelligent house management system based on IEEE 802.15.4 and ZigBee sensor networks that enable an indoor network’s more thoughtful and autonomous establishment.
The Internet of Things (IoT) allows intelligent microgrids to share information with more users while also improving connectivity across a variety of infrastructures [32]. The Internet of Things (IoT) is the fourth generation of supervisory control and data acquisition (SCADA), a monitoring and control system that communicates with the outside world through an Internet gateway. The cloud system is the best solution for storing IoT data. A cloud system is a database hosted by a third party and sends data via the Internet. Cloud systems have numerous advantages, including extensive data storage, high dependability, low cost, and remarkable scalability to handle increasing labor volumes.
In [33], the LabVIEW simulator and an Open Platform Communications (OPCs) interface provide a remote monitoring tool for an experimental microgrid. This article discusses intelligent microgrid monitoring in which all system components are connected to a central server through a long-range bridging WLAN.
The microgrid would require an effective measuring and communication system to monitor the power and cost profile regularly and quantify power losses. The authors reported microgrid management for frequency/voltage regulation and proportional reactive/active power-sharing for hybrid DGs in [34]. To generate the model-suggested communication structures, this article employs data flow between the MATLAB software program and the open-source IoT framework ThingSpeak. To imitate real-time cloud communication, ThingSpeak was chosen.
In Ref. [35], a real-time data monitoring system of a microgrid is proposed using the ThingSpeak platform. The remote monitoring center can access microgrid data for data analysis. ThingSpeak [36] is a cloud-based IoT analytics software that enables you to aggregate, visualize, and analyze live data streams. You may transmit data to the ThingSpeak platform from your devices and build real-time data visualizations. It can perform online data stream analysis and processing and immediately visualize data presented by system gateways. ThingSpeak is frequently used in IoT systems that require analytics for prototyping and proof of concepts (Figure 2).
This paper will propose a robust control strategy for microgrid energy management for multiple scenarios of load demands. The fuzzy logic controller is used for the EMS as the primary controller to stabilize the microgrid bus (frequency/voltage/power). In addition, the microgrid system is supervised at all times using a real-time monitoring platform (Thingspeak).
The remainder of this paper is organized as follows: Section 2 presents the system description, in which we will explain the modeling of each microgrid element, the proposed energy management strategy, and the parameters of each component. Section 3 discusses the results of the simulation. This paper ends with a conclusion.

2. System Description

The microgrid proposed for a residential home used in this work is shown in Figure 3. It has a photovoltaic panel, a small wind turbine, a battery storage system, and home AC and DC loads.
The hybrid microgrid is configured as shown in Figure 4. All renewable energy sources integrate the DC bus’s electrical power and use the inverter, and power is always available for the AC loads. Solar and wind power sources are the primary source for the home. The battery storage system (BSS) guarantees the balance at the microgrid between the produced energy and the loads required.
The hybrid microgrid system proposed in this work comprises multiple power sources, converters, loads, and controllers. The signal (S1–S4) presents the output of the proposed energy management system used in the control system power converter.

2.1. Wind Turbine System

The mathematical model of the proposed wind turbine is presented in the following equations: A wind turbine is a device that transforms wind kinetic energy into mechanical energy, known as wind power. The following equations can represent the mechanical power generated by a wind turbine [37].
P m = 1 2 × C p λ ,   β A ρ υ 3
T m = P m ω t
C p β ,   λ = 1 2 116 λ i 0.4 β 5 e 21 λ i
λ i 1 = λ + 0.008 β 1 0.0035 1 + β 3 1
λ = ω t R υ
where υ indicates wind speed, β epresents the pitch angle, ωt signifies the turbine speed, R denotes the blade radius, Cp denotes the power coefficient, λ means the tip–speed ratio, ρ indicates water density, and A means blade area.
The wind conversion system uses a PSMG, which has the following features [37]:
V d q = R d q i d q + L d q i d q + ψ d q p ω m
J ω m = T m T e f f v ω m
T e = 2 3 p ψ d q T i d q
where:
Idq  = i d i q . represents the vector of stator current.
Te represents the electromagnetic torque.
f f v   represents the viscous friction coefficient.
Ldq  = L d 0 0 L q represents the dq inductances matrix.
J is the moment of inertia.
ψdq  = ψ f 0 ; the flux linkages vector is represented by this variable.
Vdq  = V d V q represents the voltage stator vector.
Rdq  = R s 0 0 R s is the stator resistance matrix.
As shown in Figure 5, the wind turbine system comprises a wind turbine, a synchronous permanent magnet generator, and a power converter that uses the maximum power point tracking (MPPT) algorithm to extract maximum power from the wind generator. As a result, the model for the wind energy converter is as follows [37]:
d V w d t = T w C w I L w C w
V w L w = d I w d t + 1 U 1 V d c L w D 1
d V d c d t = 1 U 1 I L w C d c I L w C w
where I w denotes the wind current rectified, L w denotes the inductance, I L w denotes the current of the inductor, V w denotes the voltage input rectified,   U 1 denotes the control signal, V d c denotes the link voltage, and D 1 and D 2 denote dynamics uncertainty in the energy stage parameters.
The wind energy system (WES) is the most readily available and promising source of electrical energy. The wind’s kinetic energy is used to spin turbines that generate mechanical energy. Mechanical energy is converted to electrical power by the generators. Therefore, wind energy is produced according to the linear relationship with wind speed.
The permanent magnet synchronous generator (PMSG) is directly connected to the wind turbine, and the generated output voltage is rectified using a three-phase diode bridge. The MPPT technique based on the P and O algorithm is implemented using a DC–DC boost to follow the wind turbine’s maximum power point. The parameters of wind system are presented in Table 1.

2.2. Photovoltaic Solar System

A photovoltaic generator is a system for producing and managing energy from photovoltaic collectors, and it mainly consists of a set of interconnected modules built from semiconductor materials. A diode connected in parallel with a current generator and two resistors, one in series and the other in parallel, as Figure 6 below shows, is developed and validated in [38] and used as subsystems in MATLAB/Simulink. The characteristics of Solar panel used is shown is Table 2.
The following model equations of the current of the PV cell are obtained using Kirchhoff’s law [38]:
I = I p h I d I r
with
I r = V p v + R s × I R s h
and
I d = I 0 [ e V p v + R s × I V t 1 ]
Voltages at the module’s terminals and the current delivered by Ns solar cells in sequence are shown in Equation (15) [38].
  I = I p h I 0 [ e V p v + R s × I V t 1 ] V p v + R s × I R s h
  V T = N s × n × k × T q
where: VT is the thermal tension, Rsh is the shunt resistance, Rs is the series resistance, Iph is the photocurrent created by the cell (A), I0 is the reverse saturation current of the diode (A), T is the temperature of the cell, n is the ideality factor of the diode, q is the charge of the electron, and k is Boltzmann’s constant.

2.3. Battery Storage System (BSS)

The BSS is a backup system used to balance the system when RESs are not enough to satisfy the load demand or in case of energy surplus. As illustrated in Figure 7, the battery storage system comprises a Li ion battery, a bidirectional DC–DC converter, and a charging and discharging control system.
The state of charge (SOC) of the battery is defined as [39]:
S O C b a t t = 100   1 1 Q b a t . 0 t i b a t t   d t
Qbat is the battery’s capacity (Ah), and ibat is the current absorbed by the battery (A). The battery has two modes of operation—charging and discharging—and both solar and wind power are used. The battery’s SOC is limited to between 20% and 80% of its power in ampere-hour capacity. A battery bank’s life is extended by preventing it from undercharging or overcharging. The following are the battery’s charging restrictions:
S O C m i n S O C S O C m a x
The converter employed in this study is a half-bridge IGBT with continuous conduction operation (CCM). The converter functions in boost mode; it operates in buck mode when storing excess energy at the DC bus. S2 and D1 are active in boost mode, and current flows to the DC bus. S1 and D2 are active in buck mode, and power flows to the battery [28].
The membership functions for input error used for microgrid control are presented in Figure 8.
We have considered three linguistic variables (negative, positive, right) for the input ‘Error,’ and for the output control, we have considered three linguistic variables (up, down, and no change). The fuzzy controller generated an appropriate switching pattern for the charging and draining of the battery. When the DC bus voltage and a reference voltage were compared, the fuzzy logic controller received four inputs.

2.4. Energy Management System

The bidirectional DC–DC converter displayed in Figure 8 is the most critical component for energy management. Two operational modes are used for energy management between the DC bus, renewable sources, and storage devices:
  • When the DC BUS voltage is less than 300 V, energy flows from the battery to the bus, and the bidirectional converter works as a boost converter to discharge the battery to keep the voltage stable at 300 V in the DC bus.
  • When the DC BUS voltage exceeds 300 V, the energy flow is from the microgrid to the battery. The bidirectional converter works in buck mode to charge the battery in the reverse direction with the energy surplus.
The duty cycle of each direction is determined by the difference between produced and loads requested power, as shown in Figure 9. The fuzzy logic controller block handles the duty cycle of each direction.
The electrical grid is used only in two emergency cases:
  • When the battery is fully charged and there is a surplus in the microgrid, this surplus will be injected into the grid
  • When the battery is fully discharged and the power sources are insufficient, the electrical grid provides the load demand.

2.5. Parameters

As illustrated in Figure 5, the proposed microgrid consists of primary power sources (wind and PV) and battery storage systems to meet the AC and DC load demands. The following tables (Table 1, Table 2, Table 3) show the parameters of each method.
  • Wind power system
    Table 1. Characteristic of the wind turbine.
    Table 1. Characteristic of the wind turbine.
    ParametersValues
    Stator resistance 0.057 ohms
    Armature inductance0.00014 H
    Link flow0.047 V×s
    Inertia0.000003
    Number of poles3
  • Solar power system
    Table 2. Features of (Sun Power SPR-300NE-WHT-D) PV model.
    Table 2. Features of (Sun Power SPR-300NE-WHT-D) PV model.
    ParameterValue
    Nominal power300 W
    Current at maximum power, IMPP5.68 A
    Open circuit voltage, Vco52.58 V
    Short-circuit current, Ic6.05 A
    Maximum power voltage, VMPP49.58 V
  • Microgrid component specification and requirements
    Table 3. Microgrid components specification.
    Table 3. Microgrid components specification.
    SymbolSpecification
    DC BUSVoltage = 300 V; P = 5 kW
    AC bus Voltage = 300 V, P = 70 kW
    BatteryV = 200 V; Qbatt = 280 Ah
    PV PANELPPV = 75 kW
    Wind turbinesPw= 20 kW

3. Results and Discussion

The hybrid microgrid system consists of hybrid sources (DC and AC) connected to the microgrid via a power converter controlled by a PWM signal. The solar cells are (SunPower SPR-300NE-WHT-D), and 50 panels are connected in series and 10 in parallel to generate 75 kW of power. The wind turbine type is PMSG and provides a maximum power of 20 kW. The battery type is a Li ion, capacity = 280 Ah, and voltage V = 200 V. The residential loads chosen for this simulation are DC and AC loads as shown in Table 3. As we mentioned already, the real-time monitoring system proposed was developed in the ThingSpeak platform. The communication between MATLAB/Simulink and ThingSpeak was conducted cloud-based on the ThingSpeak toolbox of MATLAB/Simulink. Therefore, the monitoring system offers users unlimited access to visualize and act on their homes only from a webpage.
Figure 10 shows the system response after applying the proposed energy management system strategy. In the next part of this section, we will discuss the results obtained from the monitoring system in two scenarios:
  • Scenario 1: Solar irradiation and wind speed variable, and load demand fix (70 kW for AC load and 10 kW for DC load)
The simulation runs for 7 s with a 1 × 10−5 sample period to show how the suggested energy management method responds to weather conditions and load demand in the microgrid balance. The monitoring platform displays the variation from each source at the moment of access to the webpage, with results updated every 5 s. Next, this section will discuss results obtained from the ThingSpeak platform.
Figure 10 shows the solar irradiation profile proposed for this simulation. At the start of the simulation, the irradiation is set at a maximum value of 1000 w/m2, and at t = 15:26 s the irradiation decreases to 700/m2 and starts to increase again until it arrives at the maximum.
Figure 11 shows the wind speed profile proposed for this simulation. At the start of the simulation, the wind speed was stable at 15 m/s, then decreased to 8 m/s, and at t = 15:29 increased to 14 m/s.
As shown in Figure 10 and Figure 11, the proposed scenario for meteorological conditions contains multiple changes, resulting in a discontinuous production of power from renewable sources, as shown in Figure 12 and Figure 13.
Due to the change in meteorological conditions and the discontinuity of power production from renewable sources, the microgrid offers an unbalanced power for homes, surplus power sometimes, and lack of power in others. Therefore, the main object of the proposed EMS system is to keep the balance between the produced and required power of the microgrid. The battery storage system is the main element to guarantee this balance because it works as a power source in case of power needs and as a load in case of power surplus. Figure 14 shows the variation in battery state of charge.
The total required loads for the microgrid are 75 kW. However, the power produced is variable all the time. At t = 15:23 s, the sum of renewable sources of power is more than 75 kW, which means power surplus in the microgrid bus, which is traduced by increasing the state of charge graph. At t = 15:27 s, the sum of solar power and wind decrease under 75 kW, which means energy is needed in the microgrid bus; therefore, the battery works as a power source at this interval to provide power for the microgrid, which means a decrease in the battery state of charge curve, as shown in Figure 14. At t = 15:29 s, when the renewable power increases again, the battery SOC increases to store the power surplus.
As we mentioned before, the battery is the main element in microgrid balance. The main object of our work is to keep the balance at the DC bus and AC bus. Figure 15 shows the voltage measured at the DC bus during the simulation.
Figure 16 shows the power measured at the AC bus during the simulation.
The measurement of voltage and power at AC bus and DC bus shows that the microgrid bus is stable on required values, which shows the EMS’s efficiency. Figure 17 shows the frequency variation of voltage at the AC bus.
The frequency variation in the merging of the limits is 0.02, except at the start of the simulation, referred to as the transitory regime and ignored. The simulation results demonstrate the suggested FL controller’s efficacy and robustness in the face of all possible changes in climatic circumstances.
  • Scenario 2: Meteorological condition and load demand variables
The same meteorological condition is used in the second scenario, with variable required loads in AC bus. At the beginning of the simulation, P = 55 kW at t = 11:17, the load required is P = 80 kW, and at t = 11:21, the load demand is 25 kW. This change in loads will make the system more complicated. This scenario is used for the validation of the proposed EMS.
Figure 18 shows the variation in battery state of charge in this scenario. As we mentioned already, the battery is the main element for implementing the EMS.
Figure 18 shows that the battery charge and discharge are based on the same explanation in Scenario 1 to keep the balance at the microgrid bus. Figure 19 shows the voltage measured at the DC bus during the simulation.
Figure 20 shows the power measured at the AC bus during the second scenario.
As we can see from Figure 21, the measured load at the AC bus follows exactly the required loads in each interval, showing the effectiveness of the proposed EMS in all changes in meteorological conditions and loads.
The merges of the limits occur with a frequency of 0.02. The simulation findings validate the suggested EMS and demonstrate its efficacy and robustness under various environmental and load situations.

4. Conclusions

Energy availability is a problem for remote communities, and a hybrid home microgrid based on renewable energy has emerged as a feasible option. However, managing these resources necessitates the use of an energy management system. As a result, this work developed an energy management system algorithm for a residential hybrid microgrid system and a real-time monitoring platform. A solar system (PV), a wind turbine, and a battery-based energy storage system make up the latter. The suggested energy management attempts to provide an equal distribution of available electricity from renewable resources while also implementing different contingency plans that may arise owing to the intermittent nature of renewable energy supplies. The system was tested and validated using a residential microgrid model created in the MATLAB/Simulink and the monitoring platform using ThingSpeak. The suggested energy management system used fuzzy logic, one of the best controllers to protect the battery system from overcharging damages by controlling the battery cycles and balancing demand and consumption. The energy system described in this study is more straightforward, more effective in power balance, and simple to update. The future work of this research includes the experiential validation of the proposed strategy at various power levels.

Author Contributions

Conceptualization, K.A.A.S., N.S., N.I.A.W. and H.H.; methodology, K.A.A.S., N.S., N.I.A.W. and H.H.; software, K.A.A.S., N.S., N.I.A.W. and H.H.; validation, N.S., N.I.A.W. and H.H.; formal analysis, K.A.A.S., N.S., N.I.A.W. and H.H.; investigation, K.A.A.S., N.S., N.I.A.W. and H.H.; resources, K.A.A.S., N.S., N.I.A.W. and H.H.; data curation, K.A.A.S.; writing—original draft preparation, K.A.A.S.; writing—review and editing, K.A.A.S. and N.S.; visualization, K.A.A.S. and N.S.; supervision, N.S., N.I.A.W. and H.H.; project administration, K.A.A.S., N.S. and N.I.A.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

ANNArtificial neural network
DERDistributed energy resources
DGDistributed generators
EMSEnergy management system
ESSEnergy storage system
FLFuzzy logic
GAGenetic algorithm
IoTInternet of Things
LCLocal controller
MGMicrogrid
MGCCMicrogrid central controller
MPPTMaximum power point tracking
PIDProportional–integral–derivative
RERRenewable energy resource
SOCState of charge
SCADASupervisory control and data acquisition
RTURemote terminal unit

References

  1. Hirsch, A.; Parag, Y.; Guerrero, J. Microgrids: A review of technologies, key drivers, and outstanding issues. Renew. Sustain. Energy Rev. 2018, 90, 402–411. [Google Scholar] [CrossRef]
  2. Bevrani, H.; François, B.; Ise, T. Microgrid Dynamics and Control; John Wiley & Sons: Hoboken, NJ, USA, 2017. [Google Scholar]
  3. Albarakati, A.J.; Boujoudar, Y.; Azeroual, M.; Jabeur, R.; Aljarbouh, A.; El Moussaoui, H.; Lamhamdi, T.; Ouaaline, N. Real-time energy management for DC microgrids using artificial intelligence. Energies 2021, 14, 5307. [Google Scholar] [CrossRef]
  4. Tostado-Véliz, M.; Arévalo, P.; Kamel, S.; Zawbaa, H.M.; Jurado, F. Home energy management system considering effective demand response strategies and uncertainties. Energy Rep. 2022, 8, 5256–5271. [Google Scholar] [CrossRef]
  5. Azeroual, M.; Boujoudar, Y.; Aljarbouh, A.; Fayaz, M.; Qureshi, M.S.; El Moussaoui, H.; El Markhi, H. Advanced energy management and frequency control of distributed Microgrid using multi-agent systems. Int. J. Emerg. Electr. Power Syst. 2021. [Google Scholar] [CrossRef]
  6. Khatibzadeh, A.; Besmi, M.; Mahabadi, A.; Reza Haghifam, M. Multi-agent-based controller for voltage enhancement in AC/DC hybrid microgrid using energy storages. Energies 2017, 10, 169. [Google Scholar] [CrossRef] [Green Version]
  7. Xiao, Z.; Li, T.; Huang, M.; Shi, J.; Yang, J.; Yu, J.; Wu, W. Hierarchical M.A.S. based control strategy for Microgrid. Energies 2010, 3, 1622–1638. [Google Scholar] [CrossRef]
  8. Chandraratne, C.; Naayagi Ramasamy, T.; Logenthiran, T.; Panda, G. Adaptive protection for Microgrid with distributed energy resources. Electronics 2020, 9, 1959. [Google Scholar] [CrossRef]
  9. Hu, J.; Shan, Y.; Guerrero, J.M.; Ioinovici, A.; Chan, K.W.; Rodriguez, J. Model predictive control of microgrids–An overview. Renewable and Sustainable. Energy Rev. 2021, 136, 110422. [Google Scholar]
  10. Meng, L.; Sanseverino, E.R.; Luna, A.; Dragicevic, T.; Vasquez, J.C.; Guerrero, J.M. Microgrid supervisory controllers and energy management systems: A literature review. Renew. Sustain. Energy Rev. 2016, 60, 1263–1273. [Google Scholar] [CrossRef]
  11. Dashtdar, M.; Bajaj, M.; Hosseinimoghadam, S.M.S. Design of optimal energy management system in a residential microgrid based on smart control. Smart Sci. 2022, 10, 25–39. [Google Scholar] [CrossRef]
  12. Kumar, R.S.; Raghav, L.P.; Raju, D.K.; Singh, A.R. Impact of multiple demand-side management programs on the optimal operation of grid-connected microgrids. Appl. Energy 2021, 301, 117466. [Google Scholar] [CrossRef]
  13. Logenthiran, T.; Srinivasan, D.; Khambadkone, A.M.; Aung, H.N. Multiagent system for real-time operation of a microgrid in real-time digital simulator. IEEE Trans. Smart Grid 2012, 3, 925–933. [Google Scholar] [CrossRef]
  14. Roslan, M.F.; Hannan, M.A.; Ker, P.J.; Uddin, M.N. Microgrid control methods toward achieving sustainable energy management. Appl. Energy 2019, 240, 583–607. [Google Scholar] [CrossRef]
  15. Boujoudar, Y.; Azeroual, M.; Elmoussaoui, H.; Lamhamdi, T. Intelligent control of battery energy storage for microgrid energy management using ANN. Int. J. Electr. Comput. Eng. 2021, 11, 2088–8708. [Google Scholar] [CrossRef]
  16. Shakeri, M.; Pasupuleti, J.; Amin, N.; Rokonuzzaman, M.; Low, F.W.; Yaw, C.T.; Asim, N.; Samsudin, N.A.; Tiong, S.K.; Hen, C.K.; et al. An overview of the building energy management system considering the demand response programs, smart strategies and smart grid. Energies 2020, 13, 3299. [Google Scholar] [CrossRef]
  17. Al Sumarmad, K.A.; Sulaiman, N.; Wahab NI, A.; Hizam, H. Energy Management and Voltage Control in Microgrids Using Artificial Neural Networks, P.I.D., and Fuzzy Logic Controllers. Energies 2022, 15, 303. [Google Scholar] [CrossRef]
  18. Kondoro, A.; Dhaou, I.B.; Tenhunen, H.; Mvungi, N. Real time performance analysis of secure IoT protocols for microgrid communication. Future Gener. Comput. Syst. 2021, 116, 1–12. [Google Scholar] [CrossRef]
  19. Samanta, H.; Das, A.; Bose, I.; Jana, J.; Bhattacharjee, A.; Bhattacharya, K.D.; Sengupta, S.; Saha, H. Field-Validated Communication Systems for Smart Microgrid Energy Management in a Rural Microgrid Cluster. Energies 2021, 14, 6329. [Google Scholar] [CrossRef]
  20. Hosseinzadeh, N.; Al Maashri, A.; Tarhuni, N.; Elhaffar, A.; Al-Hinai, A. A real-time monitoring platform for distributed energy resources in a Microgrid—Pilot study in oman. Electronics 2021, 10, 1803. [Google Scholar] [CrossRef]
  21. Artale, G.; Cataliotti, A.; Cosentino, V.; Di Cara, D.; Guaiana, S.; Panzavecchia, N.; Tinè, G. Real-Time Power Flow Monitoring and Control System for Microgrids Integration in Islanded Scenarios. IEEE Trans. Ind. Appl. 2019, 55, 7186–7197. [Google Scholar] [CrossRef]
  22. Minoli, D. Positioning of blockchain mechanisms in IoT-powered smart home systems: A gateway-based approach. Internet Things 2020, 10, 100147. [Google Scholar] [CrossRef]
  23. Chompoo-Inwai, C.; Mungkornassawakul, J. A smart recording power analyzer prototype using Labview and low-cost data acquisition (daq) in being a smart renewable monitoring system. In Proceedings of the 2013 IEEE Green Technologies Conference (GreenTech), Denver, CO, USA, 4–5 April 2013; pp. 49–56. [Google Scholar]
  24. Gunduz, M.Z.; Das, R. Cyber-security on smart grid: Threats and potential solutions. Comput. Netw. 2020, 169, 107094. [Google Scholar] [CrossRef]
  25. Ghosal, A.; Conti, M. Key management systems for smart grid advanced metering infrastructure: A survey. IEEE Commun. Surv. Tutor. 2019, 21, 2831–2848. [Google Scholar] [CrossRef] [Green Version]
  26. Yu, Q.; Jiang, Z.; Liu, Y.; Long, G.; Guo, M.; Yang, D. Research of Early Warning of Failure with Load Tendency Based on Non-intrusive Load Monitoring in Microgrid. In Proceedings of the 2020 IEEE 6th International Conference on Control Science and Systems Engineering (ICCSSE), Beijing, China, 17–19 July 2020; pp. 232–236. [Google Scholar]
  27. Hart, G.W. Non-intrusive appliance load monitoring. Proc. IEEE 1992, 80, 1870–1891. [Google Scholar] [CrossRef]
  28. Jaramillo AF, M.; Laverty, D.M.; Morrow, D.J.; del Rincon, J.M.; Foley, A.M. Load modelling and non-intrusive load monitoring to integrate distributed energy resources in low and medium-voltage networks. Renew. Energy 2021, 179, 445–466. [Google Scholar] [CrossRef]
  29. Debnath, A.; Olowu, T.O.; Roy, S.; Parvez, I.; Sarwat, A. Particle Swarm Optimization-based P.I.D. Controller Design for DC-DC Buck Converter. In Proceedings of the 2021 North American Power Symposium (NAPS), College Station, TX, USA, 14–16 November 2021; pp. 1–6. [Google Scholar]
  30. Portalo, J.M.; González, I.; Calderón, A.J. Monitoring system for tracking a PV generator in an experimental smart microgrid: An open-source solution. Sustainability 2021, 13, 8182. [Google Scholar] [CrossRef]
  31. Shareef, H.; Ahmed, M.S.; Mohamed, A.; Al Hassan, E. Review on home energy management system considering demand responses, smart technologies, and intelligent controllers. IEEE Access 2018, 6, 24498–24509. [Google Scholar] [CrossRef]
  32. Voumick, D.; Deb, P.; Khan, M.M. Operation and Control of Microgrids using IoT (Internet of Things). J. Softw. Eng. Appl. 2021, 14, 418–441. [Google Scholar] [CrossRef]
  33. González, I.; Calderón, A.J.; Figueiredo, J.; Sousa, J. A literature survey on open platform communications (O.P.C.) applied to advanced industrial environments. Electronics 2019, 8, 510. [Google Scholar] [CrossRef] [Green Version]
  34. Alhasnawi, B.N.; Jasim, B.H.; Sedhom, B.E.; Hossain, E.; Guerrero, J.M. A New Decentralized Control Strategy of Microgrids in the Internet of Energy Paradigm. Energies 2021, 14, 2183. [Google Scholar] [CrossRef]
  35. Deng, W.; Wang, S. Data Monitoring for Interconnecting Microgrids Based on IoT. In Intelligent Computing and Internet of Things; Springer: Singapore, 2018; pp. 383–389. [Google Scholar]
  36. De Nardis, L.; Caso, G.; Di Benedetto, M.G. ThingsLocate: A ThingSpeak-based indoor positioning platform for academic research on location-aware internet of things. Technologies 2019, 7, 50. [Google Scholar] [CrossRef] [Green Version]
  37. Kumar, P.S.; Chandrasena, R.P.S.; Ramu, V.; Srinivas, G.N.; Babu, K.V.S.M. Energy management system for small scale hybrid wind solar battery based Microgrid. IEEE Access 2020, 8, 8336–8345. [Google Scholar] [CrossRef]
  38. Yaqoob, S.J.; Saleh, A.L.; Motahhir, S.; Agyekum, E.B.; Nayyar, A.; Qureshi, B. Comparative study with practical validation of photovoltaic monocrystalline module for single and double diode models. Sci. Rep. 2021, 11, 19153. [Google Scholar] [CrossRef] [PubMed]
  39. Boujoudar, Y.; Elmoussaoui, H.; Lamhamdi, T. Lithium-Ion batteries modeling and state of charge estimation using Artificial Neural Network. Int. J. Electr. Comput. Eng. 2019, 9, 3415. [Google Scholar] [CrossRef]
Figure 1. The architecture of a microgrid.
Figure 1. The architecture of a microgrid.
Energies 15 04125 g001
Figure 2. The architecture of IoT connectivity with ThingSpeak.
Figure 2. The architecture of IoT connectivity with ThingSpeak.
Energies 15 04125 g002
Figure 3. Proposed microgrid system for a residential home.
Figure 3. Proposed microgrid system for a residential home.
Energies 15 04125 g003
Figure 4. Proposed energy management and monitoring system for the microgrid.
Figure 4. Proposed energy management and monitoring system for the microgrid.
Energies 15 04125 g004
Figure 5. Wind turbine system.
Figure 5. Wind turbine system.
Energies 15 04125 g005
Figure 6. Equivalent circuit of the solar cell with a single diode.
Figure 6. Equivalent circuit of the solar cell with a single diode.
Energies 15 04125 g006
Figure 7. A battery storage system with a fuzzy logic controller.
Figure 7. A battery storage system with a fuzzy logic controller.
Energies 15 04125 g007
Figure 8. Error signal membership functions.
Figure 8. Error signal membership functions.
Energies 15 04125 g008
Figure 9. Proposed energy management algorithm.
Figure 9. Proposed energy management algorithm.
Energies 15 04125 g009
Figure 10. Proposed solar irradiation profile.
Figure 10. Proposed solar irradiation profile.
Energies 15 04125 g010
Figure 11. Proposed wind speed profile.
Figure 11. Proposed wind speed profile.
Energies 15 04125 g011
Figure 12. Solar power (W).
Figure 12. Solar power (W).
Energies 15 04125 g012
Figure 13. Wind power (W).
Figure 13. Wind power (W).
Energies 15 04125 g013
Figure 14. Variation in SOC (%).
Figure 14. Variation in SOC (%).
Energies 15 04125 g014
Figure 15. Measured voltage at the DC bus.
Figure 15. Measured voltage at the DC bus.
Energies 15 04125 g015
Figure 16. Measured power at the AC bus.
Figure 16. Measured power at the AC bus.
Energies 15 04125 g016
Figure 17. The measured frequency at the AC bus.
Figure 17. The measured frequency at the AC bus.
Energies 15 04125 g017
Figure 18. Variation in SOC.
Figure 18. Variation in SOC.
Energies 15 04125 g018
Figure 19. The voltage of DC bus.
Figure 19. The voltage of DC bus.
Energies 15 04125 g019
Figure 20. Power at the AC bus.
Figure 20. Power at the AC bus.
Energies 15 04125 g020
Figure 21. The frequency at the AC bus.
Figure 21. The frequency at the AC bus.
Energies 15 04125 g021
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Sumarmad, K.A.A.; Sulaiman, N.; Wahab, N.I.A.; Hizam, H. Microgrid Energy Management System Based on Fuzzy Logic and Monitoring Platform for Data Analysis. Energies 2022, 15, 4125. https://doi.org/10.3390/en15114125

AMA Style

Sumarmad KAA, Sulaiman N, Wahab NIA, Hizam H. Microgrid Energy Management System Based on Fuzzy Logic and Monitoring Platform for Data Analysis. Energies. 2022; 15(11):4125. https://doi.org/10.3390/en15114125

Chicago/Turabian Style

Sumarmad, Khaizaran Abdulhussein Al, Nasri Sulaiman, Noor Izzri Abdul Wahab, and Hashim Hizam. 2022. "Microgrid Energy Management System Based on Fuzzy Logic and Monitoring Platform for Data Analysis" Energies 15, no. 11: 4125. https://doi.org/10.3390/en15114125

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop