1. Introduction
Microgrids act as a key bridge between distributed resources and the power grid, play a critical role in improving renewable energy integration, and are an important component in the construction of new power systems. At the same time, as the proportion of renewable energy continues to increase, the reliability and stability of the new type of power system is becoming more and more prominent, and there is a need to mobilize a variety of flexible resources to participate in the operation and control of the system. More and more community users are installing photovoltaic panels on the roof. Thus, community users are no longer the traditional single power consumers; they are gradually experiencing a “producer–consumer” role change. And with wind and other renewable energy being distributed, and massive and diversified access to the grid, the grid’s operation and scheduling has brought new challenges. Microgrids are an effective method for applying multi-type distributed power supply and a functional interface between distributed sources and the power grid, with broad development prospects and diversified application scenarios [
1,
2,
3].
In the initial research of microgrid operation optimization, it mainly focuses on the optimization of the single objective of economy or reliability in order to achieve the purpose of reducing the user’s electricity bill or improving the reliability of electricity consumption. For example, one study [
4] constructed a cooperative game model of a multi-microgrid system with the optimization objective of improving the economic efficiency of the multi-microgrid system and proposed a benefit-compromise algorithm to solve the operation optimization problem of the multi-microgrid system, while another study [
5] took into account the uncertainty of the photovoltaic (PV) generation output and adopted a deep reinforcement-learning algorithm with the objective of minimizing the operating cost of the microgrid, which in turn improves the economic performance of the microgrid system. Reference [
6] proposed a model-based predictive control algorithm for managing the energy storage system in islanded operation mode with the goal of ensuring the stability of microgrid operation. References [
7,
8] firstly adopted a clustering method to cut down the scenarios, taking into account the integrated demand response of multiple types of loads, so as to construct a master–slave game model and realize the different interests through the optimization of trading tariffs and the coupling of the decision-making roles of microgrid purchasing and selling plans. It is the main body of the win-win situation.
The abovementioned studies are based on the premise of a 100% user demand-response rate of deterministic scenarios; in the default, the user will follow the scheduling instructions for demand-response based on the study, but in the actual operation and control process of the grid, the user will be affected by many uncertainties, leading to the user’s actual response and scheduling results failing to achieve the desired outcomes due to various uncertainties. Aiming at the above problems, Reference [
9] takes the environmental awareness of users’ electricity consumption into consideration, evaluates the magnitude of the response volume by quantifying the psychological uncertainty of users’ consumption, and calculates to obtain the range of variation in users’ participation, which in turn improves the economics of microgrid scheduling. In another work from the literature [
10], an adaptable method for evaluating demand-response potential through deep subdomains is introduced, harnessing the resemblance of parameter attributes to forecast how demand response may perform. Incorporating robust optimization improves resilience against uncertainty risks and increases flexibility during system dispatch operations. Game theory has many applications in the power system, used to solve the operational optimization of the power system and decision-making problems in energy trading. Reference [
11] constructed a two-layer distributed optimization model, and the two-layer model constitutes a master–slave game problem. Reference [
12] established a master–slave game model for distribution networks and multiple micro-networks, with the distribution network as the leader and the micro-network as the follower.
In conclusion, the existing research has the following problems that need to be solved: (1) handling unilateral uncertainty, (2) rigid response assumption, (3) absence of game equilibrium. Building on the previously discussed multi-body interest game analysis, this study centers on the coordinated management of flexible loads within community microgrids, striving to meet the electricity demands of dispatching users. To this end, a robust optimal scheduling method for unified management of microgrid flexible loads by operators is proposed. The innovation points of this paper are as follows: (1) For the first time, the potential game theory is applied to the dispatching of community-level microgrids. (2) We develop a new paradigm of robust optimization driven by response expectations. (3) Empirical verification is conducted on the feasibility of the synergy between the dual goals of “economy and comfort”. With full consideration of the uncertainties in wind and photovoltaic power generation, stochastic models are developed to refine the uncertainty set in robust optimization, targeting various types of flexible loads based on user-response expectations. In addition, a multi-objective optimization function covering the operator’s and the microgrid’s flexible loads is established. The effectiveness of the proposed optimal scheduling method is verified through a case study. This approach not only enhances the stability of grid operations but also ensures a win-win outcome for both users and operators, while maintaining microgrid users’ satisfaction with their electricity consumption.
2. Community Microgrid Operators and Flexible Load Modeling
In this study, we focus on a community microgrid operator equipped with wind, photovoltaic, and storage units—which represent the predominant share of current development.
Figure 1 illustrates the overall system architecture. The operators act as intermediaries, connecting users of the community microgrid with the power grid. Among them, the aggregators have their own independent new energy power generation equipment and energy storage equipment. The community microgrid also has photovoltaic systems and energy storage systems. The operator achieves the purpose of making profits by cluster regulating the controllable loads in the community microgrid. By coordinating operations in this way, microgrid users benefit from more effective scheduling than they would achieve on their own. Managing building clusters becomes possible for an operator upon signing a load scheduling agreement; this involves accounting for the load curve, upper-level grid time-based pricing, and consumer satisfaction with their electricity use. Therefore, once the community microgrid users have an agreement with the operator, the operator can manage the dispatchable flexible loads of the building clusters at suitable times in accordance with the load curve, the higher-level grid’s time-of-use rates, and the users’ comfort in electricity usage. This approach ultimately enables the operator to gain economic benefits.
2.1. Community Microgrid Operator Modeling
2.1.1. Photovoltaic System Model
The power generated by the operator’s PV plant can be expressed as follows:
where
is the temperature coefficient of PV equipment;
and
are the actual operating temperature of the photovoltaic panels and the reference temperature, respectively;
is the maximum output power of the photovoltaic panels under the standard conditions; and
and
are the actual light intensity and the reference light intensity, respectively.
A common representation for photovoltaic cell operating and maintenance costs is the following formula:
where
is the O&M cost factor of the PV cell.
2.1.2. Wind Power System Model
The output power of the operator’s wind turbine can be expressed as follows:
where
is the power generated by the wind turbine;
is the wind utilization factor;
is the air density;
is the radius of the wind turbine;
are the actual wind speed, the cut-in wind speed, the rated wind speed, and the cut-out wind speed, respectively; and
is the maximum value of the power produced by the wind turbine.
The O&M cost of a wind turbine can be expressed as follows:
where
is the O&M cost factor for wind turbines.
2.1.3. Energy Storage System Modeling
The energy storage system’s state of charge can be represented as follows:
where
is the charging state of the energy storage system at time
;
and
are the charging and discharging power of the energy storage system at time
;
is the unit time of the calculation cycle;
is the charging and discharging efficiency of the energy storage system;
is the rated capacity of the energy storage battery;
and
are the ending and starting moments of a scheduling cycle; and
is the charging and discharging power of the energy storage system at time
.
The O&M cost of an energy storage system can be expressed as follows:
where
is the O&M cost factor per unit capacity of the energy storage system.
2.1.4. Transmission Power Between the Operator and the Distribution Grid
When the load in the community microgrid rises beyond a specific threshold, and the new energy generation by the operator, along with the stored energy, is insufficient to meet the demand, the operator procures power from the higher-level grid based on its time-of-use electricity pricing,
. The power transmission from the higher-level grid is constrained by the transmission capacity of the connecting line.
where
is the higher-level grid limit of power transfer for the contact line.
2.2. Community Microgrid User and Generalized Load Modeling
A community microgrid is typically marked by diverse power-consuming devices, a high load density, and relatively clustered electricity demands. Some intelligent devices must run continuously without interruption, making the reliability and quality of power supply crucial for ensuring the stable operation of networks. Based on the nature of the loads and how controllable they are, community microgrid loads can be classified into critical base loads, shiftable loads, power-adjustable loads, and dispersible loads.
2.2.1. Critical Base Load Modeling
Critical base loads are essential pieces of electrical equipment that function consistently over relatively fixed durations, including devices like pumps and lifts. Because these loads run without interruption, they are not involved in the operator’s power scheduling. We denote important base loads by .
2.2.2. Shiftable Load Modeling
Shiftable loads refer to loads whose overall duration of operation remains the same, but whose start and end times can be rearranged. Once initiated, these loads must run without interruption. Typically, they are scheduled to shift from high-price periods to off-peak times, thereby reducing energy costs. We can represent shiftable loads mathematically, as follows:
where
is the initial electricity consumption at moment
before the dispatch of the shiftable load;
is the unit time of the calculation cycle; and
is a 0–1 variable characterizing the operating state of the shiftable load at moment
.
2.2.3. Power-Adjustable Load Modeling
Examples such as inverter ACs and smart electric blankets fall under adjustable loads. These devices operate without fixed power levels, enabling targeted energy reduction in specific timeframes while maintaining normal operation. They can be mathematically represented as follows:
where
is the raw power of the adjustable load at the time
;
is the power regulation margin of the adjustable load;
is the 0–1 variable characterizing the operating state of the adjustable load at the time
; and
is the unit time of the calculation cycle.
2.2.4. Dispersible Load Modeling
Dispersible loads refer to devices such as Electric Vehicle (EV) charging stations, which can flexibly arrange their electricity consumption and operating schedules within a given dispatch cycle, while maintaining a constant total energy consumption. The typical scheduling strategy for this category of loads is to shift electricity demand from high-tariff periods to lower-tariff periods (often at night). Mathematically, the dispersible load can be represented as follows:
where
is the original power of the dispersible load at the time
;
is the regulation coefficient of the power used by the dispersible load;
is the 0–1 variable characterizing the operating state of the dispersible load at the time
; and
is the unit time of the calculation cycle.
To ensure that the total electricity consumption of dispersible loads remains constant while enabling operational flexibility, the following constraints must be satisfied, derived from key principles in load management and grid optimization:
where
is the total electricity consumption of the dispersible load.
2.2.5. Community Microgrid Energy Storage Modeling
New building energy storage systems’ state of charge is formulated as follows:
where
is the charging state of the energy storage system at the time
;
and
are the energy storage system’s charging and discharging power at the time
;
is the charging and discharging efficiency of the energy storage system;
is the rated capacity of the energy storage battery; and
is the charging and discharging amount of the energy storage in the building at the time
.
The O&M cost of the new building energy storage system can be expressed as follows:
Therefore, the total load before customer-side dispatch of the community microgrid,
, can be expressed as follows:
where
is the power generated by the photovoltaic equipment of the new building at moment
.
The total load after generalized user-side dispatch of the community microgrid can be expressed as follows:
2.2.6. Electricity Comfort Modeling
The overall satisfaction of microgrid users with their power supply is closely linked to the operator’s dispatch efficiency and profitability. If an operator focuses solely on its own interests, leading to frequent user power cuts due to cluster-level adjustments, this will erode its credibility, slow down responsiveness, and may ultimately result in the loss of scheduling capability and subsequent financial losses. Consequently, while striving for profitability, operators must regard user satisfaction with electricity consumption as an equally vital factor. The satisfaction model for electricity consumption incorporates both comfort and economic dimensions, capturing the daily power usage psychology of microgrid users.
- (1)
Electricity comfort level
The electricity comfort indicator,
, is employed to gauge the user’s comfort level throughout the electricity consumption process. It is assumed that when users follow their habitual consumption patterns without participating in demand response, their comfort level is maximized. By measuring the ratio of post-dispatch actual consumption deviation from scheduled usage, this indicator captures the extent to which user habits are modified. Mathematically, it can be expressed as follows:
- (2)
Electricity economy consumption level
The electricity-use economics metric,
, captures how much users save on electricity costs by taking part in the operator’s scheduling, measured as a fraction of their original (pre-scheduling) expenses. This metric thus reflects the economic benefits gained by users:
Therefore, the customer’s satisfaction with electricity consumption,
, can be expressed as follows [
13]:
where
is the weight value of customer satisfaction with electricity at moment
.
3. Modeling Generalized Load-Response Expectation Uncertainty
During demand response, there is often a deviation between the operator’s expected dispatch of flexible loads and the actual dispatch volume. This deviation primarily occurs because some flexible loads do not respond as planned or respond with delays. Consequently, the actual dispatch load is smaller than the planned load. This shortfall adversely affects the dispatch effectiveness and reduces the operator’s operational revenue. Therefore, this section will construct the response quantity expectation uncertainty model of three types of flexible loads, namely shiftable loads, power-adjustable loads, and dispersible loads, which are subject to power dispatch, and use it to improve the uncertainty set in the robust optimization algorithm.
3.1. Response Volume Expectations for Shiftable Loads
The uncertainty in the expectation of the shiftable load-response volume consists of many factors, as follows.
- (1)
Dispatch volume of shiftable loads:
The amount of dispatch of shiftable loads greatly affects the scheduling results, and the larger the number of flexible loads expected to be dispatched, the greater the likelihood that microgrid users may be affected by electricity consumption, and the smaller the expectation of the shiftable loads’ response quantity will be. The dispatch quantity,
, of the shiftable load can be expressed as follows:
- (2)
Dispatch length of the shiftable loads:
The scheduling length of the shiftable load reflects the response psychology of the dispatched flexible load to some extent if the longer the time of a single dispatch of the shiftable load means that the greater the time cost of the shiftable load, the smaller the response volume expectation of the shiftable load. The scheduling time,
, of the shiftable load can be expressed as follows:
where
and
are the start time and end time of electricity consumption of the shiftable load, respectively.
The above indicators and their weights are used in binary logistic regression [
14] to construct the response expectation uncertainty function as follows:
3.2. Response Volume Expectations for Power-Adjustable Loads
Most of the power-adjustable loads are air conditioners, heating equipment, etc., and when the set temperature is reached near the time of reducing its power, the user’s body temperature will not change too much in a short period of time, so when the microgrid operator is scheduling the power-adjustable loads, the user’s power consumption habits are almost unchanged, therefore, the expectation of the response quantity of the power-adjustable loads basically presents a normal distribution according to the scheduling cycle, and the expectation of the response quantity of the power-adjustable loads can be expressed in the uncertainty model as a function of the power-adjustable loads [
15]. The uncertainty model can be expressed as follows:
where
and
are the mean and standard deviation of the power-adjustable load-response capacity, respectively.
3.3. Response Volume Expectations for Dispersible Loads
The uncertainty of the expected dispersible load-response quantity includes the following two factors:
- (1)
The endowment effect of dispersible load users
The endowment effect was proposed by behavioral economist Thaler. In economics, it refers to the fact that after an individual possesses a certain item, their expectations and evaluation of it will increase significantly compared to when they did not own it. The endowment effect reflects an individual’s perceptual bias in judging the value of items. Individuals tend to regard the items they already possess as endowments and pay more attention to the value of the items they already have compared to those they have not obtained. The endowment effect also influences the consumption psychology of electricity users. When aggregators conduct power dispatching for users, users will regard the right to use electricity they possess as an endowment. At this time, users will enhance their value evaluation of the right to use electricity. Therefore, the dispatching results will be affected by the endowment effect. Denote the endowment effect factor as , and the value range is [0,1].
- (2)
The total operating duration of the dispersible load
Since the dispersible load can reasonably allocate the power consumption, as well as the time of power consumption, while keeping the total power consumption unchanged in a dispatch cycle, if the microgrid operator sets the dispatch time of the dispersible load for a longer period of time, the greater the impact on the microgrid users, and the lower the expectation of the response amount of the dispersible load is. The total operation time,
, of the dispersible load can be expressed as follows:
where
is the total original power consumption time of the dispersible load; and
,
, and
are the operation time, dispatch start time, and dispatch end time of the dispersible load, respectively.
The uncertainty model for the expectation of the response quantity of the dispersible load can be expressed as follows:
6. Conclusions
This paper proposes a robust optimization strategy for community microgrids, considering multiple uncertainties and focusing on the cluster regulation of various types of load users by community microgrid operators. A model function is established based on the operation cost of community microgrid operators and the comfort level of load users’ electricity consumption. This model maximizes the comprehensive satisfaction of microgrid users’ electricity consumption while the operators are pursuing the operation revenue. The following conclusions can be obtained by analyzing the following arithmetic examples:
- (1)
Through the cluster control of microgrid operators, the load curve of microgrid users can be improved under the synergy of new energy output, the energy storage system, and the guarantee of higher-level grid, cutting the issue of wind and solar energy curtailment due to incomplete utilization of new energy output, while significantly lowering the operational costs for operators;
- (2)
Implementing the robust optimization model, after constructing an uncertainty model for the response expectation of the three types of dispatchable loads, minimizes the risk of ad hoc dispatch, enhances the resilience of microgrid system operations, and strengthens the operator’s ability to handle uncertainty during the dispatch process;
- (3)
The participation of generalized users in operator dispatch and the appropriate adjustment of flexible loads according to time-sharing tariffs can reduce the user’s electricity bill and improve the user’s economy without affecting the user’s comfort, which in turn improves the user’s comprehensive satisfaction.
Under the conditions that the proportion of wind and solar installed capacity is 20–60% and the flexible load-response rate is >70%, this framework can reduce operating costs by 39.1% while maintaining a user satisfaction rate of 98%. It provides a new paradigm for the coordinated optimization of economy and comfort for community microgrids in subtropical climate zones. However, its application scope is still somewhat limited. Future research directions should focus on studying the energy mutual assistance mechanism of community groups, addressing the boundary conditions of cross-community transmission capacity constraints and multi-operator benefit distribution games, so as to adapt to more application scenarios.