Next Article in Journal
Mechanical Properties and Micro Mechanism of Nano-Clay-Modified Soil Cement Reinforced by Recycled Sand
Previous Article in Journal
Contribution of Climate-Smart Agriculture Technologies to Food Self-Sufficiency of Smallholder Households in Mali
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Multi-Agent Based Optimal Operation of Hybrid Energy Sources Coupled with Demand Response Programs

by
Tope Roseline Olorunfemi
* and
Nnamdi I. Nwulu
Department of Electrical and Electronic Engineering Science, University of Johannesburg, Johannesburg 2006, South Africa
*
Author to whom correspondence should be addressed.
Sustainability 2021, 13(14), 7756; https://doi.org/10.3390/su13147756
Submission received: 15 June 2021 / Revised: 3 July 2021 / Accepted: 6 July 2021 / Published: 12 July 2021

Abstract

:
Electricity is an indispensable commodity on which both urban and rural regions heavily rely. Rural areas where the main grid cannot reach make use of distributed energy resources (DER), especially renewable energy sources (RES), in an islanded microgrid. Therefore, it is necessary to make sure there is a sufficient power supply to balance the demand and supply curve and meet people’s demands. The work done in this paper aims to minimize the daily operating cost of the hybrid microgrid while incorporating a demand response strategy built on an incentive-based demand response (IBDR) model. Three case studies were constructed and analyzed to derive the best, most reduced daily operational cost. This was achieved using the CPLEX solver embedded in algebraic modeling language in the Advanced Interactive Multidimensional Modeling Systems (AIMMS) software with multi-agent system (MAS); the MAS was used to make sure that the developed intelligent-based agents work independently to achieve an optimal microgrid system. The sensitivity analysis employed established that case study 2 gave the most reduced daily operation cost (USD 119), which represents an 8% reduction in the daily operational cost from case study 1 and a 9% reduction from case study 3. Then, we achieved 17% and 25% reductions, as compared to specific other approaches.

1. Introduction

The social and economic aspects of human life heavily depend on electricity. Additionally, without electricity, it is practically impossible to carry out daily activities, especially with the impact of the COVID-19 pandemic on commercial centers and cities. Therefore, there is a need to strengthen and broaden electricity generation beyond what is currently obtainable to meet the demands of people [1]. Meanwhile, the conventional means of generating electricity pose risks to human health and call for an alternative, named a renewable energy resource. Furthermore, deploying RES comes with some advantages, such as a low contribution to the greenhouse effect, as mentioned earlier, reductions in power loss during transmission, grid security, and reserve generation capacity [2].
Renewable energy sources are vast and are not limited, which means they are continually available in abundance in nature. Examples include wind energy generators, solar voltaic energy generators, hydro and geothermal energy generators, etc. Some renewable energy resources are generated directly (from the sun) or indirectly (hydropower), and other natural sources are derived from the environment (geothermal) [3].
Demand response (DR) is gaining significant attention from both researchers and utility companies. DR can be defined as cutting electricity usage from the customer’s side in return for an incentive. It accomplishes reductions in electricity consumption, thereby saving energy. Industrial electricity actors seek an alternative way to reduce costs while improving their overall operational efficiency; likewise, the residential sector is trying to reduce energy consumptions, especially at peak periods. Therefore, DR serves as an active tool to reduce energy consumption during peak periods [4]. There are two types of DR program: the price-based demand response program and the incentive-based demand response program, which are further divided into sub-groups. The price-based DR program refers to a situation wherein customers change their electricity usage in response to the price given, while an incentive-based DR program is that in which customers sign a contract with the operators to reduce electricity usage in return for money, based on the agreement, especially at peak periods.
The novelty of the research is finding ways to make sure that renewable energy sources, especially hybrid renewable sources, function at an optimum capacity in the microgrid. Deploying them in the microgrid, as highlighted in the abstract, seems to be the best way to achieve an optimal system. The work developed a model seeking to minimize the daily operational costs of hybrid microgrids, incorporating a demand response strategy based on an incentive-type demand response (IBDR) program, via three case studies.
It was demonstrated that the addition of renewable sources can affect cost minimization. Additionally, DR has proven to be a great tool in reducing load at the peak hours; therefore, deploying DR in a microgrid ensures the microgrid functions optimally by balancing the curve between demand and supply. As such, the research recommends that electricity operators and stakeholders use DR to cut power at peak periods. Furthermore, the government needs to invest in the deployment of renewable energy sources, as this can alleviate the problems that come with generating electricity solely with coal. In particular, the power sector of South Africa (Eskom) needs to deploy more renewable energy, and integrate the different types of DR programs at various levels, both on the consumers’ and the industrial side, so as to meet the electricity demand of the citizens.
As far as the authors are concerned, no research has been done that matches this model with the same three case studies addressed.
The energy management system of a microgrid is fundamental to making sure that power flows among all interconnected elements and functions optimally. MAS is an artificial intelligence (AI) method that deals with the design and implementation of a multi-agent solution in a microgrid energy management system to ensure that the hybrid energy system operates optimally. Different agents function independently to achieve the optimal state. An agent can be defined as a computer system located in an environment from which it takes its input. The agent is capable of independent action in this environment to meet its objectives (Figure 1) [5].
According to [1], MAS are intelligent entities capable of communicating with each other to form a bigger intelligent unit. They are autonomous and sensitive to their environment; they use their intelligence to predict and determine future actions to improve the microgrid’s overall performance. They can either collaborate or work independently, depending on the nature of the task that needs to be accomplished by the agents.
A number of studies have investigated the behaviors of microgrids with RES penetration using a multi-agent method. Reference [2] developed a multi-agent approach to developing the energy management system of a microgrid. This was accomplished via building three-tiered centralized and decentralized energy management system controls. It was achieved through a client-to-server structure and implemented using C++ programming language. To show the effectiveness of the developed model, the simulation results show that a multi-agent-based approach is an efficient technique to manage and control energy management and derive optimized output from a microgrid.
Ref. [3] implemented both centralized and decentralized demand response with multi-agent intelligence in their hybrid power system. Their work focused on minimizing the cost of mismatch and user satisfaction in the system. The multi-agent system was designed to control and manage the power sources in the microgrid. Their simulation outcome shows that the incorporation of demand response into user satisfaction lowered the cost, as expected with the centralized implementation.
The work done in [4] was based on improving the operational efficiency of a microgrid in China. They developed and applied three layers of multi-agent system, including hybrid power sources such as the energy storage system, heat power-load, and demand response, in their microgrid, using China’s case study. To further their work, three simulation cases were developed and solved with the MAS. The result prove that MAS can achieve the collaborative optimization of the energy sources in a microgrid.
The authors of [5] also worked on the energy management system of distributed energy sources in a microgrid. The microgrid here comprises renewable and non-renewable resources with seasonal load demands and a grid. A decentralized multi-agent system was developed to provide control over the complex energy management system. According to them, non-cooperative game theory was deployed for the multi-agent system’s coordination. The distributed energy resources were simulated to find a lasting solution to fluctuations associated with the renewable energy source. The simulation results show that the proposed MAS enables higher-performance control and management than the normal centralized energy management system used in microgrids.
Reference [6] developed a MAS optimization context, integrating a real-time residential demand response program, which was further integrated into the power system marketplace. The agents considered can examine their environment, predict the load profile, and forecast the electricity price. To show the effectiveness of the proposed, some case studies were carried out, with the encouraging results of low variation in the aggregated load profile and decreases in energy price.
The authors of [7] conducted a similar study to that reported herein, but with a different approach. The objective of their work was to minimize the daily operating cost of a multi-energy system. This was done by deploying a price-based demand response program using market price elasticity as the basis, and the optimization process was constructed using MATLAB software. Consequently, the results from the research show that deploying a price-based DR within energy storage facilities is more effective in terms of cost reduction for the power purchased from the grid and the total operating cost of the system. Their results also established that the price-based elasticity derived is helpful to educating users on how to curtail their electricity usage or shift loads.
The study in [8] designed a multi-agent system with renewable energy resources; consisting of wind, PV, and a battery with sensitive and non-sensitive loads. The MAS system was modeled to correspond to each of the power sources and the load. For example, they had what is referred to as a PV-agent, a wind-agent, and a load-agent in the microgrid, in order to achieve optimal functionality in the system. The developed system was designed using Matlab Simulink, and executed on the JADE platform with macsimJX software. After testing the applicability of the proposed method, the outcome of the case studies shows that it is is suitable to be used in the implementation and control of energy management in the microgrid.
The authors in [9] proposed a new business model framework for the energy retailer market in a community hybrid microgrid system. A complex optimization model was formulated and solved using a linear programming optimization solver. The microgrid comprises a diesel generator, a battery energy storage system, a utility grid and a photovoltaic system. The results show that the proposed model minimizes the daily operating cost of the microgrid significantly, but the amount of reduction was not mentioned, and demand response was not deployed in their work.
Other authors [10] proposed a new energy management system to minimize the daily operational cost of a hybrid microgrid system. The energy management system was designed to include upper and lower layers. At the upper end, a convex optimization technique was used to solve the optimization problem, while at the lower end a rolling horizon predictive controller was used to achieve their goal. Outcomes from the experimental lab-based microgrid confirm the ability of the proposed energy management system.
Additionally, the researchers in [11] focused on reducing the energy cost of a hybrid energy source microgrid; their sources included grid power, PV, and the battery energy system. Particle swarm optimization (PSO) in MATLAB was used to solve the optimization model. The results established that deploying RES, and especially a battery storage system, in a microgrid can significantly reduce the daily operating cost of such a microgrid.
Reference [12] employed some hybrid DR strategies in their proposed price-based (PBDR) and time of use (TOU) models using a day-ahead scheduling approach. The outcome shows that there was a significant reduction in the operating cost, as well as an increase in the social welfare, at 12% and 25%, respectively. The demand response (DR) program has always been among the best ways of enabling consumers to change their electricity usage pattern. Price-based and incentive strategies are the two main approaches involved, but the latter seems to be the most widely used, according to [13], because the price-based approach is more tailored to the pricing principle, while the incentive-based approach gives back to the people for changing their electricity usage pattern, especially at peak periods. Hence, many customers ordinarily prefer to engage in this type of program as compared to other DR strategies.
Comparing our approach with other approaches in the literature, and also according to [14], it is clear that incentive-based demand response (IBDRP) is more efficient when compared to other approaches, such as the price-based program. Additionally, from the reduction results, it is clear that our approach enabled a greater reduction in the operating cost.

2. Methodology

The methodology employed in this configuration makes use of five power sources. These comprise a photovoltaic (PV) system, a wind energy conversion (WEC) system, diesel generators, a battery pool and the conventional grid. The PV and diesel generator are used to charge the battery pool. The battery pool comprises multiple battery arrays, with each array having multiple batteries. Electrical power, derived from the PV, the diesel generators, the battery pool, and the grid system, are accessed via a selector entity.

2.1. The Designed Entities

The integration of an intelligent multi-agent system (MAS) to achieve a robust and adaptive power system requires the incorporation of the following adept entities:
  • Source control entity (SCE): The SCE is a selector entity that controls which power sources supply the load to the end-user, considering the mode in which the system is operating at a particular point in time, i.e., if the system is working in the online mode or the offline mode. The SCE can also detect the mode (online mode or the offline mode) and switch automatically to meet the required load;
  • Diesel generator entity (DGE): A DGE is another entity that provides power for charging the battery pool. It is driven via the supply of fossil fuel, i.e., diesel, to a power plant. The DGE monitors the functionality of the diesel generator in an epoch. It also determines the mean power output from the diesel generator;
  • Solar irradiation monitoring entity (SIME): An SIME is an intelligent solar monitoring entity that monitors power output from the solar system. The SIME also computes parameters, such as the solar panel’s expected electrical power output, and gives an indicator that displays the condition (good/bad) of the solar system. The functionalities of deciding the power output from the solar system and monitoring the solar system’s health are achieved through an onboard computer sensor embedded in the SIME;
  • Charge source selector entity (CSSE): A CSSE entity plays the charge selector role in the battery pool. The entity determines how much excess power is derived from either the diesel generator, the solar array, or a combination of both to charge the battery pool. The implied power selection functionality is executed by the charge source selector entity (CSSE). The proposed CSSE receives inputs from the SIME and the DGE. The CSSE executes its functionality if the power sources, i.e., the diesel generator and solar power system, are fully functional and are available. Given that the CSSE does not receive any input from the DGE., it uses electrical energy from the solar power system to charge the battery pool (stored energy is accessed in a later epoch). If the battery pool is fully charged, it becomes imperative to protect it from overcharging. This challenge is addressed by deactivating the battery pool charging process, which is also accomplished by the CSSE;
  • The battery state data acquisition entity (BSDA): This entity analyzes the battery’s state and determines the epoch to trigger a battery charge session. The state of the battery is determined by parameters such as (i) load, (ii) number of batteries in the array(s), (iii) maximum battery charge, (iv) minimum battery charge, and (v) forecasted load and power demand on the battery in different epochs of the day. All these properties are encompassing in the BSDA. The battery health monitoring entity (BHME) and battery power analysis entity (BPAE) are sub-entities of the BSDA.
    • Battery health monitoring entity: The data on battery Ah–throughput are computed for different batteries and stored in the database aboard the battery health monitoring entity.
    • Battery power analysis entity: The battery power analysis entity is another important entity in the proposed hybrid electrical energy system. Its purpose is to identify the deteriorating batteries in each battery array. In executing this functionality, the battery power analysis entity connects with the battery power health monitoring entity. The battery power analysis entity uses data stored in the database aboard the battery health monitoring entity, i.e., DOD, BC, and the CTF. However, it uses the computed data on the battery’s Ah–throughput and battery wear cost for its analysis.
Figure 2 shows the relationship between the solar power system, the diesel generator, the SIME, the SCE, the DGE, the CSSE, the conventional grid, the battery pool (incorporating battery state data acquisition (BSDA)) and the end-user load.
The system configuration described herein functions in two modes. These are the power online mode and the power offline mode.
(1)
The power online mode: In this mode, energy sources from either the solar power system, the diesel generator or the conventional grid are used to provide the electricity required by the end-user via the SCE. The combination of energy sources in the power online mode is also feasible. This becomes necessary when a single electrical power source cannot meet the end-user’s load demand. In the power online mode, the amount of power drawn from the available and functional electrical power sources is determined by the load. Excess electrical power is used to charge the battery pool. The excess electrical power used to charge the battery pool arises from the diesel generator and the solar power system. If the battery pool is fully charged, it becomes important that it is protected from overcharging. The CSSE addresses this issue.
(2)
The power offline mode: This mode becomes operational when using the solar power system and the diesel generators for providing electricity to end-users has become infeasible. This may be because of the non-availability of solar radiation (at night), a faulty diesel generator system, or because the diesel generator system is undergoing scheduled maintenance. In this situation, the electrical power stored aboard the battery pool and the grid system provides power to the end-user via the SCE. The power offline mode is also triggered when the electricity stored aboard the battery is used to provide power to the end-user via the SCE.

2.2. The Mathematical Formulations

The aim in this paper is to decrease the microgrid’s daily operational cost as much as possible, so as to achieve the safe, secure and economical operation of the system. As such, our approach exploits any minimization of daily operation cost.

2.3. Objective Function

As stated before, our objective is to minimize the total daily operational costs of the hybrid energy sources detailed below [15].
o p e c o s t = t = 1 t ( c o s t t g d + c o s t t D G + c o s t O M + c o s t T C D + c o s t D R )
where the cost of purchasing power from the utility grid is given below [16].
( a )   c o s t t g d = [ B t g d · p t g d                                 ,     p t g d 0 ( 1 t a x ) ·   B t g d           ,   p t g d < 0 ]
The cost of purchasing the fuel consumed by the diesel generator is given below, and is presumed to be quadratic [17].
( a )   c o s t t D G   = a ·   p t D G + b 2 ·   p t D G
gives the maintenance cost of PV and WEC system [18].
( b )   c o s t W D , P V M A = t = 1 t ( W D M A   p t w d + P V M A   p t p v )
Additionally, the total daily cost of the battery energy system is as follows [4]:
( c )   c o s t T D C = C b s s m a x 365   ( I R ( 1 + I R L T ) ( 1 + I R L T ) 1   F C b s s + M C b s s )
Finally, we must address the cost of demand response; the type of demand response deployed in this chapter is still based on the incentive-based model for residential users. It has been proven in the literature that incentive-based DR is the most suitable for residential users [19]. The strategy employed in this project is that whenever the demand is at its peak, some load is being interrupted, and thereby the user is getting paid according to the contract signed for assisting in cutting such loads.
( d )   C o s t D R = A 1 + A 2 P D R + A 3 P D R 2
where c o s t t g d is the cost of buying electricity from the grid at time (t), c o s t t D G stands for the cost of the electricity used in the diesel generator at time (t), c o s t O M stands for the maintenance cost of PV and wind, c o s t T C D is the total daily cost of the battery energy system, and lastly c o s t D R is the amount the customers get paid based on the contract signed for cutting loads. a and b are the generator fuel coefficient, p t D G is the output from the diesel generator, W D M A   and P V M A are wind and PV maintenance costs, p t w d and p t p v are wind and PV output at time t. C b s s m a x is the maximum battery capacity, whilst LT and IR are the lifetime and interest rate of the installed battery, respectively. F C b s s and M C b s s are the fixed cost and maintenance cost of the battery energy system, respectively. A 1 , A 2 , A 3 are the coefficients of power interruption, and PDR is the total interruptible power.
Some operational constraints are bound the optimization model’s objective function. These include the equality and inequality constraints that the system must meet before delivering the optimum output. The model’s equality constraints are shown below in Equations (7)–(9), and the inequality constraints are shown in Equations (10)–(16).
p t D G + p t g d + p t w d + p t p v = p t B S S + p t l o a d
E t + 1 B S S = E t B S S + ( p t B S S / d ) · Δ t ,                       p t B S S 0  
E t + 1 B S S = E t B S S + p t B S S ·   c ·   Δ t ,                             p t B S S > 0    
p v m i n p t p v   p v m a x
w d m i n p t w d   w d m a x
p t D G p t 1 D G R U D G ·   Δ t
p t 1 D G p t D G   R D D G · Δ t
p b s s m i n p b s s t p b s s m a x
p g r i d m i n p t g d p g r i d m a x
P D R m i n P D R t P D R m a x
where
  • p t D G   = hourly output from the diesel generator at time t
  • p t g d   = hourly output from the grid at time t
  • p t w d     = hourly output from the wind-powered generating unit at time t
  • p t p v   = hourly output from the PV at time t
  • p t B S S   = hourly output from the battery energy system at time t
  • p t l o a d = hourly electrical load at time t
  • E t B S S = power stored in battery energy systems at time t
  • c   and d = charge and discharge efficiency of battery
  • p v m i n   and   p v m a x   = minimum and maximum output from PV
  • w d m i n and w d m a x = minimum and maximum output from wind
  • R U D G and R D D G = up and down ramp rate for diesel generator
  • p b s s m i n and p b s s m a x = minimum and maximum output from the battery storage system
  • p g r i d m i n   and   p g r i d m a x   = minimum and maximum output from the grid
  • P D R m i n and   P D R m a x = minimum and maximum producible power from demand response
  • P D R t   = the amount of interrupted electricity at time t
A brief description of the optimization model constraints is now presented.
The equality constraint in Equation (7) satisfies the power balance of the system, which is the energy balance between the demand and supply. Additionally, the limitations of Equations (8) and (9) deal with the charging and discharging of the battery energy system.
Constraints (10) and (11) are the PV and wind energy output, respectively, which must be within the limit of the predicted values.
Constraints (12) and (13) are the up and down ramp rate for the diesel generator, respectively.
Constraint (14) is the energy storage constraint.
Constraint (15) is the grid-related constraint, which must be within the limit of the predicted values.
Constraint (16) is demand response-related; that is, the interrupted power must be within the limit of the producible power.

3. Numerical Simulation

MAS was deployed to make sure all the renewable energy used in the microgrid functions properly. The MAS intelligent entities (as stated in Section 2) were designed using MATLAB. To validate the proposed objective functions, a case study of one PV, one wind turbine, a diesel generator, and 10 willing customers was used. The minimization optimization was achieved using the CPLEX solver embedded in algebraic modeling language [17,20]. The program’s status was optimal, and the solver achieved normal completion. The simulation was carried out on an Intel Pentium computer running Windows 10 with a central processing unit of 2.2 GHZ, 8 GB of RAM, and a 64-bit operating system with a solving time of 0.01 second. The numerical data used for the case studies was obtained from Harare’s site in Zimbabwe [21], and are accordingly presented in Table A1 in Appendix A.
Three case studies were validated with the modeling approach to assess the impact of the renewable energy sources and the battery storage system on the microgrid power system, as stated earlier in the MAS section. The amount of load curtailed, the cost of curtailed load, the amount of energy from the grid, the cost of power from the grid and the price of the diesel generator are all variables that will be evaluated when considering the three case studies. This further proves that the energy storage system and demand response balance the demand and generation curve, promote renewable energy source consumption, and reduce the operation cost of the microgrid.
  • Case study 1: This case study considered the load achieved by the PV, the WD, the DG, and the utility grid. The battery energy storage system was not involved in dispatching the power, and no DR contract was signed with the residential users.
  • Case study 2: In this case study, the addition of a battery energy storage system was considered in dispatching the power, so the sources were PV, WD, DG, utility grid, and battery energy storage system.
  • Case study 3: Lastly, case study 3 utilized the PV, the WD, the DG, the utility grid, and the battery storage energy system with DR participation.

4. Results

In case study 1, the total load demand was met by the PV, WD, DG, and utility grid. The battery energy storage system was not considered while dispatching power to the end-users, and no DR contracts were signed beforehand with the microgrid operators. The simulation outcomes show the minimum daily cost for this microgrid to be USD 129. The numerical data and parameters used for the simulation are presented in Table A1 and Table A2, while the optimal scheduling results of the case studies are presented in Table A3, Table A4 and Table A5. Figure A1 presents the Math program’s solution to the model, showing details of the program status as “optimal and up-to-date”. Figure A2 shows the statistics for the variables in the model, Figure A3 depicts the constraint statistics, Figure A4 shows the matrix statistics of the model, and lastly Figure A5 shows the matrix view of the model.
Figure 3 depicts the combined power sources’ output for case study 1.
From the analysis, the optimal dispatch of both the grid and the DG, as depicted in Figure 3, illustrate that the DG indeed executed its role as a proper back-up whenever the grid could no longer dispatch effectively, i.e., between 20:00 and 24:00, the DG took over optimal dispatching.
Figure 4 illustrates the combined power output from the power sources for case study 2.
In case study 2, the high optimal power dispatched from the battery storage system greatly helped in keeping the other power sources low, as seen in Figure 4. Additionally, it can be observed that wind power was the second largest source, following the battery energy system; this is as a result of the high wind and humidity on the site. These were followed by the PV. It can be observed that between the hours of 08:00 and 17:00, the PV was able to dispatch due to the availability of sun at those periods. Finally, the grid was dispatched during periods when both the battery energy system and the PV were not able to dispatch (01:00–07:00).
Figure 5 depicts the combined power output, while Figure 6. shows the cost of the grid and the cost of DG in case study 3, respectively.
The inclusion of the battery also reduced the output from the grid and the DG, as well as their costs, as seen in Figure 7.
In Figure 5, a flat curve can be observed from 12:00 to 24:00 due to the availability of the dispatch from the battery storage system.
Figure 6 depicts the curtailed power in different epochs, with their corresponding DR prices, as studied in case study 3. Therefore, the grid and DG cost were also reduced considerably, particularly during the hours when consumers saved power, as also seen in Figure below.

5. Discussions

From the various sensitivity analyses performed in case study 1, Figure 3. reveals the degree to which the various power sources were dispatched. It is noted that PV dispatched more than all other power sources from 8:00 17:00 due to the high volume of sun available during that period of the day. At later hours, between 17:00 and 24:00 hour, the DG and grid dispatched to meet the demand.
Furthermore, in case study 2, the battery’s presence greatly influenced the optimal power dispatch. Figure 4 shows that battery storage was able to dispatch power very well between the hours of 9:00 and 17:00. The PV is responsible for charging the battery. Additionally, the PV was responsible for charging the battery and making it possible for the battery to dispatch during the daytime, when the sun was available to charge it. Additionally, all other sources were kept low when the battery was dispatching, which greatly reduced their cost. The battery could also dispatch as a back-up source between the hours of 20:00 and 24:00.
Deploying DR within the microgrid, as in case study 3, gives room for residential consumers to participate in the DR program. In this case study, the microgrid’s daily cost was USD 109, which is a 9% reduction from case study 2.
As regards the MAS aspect of the modeling, the BHME and BPAE function together in the microgrid to make sure the battery is in a good state. The BHME, for example, monitors the battery to see if the battery is deteriorating or not. Thus, with the intelligent entities in place, it could be observed from the results that the battery was able to function well, and was also a good source of back-up. Another outstanding entity was the CSSE, which protects the battery from over-charging by removing the charging point as soon as the battery is fully charged. Additionally, the SCE was deployed to specifically detect which of the power sources is suitable to meet the load at a particular point in time. While the SIME takes control of monitoring the solar PV, the entity monitors the power output from the solar system and detects if there is any problem with the PV. However, all of these were put in place for the proper monitoring and running of the microgrid. Hence, each of the power sources was able to dispatch optimally, as expected.

6. Conclusions and Further Works

This research exploited both MAS and AIMMS software in a hybrid microgrid energy management system. The objective was to minimize the daily operating cost of the hybrid microgrid with an IBDR program. A MAS was exploited to make sure that all the power sources functioned properly; thus, using smart agents allows the microgrid to perform optimally.
The battery storage system has helped alleviate the power supply pressure of other microgrid power sources. For instance, adding a battery to the microgrid relieved some of the pressure on the DG, and provided a more reliable power supply. However, the battery storage system is connected with the electricity price. Whenever the electricity price is low, the microgrid will buy electricity from the utility grid to charge the battery, or the PV when the sun is not available. Additionally, when the electricity price is high, the battery’s energy will release power to the microgrid. Hence, the microgrid’s daily cost stands at USD 119, an 8% reduction from case study 1. This shows that the battery’s presence reduced the microgrid’s daily operational cost, even when compared with the battery’s price.
Consequently, from the analysis performed in the research, it can be established that the presence of a battery in case study 2 reduced the power outputs of other power sources and reduced the daily operation cost. We finally reached USD 119, which is an 8% reduction in the operational cost from case study 1 (USD 129). Lastly, in case study 3, the DR contract signed by the residential users to cut power at peak periods reduced the microgrid’s operational cost to USD 109. This is a 9% reduction from case study 2. All of these results were successfully achieved with the help of the various intelligent entities deployed in the MAS.
In the future, we will use a price-based DR program and increase the number of customers participating in the program.

Author Contributions

Conceptualization, T.R.O. and N.I.N.; methodology, T.R.O.; validation, T.R.O. and N.I.N.; formal analysis, T.R.O.; investigation, T.R.O.; writing—original draft preparation, T.R.O.; writing—review and editing, N.I.N.; visualization, N.I.N.; supervision, N.I.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the University Research Committee (URC) University of Johannesburg, Johannesburg, South Africa.

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.

Nomenclature/Abbreviations

AI—artificial intelligence
AIMMS—Advanced Interactive Multidimensional Modeling System
BHME—battery health monitoring entity
BPAE—battery power analysis
CSSE—charge source selector
CTF—circle to failure
DER—distributed energy resources
DGE—diesel generator
DOD—depth of discharge
DR—demand response
IBDRP—incentive-based demand response program
MAS—multi-agent system
PV—photovoltaic
RES—renewable energy sources
SCE—source control entity
SIME—solar irradiance monitoring entity
WEC—wind energy conversion

Variables and Parameters

o p e c o s t —Total daily operational costs of the hybrid energy system
c o s t t g d —cost of buying electricity from the grid at time (t)
c o s t t D G —cost of electricity from diesel generator at time (t)
c o s t O M —maintenance cost of PV and wind
c o s t T C D —total daily cost of battery energy system
c o s t D R —amount the customers get paid based on the contract signed for cutting loads
a and b (generator fuel coefficients)
p t D G —output from the diesel generator
W D M A   and   P V M A —wind and PV maintenance costs
p t w d   and   p t p v —wind and PV outputs at a time (t)
C b s s m a x —maximum battery capacity
LT and IR—lifetime and interest rate of the installed battery
F C b s s   and   M C b s s —fixed cost and maintenance cost of the battery energy system
A 1 , A 2 , A 3 —coefficients of power interruption
PDR—total interruptible power
p t D G   —hourly output from the diesel generator at time (t)
p t g d   —hourly output from the grid at time (t)
p t w d     —hourly output from the wind generating unit at time (t)
p t p v   —hourly output from the PV at time (t)
p t B S S   —hourly output from the battery energy system at time (t)
p t l o a d —hourly electrical load at time (t)
E t B S S —power stored in battery energy systems at time (t)
c   and   d —charge and discharge efficiency of battery
p v m i n   and   p v m a x   —minimum and maximum output from PV
w d m i n   and   w d m a x —minimum and maximum output from wind
R U D G   and   R D D G —up and down ramp rate for diesel generator
p b s s m i n   and   p b s s m a x —minimum and maximum output from the battery storage system
p g r i d m i n   and   p g r i d m a x   —minimum and maximum output from the grid
P D R m i n   and   P D R m a x —minimum and maximum producible power from demand response
P D R t   —the amount of interrupted electricity at time (t).

Appendix A

Table A1. The numerical data of the model.
Table A1. The numerical data of the model.
Time (h)Sr (MW)Wind (MW)Load (MW)
107.561.5
207.51.5
308.481.5
408.481.5
509.421.9
609.821.9
7010.351.9
87.9910.881.9
910.5611.013.4
1013.6110.943.4
1114.9710.683.4
121510.422.0
1314.7810.152.0
1414.599.672.0
1513.568.982.0
1611.838.372.0
1710.177.611.7
187.666.71.7
1905.721.7
2007.213.8
2107.752.4
2207.882.4
2307.692.4
2406.611.4
Table A2. Model parameters.
Table A2. Model parameters.
S/NOParametersValues
1PV array47 m2
2Battery size40 kWh
3Allowable depth of discharge (DoD)50%
4Cost of batteryUSD 65/kWh
5Discharge and charge efficiency75% and 100%
6Initial state of charge0.6
7Minimum and maximum state of charge0.5 and 1
8a and b0.877 and 12
9DG min (kw)0
10DG max (kw)5KW
Table A3. Optimal hourly power dispatch for power sources, case study 1.
Table A3. Optimal hourly power dispatch for power sources, case study 1.
Time (h)PV Output (MW)Wind Output (MW)DG Output (MW)Grid Output (MW)
107210
207210
307210
407415
507522
607522
7010522
806522
9106319
1086319
11108319
12118419
13178418
14208422
152084.525
16208625
1788225
18 5224
19 4225
20 42010
21 42010
22 42010
23 42010
24 4205
Table A4. Optimal hourly power dispatch for power sources, case study 2.
Table A4. Optimal hourly power dispatch for power sources, case study 2.
Time (h)Grid Output (MW)DG Output (MW)PV Output (MW)Wind Output (MW)Battery Output (MW)
14306.7626085.00
24306.7626085.00
34306.7626085.00
44306.7626085.00
54306.4626085.00
64306.4626085.00
74306.4626085.00
8734.2504312.0000012.10
97210.562.0000012.10
107211.250432.0000012.10
117211.250432.0000012.10
123111.050432.0000012.10
133111.050432.0000012.10
143111.050432.0000012.10
153111.050432.0000012.10
163111.050432.0000012.10
17216.1504312.0000012.10
18216.1504312.0000012.10
192102.0000015.00
201102.0000013.70
211.8102.0000017.10
221.8102.0000017.10
231.8102.0000017.10
240002.0000011.30
Table A5. Optimal hourly power dispatch for power sources, case study 3.
Table A5. Optimal hourly power dispatch for power sources, case study 3.
Time (h)Battery Output (MW)Wind Output (MW)Grid Output (MW)PV Output (MW)DG Output (MW)
10.007703
20.007703
30.007703
40.007703
50.007703
60.007703
70.0010703
83.206100
910.206452
1010.206452
1110.208452
1210.008351
1310.008351
1410.008351
1510.008351
1610.008351
175.108221
185.105201
195.104201
203.804101
217.2041.801
227.2041.801
237.2041.801
241.404000
Figure A1. Maths program solution of the model.
Figure A1. Maths program solution of the model.
Sustainability 13 07756 g0a1
Figure A2. Variable statistics of the model.
Figure A2. Variable statistics of the model.
Sustainability 13 07756 g0a2
Figure A3. Constraints statistics of the model.
Figure A3. Constraints statistics of the model.
Sustainability 13 07756 g0a3
Figure A4. Matrix statistics of the model.
Figure A4. Matrix statistics of the model.
Sustainability 13 07756 g0a4
Figure A5. Matrix view of the model.
Figure A5. Matrix view of the model.
Sustainability 13 07756 g0a5

References

  1. Anvari-moghaddam, A.; Rahimi-kian, A.; Mirian, M.S.; Guerrero, J.M. A multi-agent based energy management solution for integrated buildings and microgrid system. Appl. Energy 2017, 203, 41–56. [Google Scholar] [CrossRef] [Green Version]
  2. Mao, M.; Jin, P.; Hatziargyriou, N.D. Multiagent-Based Hybrid Energy Management System for Microgrids. IEEE Trans. Sustain. Energy 2014, 5, 938–946. [Google Scholar] [CrossRef]
  3. Rahmani, R.; Moser, I.; Seyedmahmoudian, M. Multi-agent based operational cost and inconvenience optimization of PV-based microgrid. Sol. Energy 2017, 150, 177–191. [Google Scholar] [CrossRef]
  4. Li, C.; Jia, X.; Zhou, Y.; Li, X. A microgrids energy management model based on multi-agent system using adaptive weight and chaotic search particle swarm optimization considering demand response. J. Clean. Prod. 2020, 262, 121247. [Google Scholar] [CrossRef]
  5. Khan, M.R.B.; Jidin, R.; Pasupuleti, J. Multi-agent based distributed control architecture for microgrid energy management and optimization. Energy Convers. Manag. 2016, 112, 288–307. [Google Scholar] [CrossRef]
  6. Wang, Z.; Paranjape, R.; Chen, Z.; Zeng, K. Multi-Agent Optimization for Residential Demand Response under Real-Time Pricing. Energies 2019, 12, 2867. [Google Scholar] [CrossRef] [Green Version]
  7. Cao, Y.; Wang, L.; Jiang, S.; Yang, W.; Zeng, M.; Guo, X. Optimal operation of cold—Heat—Electricity multi-energy collaborative system based on price demand response. Glob. Energy Interconnect. 2020, 3, 430–441. [Google Scholar] [CrossRef]
  8. Boudoudouh, S.; Maârou, M. Multi agent system solution to microgrid implementation. Sustain. Cities Soc. 2018, 39, 252–261. [Google Scholar] [CrossRef]
  9. Meena, N.K.; Yang, J.; Zacharis, E. ScienceDirect Energy Energy Procedia Energy Procedia Procedia Optimal Planning and Operational Management of Optimal Planning Operational Management of Open-Market Community Microgrids Optimal Planning and Operational Management of Open-Market Community. Energy Procedia 2019, 159, 533–538. [Google Scholar] [CrossRef]
  10. Elkazaz, M.; Sumner, M.; Thomas, D. Electrical Power and Energy Systems Energy management system for hybrid PV-wind-battery microgrid using convex programming, model predictive and rolling horizon predictive control with experimental validation. Electr. Power Energy Syst. 2020, 115, 105483. [Google Scholar] [CrossRef]
  11. Bouakkaz, A.; Gil, A.J.; Haddad, S.; Luigi, M. Efficient energy scheduling considering cost reduction and energy saving in hybrid energy system with energy storage. J. Energy Storage 2021, 33, 101887. [Google Scholar] [CrossRef]
  12. Monfared, H.J.; Ghasemi, A.; Loni, A.; Marzband, M. A hybrid price-based demand response program for the residential. Energy 2019, 185, 274–285. [Google Scholar] [CrossRef]
  13. Yan, X.; Ozturk, Y.; Hu, Z.; Song, Y. A review on price-driven residential demand response. Renew. Sustain. Energy Rev. 2018, 96, 411–419. [Google Scholar] [CrossRef]
  14. Shahryari, E.; Shayeghi, H.; Mohammadi-ivatloo, B.; Moradzadeh, M. An improved incentive-based demand response program in day-ahead and intra-day electricity markets. Energy 2018, 155, 205–214. [Google Scholar] [CrossRef]
  15. Jayachandran, M.; Ravi, G. ScienceDirect ScienceDirect ScienceDirect Design Optimization of Hybrid System The and G b demand-outdoor Assessing the feasibility of using the heat temperature for a district heat demand forecast. Energy Procedia 2017, 117, 95–103. [Google Scholar] [CrossRef]
  16. Maheshwari, A.; Paterakis, N.G.; Santarelli, M.; Gibescu, M. Optimizing the operation of energy storage using a non-linear lithium-ion battery degradation model. Appl. Energy 2020, 261, 114360. [Google Scholar] [CrossRef]
  17. Nwulu, N.I.; Xia, X. Optimal dispatch for a microgrid incorporating renewables and demand response. Renew. Energy 2017, 101, 16–28. [Google Scholar] [CrossRef]
  18. Zhao, B.; Zhang, X.; Chen, J.; Wang, C.; Guo, L. Operation optimization of standalone microgrids considering lifetime characteristics of battery energy storage system. IEEE Trans. Sustain. Energy 2013, 4, 934–943. [Google Scholar] [CrossRef]
  19. Nunna, H.S.V.S.K.; Mohan, A.; Sesetti, A.; Battula, S.; Doolla, S.; Srinivasan, D. Sustainable Energy, Grids and Networks Multi-agent based Demand Response management system for combined operation of smart microgrids. Sustain. Energy Grids Networks 2016, 6, 25–34. [Google Scholar] [CrossRef]
  20. Damisa, U.; Nwulu, N.I.; Sun, Y. Microgrid energy and reserve management incorporating prosumer behind-the-meter resources. IET Renew. Power Gener. 2018, 12, 910–919. [Google Scholar] [CrossRef]
  21. Kang, J.; Lee, J.H. Data-driven optimization of incentive-based demand response system with uncertain responses of customers. Energies 2017, 10, 1537. [Google Scholar] [CrossRef] [Green Version]
Figure 1. An agent in its environment [5].
Figure 1. An agent in its environment [5].
Sustainability 13 07756 g001
Figure 2. Relationship amongst the hybrid power system.
Figure 2. Relationship amongst the hybrid power system.
Sustainability 13 07756 g002
Figure 3. Combined output of power sources in case study 1.
Figure 3. Combined output of power sources in case study 1.
Sustainability 13 07756 g003
Figure 4. Combined output from the power sources for case study 2.
Figure 4. Combined output from the power sources for case study 2.
Sustainability 13 07756 g004
Figure 5. Combined output of power sources, case study 3.
Figure 5. Combined output of power sources, case study 3.
Sustainability 13 07756 g005
Figure 6. Cost of grid and cost of DG, case study 3.
Figure 6. Cost of grid and cost of DG, case study 3.
Sustainability 13 07756 g006
Figure 7. Curtailed power and DR price, case study 3.
Figure 7. Curtailed power and DR price, case study 3.
Sustainability 13 07756 g007
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Olorunfemi, T.R.; Nwulu, N.I. Multi-Agent Based Optimal Operation of Hybrid Energy Sources Coupled with Demand Response Programs. Sustainability 2021, 13, 7756. https://doi.org/10.3390/su13147756

AMA Style

Olorunfemi TR, Nwulu NI. Multi-Agent Based Optimal Operation of Hybrid Energy Sources Coupled with Demand Response Programs. Sustainability. 2021; 13(14):7756. https://doi.org/10.3390/su13147756

Chicago/Turabian Style

Olorunfemi, Tope Roseline, and Nnamdi I. Nwulu. 2021. "Multi-Agent Based Optimal Operation of Hybrid Energy Sources Coupled with Demand Response Programs" Sustainability 13, no. 14: 7756. https://doi.org/10.3390/su13147756

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