Skip to main content
Sensors (Basel, Switzerland) logoLink to Sensors (Basel, Switzerland)
. 2022 Jan 4;22(1):357. doi: 10.3390/s22010357

Energy Management Strategy for an Autonomous Hybrid Power Plant Destined to Supply Controllable Loads

Imene Yahyaoui 1,*, Natalia Vidal de la Peña 2
Editor: Nick Harris
PMCID: PMC8749563  PMID: 35009900

Abstract

This paper proposes an energy management strategy (EMS) for a hybrid stand-alone plant destined to supply controllable loads. The plant is composed of photovoltaic panels (PV), a wind turbine, a diesel generator, and a battery bank. The set of the power sources supplies controllable electrical loads. The proposed EMS aims to ensure the power supply of the loads by providing the required electrical power. Moreover, the EMS ensures the maximum use of the power generated by the renewable sources and therefore minimizes the use of the genset, and it ensures that the batteries bank operates into the prefixed values of state of charge to ensure their safe operation. The EMS provides the switching control of the switches that link the plant components and decides on the loads’ operation. The simulation of the system using measured climatic data of Mostoles (Madrid, Spain) shows that the proposed EMS fulfills the designed objectives.

Keywords: photovoltaic energy, wind energy, batteries state of charge, diesel generator, fuzzy logic, energy management

1. Introduction

Microgrids can be classified as grid-connected or stand-alone. It can also be classified following the use that can be for military, industrial, residential, or agricultural applications, etc. In addition, these microgrids can be based on renewable sources, namely, photovoltaic panels, wind turbines, fuel cells, waves energy, etc., or nonrenewable energy sources, namely, gensets. Therefore, the diversity of microgrids results in different architectures that are managed following a specific management strategy that fulfills the goals, the types of the power sources, and the loads (controllable/noncontrollable).

For the case of renewable stand-alone plants, many studies have been developed and focused on the energy management. A literature review shows that the energy management problems related to different fields of microgrids have been solved by various algorithms. For instance, in [1], the authors developed an intelligent control strategy based on the ANN and applied on a grid-connected plant composed of Photovoltaic (PV) panels and a Li-ion Battery Energy Storage System. The ANN is used to estimate the battery bank state of charge (SOC), which is used to decide on the battery bank charging and discharging using a smart controller for a DC/DC bidirectional converter.

The same technique (ANN) is applied in [2]. In fact, the authors developed a Home Energy Management System (HEMS) based on the ANN for the home appliances scheduling and efficient use of the storage elements.

In [3], the ANN is mixed with the Particle Swarm Optimization (PSO) technique and used for the microgrid optimal energy scheduling. In fact, in this paper, the authors proposed an enhancement for the (ANN) using the PSO to manage renewable energy resources (RESs) in a virtual power plant (VPP) system. The authors reached the optimum number of neurons in the hidden layers of the ANN and then obtained a more accurate EMS.

Multi objective algorithms have also been used for the energy management of microgrids. For instance, in [4], the authors used a tri-objective optimization framework for the energy management of smart homes based on the demand response. The EMS includes the operating cost, emissions, and peak-to-average ratio.

The research paper [5] focused on the use of the stochastic multi-objective for the optimal energy management of grid-connected unbalanced microgrids with renewable energy generation and plug-in electric vehicles. In this paper, a stochastic multi-objective optimization model for grid-connected unbalanced MGs is applied to minimize the total operational cost, energy management, and control the voltage. In [6], the authors investigated the problem of the day-ahead operation of a grid-connected MG, integrated with distributed generation units and storage systems. For this, a θ-modified krill herd approach is employed to solve the problem of energy management and cost minimization.

In addition to the previous method used in the literature for the energy management for renewable plants, fuzzy logic is also used for energy management in renewable autonomous plants. The good efficiency of this tool is given by its ease of use and the correct results that it gives [7]. In fact, fuzzy logic is a mathematical theory of fuzzy set [8,9,10]. Suganthi et al. define fuzzy logic as follows: “Fuzzy logic deals with reality, and it is a form of much valued logic” [11]. Michael and Warne considered the fuzzy logic as follows: “a method of readily representing human expert knowledge on a digital processor in particular where mathematical or rule-based expert systems experience difficulty” [12].

Thus, fuzzy logic is used in energy management research works since it allows for the possibility to describe systems behaviors and to make control decisions using linguistic rules, based on the expert knowledge. Moreover, the fuzzy rules are written using a simple linguistic manner, which describes the adopted approach in taking control decision. This makes it an easy tool for making decisions. For example, in [13], the authors used the fuzzy logic to control the charge and discharge of multiple types of storage systems in a hybrid plant. Indeed, measured climatic data collected from the University of Queensland (Australia) are used to test the fuzzy logic efficiency. Therefore, the power flow is controlled, and the excess power generated is used to charge the lithium batteries. The energy management strategy is tested using multiple operating scenarios, and the obtained results confirmed its capability to control the hybrid renewable energy system.

Moreover, in [14], the authors applied the fuzzy logic to control the power flow in a hybrid plant composed of wind generators, decentralized generators, and storage systems for the production of electrical power. The controller is tested using a benchmark plant installed in the laboratory. The fuzzy logic is used to decide on the charging of the storage system elements and the frequency control.

Derrouazin et al. used fuzzy logic multi-input-output to manage the energy flux of a hybrid system with a solar photovoltaic, wind turbine, and battery. The obtained results successfully show the signals of the electronic switches based on the input power states of the hybrid power system [15].

Moreover, some software linked to the renewable energies are also developed. For example, PVSyst [16] is used to size the PV plants components (autonomous, connected to the grid, or destined to PV water pumping). The General Algebraic Modelling System (GAMS) is a modelling system that uses optimization techniques to solve mathematical and optimization problems [17]. HOMER [18] is a software that is widely used to optimize the hybrid renewable system based on economic criteria. This software allows one to deduce the operating of the power sources that generate the electrical power required by the load. Hence, it solves a cost function based first on economic criteria.

This paper is a continuation of previous published papers [19,20]. In fact, it focuses on the energy management strategy (EMS) of an autonomous hybrid plant destined to supply controllable loads with the required electrical power. The studied plant is composed of PV panels, a wind turbine, a genset, and a battery bank, which are connected via controllable switches (Figure 1). More precisely, the EMS aims to decide on the switching of the switches following an EMS, which also decides the load(s) operation.

Figure 1.

Figure 1

The bloc scheme of the studied hybrid RE plant.

Therefore, in this paper, the authors focus on the EMS using the fuzzy logic, since the expert (the user) can decide the management strategy in a linguistic way, which is very easy to program and implement. In previous papers [19], some of the authors of this paper have studied the energy and water management of a renewable based plant. Moreover, in [20], the authors studied the optimization of a hybrid plant using the genetic algorithm. The contributions of this paper are the following:

  • The authors apply the fuzzy logic to decide on the switching time of the switches that links the hybrid plant’ components (Figure 1). For this, an EMS is designed and tested using the measured climatic data of Mostoles, (Madrid, Spain), during three typical days of July, March, and December.

  • The load operation is also deduced using the EMS.

  • The EMS is applied in a hybrid plant with the objective of maximizing the use of the power generated from the renewable energy components, on the one hand, and minimizing the use of the battery bank and especially the diesel generator, on the other one.

The paper is organized as follows: Section 2 describes the materials and the methods, where the management strategy and the algorithm are explained in depth. In Section 3, the results are represented. Then, discussions are detailed in Section 4. Finally, Section 5 provides the conclusions.

2. Materials and Methods

2.1. System Components Modeling

As has previously been described, the hybrid plant is composed of a set of photovoltaic panels (equipped with MPPT controllers), a wind turbine, and a genset, which are connected through switches to a Lead-acid battery bank (that includes the batteries and their regulators) and set of electrical loads, as presented in Figure 1. In the following Section 2.1.1, the components models used in this research paper are detailed:

2.1.1. Photovoltaic Power Generation Model

A nonlinear model is used to describe the power generated by the PV panels PPV, which depends basically on the measured radiation G and the ambient temperature Ta. The nonlinear model allows the generated current Ipv to be obtained (Equations (1)–(5)). Then, the power PPV is obtained by multiplying the current by the voltage [21,22,23]:

Ipv=npIphIrexp Vc+IPVRsVt_Ta1 (1)
Iph=GG0Isc (2)
Isc=Isc_Tref1+a TaTref (3)
Ir=Ir_TrefTaTref3neqVgnK1Ta1Tref (4)
Ir_Tref=Isc_TrefeqVcnKTref1 (5)

where:

  • Ipv: the estimated photovoltaic current (A),

  • Iph: the generated photo-current at a given irradiance G (A),

  • Isc: the short circuit current for a given temperature Ta (A),

  • Ir: the reverse saturation current for a given temperature Ta (A),

  • Ir_Tref: the reverse saturation current for the reference temperature Tref (A),

Then, a P&O MPPT bloc is used to track the maximum power point (MPP).

2.1.2. Wind Turbine Generation Model

Wind turbines uses part of the kinetic energy of the wind to produce electrical power [24,25]. The wind turbine power PW is obtained using a non- linear equation, which depends on the wind speed v, the design of the wind turbine (namely, the radius of the wind turbine), and the pitch angle β.

PW=12ρ A Cp λ1  v3 (6)

where ρ is the air density (kg·m−3), A is the surface of the turbine blades (m2), and Cp is the power coefficient [24,25]:

Cpλ1=0.5176  116λi0.4β5 e21λi+0.0068  λ1 (7)
1λi=1λ1+0.08β0.035β3+1 (8)

and:

λ1=Ω Rv (9)

where: R is the wind turbine radius (m) and Ω is the angular mechanic speed (rad·s−1).

2.1.3. Diesel Generator Model

The diesel engine system is composed of the current driver, the actuator, the engine, and the flywheel (Figure 2) [26,27].

Figure 2.

Figure 2

Diagram of the diesel engine components.

In fact, the current driver, which is presented by a constant K3, is responsible for generating the mechanical torque by actuating on the fuel, which is injected into the combustion chamber and is therefore used to automatically control the engine speed. In the Engine block, the injected fuel is ignited by the compressed hot air in the combustion chamber, causing the movement of the piston during the power strokes, and the mechanical torque Tmech is therefore produced, which is given by the following expression [26,27]:

2HdΔwrdt=TmechTsgKDΔwr (10)
dδdt=w0Δwr (11)
Δwr=wr1 (12)

where the time t is the time (s), δ is the rotor angle (radian), w0 is the rated generator speed (rad/s), Δwr is the speed deviation (pu), wr is the rotor angular velocity (pu), Tsg is the generator torque (pu), and H is the inertia constant.

2.1.4. Battery Bank Model

For the Lead-acid battery modelling, the nonlinear model studied by [28,29,30] is used. In fact, in this model, the battery is modeled by its State of Charge (SOC), which is given by the following equation:

SOC=Ebat chargedNbat×Cbatkp×Vbat (13)

where:

  • Ebat charged: the available energy in the battery bank (Wh),

  • Nbat: the batteries number,

  • Cbat: battery’s nominal capacity (Ah),

  • kp: Peukert constant,

  • Vbat: battery bank nominal voltage (V).

2.1.5. Loads Model

In this paper, four loads are used. For this, their respective nominal powers are considered, which are: PLoad 1=1000 W, PLoad 2=2000 W, PLoad 3=3000 W, and PLoad 4=4000 W.

2.2. Fuzzy Management Algorithm (FMA)

Once the components’ models are explained, then it is possible to determine the fuzzy management algorithm. In fact, first the management strategy is detailed, which allows the switching modes to be obtained. Then, the fuzzy management strategy is explained in depth.

2.2.1. Management Strategy

The management strategy follows these objectives:

  1. The load must be supplied with stability. For this:
    1. The renewable energy sources supply the loads (without the battery bank participation) only when the power demanded by the loads is lower than the power generated by the RE sources.
    2. The time between switches of the switches is controlled. Consequently, the switching of the switches is minimized.
  2. The battery bank is used to save the unused RE, which is later used by the loads during the night or when the renewable power generated is less than the power required by the controllable loads.

  3. To protect the batteries against deep discharges and excessive charges. For this, during the charging or discharging process, the SOC should be maintained between the following limits (SOCminimum = 10% and SOCmaximum = 90%).

  4. The battery bank can only be charged by the power generated by the renewable sources PRE.

In addition, as this paper manages the loads operation, an additional management strategy for the loads switching has also been designed. In fact, since the RE plant is equipped with four controllable loads connected to the power sources via four controllable switches S5, S6, S7, and S8, it is necessary to design a management strategy that decides which load(s) should be operating. In fact, the load management strategy is designed following the following objectives:

  1. Deducing the time and identifying which load(s) should be operating, depending on the power demanded.

  2. Minimizing the switching of the loads.

2.2.2. Switching Modes

The management strategy of the generated power is based on connecting/disconnecting the three switches S1, S2, and S3, depending on fuzzy rules that use the generated renewable power, the SOC, and PLoads as inputs and generates the signals control for the switches.

On the other hand, for the management strategy of the load’s operation, the switches S5,  S6, S7, and S8 are used to connect and disconnect the loads (Figure 1).

Therefore, for the power provided for the loads, six switching modes can be identified, based on the logical combinations of switches.

  • Mode 1: During this mode, only the switch S1 is switched ON. The battery is moderately or almost discharged. Thus, all the renewable power PRE is used to feed the battery.

In this mode,

PBat=PRE (14)
  • Mode 2: The switches S1 and S2 are switched ON. In this case, the RE sources provide the power required by the loads. If the batteries are not fully charged, the excessed RE power is used to charge the battery bank. Otherwise, this energy is not used.

In this mode,

Ppump=PRE (15)
  • Mode 3: In this mode, the switches S2 and S3 are switched ON, while S1 is switched OFF. In this mode, the battery bank is moderately or fully charged. Thus, it supplies the loads together with the photovoltaic panels and the wind turbine with the required electrical power. Indeed, it is common to have this mode during the earliest hours of the morning or the latest hours of the afternoon during which the RE power is not sufficient for supply the loads with the required power. Hence, the battery bank provides the loads with the remaining power needed.

    In this mode,
    PLoads=PRE+PBat (16)
  • Mode 4: This mode is possible during the night. In this mode, only S3 is switched ON. In this case, the battery moderately or fully charged supplies the loads.

In this mode,

PLoads=PBat (17)
  • Mode 5: This mode is obtained in the case that the power generated by the RE sources is not sufficient and the battery bank is totally discharged or in the case that there is no power required by the load. Hence, the renewable energy is used to charge the batteries and the loads are supplied by the diesel generator. Therefore, the switches S1 and S4 are switched ON, while the switches S2 and S3 are switched OFFOFF.

  • Mode 6: This mode is activated when only the switch S2 is ON, while the rest of the switches are OFF.

As it has already been explained before, the operation of the loads is also performed via the loads management strategy. For this, four loads have been used for this purpose. Indeed, Loads 1, 2, 3, and 4 have the following nominal powers, respectively: 1000 W, 2000 W, 3000 W, and 4000 W.

The switching of the switches that connect the loads is deduced following the following strategy:

If PLoads10 W 1000 W, then Load 1 is ON, Load 2 is OFF, Load 3 is OFF, and Load 4 is OFF.

If PLoads1000 W 2000 W, then Load 1 is OFF, Load 2 is ON, Load 3 is OFF, and Load 4 is OFF.

If PLoads2000 W 3000 W, then Load 1 is OFF, Load 2 is OFF, Load 3 is ON, and Load 4 is OFF.

If PLoads3000 W 4000 W, then Load 1 is OFF, Load 2 is OFF, Load 3 is OFF, and Load 4 is ON.

If PLoads4000 W 5000 W, then Load 1 is OFF, Load 2 is ON, Load 3 is ON, and Load 4 is OFF.

If PLoads5000 W 6000 W, then Load 1 is OFF, Load 2 is ON, Load 3 is OFF, and Load 4 is ON.

If PLoads6000 W 7000 W, then Load 1 is OFF, Load 2 is OFF, Load 3 is ON, and Load- 4 is ON.

2.3. Fuzzy Management Algorithm

Since the management strategy requires the previous knowledge of the system, the proposed management algorithm is based on fuzzy logic, as it requires previous knowledge of the process. Therefore, in this paper, the fuzzy management algorithm (FMA) is done in four steps [31,32,33,34]: the knowledge base, the fuzzification, the inference diagram, and the defuzzification, which are described now in detail.

2.3.1. The Knowledge Base

The knowledge base is considered the first step of the FMA. In fact, five fuzzy trapezoidal partitions are used (Figure 3):

  • First partition (Renewable power PRE)

Figure 3.

Figure 3

The membership functions corresponding to: (a) RE power PRE, (b) Battery SOC, (c) Power demand PLoads, (d) Power each load PL, and (e) Switching orders of the relays.

The first partition is defined by three fuzzy sets nominated ai = (A, B, C). These subsets cover the interval x = [0, 7000 W] and verify:

 xi  x, i=13 μai xi =1 (18)

where μaixi is the membership function corresponding to ai evaluated at xi.

  • Second partition (State of Charge SOC)

The second partition is used to manage the SOC. Indeed, it is composed of three fuzzy sets, which are ck = (X, Y, Z). The interval d = [0, 1] is covered by these three sets and verify:

 dk  d,k=13 μck dk =1 (19)

where μckdk is the membership function corresponding to ck evaluated at dk.

  • Third partition (total required loads’ power PLoads)

The third partition is designed by three fuzzy sets bj=D,E,F. The interval y = [0, 7000 W] must be covered by these three fuzzy sets and verify:

 yj  y,j=13 μbj yj =1 (20)

where μbjyj is the membership function corresponding to bj evaluated at yj.

  • Fourth partition (Loads’ operation)

To decide on which load(s) should be operating, depending on the total power demanded by the loads, a fourth partition is designed using the following sets nq=G,H,I,J,K,L,M. The interval o = [0, 4000 W] must be covered by these seven fuzzy sets and verify that:

 oq  o,q=17 μnq oq =1 (21)

where μnq oq is the membership function corresponding to nq evaluated at oq.

  • Fifth partition (switches R1, R2, R3, R4, R5, R6, R7 and R8

For controlling the switches, two fuzzy sets are used, which are the following: rml = (V, W) cover the domain O = [0, 1] and verify:

 Ol   O,l=12 μrml Ol =1 (22)

where Ol is the switching signal given to the switches to connect or disconnect the RE sources, the battery, and the diesel generator to the loads (Figure 1). μrmlOl is the membership function corresponding to rml evaluated at Ol.

Therefore, to optimize the switching time of the switches, the fuzzy rules are classified according to three intervals of SOC:

  • First case: SOC   X = [0, 0.1]: in this interval, charging the battery is preferred to supplying the loads.

  • Second case: SOC   Y = [0.1, 0.8]: in this interval, supplying the loads is preferred to charging the battery bank.

  • Third case: SOC   Z = [0.8, 1]: in this case, the loads are supplied by the RE sources and/or the battery.

2.3.2. Fuzzification

The fuzzification step consists in computing the membership functions μaix0i, μckd0k, μbjy0j, μnq oq, and μrmlO0l using symmetric trapezoidal shapes (Figure 3).

Mathematically, these membership functions are expressed by:

μaix0i=xx0iεx0iifxx0iεx0ielse=0 (23)

which is used for the RE power PRE,

μckd0k=dd0kεd0kifdd0kεd0kelse=0 (24)

used for the battery State of Charge SOC,

μbjy0j=yyjεy0jifyy0jεy0jelse=0 (25)

which is considered for the required power by the load,

μnq oq=ooqεo0qifoo0qεo0qelse=0 (26)

which is considered for the operating load(s),

μrmlO0l=OO0lεO0lifOO0lεO0l else=0 (27)

which is used for the switching orders of the switches,

x0i, d0k, y0j, o0q, and O0l, which are, respectively, the values of the variables x, d, y, o, and O in the membership intervals; and εx0i, εd0k, εy0j, εo0q, and εO0l are the range values of x0i, d0k, y0j, o0q, and O0l, respectively.

2.3.3. Inference Diagram

The inference diagram is performed using following equation [35,36,37,38]:

Sikjql:if xi is ai and dk is ck and yj is bj and oq is nq then O is rl (28)

where xi corresponds to the RE power, ck is for SOC, yj is for the power by the loads PLoads, oq is for the load(s) operating, and (ai, ck, bj, oq) are, respectively, their linguistic values. O is the control signal for the switches, such that each switch receives a different control signal, knowing that Sl is its linguistic value.

2.3.4. Defuzzification

The output O0l l=1, 2, 3, ..,8 is calculated using the centroid method for defuzzification, which is performed using the following equation:

O0l=01OlμrldOl01μrldOl (29)

Thus, the control of the seven switches is performed as follows:

if O0l 0.5,  then  Sl=OFF , if O0l  0.5,  then  Sl=ON (30)

2.4. Algorithm Execution

The FMA is performed using the real-time execution of the algorithm following these steps:

  1. Estimation of the RE power generation based on the measured solar radiation, the ambient temperature, and the wind speed.

  2. Estimation of the demanded power PLoads

  3. Estimation of the SOC based on the measured battery current.

  4. Fuzzification of the fuzzy inputs.

  5. Inference diagram performance.

  6. Defuzzification: Deduction of the fuzzy outputs Ol using the trapezoidal method.

3. Results

The EMS allows the operating of the plant components to be deduced in such a way that the RE sources and/or the battery bank and the diesel generator supply the loads with AC power. Moreover, the operation of the loads is deduced since, depending on the power required by the four loads, the EMS decides also on which load(s) should be operating.

For this, measured climatic data of the solar radiation, the ambient temperature, and the wind speed that correspond to a typical day in July, March, and December have been used to test the FMA efficiency. The results are given in Figure 4, Figure 5, Figure 6, Figure 7, Figure 8 and Figure 9.

Figure 4.

Figure 4

EMS results obtained for a typical day in July with an initial SOC = 50%.

Figure 5.

Figure 5

Loads energy management results.

Figure 6.

Figure 6

EMS results for the photovoltaic system in March using a variable loads power using an initially fully discharged battery bank.

Figure 7.

Figure 7

EMS results for the photovoltaic system in March using a variable loads power using an initially fully charged battery bank.

Figure 8.

Figure 8

EMS results for the photovoltaic system in December using a variable loads power using an initially fully discharged battery bank.

Figure 9.

Figure 9

EMS results for the photovoltaic system in December using a variable loads power using an initially fully charged battery bank.

Figure 4 represents the results obtained by applying the EMS using climatic data that correspond to a typical day in July. The figure shows a correct operating of the switches and a safe operating of the battery banks, since the SOC is maintained between 0.1 and 0.8. Moreover, the diesel is operating only when the renewable power and the battery bank are not able to generate the power required by the loads. The renewable power is used to charge the battery bank in the case that the battery bank is not fully charged.

Secondly, the loads energy management is also tested. In fact, a variable profile of the power required by the loads is used. The profile is designed using four loads of 1000 W, 2000 W, 3000 W, and 4000 W. Hence, the FMA also allows one to decide which load(s) should be operating based on the total power required by the loads (Figure 5).

Figure 6 shows that the FMA gives good results during a typical day of March, during which there are fluctuations in the power generated by the renewable sources. In fact, in this simulation and to perform all the possible operating modes, the battery banks are considered discharged. Therefore, the switch S3 is switched ON only when the SOC reaches the minimum allowed (10%). Otherwise, the diesel generator and the renewable sources are used to generate the required power.

The FMA has also been tested considering a charged battery bank during a day of March. Therefore, the initial SOC considered is 90%. The results are presented in Figure 7.

Figure 8 summarizes the FMA results for a typical day in December with the specific case of a battery bank initially discharged. In fact, at midnight, since the battery bank is initially discharged, the switches S1 and S4 are switched ON. Therefore, the renewable energy is used to charge the battery bank, whereas the genset is used to generate the power required by the loads. This corresponds to Mode 5. Then, the switch S2 is switched ON once the SOC reaches 0.1 until the end of the day. Meanwhile, the switch S3 is switched ON when the renewable power is less than the power required by the loads, which corresponds to Mode 3. Then, when there is an excess of RE power generated, Mode 2 is activated. The same operating strategy is obtained in December when the battery bank is initially fully charged (Figure 9). For instance, at the beginning of the day, the batteries are charged, so they supply the loads with the required power. Thus, Mode 4 is activated until the renewable energy generate the power required by the load, which corresponds to Mode 6. During this day, the switch S4 is not switch ON since the renewable sources and the batteries can generate the electrical power required by the loads.

4. Discussions

In Figure 3, the obtained results demonstrate that the EMS allows the control signals of the switches to be generated correctly. In fact, at the first hours of the days, during which the power generated by the RE sources is less than the power required by the loads, the battery banks are used to complete the required power by the loads. So, the switches S2 and S3 are switched ON, while the switch S1 is switched OFF. Then, when the power generated by the RE sources is higher than the power required by the loads, the excess power is used to charge the battery bank. In this case, the switches S1 and S2 are switched ON and the switch S3 is switched OFF. When the loads require power during the night, only the switch S3 is switched ON. The SOC is always maintained between the limits indicated initially in the algorithm, which are SOC min = 10% and SOC max = 80%.

Figure 4 shows that the EMS also allows for the management of the operating loads. Indeed, depending on the power required, the EMS selects which load(s) should be operating. For instance, when the required power PLoads is in the interval 3000 W 4000 W, then Load 1 is OFF, Load 2 is OFF, Load 3 is OFF, and Load 4 is ON. Moreover, when PLoads belongs to the interval 6000 W 7000 W, then Load 1 is OFF, Load 2 is OFF, Load 3 is ON, and Load 4 is ON. Figure 5, Figure 6, Figure 7 and Figure 8 demonstrate the importance of the adopted constraints applied in the EMS. Indeed, it allows for the protection of the battery against deep discharge and excessive charges. Moreover, the results show the correct operation of the switches following the objectives proposed in Section 2.2.1.

5. Conclusions

In this paper, an energy management strategy is studied using the fuzzy logic. The EMS is tested using the measured climatic data of the Mostoles (Spain). The results show that the EMS allows one to maximize the use of the renewable power generated by the photovoltaic panels and the wind turbine. Moreover, the battery bank is used to save the RE generated in excess or not used when the RE power generated is less than the power required by the loads. Therefore, the batteries state of charge is always maintained between the SOCmin and the SOCmax. Moreover, the diesel generator is used only in the case that the renewable sources or the battery bank cannot generate the power required by the loads. In addition, the EMS also allows the load(s) operating to be deduced. For future research, the authors would like to apply the EMS designed by applying it to enhance the energetic efficiency of buildings supplied by hybrid plants and which includes thermal and electrical controllable loads.

Author Contributions

Conceptualization, I.Y. and N.V.d.l.P.; methodology, I.Y. and N.V.d.l.P.; software, I.Y. and N.V.d.l.P.; validation, I.Y.; formal analysis, I.Y.; investigation, I.Y.; resources, I.Y.; data curation, I.Y. and N.V.d.l.P.; writing—original draft preparation, I.Y. and N.V.d.l.P.; writing—review and editing, I.Y.; visualization, I.Y.; supervision, I.Y.; project administration, I.Y. and N.V.d.l.P.; funding acquisition, I.Y. All authors have read and agreed to the published version of the manuscript.

Funding

Pr Imene Yahyaoui is funded by RESOL Project M2421 of the University Rey Juan Carlos, Madrid, Spain.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Footnotes

Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.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. doi: 10.11591/ijece.v11i4.pp2760-2767. [DOI] [Google Scholar]
  • 2.Ashenov N., Myrzaliyeva M., Mussakhanova M., Nunna H.K. Dynamic Cloud and ANN based Home Energy Management System for End-Users with Smart-Plugs and PV Generation; Proceedings of the 2021 IEEE Texas Power and Energy Conference (TPEC); College Station, TX, USA. 2–5 February 2021; pp. 1–6. [Google Scholar]
  • 3.Abdolrasol M.G., Mohamed R., Hannan M.A., Al-Shetwi A.Q., Mansor M., Blaabjerg F. Artificial Neural Network Based Particle Swarm Optimization for Microgrid Optimal Energy Scheduling. IEEE Trans. Power Electron. 2021;36:12151–12157. doi: 10.1109/TPEL.2021.3074964. [DOI] [Google Scholar]
  • 4.Mansouri S.A., Ahmarinejad A., Nematbakhsh E., Javadi M.S., Jordehi A.R., Catalão J.P. Energy management in microgrids including smart homes: A multi-objective approach. Sustain. Cities Soc. 2021;69:102852. doi: 10.1016/j.scs.2021.102852. [DOI] [Google Scholar]
  • 5.Zandrazavi S.F., Guzman C.P., Pozos A.T., Quiros-Tortos J., Franco J.F. Stochastic multi-objective optimal energy management of grid-connected unbalanced microgrids with renewable energy generation and plug-in electric vehicles. Energy. 2021;241:122884. doi: 10.1016/j.energy.2021.122884. [DOI] [Google Scholar]
  • 6.Yin N., Abbassi R., Jerbi H., Rezvani A., Müller M. A day-ahead joint energy management and battery sizing framework based on θ-modified krill herd algorithm for a renewable energy-integrated microgrid. J. Clean. Prod. 2021;282:124435. doi: 10.1016/j.jclepro.2020.124435. [DOI] [Google Scholar]
  • 7.Berrueta A., Heck M., Jantsch M., Ursúa A., Sanchis P. Combined dynamic programming and region-elimination technique algorithm for optimal sizing and management of lithium-ion batteries for photovoltaic plants. Appl. Energy. 2018;228:1–11. doi: 10.1016/j.apenergy.2018.06.060. [DOI] [Google Scholar]
  • 8.Ammari C., Belatrache D., Touhami B., Makhloufi S. Sizing, optimization, control, and energy management of hybrid renewable energy system—A review. Energy Built Environ. 2021 doi: 10.1016/j.enbenv.2021.04.002. [DOI] [Google Scholar]
  • 9.Jangi R. Ph.D. Thesis. University of California; Berkeley, CA, USA: 1992. Neuro-Fuzzy Modeling: Architecture. Analysis and Application. [Google Scholar]
  • 10.Van Leekwijck W., Kerre E.E. Defuzzification: Criteria and classification. Fuzzy Sets Syst. 1999;108:159–178. doi: 10.1016/S0165-0114(97)00337-0. [DOI] [Google Scholar]
  • 11.Dawoud S.M., Xiangning L., Okba M.I. Hybrid renewable microgrid optimization techniques. A review. Renew. Sustain. Energy Rev. 2018;82:2039–2052. [Google Scholar]
  • 12.Laughton M.A., Say M.G. Electrical Engineer’s Reference Book. Elsevier; Amsterdam, The Netherlands: 2013. [Google Scholar]
  • 13.Althubaiti M., Bernard M., Musilek P. Fuzzy logic controller for hybrid renewable energy system with multiple types of storage; Proceedings of the 2017 IEEE 30th Canadian Conference on Electrical and Computer Engineering (CCECE); Windsor, ON, Canada. 30 April 2017; pp. 1–6. [Google Scholar]
  • 14.Courtecuisse V., Sprooten J., Robyns B., Petit M., Francois B., Deuse J. A methodology to design a fuzzy logic-based supervision of Hybrid Renewable Energy Systems. Math. Comput. Simul. 2010;81:208–224. doi: 10.1016/j.matcom.2010.03.003. [DOI] [Google Scholar]
  • 15.Derrouazin A., Aillerie M., Mekkakia-Maaza N., Charles J.P. Multi input-output fuzzy logic smart controller for a residential hybrid solar-wind-storage energy system. Energy Convers. Manag. 2017;148:238–250. doi: 10.1016/j.enconman.2017.05.046. [DOI] [Google Scholar]
  • 16. [(accessed on 20 November 2021)]. Available online: www.pvsyst.com.
  • 17.Ouramdane O., Elbouchikhi E., Amirat Y., Gooya E.S. Optimal Sizing and Energy Management of Microgrids with Vehicle-to-Grid Technology: A Critical Review and Future Trends. Energies. 2021;14:4166. doi: 10.3390/en14144166. [DOI] [Google Scholar]
  • 18. [(accessed on 20 November 2021)]. Available online: www.homerenergy.com.
  • 19.Yahyaoui I., Tadeo F., Segatto M.V. Energy and water management for drip-irrigation of tomatoes in a semi-arid district. Agric. Water Manag. 2017;183:4–15. doi: 10.1016/j.agwat.2016.08.003. [DOI] [Google Scholar]
  • 20.Yahyaoui I., Ghraizi R., Tadeo F. Optimization of Operational Costs of renewable energy microgrids in Mediterranean climate; Proceedings of the International Renewable Energy Conference (IREC); Hammamet, Tunisia. 22–24 March 2016. [Google Scholar]
  • 21.Li J., Li R., Jia Y., Zhang Z. Prediction of I–V Characteristic Curve for Photovoltaic Modules Based on Convolutional Neural Network. Sensors. 2021;20:2119. doi: 10.3390/s20072119. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Wang S., Luo H., Ge Y., Liu S. A new approach for modeling photovoltaic modules based on difference equation. Renew. Energy. 2021;168:85–96. doi: 10.1016/j.renene.2020.12.023. [DOI] [Google Scholar]
  • 23.Tao Y., Bai J., Pachauri R.K., Sharma A. Parameter extraction of photovoltaic modules using a heuristic iterative algorithm. Energy Convers. Manag. 2020;224:113386. doi: 10.1016/j.enconman.2020.113386. [DOI] [Google Scholar]
  • 24.Kumar G.B. Optimal power point tracking of solar and wind energy in a hybrid wind solar energy system. Int. J. Energy Environ. Eng. 2021:1–27. doi: 10.1007/s40095-021-00399-9. [DOI] [Google Scholar]
  • 25.Wang J., Bo D., Miao Q., Li Z., Wu X., Lv D. Maximum power point tracking control for a doubly fed induction generator wind energy conversion system based on multivariable adaptive super-twisting approach. Int. J. Electr. Power Energy Syst. 2021;124:106347. doi: 10.1016/j.ijepes.2020.106347. [DOI] [Google Scholar]
  • 26.Salazar J., Tadeo F., de Prada C., Palacin L. Modelling and Simulation of Auxiliary Energy Systems for OFF-grid Renewable Energy Installation; Proceedings of the International Renewable Energy Congress; Hammamet, Tunisia. 20–22 December 2011. [Google Scholar]
  • 27.Salazar J., Tadeo F., Prada C. Modelling of Diesel Generator Sets That Assist OFF-Grid Renewable Energy Micro-grids. Renew. Energy Sustain. Dev. 2015;1:72–80. doi: 10.21622/resd.2015.01.1.072. [DOI] [Google Scholar]
  • 28.Boulmrharj S., Ouladsine R., NaitMalek Y., Bakhouya M., Zine-dine K., Khaidar M., Siniti M. Online battery state-of-charge estimation methods in micro-grid systems. J. Energy Storage. 2020;30:101518. doi: 10.1016/j.est.2020.101518. [DOI] [Google Scholar]
  • 29.Zhang M., Fan X. Review on the state of charge estimation methods for electric vehicle battery. World Electr. Veh. J. 2020;11:23. doi: 10.3390/wevj11010023. [DOI] [Google Scholar]
  • 30.Sreedhar R., Karunanithi K. Design, simulation analysis of universal battery management system for EV applications. Mater. Today Proc. 2021 doi: 10.1016/j.matpr.2020.12.136. [DOI] [Google Scholar]
  • 31.Novák V., Perfilieva I., Mockor J. Mathematical Principles of Fuzzy Logic. Volume 517 Springer Science & Business Media; Berlin/Heidelberg, Germany: 2012. [Google Scholar]
  • 32.Anthony M., Prasad V., Kannadasan R., Mekhilef S., Alsharif M.H., Kim M.K., Jahid A., Aly A.A. Autonomous fuzzy controller design for the utilization of hybrid PV-wind energy resources in demand side management environment. Electronics. 2021;10:1618. doi: 10.3390/electronics10141618. [DOI] [Google Scholar]
  • 33.Aryanfar A., Gholami A., Pourgholi M., Shahroozi S., Zandi M., Khosravi A. Multi-criteria photovoltaic potential assessment using fuzzy logic in decision-making: A case study of Iran. Sustain. Energy Technol. Assess. 2020;42:100877. doi: 10.1016/j.seta.2020.100877. [DOI] [Google Scholar]
  • 34.Behera M.P., Ray P.K. Reactive power and harmonic compensation in a grid-connected photovoltaic system using fuzzy logic controller. Int. J. Emerg. Electr. Power Syst. 2021;22:161–175. doi: 10.1515/ijeeps-2020-0204. [DOI] [Google Scholar]
  • 35.Ilyas A., Khan M.R., Ayyub M. FPGA based real-time implementation of fuzzy logic controller for maximum power point tracking of solar photovoltaic system. Optik. 2021;213:164668. doi: 10.1016/j.ijleo.2020.164668. [DOI] [Google Scholar]
  • 36.Bakkar M., Aboelhassan A., Abdelgeliel M., Galea M. PV Systems Control Using Fuzzy Logic Controller Employing Dynamic Safety Margin under Normal and Partial Shading Conditions. Energies. 2021;14:841. doi: 10.3390/en14040841. [DOI] [Google Scholar]
  • 37.Sutikno T., Subrata A.C., Elkhateb A. Evaluation of Fuzzy Membership Function Effects for Maximum Power Point Tracking Technique of Photovoltaic System. IEEE Access. 2021;9:109157–109165. doi: 10.1109/ACCESS.2021.3102050. [DOI] [Google Scholar]
  • 38.Ali M.N., Mahmoud K., Lehtonen M., Darwish M.M. Promising MPPT Methods Combining Metaheuristic, Fuzzy-Logic and ANN Techniques for Grid-Connected Photovoltaic. Sensors. 2021;21:1244. doi: 10.3390/s21041244. [DOI] [PMC free article] [PubMed] [Google Scholar]

Articles from Sensors (Basel, Switzerland) are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES