International Journal of Renewable Energy Development Int. J. Renew. Energy Dev. 2023, 12 (3), 74-759 | 749 https://doi.org/10.14710/ijred.2023.49165 ISSN: 2252-4940/© 2023.The Author(s). Published by CBIORE Contents list available at IJRED website International Journal of Renewable Energy Development Journal homepage: https://ijred.undip.ac.id Demand response based microgrid's economic dispatch Muhammad Hammad Saeeda* , MD Sohel Ranaa, MD Kausaraahmedb, Claude Ziad El-Bayehc , Wang Fangzonga aCollege of Electrical Engineering and New Energy (CEENE), China Three Gorges University (CTGU), Yichang, China bCollege of Electrical Engineering and Information, Southwest Petroleum University (SWPU), Chengdu, China cDepartment of Electrical Engineering, Bayeh Institute, Amchit, Lebanon Abstract. The development of energy management tools for next-generation Distributed Energy Resources (DER) based power plants, such as photovoltaic, energy storage units, and wind, helps power systems be more flexible. Microgrids are entities that coordinate DERs in a persistently more decentralized fashion, hence decreasing the operational burden on the main grid and permitting them to give their full benefits. A new power framework has emerged due to the integration of DERs-based microgrids into the conventional power system. With the rapid advancement of microgrid technology, more emphasis has been placed on maintaining the microgrids' long-term economic feasibility while ensuring security and stability. The objective of this research is to provide a multi-objective economic operation technique for microgrids containing air-conditioning clusters (ACC) taking demand response into account. A dynamic price mechanism is proposed, accurately reflecting the system's actual operational status. For economic dispatch, flexible loads and air conditioners are considered demand response resources. Then, a consumer-profit model and an AC operating cost model are developed, with a set of pragmatic constraints of consumer comfort. The generation model is then designed to reduce the generation cost. Finally, a microgrid simulation platform is developed in MATLAB/Simulink, and a case is designed to evaluate the proposed method's performance. The findings show that consumer profit increases by 69.2% while ACC operational costs decrease by 18.2%. Moreover, generation costs are reduced without sacrificing customer satisfaction. Keywords: Air-Conditioning Cluster (ACC), Demand Response (DR), Distributed Generation (DG), Economic Operation, Micro- gas turbine (MGT), Microgrid (MG) @ The author(s). Published by CBIORE. This is an open access article under the CC BY-SA license (http://creativecommons.org/licenses/by-sa/4.0/). Received: 24th Sept 2022; Revised: 16th April 2023; Accepted: 20th June 2023; Available online: 30th June 2023 1. Introduction Microgrids are an integral part of today's smart grid. Microgrids serve as an effective interface for distributed generators (DG), loads, energy storage systems (ESS), and control units while sustaining DG's cost-effectiveness, environmental protection, and flexibility. They supply high-quality power to ensure that consumers' power usage is safe and reliable. The microgrid operation mode, on the other hand, is extremely adaptable (Saeed et al., 2021a). For operation, MGs can be incorporated into a large power grid. They can also operate independently of the electric grid in autonomous/islanded mode. The remote islanded MGs operate in the event of a power grid breakdown to ensure the power supply of important loads (Mhankale & Thorat, 2018; Liu et al., 2021; Dashtdar et al. 2022; Saeed et al, 2022). Economy, reliability, and energy-saving are three characteristics that must be considered in the operation of islanded-operated microgrid systems (Saeed et al., 2021b; Recalde et al., 2020; Xu et al., 2020; Pothireddy et al., 2022). With the continuous development of microgrid control technologies, MGs have achieved safe and stable operation, and their reliability has been greatly guaranteed (Saeed et al., 2022; Salkuti 2022). Therefore, researchers are paying more attention to the economics of MG operation (Battula et al. 2021; Wang et al. 2010). * Corresponding author Email: m.saeed003@outlook.com (M.H.Saeed) The two types of economic power system dispatch are static dispatch and dynamic dispatch (Ross et al., 1980; Han, 2001; Attaviriyanupap, 2002; Basu, 2008). Based on the system's operational conditions during each independent period, static economic dispatch determines the equipment's priority and mode of operation. The dynamic economic dispatch takes into account the scheduling cycle's lowest cost and coordinates across the various distribution generations (DGs) throughout several periods , so it is better adapted to the needs of a system in actual operation. Researching the dynamic economic dispatch is therefore crucial. It is challenging to resolve the dynamic economic dispatch problem with renewable energy sources because they are prone to randomness and disruptions (Calderaro et al., 2014). Hsiao et al. (2021) developed an MG energy optimization approach that combined reliability and economy to realize the dynamic economic operation. Salkuti et al. (2015), and Salkuti (2017) presented a novel multi-objective day-ahead market clearing (DAMC) process that incorporates demand response offers while taking into account an extensive voltage-dependent load model. Salkuti et al. (2016) also suggested a dynamic reserve activation strategy that is most effective in case of a line outage, a load rise, or both. He considered the spinning reserves provided by traditional thermal generators, hydropower units, Research Article https://doi.org/10.14710/ijred.2023.49165 https://doi.org/10.14710/ijred.2023.49165 https://doi.org/10.14710/ijred.2023.49165 mailto:m.saeed003@outlook.com https://orcid.org/0000-0002-2547-5016 https://orcid.org/0000-0002-8268-8878 https://orcid.org/0000-0002-9441-5148 http://crossmark.crossref.org/dialog/?doi=10.14710/ijred.2023.49165&domain=pdf M.H Saeed et al Int. J. Renew. Energy Dev 2023, 12(4),749-759 |750 ISSN: 2252-4940/©2023. The Author(s). Published by CBIORE and load demands. Salkuti (2018) developed an optimum emergency strategy utilizing the coordinated activity of slow and rapid reserves for the safe functioning of the power system at the least expensive and proved that the dynamic emergency reserve activation strategy has an advantage over the sequential reserve activation approach. Murty & Kumar (2020) developed a mathematical model for the economics of an MG consisting of a combined heat and power (CHP) system that took environmental conditions into account. The simulation results show that scheduling batteries optimally can lower the system's overall running cost. However, it does not consider the reliability of the islanded operation of the system. As multi-objective optimization targets, Ma et al. (2015) examines three indicators of active power loss, pollutant gas emissions, and system voltage stability. Through modeling and analysis, it provides ideas for the monitoring and operation of smart grids. As a relatively cheap economic dispatch resource, demand response not only expands the MG's economic dispatch capabilities but also benefits the demand response users (Vardakas et al., 2015), (Rajkumar et al., 2011), (Chen et al., 2011), (Wang et al., 2020), and (Pourbabak et al., 2018). Jindal et al. (2018) proposed a novel analysis and management scheme that considers equipment adjustment variables, electrical priority indicators, and electrical product priority, as well as several algorithms for DR decision-making. Ali et al. (2022) established price-based demand response models, including wind power, diesel engines, and energy storage systems to solve the optimal operating strategy through multi-objective wind driven optimization (MOWDO), and verified the method's effectiveness through real-time simulations. To maximize the Microgrid’s total profit, Nguyen et al. (2018) proposed a novel smart grid pricing plan based on a demand response model including time-varying loads and finally used the alternating direction method of multipliers to solve the optimization problem analytically. Hao et al. (2021) proposed a new chaotic binary gravitational search algorithm (IBGSA) for an islanded microgrid. The results show that implementing the demand response strategy in the optimal allocation process can effectively alleviate the systems’ investment cost, maintain the power supply’s reliability, and aggravate the renewable energy consumption. John et al. (2008) designed a framework for incorporating wind energy systems in the economic dispatch problem considering the overestimation and underestimation of the available power and numerically solved the optimization problem using the stochastic wind speed characterization based on the Weibull probability density function. Wu et al. (2014) built a CHP microgrid system with various distributed energy resources and used the maximum comprehensive benefits as the objective function for dynamic economic dispatch. The objective function is solved using an improved particle swarm optimization (PSO) technique paired with Monte Carlo simulation. Zachar & Daoutidis (2016) employed economic model predictive control to keep costs down while still achieving the constraints. The suggested dispatch approach can successfully reject forecasting errors and satisfy the defined energy exchange and storage level goals. Imtiaz et al. (2021) implemented an incentive-based demand response model in a grid-connected microgrid and solved the economic dispatch problem with the dragonfly algorithm (DA). The objective of the proposed method is to achieve the lowest fuel cost, the lowest transferable power cost, and the highest demand response benefit for the microgrid operator. The findings of DA are compared to those of other modern algorithms such as the crow-search algorithm, the ant-lion Optimizer, particle swarm optimization, and the genetic algorithm. In practice, a microgrid contains a variety of DG types. The DGs will exhibit various aspects in the dynamic economic dispatch when operating in various modes and according to various scheduling schemes. Unpredictability and discontinuities will make the economic dispatch more challenging (Kumar et al., 2019). This research suggests a dynamic electricity price mechanism based on the real-time electricity price mechanism that can more accurately reflect the operating status of the system for MGs with significant renewable energy penetration. 2. Dynamic electricity price mechanism Supply and demand must always be matched in power systems (Ulbig et al., 2014). Dynamic electricity tariffs are commonly mentioned as instruments for demand-side management to ensure this grid stability (Dutta and Mitra, 2017). The adoption of real-time pricing tariffs is attributed to a rise in overall economic efficiency because dynamic prices per unit of electricity reflect their short-run societal marginal costs of provision better than constant prices per unit of electricity do (Borenstein, 2005). Usually, the time-sharing tariff strategy is exploited to adjust the consumer's electricity consumption behavior according to the pre-set price. However, this strategy does not reflect the changes in the system's operating environment for real-time operation, particularly in the autonomous MGs having a high penetration rate of renewable energy resources. The presence of a large number of DERs makes the operating environment of the autonomous MG greatly affected by the ambient and complex. The island's changing environment also reduces the accuracy of the time-sharing power price mechanism period. Therefore, a dynamic electricity price mechanism which reflects the real-time operational status of the system can address the user's electricity consumption behavior more effectively. The real-time update of dynamic electricity price affects the access volume of user-side adjustable load, and the plausible dynamic tariff mechanism can promote demand-side response and maximize user-side revenue. Electricity price is determined by the average marginal cost of system operation, while renewable energy resources and micro-gas turbines mainly provide the power in a microgrid. So, the dynamic electricity price mechanism consists of base electricity price, renewable energy power price adjustment, and micro gas-turbine power price adjustment. The base price is fixed and is the basis for forming the dynamic electricity price. The electricity price adjustment of renewable energy generation units is related to the actual power production by RERs. The adjustment of the electricity price of the micro-gas turbine is related to the power produced by the micro-gas turbine. When the amount of renewable energy generation increases, the dynamic electricity price should be reduced, and the user side should be guided to increase the access volume of adjustable load to promote electricity consumption. Therefore, dynamic electricity prices are negatively correlated with renewable energy power. The cost of generation of the micro-gas turbine increases with the increase of its generated power, which eventually increases the average operating cost of the microgrid. At this stage, to alleviate the burden on the generation-side of the microgrid, dynamic electricity prices should be increased to guide users to reduce the access volume of adjustable load. Therefore, M.H Saeed et al Int. J. Renew. Energy Dev 2023, 12(4),749-759 |751 ISSN: 2252-4940/©2023. The Author(s). Published by CBIORE dynamic electricity price is positively correlated with micro-gas turbine force. To sum up, defining dynamic tariffs is as follows: 𝑐𝑑 (𝑡) = 𝑐𝑏 − 𝑐𝑟𝑒𝑔 (𝑡) + 𝑐𝑚𝑡 (𝑡) (1) Where, 𝑐𝑑 (𝑡) represents the dynamic electricity price for the t- period, 𝑐𝑏 represents the base price of electricity, 𝑐𝑟𝑒𝑔 (𝑡) represents the amount of electricity price adjustment for renewable energy generation in the t-period, 𝑐𝑚𝑡 (𝑡) represents the amount of electricity price adjustment for micro-gas turbine power generation during the t-period. 𝑐𝑟𝑒𝑔 (𝑡) is determined by the total amount of renewable energy power generation collected by the system during t−1 period, and the total amount of power generation by the microgrid is given by the following formula: 𝑐𝑟𝑒𝑔 (𝑡) = 𝑘𝑟𝑒𝑔 . ∑𝑝 𝑖 𝑟𝑒𝑔 (𝑡−1) ∑𝑝 𝑖 𝑟𝑒𝑔 (𝑡−1)+𝑝𝑖 𝑚𝑡(𝑡−1) (2) Here, 𝑘𝑟𝑒𝑔 represents the electricity price adjustment factor for renewable energy generation, 𝑝𝑖 𝑟𝑒𝑔 (𝑡 − 1) represents the power output of the ith RER in the time t−1. 𝑝𝑖 𝑚𝑡 (𝑡 − 1) denotes the power output of the ith micro gas turbine during period t−1. It can be seen from equations (1) and (2) that when the MGT’s output remains unchanged with an increase of renewable energy generation, the amount of electricity price adjustment for renewable energy generation increases. And the dynamic price reduction encourages users to connect more adjustable loads to promote electric energy consumption. From equation (12), it can be obtained that the cost of generation of the MGT becomes a convex quadratic function of its output. The increase in the cost of generation from MGTs will increase dynamic electricity prices. So, the exact definition of the electricity price adjustment coefficient of the MGT power generation as the second convex function of its output is shown in the following formula: 𝑐𝑚𝑡 (𝑡) = 𝑎. (∑pi 𝑚𝑡 (𝑡 − 1))2 + 𝑏. (∑pmt 𝑖 (𝑡 − 1)) (3) Where a and b represent the electricity price adjustment coefficient of the MGT respectively. When the renewable energy power generation remains unchanged with the increase in output of the MGT, the electricity price adjustment amount of the MGT’s generated power increases and can be calculated by equation (2). The amount of electricity price adjustment for renewable energy power generation will reduce, so the dynamic electricity price will rise, limiting adjustable load access. Based on the renewable energy generation and micro-gas turbine power generation in the previous period, the system determines the dynamic tariff to be executed in the next period and updates the dynamic electricity price before the following time period. 3. The multi-objective demand response model The conventional microgrid economic optimization model focuses on the microgrid power generation side or demand side and neglects the user's comfort. In the future, microgrid development needs to optimize the power generation side and demand side as a whole to improve the economy and reliability of microgrid operation. Therefore, based on the proposed dynamic electricity price mechanism, this section establishes a multi-objective economic operation model that integrates the generation- side and demand-side of the MG. For optimal demand side scheduling, the communities for adjustable loads and air conditioning are used as demand response resources. To maximize user benefits and reduce ACC operating costs while maintaining user comfort, the air- conditioning cluster's (ACC) operating cost and adjustable user benefit model were developed. To ensure that the cost of power generation is kept to a minimum while the microgrid is in operation, a cost model for power generation has been devised. 3.1. User-side revenue model The revenue function on the user side consists of a utility function and a cost function. The utility function represents the relationship between the size of the power consumption of the load and the benefits generated. The parameters σi and ωi are introduced to describe the utility of different adjustable loads. The electricity utility of load i can be expressed as follows: 𝑈𝑖 (𝑡) = { 𝜎𝑖 𝑙𝑖 𝑓𝑙 (𝑡) + 𝜔𝑖 2 (𝑙𝑖 𝑓𝑙 (𝑡)) 2 , 0 < 𝑙𝑖 𝑓𝑙 (𝑡) < − 𝜎𝑖 𝜔𝑖 𝜎𝑖 2 2𝜔𝑖 , 𝑙𝑖 𝑓𝑙 (𝑡) ≥ − 𝜎𝑖 𝜔𝑖 (4) Thereinto σi,ω𝑖 represent the parameters of adjustable load i, satisfying ω𝑖 > 0,σi > 0, determined by the type of load. 𝑙𝑖 𝑓𝑙 represents the adjustable load i during the time-period t, 𝑈𝑖 (𝑡) represents the electrical utility of adjustable load k, at 𝑙𝑖 < σi < ω𝑖 time. 𝑈𝑖 (𝑡) is directly proportional to the access amount 𝑙𝑖 𝑓𝑙 of the adjustable load i. When 𝑙𝑖 𝑓𝑙 ≥ σiω𝑖 , even if the adjustable load connection amount 𝑙𝑖 𝑓𝑙 continues to increase, the electricity utility 𝑈𝑖 (𝑡) of the adjustable load remains unchanged. The cost function represents the user's electricity bill, following the user's specific usage trends. The cost of electricity for adjustable loads can be expressed as follows: 𝐹𝑖 (𝑡) = 𝑐𝑑 (𝑡) − 𝑙𝑖 𝑓𝑙 (𝑡) (5) Here, 𝐹𝑖 (𝑡) represents the cost of electricity for adjustable load i. The combined utility function and the cost function can be represented by the user-side revenue function as follows: 𝑃 = ∑Ui(𝑡) − ∑Fi(𝑡) (6) When the dynamic tariff increases, the utility of adjustable load will remain unchanged, and the cost of electricity will increase. This results in lower revenue on the user side, so the adjustable load will be reduced to ensure maximum benefit on the user side. When the dynamic tariff is reduced, access to adjustable load will increase due to the reduction of electricity charges to obtain more significant revenue on the user side. 3.2. Air conditioning operating cost model Air- conditioning has periodic operating characteristics. The indoor temperature fluctuates up and down between user-set temperature ranges. When the air conditioning in cooling mode is on and running, the lower-temperature limit Tdown is reached in the room. When the air conditioner stops working, the room temperature continues to rise. The air conditioner starts running again with the room temperature reaching the upper- temperature limit Tup. The thermal power process of the air conditioner can be simulated by the equivalent thermal parameter model (ETP), and the expression for the room temperature is as follows: M.H Saeed et al Int. J. Renew. Energy Dev 2023, 12(4),749-759 |752 ISSN: 2252-4940/©2023. The Author(s). Published by CBIORE { 𝑇𝑖 𝑡+1 = 𝑇0 𝑡 − (𝑇0 𝑡 − 𝑇𝑖 𝑡 )𝑒 − Δt RC , 𝑆 = 0 𝑇𝑖 𝑡+1 = 𝑇0 𝑡 − ηpR − (𝑇0 𝑡 − ηpR − 𝑇𝑖 𝑡 )𝑒 − Δt RC , 𝑆 = 1 (7) In the above expression, 𝑇𝑖 𝑡+1 and 𝑇𝑖 𝑡 represent t+1 and t- moment room temperature, respectively. 𝑇0 𝑡 represents the ambient temperature at the t-moment. p indicates the cooling/ thermal power (kW) when the air conditioner is operating, η represents the energy efficiency ratio of the air conditioner, C is the equivalent thermal capacity (J/C), R is the equivalent thermal resistance (C/W), Δt Represents the interval (s). 𝑆 indicates the operating status of the air conditioner, 𝑆 =0 indicates that the air conditioner is out of service, 𝑆 = 1 indicates that the air conditioner is in operation. The operating cost function of air conditioning consists of its electricity cost function and maintenance cost function. The electricity cost function is used to describe the power cost consumed when air conditioning is in operation, which can be expressed as follows: 𝑁𝑖 (𝑡) = 𝑐𝑑 (𝑡). 𝑝𝑖 𝐴𝐶 (𝑡) (8) thereinto 𝑝𝑖 𝐴𝐶 (𝑡) indicates the cooling/ thermal power of the ith air conditioner, 𝑁𝑖 (𝑡) represents its corresponding cost of electricity. The maintenance cost function of the air conditioner is used to describe the depreciation and maintenance costs generated by the operation of the air conditioner. Considering the differences between different air conditioners, the maintenance cost can be defined as the quadratic convex function of the power of the air conditioner. It is expressed as follows: 𝑀𝑖 (𝑡) = 𝑚. (𝑝𝑖 𝐴𝐶 (𝑡)) 2 + 𝑛. 𝑝𝑖 𝐴𝐶 (𝑡) + 𝑙 (9) In above equation, m, n, and l are the maintenance cost factors for air conditioning, respectively. 𝑀𝑖 (𝑡) represents the maintenance cost of the air conditioner. The function of electricity cost and maintenance cost of integrated air conditioning can be obtained as follows: 𝑊(𝑡) = ∑Ni(𝑡) + ∑Mi(𝑡) (10) At the same time, influencing factors of electricity price are introduced into the comfort constraints of users so that the air conditioners’ set temperature is affected by the two factors of electricity price and user comfort. The set temperature can be formulated as: 𝑇𝑠𝑒𝑡 𝑡+1 = 𝑇𝑠𝑒𝑡 𝑡 + 𝐶1. 𝑐𝑑 −𝑐𝑑 𝑚𝑖𝑛 𝑐𝑑 𝑚𝑎𝑥−𝑐𝑑 𝑚𝑖𝑛 + 𝐶2. 𝑇𝑠𝑒𝑡 𝑡 −𝑇𝑠𝑒𝑡 𝑜𝑟𝑖 𝑇𝑢𝑝−𝑇𝑑𝑜𝑤𝑛 (11) In the above expression, 𝑇𝑠𝑒𝑡 𝑡+1 and 𝑇𝑠𝑒𝑡 𝑡 represent the air conditioning set temperature at t+1 and t-moment, respectively. 𝐶1 and 𝐶2 are the influence coefficients of electricity price and user comfort on the set temperature of air-conditioning. 𝑐𝑑 𝑚𝑎𝑥 and 𝑐𝑑 𝑚𝑖𝑛 are the maximum and minimum value of the electricity price, and Tup and Tdown are the upper and lower limits of the user's set temperature, 𝑇𝑠𝑒𝑡 𝑜𝑟𝑖 represents the initial set temperature of the air conditioner. The dynamic electricity price increases is directly proportional to the operating cost of air conditioning. At this time, the air conditioning temperature increases and reduces the operating time of air conditioning to save electricity costs. When the set temperature of air conditioning increases to a particular value, by the user's comfort limit, the setting temperature of air conditioning is reduced to ensure the user's comfort. 3.3. Generation side cost model In the microgrids operating in an isolated mode, the cost of electricity generation from renewable sources is generally ignored, and only the generation cost from micro-gas turbines is considered. The generation cost is usually defined as the quadratic convex function of power output for conventional micro-gas turbines as (Boyd et al., 2012): 𝐶𝑖 = αi(𝑝𝑖 𝑚𝑡 )2 + βi𝑝𝑖 𝑚𝑡 + γi (12) Thereinto αi, βi, γi are i th MGT’s cost parameters, and meet αi > 0, βi > 0, γi > 0. 𝑝𝑖 𝑚𝑡 represents the active output of the micro-gas turbine i, 𝐶𝑖 represents the cost of generation for i th MGT. The objective function of the microgrid generation side can be expressed as follows: min 𝐶 = ∑ 𝐶𝑖 (𝑝𝑖 𝑚𝑡 )𝑛𝑖=1 (13) The incremental cost λi of micro-gas turbines is defined as the 1st derivative of its generating cost electricity Ci w.r.t. active output pi, represented as follows (Wood et al., 2013): λi = ∂Ci(pi mt) ∂pi mt = 2αipi mt + βi (14) According to the criterion of equal small increase rate, when the incremental cost of all MGTs is the same, the optimal output of each MGT is obtained. At this time, the cost of generation of the MG is the smallest. 4. Constraints Equality and inequality constraints are introduced to ensure the reliable operation of the MG. Equality constraints ensure the power balance between the generation side and the consumption side of the microgrid during operation, which is a prerequisite for the stable operation of the MG. Inequality constraints consider the output limit of micro-gas turbines in microgrids and the access limit of adjustable load. 4.1. Power balance constraint For an MG, the total output of power generation from RERs, ESD, and MGTs should be balanced with the total load on the user side, which can be expressed as follows: ∑pi mt(t) + ∑p i reg (t) + pess(t) = ∑li fl(t) + ∑li cl(t) + ∑pi AC(t) (15) Here, pi reg (t) represents the output power of the ith RER unit at the t-moment, pess(t) represents the output of the ESD at t- moment. 4.2. MGT’s output constraint The output of the MGT is limited by its rated capacity and other physical conditions. To ensure an adequate output of the MGT during the optimization process, the constraints are set as follows: min(pi mt) ≤ pi mt(t) ≤ max(pi mt) (16) Here, min(pi mt) and max(pi mt) represent the minimum and maximum output of the ith MGT. M.H Saeed et al Int. J. Renew. Energy Dev 2023, 12(4),749-759 |753 ISSN: 2252-4940/©2023. The Author(s). Published by CBIORE 4.3. Adjustable load Constraint The access volume of the adjustable load is adjusted with the change of the dynamic tariff to maximize the user-side revenue. Due to the limitation of the physical conditions of the adjustable load, the access volume is restricted as follows: min(li fl) ≤ li fl(t) ≤ max(li fl) (17) hereinto 𝑚𝑖𝑛(𝑙𝑖 𝑓𝑙 ) and 𝑚𝑎𝑥(𝑙𝑖 𝑓𝑙 ) represent the minimum and maximum access volumes of the ith adjustable load. 4.4. User comfort constraints The indoor temperature should be maintained within the user's comfort level. When the indoor temperature exceeds the upper- temperature limit, the air conditioner starts working to reduce the room temperature. When the indoor temperature is less than the lower temperature limit, the air conditioner stops working. When the indoor temperature is within the comfort zone, the air conditioner stops working or keeps working according to the control command. At the same time, influencing factors of electricity price are introduced into the comfort constraints of users so that the set temperature of the air conditioner is affected by the two factors of electricity price and user comfort. The set temperature of the air conditioner can be expressed as follows: Tdown < Ti(t) < Tup (18) In the formula, Tup and Tdown represent the upper and lower temperature limit set by the user. The upper limit is 2 degrees higher than the user set temperature, and the corresponding lower limit is 2 degrees lower than the user set temperature. 5. Simulation model A radial MG operating in islanded mode is established in MATLAB/Simulink to verify the effectiveness of the proposed multi-objective economic dispatch method. The microgrid simulation model consists of 12 distributed power generation units and 12 loads, and its topology is shown in Figure 1. The distributed power generation units include micro gas turbines {DGi| i=1,3,5,7,11}, renewable energy generation units {DGi| i=2,6,8,9,10,12} and energy storage systems DG4. There are three types, namely fixed loads {Loadi| i=4,8,10,12} adjustable load {Loadi| i=1,3,5,11} and ACC load {ACi| i=2,5,6,9}. Renewable energy power generation units, including photovoltaics and wind turbines, are considered to work in Maximum Power Point Tracking (MPPT) mode. Considering Fig 1. The topology of microgrid simulation platform https://www.hanspub.org/journal/PaperInformation.aspx?paperID=35174#f1 M.H Saeed et al Int. J. Renew. Energy Dev 2023, 12(4),749-759 |754 ISSN: 2252-4940/©2023. The Author(s). Published by CBIORE that this paper studies the dynamic economic dispatch of microgrids, the renewable energy power generation units are set not to generate reactive power. In the simulation process, the output curve of the renewable energy power generation unit is shown in Fig. 2. The micro gas turbine works in the PQ control mode to compensate for the power gap between renewable energy generation units and the load. Since the islanded microgrid lacks the support of the main grid, the energy storage system works in the V/F mode as the voltage and frequency support of the microgrid. Taking into account the energy storage system’s capacity and output power limitations, a micro gas turbine is set to share the energy storage output. So, the energy storage system only supplies power when the load changes suddenly, and then its output power is shared by the micro gas turbine. Resultantly, the overcharge and discharge of the energy storage system are avoided, and the safe and stable operation of the microgrid is ensured. The air-conditioning load in the microgrid is assumed to be inverter air-conditioning with a maximum rating of 3 kW. In addition, the air conditioners in each area are centrally controlled by the corresponding central controller, and the indoor temperature in the same area remains the same. The specific parameters of air conditioning load are shown in Table 1. The related parameters of distributed generation units (DG) and loads in the microgrid are listed in Table 2 and Table 3, respectively. The line losses are introduced in the system to make a real-time simulation model for the microgrid. The line impedance is set to 0.641 + j0.101 Ω/km, and the system voltage and frequency are set to 380 V and 50 Hz, respectively. Fig 2. Outputs of renewable energy generation units Table 1 Setups and Parameters of AC Serial # No. of AC Units Initial Temperature (0C) 𝒎 𝒏 𝒍 2 15 24 -0.328 3.42 0.80 6 12 24.5 -0.174 2.86 0.83 7 8 23 -0.360 2.32 1.00 9 10 25 -0.198 2.99 1.50 Table 2 DG Parameters Serial # Active/ Reactive Ratings (kW, kVar) Mode 𝜶 𝜷 𝜸 1 60, 40 PQ 0.059 6.71 80 2 30, 0 MPPT - - - 3 55, 42 PQ 0.066 6.29 43 4 30 Ah V/F - - - 5 65, 50 PQ 0.046 7.53 35 6 50, 0 MPPT - - - 7 60, 48 PQ 0.069 4.57 48 8 35, 0 MPPT - - - 9 45, 0 MPPT - - - 10 50, 0 MPPT - - - 11 60, 45 PQ 0.058 0.058 54 12 55, 0 MPPT - - - M.H Saeed et al Int. J. Renew. Energy Dev 2023, 12(4),749-759 |755 ISSN: 2252-4940/©2023. The Author(s). Published by CBIORE 6. Model’s Solution Based on the specifications of the microgrid simulation model, the MATLAB Function module in the User-defined functions library is added to Simulink. Then user benefit model, air- conditioning operating cost model, and power generation cost model are established in the module. The centralized interior- point optimization function 'fmincon' is called to solve the model; a function minimizer with linear and nonlinear constraints. The specific steps are as follows: a) Read the current operational time of each micro gas turbine, energy storage system output, adjustable load, ACC power, indoor temperature, ambient temperature, and dynamic electricity price. b) Based on the current dynamic electricity price, the centralized optimization function 'fmincon' solves the user side revenue model and the air-conditioning operating cost model. And the optimal connection plan of the adjustable load and the optimal operating power of the ACC is obtained. c) The output of the V/F controlled- energy storage system is allocated to the micro gas turbine to avoid overcharge and discharge of the energy storage system to ensure the microgrid's stable operation. d) The total output of micro gas turbines is updated. The centralized optimization function 'fmincon' is called to solve the power generation cost model to ensure that all micro gas turbines have incremental costs and minimize power generation costs. e) The adjustable loads, the operating power of the ACC, and the output power of the micro gas turbine are updated and the arrival of the following optimization period is entertained in the same way. 7. Results & discussion A simulation study is designed for the microgrid simulation model to verify the validity of the proposed multi-objective economic scheduling model. The simulation duration is 6 hours. The operation and economic benefits of the microgrid under normal conditions and multi-time economic dispatch strategy are compared and analyzed, and the simulation results under different strategies are shown in the following figures. Comparing the dynamic electricity price and the change of adjustable load in Fig. 3 (a) and (b), it can be seen that when the dynamic price increases, the amount of variable load access decreases and the cost of electricity for adjustable load decreases. While the cost of the adjustable load has decreased, fewer devices modify their consumption in response to price Table 3 Load Parameters Serial # Load Type Load Range (kW) 𝝎 𝝈 1 Adjustable 0- 36 -0.123 9.625 2 ACC 0- 45 - - 3 Adjustable 0- 48 -0.163 13.02 4 Fixed 30 - - 5 Adjustable 0- 24 - - 6 ACC 0- 36 -0.198 13.12 7 ACC 0-24 - - 8 Fixed 30 - - 9 ACC 0-30 -0.207 10.99 10 Fixed 35 - - 11 Adjustable 0-28 - - 12 Fixed 40 - - (a) (b) Fig. 3 (a) Connected amount of flexible loads (b) the incremental cost of MTs and the dynamic price https://www.hanspub.org/journal/PaperInformation.aspx?paperID=35174#f3 M.H Saeed et al Int. J. Renew. Energy Dev 2023, 12(4),749-759 |756 ISSN: 2252-4940/©2023. The Author(s). Published by CBIORE signals. This is due to the ability of users to move their electricity usage to cheaper times of the day. When demand is strong or the supply is constrained, both impacts result in a more balanced and effective use of electricity. When the dynamic electricity price decreases, the amount of adjustable load access increases. Although the adjustable load electricity cost increases, the utility of the adjustable power load increases more than the cost of electricity, so the total income of the users increases. The expansion of adjustable load access enables consumers to switch their consumption to cheaper times of the day (Julia & Victor 2022, Maximilian 2022). . The increased utility gained by using power during cheaper times leads to an overall rise in total income or benefit for users, notwithstanding the possibility of an increase in the cost of electricity for adjustable loads. Fig. 3(b) shows the incremental cost curve of micro-gas turbines, which shows that the incremental costs of micro-gas turbines are consistent throughout the simulation period for all the values of 𝛌, thus minimizing the total cost of power generation on the power generation side of the microgrid. The reason is that they may modify their power output while a demand response program is active based on the grid's requirements and pricing cues. The turbines can continue to operate steadily and efficiently during the simulation time because these modifications often take place within a narrow range. In Fig. 3(b), the dynamic cost decreases drastically after 4 hr due to rise in incremental cost of micro-turbine, and then increases gradually after 7 hrs with the decline in the incremental cost of micro-turbine. Fig. 4 (a) and (b) show the user room temperature variation and ACC power variation with and without introducing the proposed method. It is clear that under the proposed method, the power consumption of the ACC is lower than that without the introduction of the proposed method with the constraints of user comfort. The increased temperature variation is caused by equipment- cycling, in which the cooling or heating system frequently switches from on to off operation. During times of peak demand, this cycle can be employed to reduce overall electricity use. As the system alternates between times of active cooling or heating and periods of inactivity, it can also result in temperature changes within the space. There are two reasons behind the decreased ACC power variation: • Setpoint adjustments: In order to balance the grid's demand for electricity, the DR program requires consumers to change the setpoints on their thermostats or permit a wider range of temperatures. Users may need to tolerate slightly higher room temperatures than their preferred comfort levels. The units may cycle on and off more frequently to maintain the greater temperature range as a result of these setpoint alterations, which might lead to increased power variances within the air conditioning cluster (David et al. 2015).. • Consumer response heterogeneity: Users' reactions to DR signals can differ, resulting in various power fluctuation patterns within the ACC. While some users may have more variable usage patterns, others may be more receptive to price signals or demands for demand reduction, leading to higher power variations. This fluctuation in user responses may be a factor in the cluster's higher power variability(Waseem et al. 2021).. Figure 5 shows the voltage and frequency of the microgrid system and the output of the energy storage system. It is clear from the figure that under the proposed economic dispatch strategy, the voltage and frequency of the system remain stable. For a microgrid's safe and reliable operation, certain voltage limitations must be maintained. The proposed economic dispatch method takes these restrictions into account and allocates generation resources to keep voltage levels within reasonable bounds. The economic dispatch approach contributes to system stability by sticking to these voltage constraints and avoiding voltage instability or voltage collapse. Only when the load changes suddenly, there will be small fluctuations, but it will return to normal soon. The economic dispatch strategy aims to balance the generation and load within the power system. By optimizing the allocation of generation resources, it ensures that the total power supplied matches the total power demanded in real-time. This balance helps maintain a stable frequency as the generation and load fluctuations are minimized. Dynamic response capabilities allow energy storage systems to respond quickly to changes in load or generation, helping to regulate frequency and voltage within the microgrid. The energy storage system only outputs or absorbs power to maintain the power balance of the microgrid system when the load changes suddenly. But the output is quickly shared by the micro gas turbine and returns to zero, thus avoiding the overcharge and discharge of the energy (a) (b) Fig. 4 (a) the room temperature (b) the power of AC M.H Saeed et al Int. J. Renew. Energy Dev 2023, 12(4),749-759 |757 ISSN: 2252-4940/©2023. The Author(s). Published by CBIORE storage system to ensure the safety and stability of the microgrid operation Fig. 6 compares the benefits of adjustable load users and the operating costs of air-conditioning communities. It can be seen from the figure that the introduction of the demand response economic dispatch method reduces the operating cost of ACC. It can be seen from Table 4 that the adjustable user benefit of introducing the demand response economic dispatch method is 69.2% higher than the benefit of the user when it is not introduced, and the operating cost of the ACC is reduced by 18.2%. The reason is that the proposed method enables load shifting, where the air conditioning cluster can adjust its cooling operation to shift the peak demand to lower-demand periods. By reducing or limiting cooling during peak hours, when electricity prices are typically higher, the cluster can avoid costly peak demand charges and achieve cost savings. Fig. 6 The profit of consumers and operation cost of AC Table 4 User benefits and air conditioning operating costs Scheduling Method User Benefit (cents) AC- Operating Cost (cents) DR 3,126 1,459 Without DR 1,848 1,785 8. Conclusion The problem is the current time-of-use electricity price mechanism cannot reflect the real-time status of the microgrid system. So, this paper proposes a dynamic electricity price mechanism that can better reflect the operating status of the microgrid under a high rate of renewable energy penetration. Then, air conditioners and adjustable loads are considered as demand response resources to participate in the economic dispatch of the microgrid. The income function of the adjustable load user and the operating cost function of the air conditioner are established, and a series of constraints such as user comfort is considered. According to the criterion of equal small increase rate, the output distribution model of the micro gas turbine is established to minimize the cost of the power generation side of the microgrid. Finally, a microgrid simulation model is built in MATLAB/Simulink to verify the proposed multi-objective demand response economic dispatch method. From the simulation results, it can be concluded that under the multi- objective economic dispatch method, the benefit of adjustable users has increased by 69.2%, and the operating cost of the air- conditioning cluster has been reduced by 18.2% ensuring user comfort. At the same time, the output of the micro gas turbine is distributed through the equal micro-increase rate criterion to minimize the power generation cost of the microgrid, thereby realizing the optimal economic operation of the micro-grid. References Ali, S., Ullah, K., Hafeez, G., Khan, I., Albogamy, F.R., Haider, S.I. (2022). Solving day-ahead scheduling problem with multi-objective energy optimization for demand side management in smart grid, Engineering Science and Technology: an International Journal, 36, 101135; https://doi.org/10.1016/j.jestch.2022.101135 . Attaviriyanupap, P., Kita, H., Tanaka, E., Hasegawa, J. (2002). A hybrid EP and SQP for dynamic economic dispatch with nonsmooth fuel cost function. IEEE Transactions on Power System, 17, 411–6. https://doi.org/10.1109/TPWRS.2002.1007911 Basu, M. (2008). Dynamic economic emission dispatch using nondominated sorting genetic algorithm-II. International Journal of Electric Power and Energy Systems, 30, 140–9. https://doi.org/10.1016/j.ijepes.2007.06.009 Battula, A.R., Vuddanti, S., Salkuti, S.R. (2021). Review of Energy Management System Approaches in Microgrids. Energies, 14, 5459. https://doi.org/10.3390/en14175459 Borenstein, S. (2005). The long-run efficiency of real-time electricity pricing. Energy Journal, 26 (3). https://doi.org/10.5547/issn0195-6574-ej-vol26-no3-5 . Boyd, S., Parikh, N., Chu, E., Peleato, B., & Eckstein, J. (2011). Distributed optimization and statistical learning via the alternating direction method of multipliers. Found. Trends Mach. Learn., 3(1), 1–122. https://doi.org/10.3390/en14175459 Calderaro, V,. Conio, G,. Galdi, V., Massa, G., & Piccolo, A. (2014). Active management of renewable energy sources for maximizing power production. International Journal of Electric Power and Energy System, 57, 64–72. https://doi.org/10.1016/j.ijepes.2013.11.040 Chen, D.J., Gong, Q.W., & Zhang, M.L. (2011). Multi-objective optimal dispatch in wind power integrated system incorporating energy- environmental efficiency. Proc. CSEE, 31(13), 10-17. Dashtdar, M., Flah, A., Hosseinimoghadam, S.M.S., El-Fergany A. (2022). Frequency control of the islanded microgrid including energy storage using soft computing. Sci Rep, 12, 20409. https://doi.org/10.1038/s41598-022-24758-6 . David, P.C., Jakob, S., Panajotis, A., & Nedjib, D. (2015). A new thermostat for real-time price demand response: Cost, comfort and energy impacts of discrete-time control without deadband. Applied Energy, 155, 816-825, https://doi.org/10.1016/j.apenergy.2015.06.048 . Fig. 5 The frequency and voltage of the microgrid and the outputs of ESS https://doi.org/10.1016/j.jestch.2022.101135 https://doi.org/10.1109/TPWRS.2002.1007911 https://doi.org/10.1016/j.ijepes.2007.06.009 https://doi.org/10.3390/en14175459 https://doi.org/10.5547/issn0195-6574-ej-vol26-no3-5 https://doi.org/10.3390/en14175459 https://doi.org/10.1016/j.ijepes.2013.11.040 https://doi.org/10.1038/s41598-022-24758-6 https://doi.org/10.1016/j.apenergy.2015.06.048 M.H Saeed et al Int. J. Renew. Energy Dev 2023, 12(4),749-759 |758 ISSN: 2252-4940/©2023. The Author(s). Published by CBIORE Dutta G. & Mitra K. (2017). A literature review on dynamic pricing of electricity. Journal of Operational Research Society, 68 (10), 1131- 1145. https://doi.org/10.1057/s41274-016-0149-4 . Han, X.S., Gooi, H.B., & Kirschen, D.S. (2001). Dynamic economic dispatch: feasible and optimal solutions. IEEE Transactions on Power System, 16, 22–8. https://doi.org/10.1109/59.910777 Hao, H., Huang, B., & Ji, P. (2021). Optimal Configuration of An Island Microgrid Considering Demand Response Strategy. 2021 36th Youth Academic Annual Conference of Chinese Association of Automation (YAC), 300-304, https://doi.org/10.1109/YAC53711.2021.9486661 . Hsiao, C.-H., Huang, W.-T., Chen, L.-R., Lin, W.-C., & Li, L.-C. (2021). Economic Dispatch of Microgrids Using Particle Swarm optimization and Binning Method. 2021 IEEE International Future Energy Electronics Conference (IFEEC), 1-5, https://doi.org/10.1109/IFEEC53238.2021.9661738 . Imtiaz, B., Cui, Y., & Zafar, I. (2021). Economic Dispatch of Microgrid Incorporating Demand Response Using Dragonfly Algorithm. 2021 IEEE International Conference on Advances in Electrical Engineering and Computer Applications (AEECA), 59-68; https://doi.org/10.1109/AEECA52519.2021.9574430 . Jindal, A., Singh, M., & Kumar, N. (2018). Consumption-Aware Data Analytical Demand Response Scheme for Peak Load Reduction in Smart Grid. IEEE Transactions on Industrial Electronics, 65, 8993- 9004; https://doi.org/10.1109/TIE.2018.2813990 . John, H., Yu. D.C., & Bhattarai, K. (2008). An Economic Dispatch Model Incorporating Wind Power. IEEE Transactions on Energy Conversion, 23(2), 603-611. https://doi.org/10.1109/TEC.2007.914171 . Julia, F., Victor, v-L. (2022). Dynamic electricity tariffs: Designing reasonable pricing schemes for private households. Energy Economics, 112, 106146, https://doi.org/10.1016/j.eneco.2022.106146 . Kumar, D., Verma, Y.P. & Khanna, R. (2019). Demand response-based dynamic dispatch of microgrid system in hybrid electricity market. International Journal of Energy Sector Management, 13(2), 318-340. https://doi.org/10.1108/IJESM-12-2017-0008 . Liu, X., Ning, N., Wang, G., Liu, D., Chen, K., & Yuan, J. (2021). Distributed Optimal Dispatch Method for Smart Community Demand Response Based on Machine Learning. 2021 4th International Conference on Energy, Electrical and Power Engineering (CEEPE), 2021, 1040-1046; https://doi.org/10.1109/CEEPE51765.2021.9475821 . Ma, R., Li, K., Li, X., & Qin, Z. (2015). Economic and low-carbon day- ahead Pareto-optimal scheduling for wind farm integrated power systems with demand response. Journal of Modern Power Systems and Clean Energy, 3(3), 393-401; https://doi.org/10.1007/s40565-014-0094-7 . Maximilian, J.B. (2022). Dynamic pricing of electricity: Enabling demand response in domestic households. Energy Policy, 164, 112878, https://doi.org/10.1016/j.enpol.2022.112878 Mhankale, S.E. & Thorat, A.R. (2018). Droop Control Strategies of DC Microgrid: A Review. 2018 International Conference on Current Trends towards Converging Technologies (ICCTCT), 372-376; https://doi.org/10.1109/ICCTCT.2018.8550854 . Murty, V.V.V.S.N. & Kumar, A. (2020). Optimal Energy Management and Techno-economic Analysis in Microgrid with Hybrid Renewable Energy Sources. Journal of Modern Power Systems and Clean Energy, 8(5), 929-940; https://doi.org/10.35833/MPCE.2020.000273 . Nguyen, D.H., Narikiyo, T., & Kawanishi, M. (2018). Optimal Demand Response and Real-Time Pricing by a Sequential Distributed Consensus-Based ADMM Approach. IEEE Transactions on Smart Grid, 9(5), 4964-4974; https://doi.org/10.1109/TSG.2017.2676179 . Pothireddy, K.M.R., Vuddanti, S., Salkuti, S.R. (2022). Impact of Demand Response on Optimal Sizing of Distributed Generation and Customer Tariff. Energies, 15, 190. https://doi.org/10.3390/en1501019 . Pourbabak, H., Luo, J., Chen, T., & Su, W. (2018). A novel consensus- based distributed algorithm for economic dispatch based on local estimation of power mismatch. IEEE Transactions on Smart Grid, 9(6), 5930-5942. https://doi.org/10.1109/TSG.2017.2699084 Rajkumar, R.K., Ramachandaramurthy, V.K., & Yong, B. (2011). Techno-economical optimization of hybrid PV/wind/battery system using Neuro-Fuzzy. Energy, 36(8), 5148-5153. https://doi.org/10.1016/j.energy.2011.06.017 Recalde, A.A., Manuel, S., & Alvarado, A. (2020). Design optimization for reliability improvement in microgrids with wind– tidal– photovoltaic generation. Electric Power Systems Research, 188, Article No. 106540; https://doi.org/10.1016/j.epsr.2020.106540 Ross, D.W. & Sungkook, K. (1980). Dynamic economic dispatch of generation. IEEE Transactions on Power Apparatus and System. PAS-99(6), 2060–2068. https://doi.org/10.1109/TPAS.1980.319847 Saeed, M.H., Fangzong, W., Kalwar, B.A., & Iqbal, S. (2021a). A Review on Microgrids’ Challenges & Perspectives. IEEE Access, 9, 166502-166517; https://doi.org/10.1109/ACCESS.2021.3135083 . Saeed, M.H., Fangzong, W., Salem, S., Khan, Y.A., Kalwar, B.A., & Fars, A. (2021b). Two-stage intelligent planning with improved artificial bee colony algorithm for a microgrid by considering the uncertainty of renewable sources. Energy Reports, 7, 8912-8928; https://doi.org/10.1016/j.egyr.2021.10.123 . Saeed, M. H., Fangzong, W., & Kalwar, B. A. (2022). Control of Bidirectional DC-DC Converter for Micro-Energy Grid’s DC Feeders' Power Flow Application. International Journal of Renewable Energy Development, 11(2), 533-546: https://doi.org/10.14710/ijred.2022.41952 . Saeed, M.H., Iqbal, S., & Kalwar, B. A. (2022). Electricity market management through optimum installation of distributed generation sources and optimum placement based on LMP and ISC. Advances in Engineering and Intelligence Systems, 001(01). https://doi.org/10.22034/aeis.2022.147534 Salkuti, S.R., Abhyankar, A. R., Bijwe, P. R. (2015). Co-optimization of Energy and Demand-Side Reserves in Day-Ahead Electricity Markets. International Journal of Emerging Electric Power Systems, 16(2), 195-206. https://doi.org/10.1515/ijeeps-2014-0020 Salkuti, S.R., Bijwe, P.R. & Abhyankar, A.R. (2016). Optimal dynamic emergency reserve activation using spinning, hydro and demand- side reserves. Frontiers in Energy. 10, 409–423. https://doi.org/10.1007/s11708-016-0431-9 . Salkuti, S.R. (2017). Optimizing energy and demand response programs using multi-objective optimization. Electrical Engineering, 99, 397–406. https://doi.org/10.1007/s00202-016-0438-6 . Salkuti, S.R. (2018). Emergency reserve activation considering demand- side resources and battery storage in a hybrid power system. Electrical Engineering, 100, 1589–1599. https://doi.org/10.1007/s00202-017-0637-9 Salkuti, S.R. (2022). Emerging and Advanced Green Energy Technologies for Sustainable and Resilient Future Grid. Energies, 15, 6667. https://doi.org/10.3390/en15186667 . Ulbig, A., Borsche, T.S., & Andersson, G. (2014). Impact of low rotational inertia on power system stability and operation. IFAC Proceedings, 47 (3), 7290- 7297, https://doi.org/10.3182/20140824-6-ZA-1003.02615. Vardakas, J. S., Zorba, N., & Verikoukis, C. V. (2015). A survey on demand response programs in smart grids: Pricing methods and optimization algorithms. IEEE Commun. Surveys Tuts., 17(1), 152- 178. https://doi.org/10.1109/COMST.2014.2341586 Wang, J., Cary, N.B., Hu, Z., Tan, Z. (2010). Demand response in China. Energy, 35(4), 1592-1597. https://doi.org/10.1016/j.energy.2009.06.020 . Wang, Y., Han, S., & Liu, S. (2020). Distributed consensus-based algorithm for dynamic economic dispatch with wind turbine and energy storage. 2020 7th International Conference on Information, Cybernetics, and Computational Social Systems (ICCSS), 618-625, https://doi.org/10.1109/ICCSS52145.2020.9336855 . Waseem, M., Lin, Z., Ding, Y., Wen, F., Liu, S., & Palu, I. (2021). Technologies and Practical Implementations of Air-conditioner Based Demand Response. Journal of Modern Power Systems and Clean Energy, 9(6), 1395-1413, https://doi.org/10.35833/MPCE.2019.000449 . Wood, A.J., Wollenberg, B.F., & Sheblé, G.B. (2013). Power Generation, Operation, and Control, 3rd ed. New York, NY, USA: Wiley. Wu, H., Liu, X., & Ding, M. (2014). Dynamic economic dispatch of a microgrid: Mathematical models and solution algorithm. https://doi.org/10.1057/s41274-016-0149-4 https://doi.org/10.1109/59.910777 https://doi.org/10.1109/YAC53711.2021.9486661 https://doi.org/10.1109/IFEEC53238.2021.9661738 https://doi.org/10.1109/AEECA52519.2021.9574430 https://doi.org/10.1109/TIE.2018.2813990 https://doi.org/10.1109/TEC.2007.914171 https://doi.org/10.1016/j.eneco.2022.106146 https://doi.org/10.1108/IJESM-12-2017-0008 https://doi.org/10.1109/CEEPE51765.2021.9475821 https://doi.org/10.1007/s40565-014-0094-7 https://doi.org/10.1016/j.enpol.2022.112878 https://doi.org/10.1109/ICCTCT.2018.8550854 https://doi.org/10.35833/MPCE.2020.000273 https://doi.org/10.1109/TSG.2017.2676179 https://doi.org/10.3390/en1501019 https://doi.org/10.1109/TSG.2017.2699084 https://doi.org/10.1016/j.energy.2011.06.017 https://doi.org/10.1016/j.epsr.2020.106540 https://doi.org/10.1109/TPAS.1980.319847 https://doi.org/10.1109/ACCESS.2021.3135083 https://doi.org/10.1016/j.egyr.2021.10.123 https://doi.org/10.1016/j.egyr.2021.10.123 https://doi.org/10.14710/ijred.2022.41952 https://doi.org/10.22034/aeis.2022.147534 https://doi.org/10.1515/ijeeps-2014-0020 https://doi.org/10.1007/s11708-016-0431-9 https://doi.org/10.1007/s00202-016-0438-6 https://doi.org/10.1007/s00202-017-0637-9 https://doi.org/10.3390/en15186667 https://doi.org/10.3182/20140824-6-ZA-1003.02615 https://doi.org/10.1109/COMST.2014.2341586 https://doi.org/10.1016/j.energy.2009.06.020 https://doi.org/10.1109/ICCSS52145.2020.9336855 https://doi.org/10.35833/MPCE.2019.000449 M.H Saeed et al Int. J. Renew. Energy Dev 2023, 12(4),749-759 |759 ISSN: 2252-4940/©2023. The Author(s). Published by CBIORE International Journal of Electrical Power & Energy Systems, 63, 336- 346; https://doi.org/10.1016/j.ijepes.2014.06.002 . Xu, H., Meng, Z., & Wang, Y. (2020). Economic dispatching of microgrid considering renewable energy uncertainty and demand sid response. Energy Reports, 6(9), 2020, 196-204, https://doi,org/10.1016/j.egyr.2020.11.261. Zachar, M. & Daoutidis, P. (2016). Economic dispatch for microgrids with constrained external power exchange. IFAC-PapersOnLine, 49(7), 833-838; https://doi.org/10.1016/j.ifacol.2016.07.293 © 2023. The Author(s). This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA) International License (http://creativecommons.org/licenses/by-sa/4.0/) https://doi.org/10.1016/j.ijepes.2014.06.002 https://doi.org/10.1016/j.egyr.2020.11.261 https://doi.org/10.1016/j.ifacol.2016.07.293 http://creativecommons.org/licenses/by-sa/4.0/