Abstract
Power grids include entities such as home-microgrids (H-MGs), consumers, and retailers, each of which has a unique and sometimes contradictory objective compared with others while exchanging electricity and heat with other H-MGs.Therefore, there is the need for a smart structure to handle the new situation. This paper proposes a bilevel hierarchical structure for designing and planning distributed energy resources (DERs) and energy storage in H-MGs by considering the demand response (DR). In general, the upper-level structure is based on H-MG generation competition to maximize their individual and/or group income in the process of forming a coalition with other H-MGs. The upper-level problem is decomposed into a set of low-level market clearing problems. Both electricity and heat markets are simultaneously modeled in this paper. DERs, including wind turbines (WTs), combined heat and power (CHP) systems, electric boilers (EBs), electric heat pumps (EHPs), and electric energy storage systems, participate in the electricity markets. In addition, CHP systems, gas boilers (GBs), EBs, EHPs, solar thermal panels, and thermal energy storage systems participate in the heat market. Results show that the formation of a coalition among H-MGs present in one grid will not only have a significant effect on programming and regulating the value of the power generated by the generation resources, but also impact the demand consumption and behavior of consumers participating in the DR program with a cheaper market clearing price.
IN recent years, there have been significant efforts to improve the technical and economic performance of smart grids, with the presence of different players making decisions in these grids [
The objective of this paper is first to propose a base framework for the demand of consumers encompassing H-MGs, and second, to determine profits that can be made from independently operating H-MGs or in a coalitional structure in a daily energy-hub market [
To satisfy objective functions, a bilevel hierarchical interactive architecture (BL-HIA) algorithm on the condition of reaching a maximum profit is proposed for both the consumer and the power generator sides [
The contribution in this work can be summarized as follows. First, the proposed BL-HIA structure is preferred over the proposed structure in [

Fig. 1 Proposed BL-HIA structure illustrating a variety of coalition formations among H-MGs.
The innovations in this paper can be summarized as follows:
1) Development of an optimum programming solution within H-MG generation as a BL-HIA structure.
2) Providing a multiple-leader-common-follower game that indicates the effectiveness of the market competition in multiple H-MGs by solving a BL-HIA structure.
3) Development of a new model for DSM.
4) Facilitating both DR resources and storage devices in the market operation to achieve a comprehensive solution that exploits all flexibilities.
5) Proposal for advanced electricity and heat markets for active distribution networks based on game theory.
The problem encountered by H-MGs for an independent or a coalitional operation can be modeled as a bilevel structure that is a decision-making problem, including several agents that try to optimize their corresponding objective functions on a connectable dependent set. In fact, an agent is an object that can act as a DER or that is connected to other units. The BL-HIA structure is shown in

Fig. 2 BL-HIA structure.
As shown in
In the BL-HIA structure, the uncertainty of pool prices, electric/thermal load demands, and purchasing/selling prices of H-MGs are also considered. In [
The decision-making process in the BL-HIA structure of H-MGs, consumers, and retailers can be summarized as shown in

Fig. 3 Decision-making process.
1) Consumers’ choice of energy provider: when each H-MG offers a supply bid, consumers are to choose an H-MG as an energy provider to their electric/thermal load during the scheduling horizon. These decisions are made based on reliable information on such prices, which are estimated considering the uncertainties of pool prices and demand. For modeling purposes, several sets of consumers are created by grouping consumers with similar specifications responding to offered prices of the H-MG.
2) Energy exchange by H-MGs in a pool market: after stabilizing the performance of H-MGs (an independent or a coalitional operation) and setting supply and demand bids, each H-MG can decide in each time interval of the scheduling horizon on the quantity (to/from other H-MGs in the pool market) to supply the demand of their consumers.
The scheduling problem of H-MGs is formulated in a BL-HIA structure. It should be noted that dual variables have been separated by a comma after equality and inequality constraints. This section briefly presents models deployed for load shifting, and those representing the interaction among DER, H-MGs, consumers, and retailers as well as the coalition among H-MGs. Then, BL-HIA problem formulation is presented.
The consumers of H-MGs are considered to be responsive loads, so they participate in DSM. Hence, we first provide our DR model. In addition, because each H-MG consists of a set of DERs, we offer the comprehensive model of wind turbine (WT), CHP system, EB, EHP, GB, and solar thermal panel (STP). In addition to DERs, H-MGs can include ES. Therefore, we provide models for both electric ES and thermal energy storage (TES). The constraints related to electric and thermal price bids are explained in the next step. Finally, we provide detailed explanations regarding independent and coalitional operation of H-MGs.
The responsive load demand (RLD) constraints describe DR programs where consumers can reduce their consumption during certain time intervals and/or shift part of their consumption to the next time intervals or before the main time interval. The initial load demand value is defined as the sum of the predicted power demand and the value of the load participating in the RLD program in each H-MG. The initial load demand value can be defined as the value of the load shifting to time interval t and/or as the negative value of the load shifting from this time to other time. The maximum H-MG demand consumed in each time interval t is equal to the sum of the initially expected demand and the RLD+ value when the load is shifted to this time interval minus the value of , where RLD+ is the amount of RLD that goes from other time periods to time t and RLD is the amount of RLD that comes to other time period from time t.
The profit resulting from the participation of consumers in DSM program is calculated from (1).
(1) |
(2) |
(3) |
(4) |
(5) |
where and are the active power consumed by the consumers at H-MG i at time t and in scenario w, respectively; is the predicted load power consumed by the consumers in H-MG i at time t in scenario w; is the shifted load power from time interval t to time interval at H-MG i in scenario w; and are the values of predicted MCP at time t and in scenario w, respectively; and T is the number of time periods.
Constraint (3) states that if the value of the demand shifted from time interval to is given when , this value is not to exceed the predicted load value at , i.e., . Constraints (4) and (5) are set to ensure that the load shifting is not defined for the same interval. The load shifted from to is equivalent to the negative value of the demand deducted from the predicted demand at , as described by:
(6) |

Fig. 4 Model diagram for RLD.
The objective is to maximize the profit that can be made through participation of CHP systems in the DSM program, as in (7).
(7) |
(8) |
(9) |
(10) |
(11) |
where and are the electric power and thermal power consumed by CHP system j at H-MG i at time t in scenario w, respectively; and are the electric and thermal selling price bids of CHP system j at H-MG i at time t in scenario w, respectively; is the offer price of natural gas; is the CHP fuel factor; and are the lower and upper limitations of , respectively; and are the lower and upper limitations of , respectively; and are the electrical efficiencies of the CHP system, and together with the amount of fuel influences the amount of electricity produced by CHP, and directly influences the amount of electricity produced by CHP by itself (not dependent on the amount of fuel); is the thermal efficiency of CHP system; and is the fuel consumed by CHP system at time t in scenario w.
Constraints (8) and (9) state upper and lower limits on the power generated by the CHPs. Equations (
The profit resulting from the participation of WT in the DSM program is calculated by (12).
(12) |
(13) |
where is the power consumed by WT j at H-MG i at time t in scenario w; is the selling price bid by WT j at H-MG i at time t in scenario w; and is the maximum power generated by WT j at H-MG i.
Constraint (13) and similar constraints for determining the limit on DER resources state the programmed power generation of controllable and non-controllable resources of DER. Constraint (13) is related to the electric power of WT whose maximum limit is a parameter having some degree of uncertainty.
The profit made by the participation of EB in the DSM program is calculated by (14).
(14) |
(15) |
(16) |
where and are the electric power and thermal power consumed by EB, respectively; and are the electric and thermal selling price bids of EB, respectively; is upper limitation of ; and is the thermal efficiency of EB.
Constraints (15) and (16) state the consumed amount of electric power and the generated heat in the EB, respectively.
The profit made by the participation of EHP in the DSM program is calculated by (17).
(17) |
(18) |
(19) |
where and are the electric power and thermal power consumed by EHP, respectively; and are the electric and thermal selling price bids of EB, respectively; is the upper limitation of ; and is the coefficient of performance of EHP.
The profit made by the participation of GB in the DSM program is calculated by (20).
(20) |
(21) |
(22) |
where is the power consumed by GB; is the selling price bid by GB; is the GB fuel factor ; is the fuel consumed by GB; is the thermal efficiency of GB; is the maximum power generated by GB; and is the thermal power consumed by EB.
Constraint (21) states the allowable limits on the heat generated by the GB.
The profit made by the participation of STP in a DSM program is calculated by (23).
(23) |
(24) |
where is the power consumed by STP; is the selling price bid by STP; and is the maximum power generated by STP.
Constraint (24) states the allowable limits of heat generation for the operation of an STP. Together with a WT, the maximum limit of STP is also considered to be an uncertainty factor.
The profit realized by the participation of an ES/TES system in a DSM program is measured by (25).
(25) |
(26) |
(27) |
(28) |
(29) |
(30) |
where is the power consumed by ES/TES; is the selling price bid by ES/TES; and are the minimum and maximum power generated by ES/TES, respectively; is the value of state of charge (SOC) related to ES/TES; and are the initial and final values of SOC related to ES/TES, respectively; and and are the minimum and maximum values of SOC related to ES/TES, respectively.
The operation of ES/TES systems are represented by (26)-(30). The operation of an ES/TES system is subject to generation limits, as in (26), and the SOC limits, as in (27)-(30). It should be noted that (28) states the charging/discharging rate of the ES/TES system.
(31) |
(32) |
where is the value of predicted electric MCP at time t in scenario w.
Constraints (31) and (32) are related to the electric and thermal price bids governing the operation of DERs, where includes CHP, ES, and WT; consists of CHP, EB, EHP, TES, GB, and STP. However, the value of the upper and lower bounds can vary with respect to the system deployed.
We assume that there are I H-MGs, so the first I’ H-MGs participate in the coalition formation to maximize their profit together. Two scenarios are implemented to simulate the performance of the proposed BL-HIA structure. These scenarios are described as follows.
This scenario describes the independent operation of H-MGs. A single-level algorithm is deployed to model this scenario, as further clarified by the independent operation of H-MGs.
(33) |
where is electric power purchased by retailer k from H-MG i; is the supply bid for purchasing electric power from H-MG i; and n is the number of H-MGs.
(34) |
where and are the electric power purchased by H-MG i from retailer k and the electric power sold from H-MG i to retailer k, respectively; and are the supply bid for electric power purchased by H-MG i from retailer k and the supply bid for electric power sold from H-MG i to retailer k, respectively; and are the thermal power purchased by H-MG i from retailer k and the thermal power sold from H-MG i to retailer k, respectively; and are the supply bid for thermal power purchased by H-MG i from retailer k and the supply bid for thermal power sold from H-MG i to retailer k, respectively; W is the number of the scenarios; and J is the number of DERs.
This scenario describes a coalition among H-MGs taking place at an upper level of the BL-HIA structure, which operates independently at the other level. This scenario also investigates the effect of the lower-level H-MGs forming a coalition on changes in the strategy of independent operations for the upper-level H-MG with a high priority. The mathematical model of this scenario is further clarified by the coalitional operation of H-MGs, as shown in (35) and (36). Equations (
(35) |
(36) |
where @ represents the coalition among different H-MGs. In addition, the coalitional scenario of {, } indicates that the first part (,,...,) is related to the objective function defined at the upper level, and a second part (,,...,) is related to the coalition between H-MGs I’+1, I’+2, ..., I, which is defined at a lower level.
In the upper-level problem, each H-MG seeks to maximize its profit. The objective function of each upper-level problem states the income of each H-MG, with a higher-level priority for different scenarios. These objective functions that must be maximized have been defined as the sum of the product of electric/thermal price offers and the electric/thermal power sold to consumers of each H-MG minus the cost of operation of DERs.
The BL-HIA structure includes the upper-level problem and a set of lower-level problems in each scenario w. It should be noted that if an H-MG is considered at the upper level, its constraints from (1)-(32) are considered at the upper level; the same is true for the lower level. The upper-level problem includes decision making regarding the possibility of forming a coalition among H-MGs and their supply bids to achieve a higher profit. However, the quantity of DER/consumer resources along the DSM program is included in the lower-level problem. It should be noted that all of the power exchange among H-MGs and retailers’ decisions are to be made on the upper-level problem. In comparison, decision-making variables at the lower level include all of the power generated using DER resources. The upper-level objective function is considered after maximizing the income of retailers or H-MGs in the case of independent operation, or in the coalitional operations with other H-MGs (under-investigated scenarios).
The income of H-MGs is defined as the product of the proposed price offers for selling power to H-MGs and the amount of power that is sold to them minus the product of the power purchase price offer received from H-MGs and the amount of power bought from other H-MGs.
This subsection formulates the upper-level relationship. The formulae expressing the DER relationship given in (1)-(32) are applicable if the related DER is considered to be in the upper level.
As previously stated, the objective functions of the upper-level and lower-level problems may be in the form of (34)-(36). Here, the profit obtained from the coalition or the independent operation of H-MGs with greater priority describes the objective function of the upper-level problem. The upper-level problem is to maximize the expected profit to be made by each H-MG in the case of an individual or a group operation as well as a retailer.
Formulae (1)-(32) are applicable to H-MGs with higher priority, so they participate in coalition formation. It is very obvious when an H-MG with a higher priority does not include any of the mentioned DERs. The corresponding constraints of such DERs are to be excluded from the problem formulation.
(37) |
(38) |
where and are the power transffred from H-MGs to retailers and from retailers to H-MGs, respectively; and is the power exchange setting factor.
Equations (
Each H-MG in the upper-level problem makes strategic decisions as follows: ① decisions of DERs on the supply bid at the lower level of the problem; ② price strategic offering decisions of consumers in an H-MG on price offers.
Each lower-level problem aims to maximize the profit of an individual H-MG or a group of H-MGs with a lower priority over different scenarios. The objective of the lower-level problem is to increase the profit of DERs. Thus, the aim of CEMS is to reduce the operation cost given limitations ruling over each of the players, i.e., H-MGs, retailers, and consumers. Players in the BL-HIA structure declare the amount of their generated power and supply bids offered to the CEMS. After simulating the bilevel problem, the electric and thermal energy prices, and the power provided by each player are provided.
Considering the cases described in (34)-(36), the objective function of the lower-level problem can be taken from the numerator of the lower-level objective function.
Equations (
(39) |
(40) |
After the determination of price offers related to electricity and heat, as well as the amount of electric and thermal power generation and consumption of each player, the profit made by each of the players is determined.
It should be noted that the electricity price or MCP is the dual variable of the constraint related to power balance. In this model, we assume that the prices of electricity generated by all DERS, i.e., CHP, WT, and electric ES, are the same. Thus, we only need one MCP or one dual variable of the constraint related to the power balance at each time of the day. Hence, we only need to consider one power balance constraint for all H-MGs. Since we have only one power balance constraint, there is no need to consider power flow in this study. In the same way, we assume that the heating price, which is the dual variable of the constraint related to the heat balance, is the same for the heat generated for all DERs, including CHP, GB, EHP, EB, and TES. Hence, we only need to model one heat balance constraint for all H-MGs at each time of the day. In summary, we use the model for power and heat exchange regardless of whether the voltage angle and magnitude are considered owing to the similar energy hub price.
Since each of these lower-level problems is continuous and convex, it may be shown by its specific constraints, including KKT conditions [
1) Primal constraints (1)-(32).
2) Equality constraints obtained from the derivative of a Lagrange expression relative to lower-level variables.
3) Complementary constraints obtained based on lower-level inequalities (3), (4), (8), (9), (13), (16), (19), (21), (24), (26), (28), (31), (32), (37), and (38).
The application of KKT conditions to the lower-level problem is provided in detail in the supplementary material.
The grid studied is shown in

Fig. 5 Grid under study.
According to the independent and coalitional operation of H-MGs, we can define the following scenarios for the grid under study.
1) Scenario 1 ({A}, {B}, {C}, {RET}): this scenario describes the independent operation of H-MGs. A single-level algorithm is deployed to model this scenario, as further clarified by the independent operation of H-MGs.
2) Scenario 2 ({A,{B, C}}, {{A, B}, C}, {{A, C}, B}, {B, {A, C}}, {{B, C}, A}, {C, {A, B}}): this scenario describes a coalition among H-MGs taking place at a single level of the BL-HIA structure and operating in an independent operation at the other level. The representation of such a scenario can take the shape of ({A, BC}, {AB, C}, {AC, B}, {B, AC}, {BC, A}, {C, {AB}}). This scenario also investigates the effect of the lower-level H-MGs forming a coalition on independently changing the strategy of operating the upper-level H-MG with a high priority.
Equations (
(41) |
(42) |
In addition, the coalitional scenario of ({B, AC}) means that the first part (B) is related to the objective function defined at the upper level, and a second part (AC) is related to a coalition between H-MGs A and C but is defined at a lower level.
Equations (
(43) |
(44) |
(45) |
(46) |
(47) |
(48) |
The load profiles of H-MGs A, B, and C are shown in Figs.

Fig. 6 Positive DR (DR+) and negaitive DR () in H-MG A in different scenarios. (a) {A}. (b) {B}. (c) {C}. (d) {A, BC}. (e) {AB, C}. (f) {AC, B}. (g) {B, AC}. (h) {BC, A}. (i) {C, AB}.

Fig. 7 Positive DR (DR+) and negaitive DR () in H-MG B in different scenarios. (a) {A}. (b) {B}. (c) {C}. (d) {A, BC}. (e) {AB, C}. (f) {AC, B}. (g) {B, AC}. (h) {BC, A}. (i) {C, AB}.
For the independent operation of H-MGs, most of RLDs of H-MG A are shifted from the time intervals with higher MCP to the time intervals with lower MCP. The amount of load that is shifted forms a high share of the total load of H-MGs. More specifically, 55% of the load is shifted from time intervals with higher MCP to other time intervals with lower MCP, with the aim to maximize the profit for H-MG owners. By contrast, the energy consumption in such a figure has reduced significantly when H-MGs operate in coalitional structures. This energy consumption is the lowest (21%) for the coalitional scenario of {B, AC}. The energy consumption is at the lowest level (21%) when the coalition scenario corresponds to {B, AC}. In addition, the reduction in the degree of load shift results from a DSM program aiming at achieving a higher pay-off for consumers by considering employing load shifting when the value of MCP is high, along with the maximum use of H-MG A interval resources, and effectively reducing the generation cost when load shifting is at a minimum level. Moreover, the load profile of H-MGs in a coalition structure {A, BC} is the same as that of the alternative coalition structure {AB, C} and does not have a significant effect on the consumption level in H-MG A. This trend is completely different from the case in H-MG B. More specifically, during the independent operation of H-MGs, the degree of load shifting in H-MG B is at a minimum level (almost 30% of the total load during 24 hours). Therefore, the formation of a coalition among H-MGs would increase consumers’ participation in the DR program, which can reach almost 42% to 50%.

Fig. 8 Positive DR (DR+) and negaitive DR () in H-MG C in different scenarios. (a) {A}. (b) {B}. (c) {C}. (d) {A, BC}. (e) {AB, C}. (f) {AC, B}. (g) {B, AC}. (h) {BC, A}. (i) {C, AB}.
Such a reduction in the degree of load shifting is the result of a DSM program for achieving higher pay-off for consumers by considering criteria such as load shifting when the value of MCP is high, the maximum use of H-MG A interval resources, and also the reduction in generation costs in the best way and with the least amount of load shifting has taken place. Alternatively, the load profile of H-MGs in a coalitional structure {A, BC} is the same as that of such H-MGs in an alternative coalitional structure {AC, B}, and does not significantly affect the consumption nature in H-MG A.
The least amount of load shifting is achieved when H-MGs B and A form a coalition at the lower level of the BL-HIA structure, while having the objective function at an upper level of the structure aiming at maximizing the profit of H-MG C. Furthermore, these conditions are comparable with the {AC, B} coalition structure, having similar nature. Under the previous conditions, a substantial share of the excess generation capacity is devoted to meeting H-MG C demand. As a result, a negligible part of such energy has been allocated for supplying responsive loads in H-MG B. It is important to clarify that in the case of H-MG C, in independent operation conditions, the value of the total DR is significantly greater than the value of the total DR+. While accounting for only 17% of time intervals, H-MG C had experienced a DR+ algorithm, and such a figure would reach 83% when the DR is experienced. Such a trend in the DR is comparable to the scenario of coalition structures, where the degrees of the total load shifting with the value of DR+ total load during the daily performance, are close to each other in terms of the value. The participation percentage of consumers in H-MG C has improved significantly by forming a coalition between H-MGs B and A, reaching more than 40% of the time. Only in the coalitional structure {B, AC} can such value be a minimum (21%).
Furthermore, these conditions are also identical to that of the coalitional structure {AC, B} and have a similar nature. Under the previous conditions, a big share of the amount of excess generation is spent supplying H-MG C demand.
It should be noted that for H-MG C, the value of the total DR in H-MGs under independent operation conditions is much more than such a value when there is DR+. Such a trend in DR is quite similar to the scenario of coalitional structures, where the total load shifting and the value of the DR+ total load during the daily performance are close to each other in terms of the value. The increasing trend of the income of each H-MG during an independent and coalitional performance with other H-MGs is shown in

Fig. 9 H-MG income in different scenarios.
Based on this figure, each structure can be useful for one H-MG, while it may have no benefit for other H-MGs. The best structure, which may be useful for H-MG A, results from the formation of a coalition between H-MG B and H-MG C, excluding the participation of H-MG A in this coalition. These conditions may also be useful for H-MG B on the condition of forming a coalition with H-MG C in a higher priority of operation. For H-MG C, the highest income is experienced when this H-MG forms a coalition with H-MG A at an initial stage given that H-MG B works independently. Under these conditions, the income of H-MG A is close to the maximum value. For H-MG C, because of the lower generated power, it is appropriate to form a coalition in all cases with other H-MGs. In all cases in which H-MG C has formed a coalition with other H-MGs, an increasing trend in the income is observed. In comparison, when used independently, the income resulting from H-MG B is significantly improved when compared with other configurations such as coalition formation with other H-MGs. Furthermore, in some cases, it is possible for coalition forming to have a detrimental effect on the H-MGs that form part of the coalition.
It is also observed that the coalition between H-MG A and H-MG B at the initial level leads to a significant reduction in the income independently obtained by this H-MG. Moreover, it is desirable to prevent H-MG A from forming a coalition with H-MG B, and to negotiate with H-MG C to form the coalition. In comparison, the income resulting from the independent performance of H-MG B is also significant compared to other cases, e.g., coalition formation with other H-MGs, and in some cases it is harmful to form a coalition to these H-MGs. For H-MG C , because of the small generated power, it is appropriate to form a coalition in all cases with other H-MGs.

Fig. 10 Electrical and thermal MCP during 24-hour-long system performance. (a) Electric MCP. (b) Thermal MCP.
Although the average value of the electrical MCP in the case of independent operation of H-MG C is at its minimum during the system’s daily performance, such values can be significantly improved when investigated at individual time intervals, i.e., one hour after forming a coalition among H-MGs. In some of the time intervals, the formation of a coalition causes neither a degradation in the electric MCP, nor a small increase in its value. Moreover, at certain intervals, its value may not change significantly when a coalition exists compared with the scenario where H-MGs work independently. In about 54% of the times, the electric MCP value in the coalition {A, BC} becomes more than its value in the combination {A, BC}. That is why no differences are observed in the values of the electric MCP for coalitions {A, BC}, {AC, B}, {BC, A}, and {C, AB}. Furthermore, by changing the structure from {A, BC} to {B, AC}, the MCP value is reduced by about 33%.
Such an analysis is also applied to the thermal MCP for the structures investigated. Finally, we can conclude from the simulation results that the formation of a coalition among H-MGs in one grid will not only have a significant effect on programming and regulating the value of the power generated by the generation resources, but also affect the change in the demand consumption and the behavior of consumers participating in the DR program with a cheaper MCP.
This paper presents an optimum development that combines the problem of the quantity of power generated in a deregulated electricity market environment. A methodology is presented to investigate the possibility of increasing the incomes of H-MGs, consumers, and retailers in multiple H-MGs. These performances of participants are properly modeled in the market environment. An H-MG programmer tries to increase its income as long as it is freely negotiating energy exchange with DERs and its consumers. It can also incorporate on its agenda the potential of forming a coalition with other H-MGs. The H-MGs seek to estimate the value of the power generated by DERs and also supply/demand bids to consumers. Meanwhile, the possibility of forming a coalition among H-MGs to maximize the income in an independent or a coalitional operation in a scheduling horizon is also investigated. In this way, the H-MGs encounter pool price uncertainties and the value of electric and thermal loads. Furthermore, if the supply bid of one H-MG is not competitive enough, consumers may choose another H-MG to supply their demand. To investigate how the formation of a coalition among H-MGs can affect the market behavior and the gained income of H-MGs, different scenarios are presented. These scenarios are solved by employing a bilevel structure, which can be transformed into one NLP problem. The proposed model not only presents solutions of higher-income achievements of each H-MG in an independent or a coalitional operation but also provides a higher income/lower cost for each of the retailers/consumers relative to a single-level model.
The BL-HIA structure presents an adequate framework for modeling both the H-MG reaction for better participation in the generation and the effect on the electricity price, as well as increases in competition between H-MGs and retailers. In the upper-level problem, H-MGs change their capacity to maximize their income by predicting the behavior of other competitors (H-MGs) resulting from the lower-level problem and noting quantities and prices proposed by DERs and consumers. An optimum pricing strategy is implemented to enable dynamic market behaviors related to H-MG decisions. Furthermore, a daily generation schedule is presented. For a selected case study, an infinite number of Nash equilibrium values is observed for the case where no players tend to change their pricing strategies unilaterally. In these obtained equilibrium points, there is no change in the total expected profit of all players, although it is distributed among them.
Simulation results show that by forming a coalition among H-MGs, there may be changes in their profit, the demand value of the supplied load, and the generated power of DER in those H-MGs. Furthermore, computational simulations show the convergence of the proposed model for solving real problems and simultaneously presenting solutions to increase the income of H-MGs and retailers, as well as to reduce the MCP. The following results can be extracted from the structure of the developed model:
1) The hierarchical structure of the bilevel model is suitable for modeling the strategic behavior of each H-MG in reaction to the behavioral change and decision making of other H-MGs and their supply bid. Furthermore, the proposed structure can effectively encourage consumers to participate in the electricity market, and affect their use of the DSM program.
2) It has been shown that in addition to increasing the profit of each player, the energy exchange among H-MGs would have a significant impact on leveling the load and reducing consumers’ power consumption during the peak time.
3) Results show that the formation of a coalition among H-MGs in one grid will not only have a significant effect on programming and regulating the value of the power generated by the generation resources, but also affect the changes in the demand consumption and the behavior of consumers participating in the DR program with a cheaper MCP.
References
K. Moslehi and A. B. R. Kumar, “Autonomous resilient grids in an iot landscape vision for a nested transactive grid,” IEEE Transactions on Power Systems, vol. 34, no. 5, pp. 4089-4096, Sept. 2019. [百度学术]
A. Shamisa, B. Majidi, and J. C. Patra, “Sliding-window-based real-time model order reduction for stability prediction in smart grid,” IEEE Transactions on Power Systems, vol. 34, no. 1, pp. 326-337, Jan. 2019. [百度学术]
F. Li, J. Qin, and Y. Kang, “Multi-agent system based distributed pattern search algorithm for non-convex economic load dispatch in smart grid,” IEEE Transactions on Power Systems, vol. 34, no. 3, pp. 2093-2102, May 2019. [百度学术]
J. Valinejad, M. Marzband, Y. Xu et al., “Dynamic behavior of multi-carrier energy market in view of investment incentives,” Electrical Engineering, vol. 101, no. 3. pp. 1033-1051, Oct. 2019. [百度学术]
W. Kohn, Z. B. Zabinsky, and A. Nerode, “A micro-grid distributed intelligent control and management system,” IEEE Transactions on Smart Grid, vol. 6, no. 6, pp. 2964-2974, Nov. 2015. [百度学术]
Y. Liu, C. Yuen, N. U. Hassan et al., “Electricity cost minimization for a microgrid with distributed energy resource under different information availability,” IEEE Transactions on Industrial Electronics, vol. 62, no. 4, pp. 2571-2583, Apr. 2015. [百度学术]
C. Li, X. Yu, W. Yu et al., “Efficient computation for sparse load shifting in demand side management,” IEEE Transactions on Smart Grid, vol. 8, no. 1, pp. 250-261, Jan. 2017. [百度学术]
J. Zazo, S. Zazo, and S. V. Macua, “Robust worst-case analysis of demand-side management in smart grids,” IEEE Transactions on Smart Grid, vol. 8, no. 2, pp. 662-673, Mar. 2017. [百度学术]
J. Valinejad and L. Milic. (2020, Apr.). Community resilience optimization subject to power flow constraints in cyber-physical-social systems in power engineering. [Online]. Available: https://arxiv.org/abs/2004.00772 [百度学术]
J. Ma, J. Deng, L. Song et al., “Incentive mechanism for demand side management in smart grid using auction,” IEEE Transactions on Smart Grid, vol. 5, no. 3, pp. 1379-1388, May 2014. [百度学术]
J. Valinejad, Z. Oladi, T. Barforoshi et al., “Stochastic unit commitment in the presence of demand response program under uncertainties,” International Journal of Engineering, Transactions B: Applications, vol. 30, no. 8, pp. 1134-1143, Aug. 2017. [百度学术]
M. Ostadijafari, A. Dubey, and N. Yu, “Linearized price-responsive HVAC controller for optimal scheduling of smart building loads,” IEEE Transactions on Smart Grid, vol. 11, no. 4, pp. 3131-3145, Jul. 2020. [百度学术]
M. Ostadijafari, D. Anamika, L. Yang et al., “Smart building energy management using nonlinear economic model predictive control,” in Proceedings of 2019 IEEE PES General Meeting, Atlanta, USA, Aug. 2019, pp. 1-8. [百度学术]
M. Ostadijafari and D. Anamika. (2019, Jun.). Linear model-predictive controller (LMPC) for building’s heating ventilation and air conditioning (HVAC) system. [Online]. Available: https://arxiv.org/abs/1906.00352 [百度学术]
W. Pei, W. Deng, Z. Shen et al., “Operation of battery energy storage system using extensional information model based on IEC 61850 for micro-grids,” IET Generation, Transmission & Distribution, vol. 10, no. 4, pp. 849-861, Mar. 2016. [百度学术]
Y. Zhang, J. Zhou, Y. Zheng et al., “Control optimisation for pumped storage unit in micro-grid with wind power penetration using improved grey wolf optimiser,” IET Generation, Transmission & Distribution, vol. 11, no. 13, pp. 3246-3256, Oct. 2017. [百度学术]
A. Najafi, H. Falaghi, J. Contreras et al., “A stochastic bilevel model for the energy hub manager problem,” IEEE Transactions on Smart Grid, vol. 8, no. 5, pp. 2394-2404, Sept. 2016. [百度学术]
R. Li, W. Wei, S. Mei et al., “Participation of an energy hub in electricity and heat distribution markets: an MPEC approach,” IEEE Transactions on Smart Grid, vol. 10, no. 4, pp. 3641-3653, Jul. 2018. [百度学术]
L. Ni, W. Liu, F. Wen et al., “Optimal operation of electricity, natural gas and heat systems considering integrated demand responses and diversified storage devices,” Journal of Modern Power Systems and Clean Energy, vol. 6, no. 3, pp. 423-437, May 2018. [百度学术]
Y. Chen, W. Wei, F. Liu et al., “Analyzing and validating the economic efficiency of managing a cluster of energy hubs in multi-carrier energy systems,” Applied Energy, vol. 230, pp. 403-416, Nov. 2018. [百度学术]
V. Davatgaran, M. Saniei, and S. S. Mortazavi, “Optimal bidding strategy for an energy hub in energy market,” Energy, vol. 148, pp. 482-493, Apr. 2018. [百度学术]
X. Luo, Y. Liu, J. Liu et al., “Energy scheduling for a three-level integrated energy system based on energy hub models: a hierarchical Stackelberg game approach,” Sustainable Cities and Society, vol. 52, pp. 1-9, May 2020. [百度学术]
G. Liu, M. Starke, B. Xiao et al., “Robust optimisation-based microgrid scheduling with islanding constraints,” IET Generation, Transmission & Distribution, vol. 11, no. 7, pp. 1820-1828, May 2017. [百度学术]
C. Liu, X. Wang, X. Wu et al., “Economic scheduling model of microgrid considering the lifetime of batteries,” IET Generation, Transmission & Distribution, vol. 11, no. 3, pp. 759-767, Feb. 2017. [百度学术]
L. K. Panwar, S. R. Konda, A. Verma et al., “Operation window constrained strategic energy management of micro-grid with electric vehicle and distributed resources,” IET Generation, Transmission & Distribution, vol. 11, no. 3, pp. 615-626, Feb. 2017. [百度学术]
N. Kinhekar, N. P. Padhy, F. Li et al., “Utility oriented demand side management using smart AC and micro DC grid cooperative,” IEEE Transactions on Power Systems, vol. 31, no. 2, pp. 1151-1160, Mar. 2016. [百度学术]
J. Valinejad, M. Marzband, M. F. Akorede et al., “Long-term decision on wind investment with considering different load ranges of power plant for sustainable electricity energy market,” Sustainability, vol.10, no. 10, pp. 3811-3829, Oct. 2018. [百度学术]
A. K. Basu, A. Bhattacharya, S. Chowdhury et al., “Planned scheduling for economic power sharing in a CHP-based micro-grid,” IEEE Transactions on Power Systems, vol. 27, no. 1, pp. 30-38, Jan. 2012. [百度学术]
S. Lee, B. Kwon, and S. Lee, “Joint energy management system of electric supply and demand in houses and buildings,” IEEE Transactions on Power Systems, vol. 29, no. 6, pp. 2804-2812, Nov. 2014. [百度学术]
D. Jayaweera, “Security enhancement with nodal criticality-based integration of strategic micro grids,” IEEE Transactions on Power Systems, vol. 30, no. 1, pp. 337-345, Jan. 2015. [百度学术]
P. Wang, Z. Gao, and L. Bertling, “Operational adequacy studies of power systems with wind farms and energy storages,” IEEE Transactions on Power Systems, vol. 27, no. 4, pp. 2377-2384, Jul. 2012. [百度学术]
A. Giusti, M. Salani, G. A. D. Caro et al., “Restricted neighborhood communication improves de-centralized demand-side load management,” IEEE Transactions on Smart Grid, vol. 5, no. 1, pp. 92-101, Jan. 2014. [百度学术]
J. Ni and Q. Ai, “Economic power transaction using coalitional game strategy in micro-grids,” IET Generation, Transmission & Distribution, vol. 10, no. 1, pp.10-18, Jan. 2016. [百度学术]
H. A. Gabbar and A. M. Othman, “Performance optimisation for novelgreen plug-energy economizer in micro-grids based on recent heuristicalgorithm,” IET Generation, Transmission & Distribution, vol. 10, no. 3, pp. 678-687, Feb. 2016. [百度学术]
J. Valinejad, M. Marzband, M. Elsdon et al., “Dynamic carbon-constrained EPEC model for strategic generation investment incentives with the aim of reducing CO2 emissions,” Energies, vol. 12, no. 24. pp. 4813, Dec. 2019. [百度学术]
J. Valinejad and T. Barforoushi, “Generation expansion planning in electricity markets: a novel framework based on dynamic stochastic MPEC,” International Journal of Electrical Power & Energy Systems, vol. 70. pp. 108-117, Sept. 2015. [百度学术]
M. Marzband, N. Parhizi, and J. Adabi, “Optimal energy management for stand-alone microgrids based on multi-period imperialist competition algorithm considering uncertainties: experimental validation,” International Transactions on Electrical Energy Systems, vol. 30, no. 1, pp. 122-131, Mar. 2015. [百度学术]
Y. Xu and L. Mili, “Probabilistic power flow analysis based on the adaptive polynomial chaos-anova method,” in Proceedings of 2018 IEEE PES General Meeting, Portland, USA, Aug. 2018, pp. 1-10. [百度学术]
Y. Xu, C. Huang, X. Chen et al., “Response-surface-based bayesian inference for power system dynamic parameter estimation,” IEEE Transaction on Smart Grids, vol. 10, no. 6, pp. 5899-5909, Nov. 2019. [百度学术]
J. Valinejad, M. Marzband, M. F. Akorede et al., “Generation expansion planning in electricity market considering uncertainty in load demand and presence of strategic GENCOs,” Electric Power Systems Research, vol. 152, pp. 92-104, Nov. 2017. [百度学术]