Next Article in Journal
A Psychology of Sustainable Career Development: Hypernormalized Ideology or Inherently Sustainable?
Previous Article in Journal
Environmental Protection Tax and Green Innovation: The Mediating Role of Digitalization and ESG
Previous Article in Special Issue
A State-of-the-Art Review on Optimization Methods and Techniques for Economic Load Dispatch with Photovoltaic Systems: Progress, Challenges, and Recommendations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Effect of a Storage System in a Microgrid with EDR and Economic Dispatch Considering Renewable and Conventional Energy Sources

by
O. Aguilar-Mejía
,
H. Minor-Popocatl
*,
O. S. Caballero-Morales
and
A. F. Miranda-Pérez
School Engineering, UPAEP University, Puebla 72410, Mexico
*
Author to whom correspondence should be addressed.
Sustainability 2024, 16(2), 568; https://doi.org/10.3390/su16020568
Submission received: 28 September 2023 / Revised: 17 November 2023 / Accepted: 28 November 2023 / Published: 9 January 2024
(This article belongs to the Special Issue Optimized Design of Hybrid Microgrid)

Abstract

:
Due to the importance that organizations and governments have placed on environmental pollution and the policies that force organizations to comply with environmental standards, the use of renewable energy sources to meet energy requirements becomes important. The problem of the economic dispatch consists of satisfying the energy demand of the clients, establishing the most convenient source of supply at each moment, considering the established objective (minimize the operating cost of the microgrid) and satisfying the established restrictions. This paper addresses the problem of economic dispatch in a microgrid with a mathematical programming approach. The proposal to meet the energy demand considers: (a) interconnection to the main grid, (b) conventional diesel generators, (c) a photovoltaic system, (d) a hydroelectric turbine, (e) a wind system, (f) a battery-based storage system, (g) capacity to exchange energy with the main grid, (h) incentive for reducing electricity demand (EDR) by customers when an environmental contingency occurs and (i) regeneration of pollutants emitted by conventional generators. The proposal is implemented in the Lingo 17 software. The results show that by including a BESS and the EDR program, it is possible to save between 18% and 75% of the costs of the objective function and stop emitting a little more than 195 kg of pollutants into the environment.

1. Introduction

An electrical microgrid consists of distributed generation systems that can use renewable energies, conventional generation systems (hydroelectric, diesel generators, combined cycle machines, etc.), battery-based storage system (BESS) and customers with the ability to modify their energy consumption. In addition, the customers can operate in the connected mode to the main grid or isolated mode [1].
When the microgrid operates in the connected mode, customers are interconnected to a main electrical grid; in contrast, when it operates in island mode, the microgrid operates independently of the main grid [2].
If the microgrid works in conjunction with a main electrical grid, the flow of electrical power can go from the microgrid to the main grid when there is a surplus of energy production and from the main grid to the microgrid when the generation of energy produced and stored by the microgrid is not enough to cover the energy requested by the customers [3]. In recent years, the use of power generation systems based on renewable energy sources combined with conventional power generation systems is used to meet the customers’ demands for electrical power. They are an important alternative due to the environmental and economic benefits when the operating cost of all elements is optimized [3].
Energy management of a microgrid is known as the process of optimizing an objective function (minimizing or maximizing costs and reliability, respectively) and establishing the optimal dispatch, as well as the amounts of energy to be delivered by conventional generators, RES and the operation of the battery-based storage system (BESS) [4].
From this perspective, the costs of buying and selling energy from and to the main network are asymmetric and depend on the schedules and the type of load of energy. From a commercial perspective, a program of economic incentives is used for consumers to incite the reduction in energy consumption in the hours of greatest consumption. Considering that the demand for electrical power must be significantly reduced, encouraging the use and installation of distributed generation systems is desired [5,6].
In [7], an economic load dispatch (ELD) problem is approached through a metaheuristic that is a modified version of the particle swarm optimization (PSO) algorithm, called improved particle swarm optimization (IPSO), in which changing velocity and position are modified; the results shown establish better performance than the algorithms with which the proposal is compared.
In most urban areas, there is a high concentration of pollutants in the air, which is why environmental policies are legislated to take action when environmental contingencies (EC) arise. When these situations occur, the operations of the diesel generators are affected by having to reduce the emission of pollutants or, where appropriate, regenerate the gases emitted, which can be complemented through a program to reduce emissions demand energy (EDR), which has a direct mitigating impact on power generation from the burning of fossil fuels [8]. The inclusion of an EDR generates more adequate operating options regarding supply and demand of the microgrid [8]. According to [9,10], EDR programs lead to optimization of microgrids costs and an improvement in operations, providing flexibility to the network and helping to mitigate the stochastic effect of the RES [10].
In [11], it is established that one of the most important aspects for microgrids to be able to meet their objectives is their proper management through a design and control strategy to optimize the operation of microgrids and maximize their economic and energy management potential; therefore, the economic dispatch approach is useful to achieve this. In [8], a microgrid proposal was made that considers renewable and conventional energy sources; however, the proposal does not consider EDR and environmental contingency situations and also does not take into account the aspect of the cost of regeneration of contaminants.
In [5], a multi-objective cooperative optimization approach for the energy management of different microgrids connected to a conventional electrical grid was addressed, and the concept of the independent performance index (IPI) for microgrids was introduced. The IPI is used to reduce the exchange of energy with the main grid; it considers the microgrid as an element of the traditional electricity grid but does not consider concepts such as the regeneration of pollutants or a demand reduction program (EDR).
In [5], smart management of a distribution grid was proposed through a mathematical programming approach; the proposal integrates resources from distributed generation, a battery system and also demand satisfaction through a response strategy, in which the distribution system operator (DSO) considers the uses and flexibility of energy centers to satisfy the operating requirements. The results show a reduction in the maximum loads of the power center and the distribution network of 29% and 14%, respectively. The fact that operating costs are reduced by 10% and 14% is also highlighted. The paper considered flexible electrical and thermal loads as constraints. There are numerous advantages to the operation of a microgrid when it operates in connected modes such as the reliability of the electrical supply, the quality of the energy, the reduction in costs and minimizing losses in the transmission and distribution lines [3].
In [12], an energy management system for a microgrid interconnected to a main grid was presented; in this case, the microgrid uses renewable energy sources and a storage system. The presented approach manages the effect of the irradiation variations on different days and seasons of the year to know its impact on the daily schedule of the microgrid. Due to random conditions in the output power of photovoltaic systems (PV) and wind generation systems (WT), as well as the prediction error of load demand and the changes in the supply to the main grid, these were used to determine the optimal management of the microgrid. However, it did not consider the power exchange with the connected main grid. On the other hand, in [13], a proposal for a microgrid was presented where energy generation systems based on renewable sources and conventional generation systems were combined, and the costs for the treatment of contaminants generated by conventional sources and operating costs of the microgrid were determined.
A model to analyze the generation and storage of electricity in the microgrid is addressed in [8]. Additionally, the energy management required to meet load demand with production costs seeking to minimize CO2 emissions was analyzed. On the other hand, in [10], an optimization model based on mixed integer nonlinear programming (MINLP) proposed to solve the economic dispatch of cogeneration units contained in a microgrid that considered heat units (heat-only units), wind and photovoltaic systems and an energy storage system. One aspect to highlight is the consideration of uncertainty in renewable energy sources; however, the concept of regeneration of pollutants is not addressed here, nor is an EDR.
In [14], an approach of modeling uncertainty based on the method of estimation of the two points of Hong T-PEM is approached for the optimal programming of the previous day of an intelligent distribution system (SDS), which seeks to minimize the functional cost of energy and SDS reserve requirements in the presence of wind generators, diesel generators and BESS, considering the uncertainties of wind production and load demand. However, the concept of pollutant regeneration is not considered an EDR.
In [3,11], it is determined that due to the randomness of environmental conditions (wind, solar energy), one of the most important disadvantages of microgrids is the reliability that they can satisfy customer demand at all times. This can be achieved through a combination of conventional renewable sources and the inclusion of battery energy storage systems (BESS).
Based on the mathematical programming method in [15], a fully distributed algorithm is presented, which manages, in an adaptable way, the dynamic economic dispatch (DED) problem for microgrids incorporating storage. From the perspective of the optimal control of a dynamic system in a finite time, in this approach, a dynamic economic dispatch model for microgrids with energy storage in batteries is addressed.
In [9], a flexible algorithm is presented to addressed the problem of the combined economic dispatch of heat and energy (CHP), which is solved in two levels. The highest level is the optimization of the dual-function substitute for relaxed global restrictions, using the Lagrange multipliers. At the lower levels, sub-problems are treated considering their local limitations. In this proposal, the problem of a microgrid is addressed, which considers only conventional energy sources interconnected to the main electricity grid. Here, it is important to point out that the concept of regeneration of contaminants produced by conventional generators is not addressed.
The approach proposed in this paper considers an analysis of the problem of economic dispatch from a mathematical programming perspective using a microgrid interconnected to the main network. The microgrid proposal includes generation systems that use renewable and non-renewable energy sources such as wind (WT) generation systems, photovoltaic (PV) generation systems, a hydroelectric plant (PH), two diesel-electric generators (DG), a battery-based energy storage system (BESS) and a set of customers (CD) with specific demands. A mathematical model is proposed to establish the optimal management of the microgrid, seeking to minimize an objective function, which is composed of the operating costs of the diesel generators, the operating costs of an EDR and the costs of the exchange of energy between the microgrid and the main network, in addition to satisfying a set of restrictions that establish the operating conditions of the microgrid. Table 1 summarizes the comparison between the proposal of this work and other articles related to the economic dispatch solution. The main contributions of this paper are described below:
  • A mathematical programming model is proposed for the management of a microgrid interconnected with the main grid.
  • The proposed model incorporates a combination of conventional renewable energy sources and energy storage systems.
  • The variation in load demand by users of renewable energy sources is considered.
  • The model considers a scheme of benefits of the reduction in demand by customers, and these in turn obtain an economic bonus.
  • The model incorporates the cost of treating the gases produced by the generation of pollutants during periods of environmental contingency.
The paper is organized as follows: Section 2 describes the model with a mathematical programming approach. Section 3 presents the computational experiment. Section 4 analyzes six test scenarios. Finally, in Section 5, the results of the proposal are presented.

2. Problem Description

The economic dispatch for microgrids [12] is primarily approached from two aspects; the first refers to a formulation called the dynamic economic dispatch problem (DED) [14], and the second is called the static economic dispatch problem (SED), which establishes the sequence of the operation mode of the power generation equipment based on the operating conditions of the microgrid in each period in an independent way. The DED differs from the SED problem by incorporating generator ramp rate constraints [16]. In the approach to the economic dispatch problem, we seek to determine the optimal scheduling of the generators. In this sense, the economic dispatch of microgrids establishes a constrained, non-linear, mixed-integer optimization problem (MILP), which increases its complexity with the incorporation of energy storage systems, in addition to the inclusion of various power generation alternatives [12]. Therefore, in the literature, considerable attention is paid to satisfying customers’ load demand among the available generating units in an economical, safe and reliable manner. [5,9,17].
For the proposed problem, the details of the indices, parameters and decision variables are presented in Table 2.
In the model proposed in Table 3, the objective function (1) minimizes the total costs. The total cost function is composed of: The fuel cost of conventional generators, presented as a quadratic function of the active power generation represented in (2). The next component of the total cost function is presented in (3), which establishes the energy exchange, which is defined according to the commercial contract with the main grid. The next component of the cost function is (4), which establishes the amount of the discount to each of the EDR customers represented according to their priority, cost factor and reduction in permitted consumption. The final component of the cost function, established in (5), determines the behavior of the cost incurred by a customer of type θ normalized to [0, 1], which decreases the energy consumption x as a function of the reduced power in EDR towards the administrator of the microgrid; K 1 and K 2 are the quadratic and linear coefficients of the cost function of the EDR program. Additionally, a weighting factor w is introduced with a value between 0 and 1, which defines the weight of energy production costs and the bonus to customers (1 − w).
In (6), the behavior of the regeneration costs of the k t h class of pollutants and the definition of their operation in a situation of environmental contingency is described. In (7), the energy balance on the bus is established and it is ensured that the energy generated is equal to the total demand. From (8) to (13), the operating limits of conventional generators are defined. Set limits for ramp-type diesel generators are described in (14). In (15), it is ensured that the total daily incentive received by the client is equal to or greater than its daily interruption cost. In (16), the reduction in energy for customers is ensured to obtain the greatest benefit. In (17), it is achieved that the total incentive paid for the utility is less than that budgeted for the microgrid. In (17), it is determined that the total daily power limited by each customer is less than its daily interruptible power capacity. In (19) and (20), the dynamic operating performance of the BESS unit is modeled. In (21), the domain of the variables is defined.

3. Computational Experiment

A case study is represented in Figure 1, which consists of a microgrid with a structure based on an alternating current bus (AC) consisting of two diesel generators ( P 1 ,   P 2 ), a wind conversion system ( P w ), a photovoltaic generation system ( P s ), a hydroelectric plant ( P h ), the interconnection with the conventional electrical energy network for the transfer of energy in a bidirectional way ( P r ) delimited by a commercial agreement, a battery energy storage system ( P s s ) and six customers ( D 1 , , D 2 , ,   D 3 , ,   D 4 , ,   D 5 ,   a n d   D 6 , ). For simulation cases, an operating interval of 24 continuous hours is considered. The general conditions of the case are established per the conditions required within the CONACYT-SENER-Energy Sustainability project. The objective is to optimize (minimize) the total cost of the operation of the microgrid during the study period, complying with all established restrictions.
The input values for ( P w t ) are based on wind speed readings with meteorological equipment installed at a height of 12 m. To estimate input values for ( P s t ) per hour, the simplified inclined plane model was used in the location at 18°53′33.356″ N, 99°17′21.335″ W at 1570 m on the sea level.
The total energy demand ( D T t ) required by users is estimated based on the procedure described in [18], which assumes a normal distribution with an average of 3,852,083 [kW] and a standard deviation of 432,550, highlighting that the administrator of the microgrid is in charge of managing the electrical system so that the delivery of the established total demand is fulfilled.
The initial and finalization periods of the environmental contingency (EC) are defined by the binary value αt, which determines the start of the suspension of the C O 2 ,   S O 2   and   N O x contaminant regeneration system emitted by conventional generators, as established in [19]. The energy consumption demand reduction coefficient for each customer, programmed λ j , t in the EDR program and shown in Table 4 and Table 5, shows the amount of pollutant emissions emitted by the main electrical network and diesel generators.
Table 6 shows the cost coefficients and operating limits of conventional generators, as well as the regeneration coefficients β k for C O 2 , S O 2   and   N O x , which are: 0.3, 0.5 and 0.8, respectively, according to what is established in [17]. Table 7 shows the input data of the coefficients of the cost function in the discount of the EDR program, as well as the classification for prioritization of each of the clients.
Therefore, the proposal establishes the weighting of the costs of production and conventional interconnection with the main network w with a value of 0.5, and this established that both costs have the same weight within the objective function. The cost of consumption is calculated in US dollars (USD) per kW-h transferred from the main network, presenting an asymmetric behavior of the tariffs depending on the time of consumption: low consumption (from 1 to 15 h), average consumption (from 16 to 18 h) and high consumption (from 19 to 22 h) resulted in sales of USD 0.30, USD 0.54 and USD 1.00 and purchase costs of USD 0.79, USD 0.96 and USD 2.80, respectively, according to what is established in [17]. The maximum capacities of the generating plants are W t m a x 500 kW and S t m a x 200 kW, and the generation of the hydro turbine ( H t m a x ) is shown in Table 8.
It is considered that the microgrid only allows a maximum transfer of energy of 200 kW with the main network and the maximum assumption bond in EDR is USD 600.00. Furthermore, the capacity of the battery bank is 100 Ah with a maximum transfer of power P S S t m a x of 45 kW and an efficiency η s s of 0.88, according to what has been established [19]. In Figure 2, the prediction of power generated by the wind and photovoltaic generation system is shown. Figure 3 shows the curve of the electric power demand of the microgrid.

4. Case Study

To establish the robustness of the proposal, six different scenarios are proposed, where the operating conditions vary. The summary of the scenarios is presented in Table 9. Case 1 is considered the baseline.

4.1. Case Study 1; Normal Operating Conditions, without BESS and EDR Program

In case 1, it is considered that the microgrid is working under the following operating conditions: (a) does not have a BESS installed, (b) users of the microgrid suspended the EDR program and (c) the environmental authority issued a contingency from 7:00 a.m. to 9:00 a.m. and from 6:00 to 8:00 p.m. The result of the solution to the economic dispatch problem for case 1 in the microgrid is to use all the production estimated by the RES. Figure 4 shows the results of the load values of the diesel generators, the powers supplied by the RES and the purchase/sale of electrical energy to the REP to satisfy the demand of the microgrid for case 1.
The results of the mathematical model show that, during the environmental contingency period in the morning, the contribution of the conventional diesel generators is reduced to a minimum to reduce the emission of pollutants, but the diesel generators remain working and connected to the AC bus. The value of the objective function is USD 5018.90, which represents the balance of operating expenses of the analysis cycle to supply a total demand of 14.05 MW, but with the emission of 2.995 tons of pollutants thrown into the environment. It can be noted that in this case, the microgrid can sell electrical energy to the main grid in five periods of time to decrease the costs of the objective function.

4.2. Case Study 2; Normal Operating Conditions, with BESS and EDR Program

In this case, the microgrid is working with the next operating conditions: (a) a BESS installed, (b) users of the microgrid activated the EDR program and (c) declaration of environmental contingency at the same times described in case 1. Figure 5 shows the impact of the EDR program on the users’ electrical power demand and the power dispatched by the mathematical model.
Figure 6 shows the results of the load values delivered by diesel generators, as well as the power managed by the battery bank, the total power that customers must reduce, the power that provides RES and the exchange of energy between the microgrid and the main grid to supply the demand for case 2. The results of the mathematical model show that, during periods of environmental contingency for case 2, the contribution of conventional diesel generators is minimized to reduce the emission of pollutants, but diesel generators remain working and connected to the bus of AC.
Figure 7 shows the periods of purchase and sale of energy between the main network and the microgrid, but in this case, the microgrid has a single sales period (T = 13). In addition, the results of the scheme show that the battery system charges (mainly in the morning) and discharges in most periods between 16:00 and 24:00 o’clock.
The objective function is USD 4099.75, which represents the balance of operating expenses of the analysis cycle to meet a total demand of 14.05 MW, of which 205.32 kW are managed by the economic dispatch program assigned to the EDR program. The pollutants emitted in this case are 2.8 tons, mainly generated by the main grid. Therefore, when the BESS is included in the microgrid and the EDR program is activated, there are savings of USD 918.25, and 194.00 kg of pollutants are not discharged into the environment, compared to case 1.

4.3. Case Study 3; αt = 0 (All 24 Periods) with BESS and EDR Program

For the simulation of case 3, the conditions of case 2 are considered but with αt = 0 during the 24 periods of simulation time. Figure 8 shows the results obtained from the solution of the proposed mathematical model for the operating condition described in case 3. Figure 8 shows the results of the powers that must be provided by the two diesel generators, the power managed by the battery bank, the total power that the customers must reduce, the power supplied by the RES and the purchase/sale of electrical energy to the main network to supply the electrical power demanded by the microgrid for case 3. The results of the mathematical model show that the contribution of conventional diesel generators remains constant because there is no environmental contingency, but increase their output when the main power grid increases energy prices during peak hours.
Figure 9 shows the impact of the EDR program on the users’ electrical power demand for cases 2 and 3; in both cases, the total economic compensation to users does not exceed the maximum amount of the total bonus.
Figure 10 shows the energy contribution of conventional diesel generators for the operating conditions defined in cases 2 and 3. The figure shows that the main differences occur when the environmental contingency is activated in case 2 (Table 2) and in periods when the costs of electricity sales increase by the supplier company.
In case 3, the value of the objective function reaches a cost of USD 3810.53, which represents savings of USD 1208.497 and USD 289.22 concerning case 1 and case 2, respectively. Regarding the generation and emission of pollutants, case 3 produces 2771.29 kg, which represents 29 kg less than case 2. Therefore, the inclusion of the BESS has a positive impact on the reduction in costs and the emission of pollutants. Therefore, the results of the economic dispatch of the microgrid of case 2 and case 3 compared to those of case 1 show that the operating costs of the microgrid decrease significantly with BESS.

4.4. Case Study 4; Environmental Contingency between 5:00 a.m. and 10:00 p.m.

For the simulation of case 4, the same conditions as in case 2 are considered (BESS and EDR program turned on), but with the authority-activated environmental contingency between 05:00 and 22:00 h (αt = 1). Figure 11 shows the results of the economic dispatch of the microgrid to satisfy the operating condition of case 4. The figure shows that during the contingency hours, the EDR program requests more significant savings from users, with a decrease in load of 189.45 kW. Between 7:00 p.m. and 8:00 p.m., when the PV system delivers only 12 kW or zero kW, respectively, conventional generators increase their power delivered to the microgrid even with an environmental contingency, and the battery bank delivers its maximum power. The P1t generator delivers 56.85 kW to the microgrid in two hours, P2t generates 42.03 kW, 400 kW are purchased from the main electrical grid and the battery transfers 90 kW to meet total demand.
For case 4, the pollutant emission is 2885.11 kg, with a cost of the objective function of USD 4465.367. Analyzing the cost of the objective function of case 4, which is higher than the previous cases, the increase is mainly due to the purchase of more electrical power from the main electrical network during the environmental contingency.

4.5. Case Study 5; 80% Increase in the Demand for Electrical Power in the Periods from 14 to 19

In addition to an 80% increase in demand in periods 14 to 19, the microgrid has a BESS installed, (b) users of the microgrid activated the EDR program and (c) there are declarations of environmental contingency at the same times described in case 1. Figure 5 shows the impact of the EDR program on the users’ electrical power demand and the power dispatched by the mathematical model. The output power distribution curve that each distributed generation unit must provide corresponding to the economic dispatch scheme for case 5 is shown in Figure 12. In the figure, it can be seen that during the first hour of the overload (T = 14), the BESS is in charge mode, but in the following hours (from 3:00 p.m. to 12:00 a.m.), the BESS delivers power to the microgrid. The figure indicates that from 3:00 p.m. to 7:00 p.m., the EDR program manages 167 kW with a bonus of USD 1672.91 to users. To satisfy the excess demand, conventional generators (P1t and P2t) deliver 1360.23 kW, whereas P1t generates 713 kW because its generation costs are cheaper. Due to the above, the cost of the objective function to satisfy the over-demand rises to USD 11,664.15 due to the addition of electrical power that is purchased mainly from the electrical network. However, in the period T = 10, the microgrid can sell energy (10 kW) to the main electricity grid. But when the solar irradiation is at its maximum value (T = 13 with Pst = 190.5 kW), the microgrid does not purchase electrical power but remains connected to the main electrical network. The results of the economic dispatch for case 5 show that all the restrictions and operating rules established in the definition of the mathematical model are met.

4.6. Case Study 6; Failure in the Interconnection of Wind and Photovoltaic Sources between 7:00 and 10:00 a.m.

Figure 13 shows the power contribution of each conventional generation system, renewable energy, BEES and EDR for case 6. For test operating condition number 6 for the microgrid, it is assumed that there is a failure in the interconnection between the P w t and P s t systems between 7:00 and 10:00 a.m. In Figure 13, it can be seen that the power not delivered by the wind system and the photovoltaic system is supplied by conventional diesel generators (916 kW), the battery bank (180 kW) and the main electrical network (800 kW). The model manages, through the EDR program, a decrease of 129 kW in the non-priority load of the customers during the fault. In the same way as in the previous case, at T = 13, the microgrid does not buy electrical power. The microgrid scheduling for case 6 shows that the battery is charging while P s t > 150 kW and T > 11.
Table 10 compares the results obtained from the sensitivity analysis of the six different cases described in Table 9. Figure 14 shows the performance of the energy dispatch comparing case 1 and the proposed examples to analyze the behavior of the proposed methodology. Figure 15 displays the prices of the objective function vs. monetary compensation for the clients under the six operating conditions.
Based on the data obtained in the sensitivity analysis (Table 10), a series of results were identified in the operation of the microgrid, which are described below (a). In case 3, when there is no environmental contingency, the conventional diesel generators increase their production from 899.8 kW (case 2) to 1050 kW because there is no penalty for generating contaminants. The battery system manages 506 kW (71.33 kW more than in case 2) and only 2296.7 kW are purchased from the main electrical network because the operation of P1 and P2 are more economical. Therefore, in case 3, the lowest cost is obtained in the objective function when compared to the other six cases. (b) In case 4, when the periods of environmental contingency increase, conventional diesel generators decrease their production from 506.43 kW (case 3) to 424.92 kW and decrease by 46% in comparison to case 1 due to the penalty for generating pollutants. To compensate the low production of conventional generators, the main power grid provides 2862.0 kW, resulting in the cost of the objective function being increased by 18% compared to case 3. But the objective function for case 4 is 12% lower compared to case 1 due to BESS management. (c) In case 5, to compensate for the 80% increase in energy demand, the results of the analysis indicate that diesel generators produce 220% more energy compared to case 1 during periods when there is no environmental contingency. In such cases, more energy must be purchased from the main electrical network and the monetary compensation for the client must be increased by 235% compared to case 2 to encourage customers to reduce energy demand, obtaining, as a result, the most expensive objective function and the most pollution compared to the other five cases. (d) Finally, for case 6, the analysis shows that the elements of the microgrid that are dispatchable (P1, P2, BESS, Pr and y) contribute similar amounts of electrical power to case 5 due to the connection with the main electrical grid that works as a backup without violating any of the restrictions of the mathematical model, as can be seen in Table 10. The results show that the mathematical model is very robust in the event of unforeseen circumstances; in addition, consistency between the strategy for reducing polluting emissions and cost reduction is maintained in all cases.

5. Conclusions

In the present work, the problem of economic dispatch is solved through a mathematical programming model of a microgrid to analyze the environmental and economic impact when a battery-based energy storage system (BESS) is installed and when customers are within an energy demand reduction (EDR) program. The mathematical programming model is designed to optimize the costs of all the operating variables with their respective restrictions, which contains all the possible variants known and studied in a microgrid, for example, conventional diesel generators, generation with renewable energy sources, the costs for the regeneration of pollutants and the asymmetric costs of buying and selling with the main electrical network.
The results show that by including a BESS and the EDR program, it is possible to save between 18% and 75% of the costs of the objective function and stop emitting a little more than 195 kg of pollutants into the environment. The analysis of results shows that these savings depend on the operating conditions of the microgrid, the presence of environmental contingencies and the asymmetric purchase/sale costs with the main electrical network. From the sensitivity analysis of the proposed mathematical model, it is established that the proposal is robust and adjusts adequately to different expected and unforeseen operating conditions. Since, for the different operating conditions presented, the proposal adjusts the energy flows, the reduction in costs and the regeneration of pollutants, the objective of the investigation is fulfilled. Therefore, the application of this mathematical tool has a fundamental application in the operation of a microgrid.

Author Contributions

Conceptualization, H.M.-P., O.S.C.-M. and O.A.-M.; performance of experiments, H.M.-P. and O.A.-M.; analysis of data, H.M.-P. and O.A.-M.; writing—original draft preparation, O.A.-M. and H.M.-P.; writing—review and editing, O.A.-M., H.M.-P. and A.F.M.-P.; funding acquisition, O.A.-M. and H.M.-P. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data are contained within the article.

Acknowledgments

The authors are thankful for the support from the project CEMIE-Redes CONACYT-SENER Mexico, B-S-50730. Hertwin Minor-Popocatl and Omar Aguilar-Mejia thank the financial support Program for Research of UPAEP.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhang, Y.; Gatsis, N.; Giannakis, G.B. Robust Energy Management for Microgrids with High-Penetration Renewables. IEEE Trans. Sustain. Energy 2013, 4, 944–953. [Google Scholar] [CrossRef]
  2. Soshinskaya, M.; Crijns-Graus, W.H.; Guerrero, J.M.; Vasquez, J.C. Microgrids: Experiences, barriers and success factors. Renew. Sustain. Energy Rev. 2014, 40, 659–672. [Google Scholar] [CrossRef]
  3. Bhoi, S.K.; Kasturi, K.; Nayak, M.R. Optimization of the operation of a microgrid with renewable energy sources and battery storage. E-Prime-Adv. Electr. Eng. Electron. Energy 2023, 4, 100159. [Google Scholar] [CrossRef]
  4. Nwulu, N.I.; Xia, X. Optimal dispatch for a microgrid incorporating renewables and demand response. Renew. Energy 2017, 101, 16–28. [Google Scholar] [CrossRef]
  5. Karimi, H.; Jadid, S. Optimal energy management for multi-microgrid considering demand response programs: A stochastic multi-objective framework. Energy 2020, 195, 116992. [Google Scholar] [CrossRef]
  6. Davatgaran, V.; Saniei, M.; Mortazavi, S.S. Smart distribution system management considering electrical and thermal demand response of energy hubs. Energy 2019, 169, 38–49. [Google Scholar] [CrossRef]
  7. Doan, A.T.; Viet, D.T.; Duong, M.Q. Economic load dispatch solutions considering multiple fuels for thermal units and generation cost of wind turbines. Int. J. Electr. Comput. Eng. 2021, 11, 3718–3726. [Google Scholar] [CrossRef]
  8. Strnad, I.; Škrlec, D. An approach to the optimal operation of the microgrid with renewable energy sources and energy storage systems. In Proceedings of the Eurocon 2013, Zagreb, Croatia, 1–4 July 2013; pp. 1135–1140. [Google Scholar]
  9. Sashirekha, A.; Pasupuleti, J.; Moin, N.H.; Tan, C.S. Combined heat and power (CHP) economic dispatch solved using Lagrangian relaxation with surrogate subgradient multiplier updates. Int. J. Electr. Power Energy Syst. 2013, 44, 421–430. [Google Scholar] [CrossRef]
  10. Nazari-Heris, F.; Mohammadi-Ivatloo, B.; Nazarpour, D. Network constrained economic dispatch of renewable energy and CHP based microgrids. Int. J. Electr. Power Energy Syst. 2019, 110, 144–160. [Google Scholar] [CrossRef]
  11. Gholami, M.; Muyeen, S.M.; Mousavi, S.A. Development of new reliability metrics for microgrids: Integrating renewable energy sources and battery energy storage system. Energy Rep. 2023, 10, 2251–2259. [Google Scholar] [CrossRef]
  12. Lidula, N.W.A.; Rajapakse, A.D. Microgrids research: A review of experimental microgrids and test systems. Renew. Sustain. Energy Rev. 2011, 15, 186–202. [Google Scholar] [CrossRef]
  13. Zheng, W.; Wu, W.; Zhang, B.; Sun, H.; Guo, Q.; Lin, C. Dynamic economic dispatch for microgrids: A fully distributed approach. In Proceedings of the 2016 IEEE/PES Transmission and Distribution Conference and Exposition, Dallas, TX, USA, 3–5 May 2016; pp. 1–3. [Google Scholar]
  14. Ghahramani, M.; Nazari-Heris, M.; Zare, K.; Mohammadi-Ivatloo, B. Energy and reserve management of a smart distribution system by incorporating responsive-loads /battery/wind turbines considering uncertain parameters. Energy 2019, 183, 205–219. [Google Scholar] [CrossRef]
  15. Liu, X.; Ding, M.; Han, J.; Han, P.; Peng, Y. Dynamic Economic Dispatch for Microgrids Including Battery Energy Storage. In Proceedings of the 2nd International Symposium on Power Electronics for Distributed Generation Systems, Hefei, China, 16–18 June 2010; pp. 914–917. [Google Scholar]
  16. Jayashree, S.; Malarvizhi, K. Methodologies for Optimal Sizing of Battery Energy Storage in Microgrids: A Comprehensive Review. In Proceedings of the 2020 International Conference on Computer Communication and Informatics (ICCCI), Coimbatore, India, 22–24 January 2020; pp. 1–5. [Google Scholar]
  17. Santillán-Lemus, F.D.; Minor-Popocatl, H.; Aguilar-Mejía, O.; Tapia-Olvera, R. Optimal Economic Dispatch in Microgrids with Renewable Energy. Energies 2019, 12, 181. [Google Scholar] [CrossRef]
  18. Murty, V.V.S.N.; Kumar, A. Multi-objective energy management in microgrids with hybrid energy sources and battery energy storage systems. Prot. Control. Mod. Power Syst. 2020, 2020, 5. [Google Scholar] [CrossRef]
  19. Franca, R.B.; Jones, E.C.; Richards, C.N.; Carlson, J.P. Multi-objective stochastic supply chain modeling to evaluate tradeoffs between profit and quality. Int. J. Prod. Econ. 2010, 127, 292–299. [Google Scholar] [CrossRef]
  20. Wu, H.; Liu, X.; Ding, M. Dynamic economic dispatch of a microgrid: Mathematical models and solution algorithm. Int. J. Electr. Power Energy Syst. 2014, 63, 336–346. [Google Scholar] [CrossRef]
Figure 1. General diagram of the case study.
Figure 1. General diagram of the case study.
Sustainability 16 00568 g001
Figure 2. Forecasting of the power generated by the wind and photovoltaic system.
Figure 2. Forecasting of the power generated by the wind and photovoltaic system.
Sustainability 16 00568 g002
Figure 3. Electric power demand curve of the microgrid.
Figure 3. Electric power demand curve of the microgrid.
Sustainability 16 00568 g003
Figure 4. Power scheduling of microgrid in case 1.
Figure 4. Power scheduling of microgrid in case 1.
Sustainability 16 00568 g004
Figure 5. Impact of the EDR program on load demand for case 2.
Figure 5. Impact of the EDR program on load demand for case 2.
Sustainability 16 00568 g005
Figure 6. Power scheduling of microgrid in case 2.
Figure 6. Power scheduling of microgrid in case 2.
Sustainability 16 00568 g006
Figure 7. Results of the energy management of the BESS and the exchange of energy with the main grid for case 2.
Figure 7. Results of the energy management of the BESS and the exchange of energy with the main grid for case 2.
Sustainability 16 00568 g007
Figure 8. Results for energy management for case 3.
Figure 8. Results for energy management for case 3.
Sustainability 16 00568 g008
Figure 9. Performance of the EDR program on the users for cases 2 and 3.
Figure 9. Performance of the EDR program on the users for cases 2 and 3.
Sustainability 16 00568 g009
Figure 10. Power contribution of Pi for the operating conditions defined in cases 2 and 3.
Figure 10. Power contribution of Pi for the operating conditions defined in cases 2 and 3.
Sustainability 16 00568 g010
Figure 11. Results of economic dispatch for microgrid for case 4.
Figure 11. Results of economic dispatch for microgrid for case 4.
Sustainability 16 00568 g011
Figure 12. Power scheduling of microgrid in case 5.
Figure 12. Power scheduling of microgrid in case 5.
Sustainability 16 00568 g012
Figure 13. Power scheduling of microgrid in case 6.
Figure 13. Power scheduling of microgrid in case 6.
Sustainability 16 00568 g013
Figure 14. Behavior of the dispatch in the cases analyzed.
Figure 14. Behavior of the dispatch in the cases analyzed.
Sustainability 16 00568 g014
Figure 15. The behavior of the dispatch in the cases analyzed.
Figure 15. The behavior of the dispatch in the cases analyzed.
Sustainability 16 00568 g015
Table 1. Elements in the microgrid used in the literature review compared against our proposal.
Table 1. Elements in the microgrid used in the literature review compared against our proposal.
ReferencePVWTDGEDRBESSREPECPHAsymmetric
Tariffs
[6]YesYesYesNoYesNoNoNoNo
[8]NoNoYesYesYesNoNoNoNo
[9]YesYesYesNoYesYesNoNoNo
[10]NoNoYesNoNoYesNoNoNo
[12]YesYesYesNoYesYesNoNoNo
[13]YesYesYesNoYesYesYesNoNo
[14]YesYesYesNoYesYesNoNoNo
[16]YesYesYesYesYesYesNoNoNo
Our workYesYesYesYesYesYesYesYesYes
Table 2. Indices, parameters and decision variables.
Table 2. Indices, parameters and decision variables.
Sets
I Set of diesel generators i
J Set of clients j interconnected to the microgrid with the EDR program
T Set of t periods in the analysis
K Set of pollutants to be regenerated k
Parameters
w Cost weighting of DGs that have cost at their primary source concerning the EDR program
a i Quadratic coefficient of the cost function of the i conventional generator
b i Linear coefficient of the cost function of the i conventional generator
γ c Purchase price from the main network
γ v Selling price towards the main network
λ j , t The cost factor of customer j in period t in the EDR program
θ Standardized customer type for prioritization in the EDR program
K 1 j Quadratic coefficient of the j client cost function of the EDR program
K 2 j Linear coefficient of the j client cost function of the EDR program
α t Condition of environmental contingency at t period
β k Treatment coefficient for class k t h of pollutant emissions
D T t Total demand to be met in period t
D R i Lower ramp limit of conventional generator i
U R i Upper ramp limit of conventional generator i
U B Total budget of the EDR program
C M j Daily power outage limit for customer j
S o C s s t BESS charge status in time t
η s s BESS charge/discharge efficiency
C a p s s BESS capacity
C i The cost function of the conventional generator
C r Trade exchange function with the main grid
C b The cost function for customer discount in the EDR program
C k The regeneration cost function of gases emitted by conventional generators
Decision Variables
P w t Power supplied by the wind power plant in the period t
P s t Power supplied by the photovoltaic plant in the period t
P h t Power supplied by the hydroelectric plant in time t
P s s t Power transferred from or to the BESS in time t
P r t Power transferred from or to the upper network in the period t
P i , t Power delivered by generator i in the study period t
x j , t Power reduced by customer j participant in EDR in time t
y j , t Monetary compensation for client j in period t in the EDR program
Table 3. Proposed mathematical model.
Table 3. Proposed mathematical model.
The Proposed Model
M i n ( w ) t = 1 T i = 1 I C i P i , t + t = 1 T C r P r t   + ( 1 w ) t = 1 T j = 1 J C b P d r j , t + t = 1 T i = 1 I k C k P i , t (1)
C i P i , t = a i P i , t 2 + b i P i , t (2)
C r ( P r t ) = γ c P r t P r t > 0 Take energy from the upper grid 0 P r t = 0 Disconnected γ v P r t P r t < 0 Delivers power to the upper grid (3)
C b P d r j , t = y j , t λ j , t x j , t (4)
C θ , x = ( K 1 x 2 + K 2 x K 2 x θ ) (5)
C k P i , t = α t β k   P i , t
α = 0 Normal operation 1 Active environmental contingency
(6)
i = 1 I P i , t + P w t + P s t + P h t + P r t + P s s t = D T t j = 1 J x j , t (7)
P i , m i n P i , t P i , m a x (8)
0 P w t W t (9)
0 P s t S t (10)
0 P h t H t (11)
P r m a x P r t P r m a x (12)
P s s m a x P s s t P s s m a x (13)
D R i P i , t + 1 P i , t U R i para t = 1,2, 3,…, T 1 (14)
t = 1 T y j , t K 1 j x j , t 2 + K 2 j x j , t K 2 , t x j , t θ j 0 (15)
t = 1 T y j , t K 1 j x j , t 2 + K 2 j x j , t K 2 t x j , t θ j t = 1 T y j 1 , t ( K 1 , j 1 x j 1 , t 2 + K 2 , j 1 x j 1 , t K 2 , j 1 x j 1 , t θ j 1 )
for j = 1,2, 3,…, J
(16)
t = 1 T j = 1 J y j , t U B (17)
t = 1 T x j , t C M j (18)
S o C s s t + 1 = S o C s s t η s s t   P s s t C a p S S P s s t > 0 A discharge state P s s t < 0 A state of charge P s s t = 0 Inactive storage (19)
S o C s s m i n S o C s s t + 1 S o C s s m a x (20)
i , j , k , t     N , P w t , P s t , P h t , P i , t , x j , t     R +   0   P r t , P s s t   D: x R     x x m a x   x m a x R + ,
α   = 0 1
(21)
Table 4. Periods of environmental contingency and EDR interruption factor (normal operating conditions).
Table 4. Periods of environmental contingency and EDR interruption factor (normal operating conditions).
Tαtλj,tTαtλj,tTαtλj,tTαtλj,t
101.57715.041307.301915.80
201.40815.351407.802014.20
302.20916.701508.502103.80
403.761006.161607.102203.01
504.501106.381706.802302.53
604.701206.821816.302401.42
Table 5. Parameters of emission rate. Adapted from Refs. [18,20].
Table 5. Parameters of emission rate. Adapted from Refs. [18,20].
Type of Electrical Power SourceEmission Rate (g/kW)
CO2SO2NOx
Diesel Generator 1 (P1)6970.2211.9
Diesel Generator 2 (P2)649 0.2069.89
Main Grid8891.81.6
PH000
BESS000
PS000
PW000
Table 6. Cost coefficients and operational factors of diesel generators.
Table 6. Cost coefficients and operational factors of diesel generators.
i a i b i P i , m i n
(KVA)
P i , m a x
(KVA)
D R i
(KVA)
U R i
(KVA)
10.050.3501423142
20.070.2505005500
Table 7. Customer cost ratio in EDR and its priority ranking.
Table 7. Customer cost ratio in EDR and its priority ranking.
j K 1 j K 2 j θ j C M j
11.0791.32045
21.3781.630.4538
31.8471.640.952
41.1521.150.3527
51.5341.180.2815
61.6311.580.6429
Table 8. Generation of the hydroturbine.
Table 8. Generation of the hydroturbine.
T K W T K W T K W T K W T K W
177681118316742177
283773128017812277
380874138418782384
483982148419802472
572107315812077
Table 9. Operating conditions of the six different instances to carry out the sensitivity analysis.
Table 9. Operating conditions of the six different instances to carry out the sensitivity analysis.
Case NumberConsidered Characteristic
(Base case 1)Normal operating conditions, without BESS and without EDR program.
Case 2Normal operating conditions, with BESS and EDR program.
Case 3αt = 0 (all 24 periods) with BESS and EDR program.
Case 4Environmental contingency between 5:00 a.m. and 10:00 p.m.
Case 580% increase in the demand for electrical power in the periods from 14 to 19.
Case 6Failure in the interconnection of wind and photovoltaic sources during 7:00 and 10:00 a.m.
Table 10. Results obtained from the sensitivity analysis.
Table 10. Results obtained from the sensitivity analysis.
Case Number Variable123456
D t (kW) 14,04514,04514,04514,04516,01514,045
P W (kW) 705070507050705070500
P S (kW) 1509.51509.51509.51509.51509.50
PHt (kW)189018901890189018901890
P 1 (kW) 595.3509.9602.5251.61065.01007.7
P 2 (kW) 448.8389.9447.5231.3916.7753.4
P t o t a l (kW) 1044.1899.81050482.91981.71761.1
BESS (kW)0434.67506.43424.92450.55468.65
P r (kW) 2551.52445.42296.72862.03332.73239.5
x (kW) 0205.32203.77205.32206206
y (USD) 0752.67227521774.31329.3
α t (h) 6601866
Pollution (Kg)299528002772285143344102
C T (USD) 5018.84099.73810.54465.411,664.69733.2
Number of
iterations
171157013236868501625
Seconds0.130.990.750.460.570.60
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Aguilar-Mejía, O.; Minor-Popocatl, H.; Caballero-Morales, O.S.; Miranda-Pérez, A.F. Effect of a Storage System in a Microgrid with EDR and Economic Dispatch Considering Renewable and Conventional Energy Sources. Sustainability 2024, 16, 568. https://doi.org/10.3390/su16020568

AMA Style

Aguilar-Mejía O, Minor-Popocatl H, Caballero-Morales OS, Miranda-Pérez AF. Effect of a Storage System in a Microgrid with EDR and Economic Dispatch Considering Renewable and Conventional Energy Sources. Sustainability. 2024; 16(2):568. https://doi.org/10.3390/su16020568

Chicago/Turabian Style

Aguilar-Mejía, O., H. Minor-Popocatl, O. S. Caballero-Morales, and A. F. Miranda-Pérez. 2024. "Effect of a Storage System in a Microgrid with EDR and Economic Dispatch Considering Renewable and Conventional Energy Sources" Sustainability 16, no. 2: 568. https://doi.org/10.3390/su16020568

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