Next Article in Journal
A Combined Computational Fluid Dynamics and Thermal–Hydraulic Modeling Approach for Improving the Thermal Performance of Corrugated Tank Transformers: A Comparative Study
Next Article in Special Issue
Capacity Demand Analysis of Rural Biogas Power Generation System with Independent Operation Considering Source-Load Uncertainty
Previous Article in Journal
Aerodynamic Analysis of Variable Camber-Morphing Airfoils with Substantial Camber Deflections
Previous Article in Special Issue
Static-Voltage-Stability Analysis of Renewable Energy-Integrated Distribution Power System Based on Impedance Model Index
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Bi-Level Optimal Scheduling Strategy for Microgrids for Temperature-Controlled Capacity and Time-Shifted Capacity, Considering Customer Satisfaction

School of Electrical Engineering, Northeast Electric Power University, Jilin 132012, China
*
Author to whom correspondence should be addressed.
Energies 2024, 17(8), 1803; https://doi.org/10.3390/en17081803
Submission received: 14 March 2024 / Revised: 1 April 2024 / Accepted: 7 April 2024 / Published: 9 April 2024

Abstract

:
Since microgrids can effectively integrate renewable energy, energy storage devices, and controllable loads, this advantage promotes the rapid development and application of microgrid technology. However, with the high proportion of renewable energy access, only considering how energy is optimally distributed in microgrids can no longer meet the actual demand. How to aggregate user-side controllable loads to form regulation resources has become a research hotspot, and the users, as a passive party in the load scheduling process, should also be an important consideration in their perception of the use of electricity. First, a control model for temperature-controlled loads and a time-shift model for time-shiftable loads are developed. Then, the comprehensive electricity satisfaction model of users is established, and the two-layer optimal scheduling model of microgrids considering users’ satisfaction is proposed, with users as the upper layer and microgrids as the lower layer, and the two-layer model is transformed into a single-layer model according to the KKT condition for solving. Finally, the effect of the weighting factor for satisfaction on the economy is discussed through the analysis of examples, which verifies the effectiveness of the two-layer model.

1. Introduction

Microgrids are an important part of smart grid development, which have received more and more attention due to their environmental friendliness and flexible operation modes. Many scholars have studied the energy distribution of microgrids; reference [1] proposes a two-tier robust capacity planning model for PV-Wind-Storage-Diesel, considering wind uncertainty and standby demand scenarios. Reference [2] proposes an optimization method for hybrid energy storage capacity allocation based on the role of energy storage devices in peak shaving and smoothing distributed generation. References [3,4,5,6] establish a model for the optimal allocation of the microgrid power supply from the perspective of reducing investment costs and improving power supply revenue. The above studies mainly focus on how energy can be optimally allocated to make the microgrid have the highest total benefits, but none of them consider the impact of load-side resources on the optimal economic operation of microgrids.
With the continuous development of information technology, the intelligence level of load control has also gradually improved. More refined operational information on loads can now be obtained through advanced computer technology [7]. In fact, there are a large number of dispatchable resources in the power system. Currently, there is more research on dispatchable loads. Reference [8] utilized the flexible dispatch characteristics of electric heating to consume the new energy output prediction deviation. Reference [9] established a temperature-controlled load aggregation model and evaluated the temperature-controlled load cluster responsiveness and distribution characteristics. Reference [10] established peak shaving and valley filling as the goal of the electric heat pump aggregation control model. Reference [11] utilized the electric heating cluster control strategy to achieve the goal of reducing coal consumption and consuming renewable energy. Although the above study realizes the aggregation of temperature-controlled loads, it does not consider the different response ability of temperature-controlled loads of users with different economic conditions and housing structures. Meanwhile, there are a large number of time-shiftable loads on the load side that are friendly and cooperative with the grid, in addition to temperature-controlled loads. Reference [12] proposes an energy optimization method that includes distributed power sources, energy storage, and time-shiftable loads. Reference [13] proposes a portfolio model that combines flexible loads, distributed power sources, and demand response to improve system returns. Reference [14] developed a power capacity optimization model, taking into account controllable loads. While the above study has investigated the characteristics of temperature-controlled and time-shiftable loads to meet the challenges of participating in renewable energy consumption, the process occurs due to the shifting of the load profile, which in turn affects the electricity consumption habits of the consumers. The above study did not consider the satisfaction bias caused by changing the electricity usage habits of the users. Therefore, there is a need to consider the customer’s satisfaction with electricity usage as a factor. The integrated consideration of microgrid benefits and user satisfaction reflects the emphasis on the dual needs of economic efficiency and user experience in the power system.
To synthesize the above problems, this paper first forms a direct load control (DLC) scheduling model with load aggregators (LA) for distributed single electric heating in different buildings. The thermal parameters of different types of dwellings are clustered, the user population is divided, and the corresponding comfort boundaries are individually designed for different populations. Then, the total temperature-controlled capacity of the electric heating is calculated by the alternate control strategy. Considering the case of electric heating, three kinds of commonly used time-shifted loads for residents are added and their electricity consumption characteristics are analyzed to establish a time-shifted capacity model. Deviation of the dispatched load profile from the original load profile is used as a measure of satisfaction. Finally, a bi-level optimization model for a microgrid with comprehensive satisfaction as the upper model and microgrid benefit function as the lower model is established; the impacts of temperature-controlled capacity and time-shifted capacity on new energy consumption, as well as the economics of scheduling results in different scenarios, are discussed through the analysis of arithmetic examples.
The innovations of this paper include (1) a temperature-controlled capacity model based on alternating control, as well as a time-shifted capacity model based on time margins; (2) a satisfaction model for each of the two types of residential dispatchable load users, resulting in a greater focus on the user experience while ensuring economic efficiency; and (3) a two-layer optimization model based on the KKT condition, with satisfaction as the upper layer and microgrid benefits as the lower layer.
The temperature-controlled capacity model and time-shifted capacity model are presented in Section 2, respectively; the microgrid system including distributed power sources, energy storage devices, and loads is introduced in Section 3; a two-tier optimal scheduling model for microgrids is presented in Section 4; simulation analyses are performed in Section 5 to quantify the economics of the microgrid system; and finally, this paper is summarized.

2. Temperature-Controlled Capacity and Time-Shifted Capacity Modeling

2.1. Temperature-Controlled Load ETP Model

The ETP model for direct heating was built to reflect the relationship between the temperature in the room and the wall, air, outdoor temperature, and other factors. The temperature-controlled load model studied in this paper is shown in Figure 1. In northern Chinese cities, especially in winter, temperature-controlled loads have a huge adjustable capacity due to their flexible scheduling and fast response. The scheduling and control of temperature-controlled loads benefit from the hardware advantages of the smart grid. Advanced Metering Infrastructure (AMI), with the full-speed development of communication information technology, has gradually become an indispensable and important part of the electric power field, which has a complete set of measurements. Collecting and analyzing the data processing system [15,16,17], the LA can obtain the start-and-stop status of the temperature-controlled loads and room temperatures as well as controlling the temperature-controlled loads of the users through the intelligent technology.
For temperature-controlled loads, the temperature in the room is related to the heat-producing power, heat-dissipating power, and heat-storage characteristics of the house, and the heat-producing power and the heat-dissipating power of the room of the temperature-controlled loads are represented by the following models:
Q D , t = η d p
Q S , t = i = 1 n K F T in , t T out , t
where ηd and p denote temperature-controlled load efficiency and power; n is the number of enclosure structures; K is the heat dissipation coefficient of the enclosure structures; F is the heat dissipation area of the structure; Tin,t and Tout,t are the temperatures inside the room and outside the room, at the time t.
For ease of presentation, the room equivalent thermal resistance R is introduced, and Equation (2) can be simplified to the following equation:
Q S , t = T in , t T out , t / R
According to the laws of thermodynamics, the heat-storage capacity QC,t of the room at time t can be expressed by Equation (4).
Q C , t = 1 L c m B
where c is the value of the specific heat capacity of each type of material substance in the dwelling; m is the mass of each type of material substance in the dwelling; L is the number of categories of heat storage; B is the rate of change of temperature with the value of ΔTt.
Since the occupants are more concerned about the indoor temperature change than the complexity of the thermal process of the building, the equivalent thermal parameter (heat capacity) is further introduced here to characterize the thermal storage properties of the indoor gases and solid materials, and the corresponding equations of the thermal parameter are shown in Equation (5).
Q C , t = C B
where C is the equivalent heat capacity of the room; B* is the differential rate of change of temperature in the room with a value of dT/dt.
According to the law of conservation of energy, the amount of heat produced by the temperature-controlled load should be equal to the sum of the heat dissipated and stored in the indoor room, and the dynamic thermodynamic model of each room is finally obtained as shown in Equation (6):
C d T d t = η d p T in , t T out , t R
To simplify the above model for ease of calculation, assuming that the air and wall temperatures in the room are the same during the same time period, the temperature in the room when the temperature-controlled load stops supplying heat and when it starts supplying heat is represented by the following model:
T in , t + 1 = T out , t + 1 ( T out , t + 1 T in , t ) e Δ t / R C
T in , t + 1 = T out , t + 1 + η d p R T out , t + 1 + η d p R T in , t e Δ t / R C
Figure 2 shows the process of the dynamic change of temperature with temperature-controlled load start and stop. Without control, the temperature-controlled load starts and stops periodically within a certain temperature range. After the temperature-controlled load is turned on, it converts electrical energy into thermal energy, and the room temperature increases; conversely, the room temperature decreases, and when the room temperature drops to the lower temperature boundary, the temperature-controlled load starts again and begins the warming process, and so on and so forth. Considering that the human body’s comfort temperature is a zone, therefore, the room temperature can be maintained in the human body’s comfort temperature band. LA can control the temperature control load start and stop through direct control to make the room temperature stay within a certain limit.
Different occupants have variability in the perception of the ambient temperature; for the purpose of fitting the actual situation considerations, for a temperature interval that varies within a small range, the comfort of the occupants will not change significantly, so the occupants’ demand for indoor temperature has a certain limit. Based on this demand characteristic, the room temperature can be varied within this interval. This paper measures the subjective satisfaction of human body with hot and cold environments by the Predicted Mean Vote (PMV) of thermal sensation, so as to calculate the optimal thermal comfort of the occupants. The PMV is a comprehensive index that includes the parameters of indoor temperature, humidity, human body’s heat in clothing, and the activity state [18]. The PMV is mainly divided into seven categories to reflect the thermal sensation of the occupants. When the PMV value is 0, then the human body is most satisfied with the feeling of the ambient temperature [19,20,21].
PMV = ( 0 . 303 e 0.036 M + 0.028 ) { M σ 3.05 × 10 3 [ 5733 6.99 ( M σ ) P a ] 0.42 [ ( M σ ) 58.15 ] 1.7 × 10 5 M ( 5867 P a ) 0.0014 M ( 34 T in ) 3.96 × 10 8 f clo [ ( T clo + 273 ) 4 ( T r + 273 ) 4 ] f clo h c ( T clo T in ) }
where M represents the energy metabolism rate of the human organism; σ is the activity rate of the human organism; Pa is the partial pressure of water vapor in the air; Tin is the room temperature (air temperature); fclo is the heat of the human body in clothing; Tclo is the surface temperature of clothing; Tr is the average radiant temperature; hc is the thermal conductivity. Based on existing studies, the formula for PMV can be simplified as follows [22]:
PMV = a T in + b P v c
where Tin represents room temperature; Pv is the relative humidity of the room; a, b, and c represent already modeled parameters, respectively, related to the user’s own characteristics.
Due to the differences in age, health, and economic level of users, the switching status of temperature control equipment is affected by the comfort temperature range of different users. In this study, users were categorized into two groups based on their age: the young and the elderly. The two groups were then categorized into general and high-income groups based on their economic level. By means of a questionnaire survey of the occupants, statistical data such as the thermal resistance (TR) of the users’ clothing and activity intensity were collected, and finally the optimal comfort levels for different groups of people were calculated, as shown in Table 1. The detailed temperature design scheme is shown in Appendix A.
People with different incomes are affected by time-sharing tariffs and have different temperature requirements. For the economically well-off people, influenced by their work and social environment, they are generally active outdoors in the evening, while the working class, influenced by the nature of their work, live a regular life and are generally at home from 7 p.m. to 7 a.m.; for the elderly, they choose to go out during the daytime when the temperature is high outdoors, while they generally choose to stay indoors in the evening due to the cold outdoor temperature in the winter.
Utilizing the temperature-regulated load ETP model and the comfort temperature range, the temperature-controlled load on time τ on t , off time τ off t , and total control time τ c t can be derived:
τ on t = Z ln T out , t + η p R T max , t T out , t + η p R T min , t
τ off t = Z ln T out , t T max , t T out , t T min , t
τ c t = τ off t + τ on t
where Z = RC; ε = e−1/RC; Tout,t is the outdoor temperature at time t; the maximum and minimum bounds of temperature comfort are Tmax, Tmin; η, p, R and C are the efficiency of electric heating, the power of electric heating, the thermal resistance of the room, and the thermal capacity of the room.

2.2. Temperature-Controlled Capacity

In this paper, the differences between the buildings were considered to make the temperature-controlled capacity prediction as close as possible to the actual results. Based on the classification of residential structures, the buildings were divided into three categories: superior buildings (SB), medium buildings (MB), and ordinary buildings (OB). Different buildings have different housing areas, so they have different thermal parameters and temperature-controlled load installed power.
The following is an example of a medium building to illustrate the rotational control process of temperature-controlled loads, and the control process of other types of buildings is similar and will not be repeated. The LA of the medium building counts the total number of temperature-controlled loads and aggregates them together to form a temperature-controlled loads group. The contract between the LA and the occupants stipulates that the temperature in the room will be controlled within the range of [Tmin, Tmax], and when the indoor temperature exceeds Tmax, the LA controls the temperature-controlled loads to shut down; when the indoor temperature falls below Tmin, the LA controls the temperature-controlled loads to start up. Assuming that the control time step of the temperature-controlled load is 10 min, the start-up time is 6 min, and the shutdown time is 4 min, we can obtain the state distribution table of the temperature-controlled load in one control cycle, as shown in Table 2 (1 is on, 0 is off).
At any time, the proportion of temperature-controlled loads that are in the unopened state is τoff/τc, so at moment t, the temperature-controlled capacity available to LA is shown in Equation (14) as follows:
P LA , t = i = 1 3 τ off t τ c t n p
where n represents the count of temperature-controlled loads; p denotes the temperature-controlled load power.

2.3. Time-Shiftable Capacity

The proportion of each type of load on a given day in a Chinese city is shown in Figure 3. It is not difficult to find that residential loads account for 30% of the peak loads, and 2/3 of this portion belongs to the time-shiftable loads that can be grid-friendly. Time-shiftable residential loads exist in the existing power system on a large scale and account for a large proportion of the load. Based on the consideration of temperature-controlled capacity, the transfer of this part of time-shiftable capacity can make the excess new energy, such as abandoned wind and light, fully consumed, simultaneously enhancing the operational economy of the system, which is a high-quality regulating resource in the optimal scheduling of microgrids.
In one city, for example, 80.4% of users are willing to change their electricity consumption habits during peak periods. In China, the residents have controllable loads of electricity equipment as shown in Figure 4, of which the loads with the largest share are water heaters, air conditioner, and dishwashers [23]. However, this study takes a northern Chinese city as an example, so the air conditioning load is not considered.
In this paper, water heaters, dishwashers and washing machines are selected as the time-shiftable loads and the power usage patterns of the three types of loads are shown in Table 3, which can be used in accordance with the operating demand of the power system by adjusting the opening time of the loads to transfer their own power hours. The total amount of this type of load remains unchanged for the entire operating cycle before and after the occurrence of the transfer, and so the power consumption period will not affect the user’s power consumption demand.
The intended purpose of load shifting is to turn on most of the loads in the low-tariff case and fewer loads in the high-tariff case during the optimization cycle. The time-shifted capacity can be described using the following model:
P tr , t = P pre , t + P in , t P out , t
where Ptr,t is the time-shifted capacity of time t after load transfer; Ppre,t represents the power consumption at time t predicted before load transfer; Pin,t and Pout,t denote the load power that can be transferred into time t from other time and the load power that can be transferred out of time t to other time. Pin,t and Pout,t can be articulated by the following equation:
P in , t = t = 1 t t T k = 1 K 1 x k , t , t p 1 , k + h = 1 H t = 1 t t h T k = 1 K 2 x k , t , ( t h ) p ( h + 1 ) , k
P out , t   = t = 1 t t T k = 1 K 1 x k , t , t p 1 , k + h = 1 H t = 1 t t h T k = 1 K 2 x k , ( t h ) , t p ( h + 1 ) , k
where K1 represents the number of categories of time-shiftable loads; K2 represents the number of categories of time-shiftable loads for which the power usage period is greater than one scheduling cycle; H is the maximum runnable time for time-shiftable loads; T is the total system optimization time; xk,t′,t denotes the number of time-shiftable loads of category k; p1,k denotes the power demand of time-shiftable loads of category k in the first run-time period; p1+h,k denotes the power demand of time-shiftable loads of category k in the h + 1 run-time period.
The aim of this paper is to allow the utilization of all types of energy in the microgrid by changing the time-shifted loads’ power consumption periods while the total amount of all categories of loads remains constant. The load profile after load shifting occurs fits the target load profile as closely as possible. The preceding issue can be depicted by the subsequent model:
min t = 1 T P tr , t P obj , t 2

3. A Bi-Level Scheduling Model for Microgrids with Satisfaction Consideration

3.1. Overall Composition of the Microgrid

The detailed configuration of the microgrid investigated in this paper is illustrated in Figure 5, where the arrows indicate the direction of power flow.
This paper uses a microgrid system that includes generating units such as wind turbines (WTs), photovoltaic cells (PVs), diesel generators (DEs), and fuel cells (FCs), as well as temperature-controlled loads, time-shiftable loads, and energy storage devices (ESs).

3.2. Objective Function

3.2.1. Upper-Level Optimization Model

The consumption of renewable energy leads to changes in the way users use electricity, which in turn affects the users’ electricity consumption. Therefore, this paper selects a microgrid cycle’s (24 h) temperature-controlled loads and time-shiftable loads of integrated satisfaction as a measure of the residents’ preference for electricity, and as an indicator of higher satisfaction, indicating that households pay more attention to their own habits of electricity consumption and higher consumption capacity. The objective function can be expressed as the following equation:
max f 1 = ω 1 ζ + ω 2 s
where ζ is the temperature-controlled load electricity consumption satisfaction; s is the time-shiftable load electricity satisfaction; ω1 and ω2 are the weight indices of electricity bill satisfaction and electricity satisfaction, respectively, and ω1 + ω2 = 1, which reflects the residents’ tendency to the load type [24].
Satisfaction with the cost of electricity is the size of the difference between the customer’s current cost of electricity and the original cost of electricity. The larger the difference, the lower the satisfaction; the smaller the difference, the greater the satisfaction. The formula for calculating the satisfaction of temperature-controlled load electricity consumption is outlined below:
ζ = 1 D D 0 D 0
where D0 denotes the expenditure cost of electric heating when peak and valley tariffs are not implemented; D denotes the expenditure cost of electric heating when peak and valley tariffs are implemented. The expressions for D0 and D are outlined below:
D = T p v p P t d t + T s v s P t d t + T v v v P t d t D 0 = T v 0 P i 0
Satisfaction with electricity use is the deviation value of the user’s existing electricity use habit from the original electricity use habit. The larger the deviation value, the lower the satisfaction with electricity consumption; the smaller the deviation value, the higher the satisfaction with electricity consumption. The time-shiftable load electricity satisfaction formula is outlined below:
s = 1   T P tr , t P pre , t d t T P tr , t d t
where the value of s is in the range of [0, 1], and the value of s is 1 when the satisfaction of electricity consumption is the maximum, which reflects the change in the time-shiftable load consumption curve as well as the increase or decrease in electricity consumption.

3.2.2. Lower-Level Optimization Model

In this paper, economic scheduling of microgrids is achieved by using the flexible resources on the load side, with the objective function of maximizing the gain from the operation of the entire microgrid.
max f 2 = t = 1 T R all , t C all , t
where T is the total optimization period; Call,t denotes the total cost of the operation of the whole microgrid system; Rall,t denotes the total benefit of the operation of the whole microgrid system.

3.2.3. Total Social Benefit Functions

User satisfaction is of increasing importance in power systems, especially for temperature-controlled loads and time-shiftable loads, where factors such as users’ usage habits, comfort requirements, and cost affordability have a direct impact on their satisfaction. If the scheduling strategy of temperature-controlled loads and time-shiftable loads can fully take into account the preferences and needs of users, it can not only enhance user satisfaction and participation, but also help microgrids to better balance supply and demand through demand-side management and improve the overall operational efficiency of the system.
Microgrid benefits mainly emphasize the efficient use of energy and the economy of system operation, covering cost minimization (power generation, operation, maintenance costs, etc.), energy consumption optimization (improving energy use efficiency), and environmental impact minimization (reducing carbon emissions). In microgrids, how to maximize cost-effectiveness while ensuring a stable and reliable power supply is a key issue in design and scheduling.
In the microgrid scheduling model, two weight coefficients are introduced to reflect the prioritization of microgrid benefits and user satisfaction. Focus on the benefits of the microgrid means scheduling more users of the controllable load, which creates greater differences between the current and original power habits of the user, which leads to a reduction in user satisfaction; focus on the user’s experience of electricity means that the user’s experience of electricity is at the core; as far as possible, the user’s original habits with electricity should not change, which will make the wind power and photovoltaic power generation eliminate the decrease, resulting in a reduction in the benefits of the microgrid. It not only considers the goal of realizing the efficient operation of microgrids from technical and economic perspectives, but also gives full consideration to user needs and experiences. The total social benefit function is shown in the following equation:
R to = β f 1 + γ f 2
where β and γ denote the weighting coefficients of satisfaction and microgrid profit, respectively; β + γ = 1, when β > γ, which means that at that time, more attention is paid to the user’s experience of electricity consumption; while when β < γ, it means that at that time, more attention is paid to the microgrid’s profitability.

3.3. Constraints

3.3.1. Power Equilibrium Constraint

Equation (23) denotes that power generation and consumption are balanced at all times within the microgrid.
i = 1 N P i , t + P ES , t + P grid , t   = P LA , t + P tr , t P PV , t P WT , t
where PWT,t, PPV,t, PLA,t, and Ptr,t are the power of WT, PV, temperature-controlled capacity, and time-shifted capacity at time t, respectively.

3.3.2. Upper and Lower Temperature Constraints

Room temperature is maintained in a range when the temperature-controlled load is switched on:
T min T t T max

3.3.3. Transfer Time and Volume Constraints

The following constraints are placed on the time-shiftable loads, ensuring the stable and reliable operation of the system as well as the unchanged total load before and after the shift:
t < s k , t , x k , t , t = 0 t > s k , t + d k , t , x k , t , t = 0
where sk,t is the earliest time at which the shift occurs; dk,t is the shift time margin for a time-shiftable load of category k.
t , t , k x k , t , t 0 x k , t = t = 1 T x k , t , t
where xk,t represents the count of time-shiftable loads of category k in time-of-use time period t before load shifting.

3.3.4. Renewable Energy Output Constraints

The renewable energy output constraints include mainly wind power output and photovoltaic output constraints:
P WT , min P WT , t P WT , max P PV , min P PV , t P PV , max
where PWT,max, PWT,min, PPV,max, and PPV,min are the upper and lower bounds of WT and PV output power, respectively.

3.3.5. Micro-Power Output Constraints

The constraints mainly include diesel engine output constraints and micro gas turbine output constraints:
P i , min P i , t P i , max
where Pi,min and Pi,max are the maximum and minimum values of DE and FC output power, respectively.

3.3.6. Storage Battery Operating Constraints

The operating constraints of the SB encompass limitations on charging and discharging states as well as output power:
S SOC , min S SOC , t S SOC , max 0.2 E ES Δ t P ES , t 0.2 E ES Δ t
where SSOC,min and SSOC,min are the limits of the energy storage device’s state of charge, respectively; Δt is the scheduling time step; and EES is the energy storage device capacity.

3.4. Solving Methods

Solving bi-level optimization problems is generally achieved by using the Karush-Kuhn-Tucker (KKT) condition. The KKT condition is an important tool in the field of nonlinear programming for finding the necessary conditions for the optimal solution of an optimization problem. Both objective functions to be optimized in this paper are to obtain the maximum value, which is transformed into a minimum value problem by taking the negative sign in the solution process. For a two-layer model containing inequalities and equation constraints, the upper layer model is expressed as the following equation:
min f 1 ( x , p ) s . t .   G a ( x , p ) 0 ( a = 1 , 2 , , c ) H b ( x , p ) = 0 ( b = 1 , 2 , , d )
where Ga(x,p) and Hb(x,p) correspond to the inequality and equation constraints in the upper model, respectively.
The lower-level model is expressed as the following equation:
min f 2 ( p ) s . t .   g i ( p ) 0 ( i = 1 , 2 , , m ) h j ( p ) = 0 ( j = 1 , 2 , , n ) x X , p P
where gi(p) and hj(p) correspond to the inequality and equation constraints in the lower model, respectively.
Through the KKT condition, the lower-level objective function is transformed to the following equation:
d f 2 d p + λ i d g i d p + μ j d h j d p = 0 ( p ) 0 , λ i 0 , λ i g i ( p ) = 0 h j ( p ) = 0 , μ j 0 p P
Combining Equations (30) and (32) allows the original two-layer optimization problem to be transformed into a single-layer optimization problem, The optimal solution to the original problem can be obtained by simply solving the following equation:
min F ( x , p )   s . t .   G a ( x , p ) 0 , H b ( x , p ) = 0 d f 2 d p + λ i d g i d p + μ j d h j d p = 0 g i ( p ) 0 , λ i 0 , λ i g i ( p ) = 0 h j ( p ) = 0 , μ j 0 x X , p P

4. Simulation Analysis

4.1. Experimental Settings

In order to verify the validity of the proposed method, the wind, solar, and load data were obtained from the real data of typical winter days in the Xinjiang Uygur region. Taking three communities in the Xinjiang Uygur Autonomous Region as examples, the levels of the three communities are ordinary, medium, and high, respectively. One building in each community was selected as the experimental building, and the temperature of each room was tested by a thermometer for 24 h, while the remote-control system was used to control the opening and closing of the temperature control equipment. Combining the indoor temperature and outdoor temperature, the thermal parameters of the house were obtained by parameter fitting. The temperatures and thermal parameters of the three types of rooms are shown in Appendix A. A visit to the neighborhood revealed that the ratio of younger to older age groups was roughly 6:4.
In this study, an islanded microgrid was selected, consisting of wind turbines, photovoltaic panels, diesel engines, fuel cells, energy storage units, temperature-controlled loads, and time-shiftable loads. The capacity of the energy storage device in the system was 100kW-h and the fuel cell was a proton exchange membrane fuel cell [25]. The pollutants in the system were CO2, SO2, and NOX [26]. The parameter configurations are displayed in Appendix A. The interactive tariffs are based on time-of-day tariffs with a 24 h dispatch cycle and a 1 h unit dispatch time. In this study, MATLAB 2022b simulation software was employed to simulate one day’s PV and wind power generation, along with load data, as depicted in Figure 6 and Figure 7.
Simulations were carried out on MATLAB software using Yalmip 0.9.7 and the proposed distributed control problem was solved using the CPLEX solver 12.10.0 on a PC with a 11th Gen Intel(R) Core i7-11700 @ 2.50 GHz and 16 GB RAM. All the linearized models and constraints created were encoded in the required Yalmip 0.9.7 format in MATLAB software, after which Yalmip 0.9.7 was used to transform the encoded optimization problem into a computer program that could be recognized and solved by CPLEX solver 12.10.0.
The tariff periods in this paper are categorized as follows: peak hours are 11:00–14:00 and 18:00–21:00; flat hours are 07:00–11:00, 14:00–18:00, and 21:00–23:00; valley hours are 00:00–07:00 and 23:00–24:00. The time-of-day tariffs are presented in Table 4.
To validate the economic viability and efficacy of the proposed day-ahead scheduling model, this paper sets up four comparison scenarios:
(1)
No temperature-controlled capacity and no time-shifted capacity in the microgrid;
(2)
Time-shifted capacity but no temperature-controlled capacity in the microgrid;
(3)
Temperature-controlled capacity but no time-shifted capacity in the microgrid;
(4)
Temperature-controlled capacity and time-shifted capacity in the microgrid.

4.2. Effectiveness Analysis of the Proposed Method

The final results of these four scenarios are shown in Table 5, and it can be seen that the addition of TL and SL gradually improves the efficiency of the whole microgrid system and significantly increases the rate of new energy consumption.

4.3. Scheduling Results

4.3.1. Scenario 1 Scheduling Results

The scenarios set up in this paper are all in island mode, where the proportion of clean energy is large, and the degree of matching between load and power output determines the economic performance of the whole microgrid operation. As shown in Figure 8, because the temperature-controlled capacity and time-shifted capacity are not involved in the scheduling of the microgrid system, the peaks and valleys of the grid are obvious, the new energy abandonment of the whole system is serious, and the microgrid economy is inferior.

4.3.2. Scenario 2 Scheduling Results

As shown in Figure 9, after shifting the capacity to participate in the scheduling optimization, the system load value rises during the period of abundant PV generation, and the load curve is close to the new energy output curve. At the same time, the peak value of the load curve is shifted downward, but during the nighttime, it does not have any obvious advantage for wind power consumption. It can be seen that the addition of time-shifted capacity plays a partial role in shifting the peak value and promoting new energy consumption.

4.3.3. Scenario 3 Scheduling Results

As can be seen from Figure 10, after the temperature-controlled capacity is involved in the dispatch optimization, the match between the load profile and the new energy output is significantly improved in the nighttime period. The wind power output jumps from 77 kW to 137 kW between midnight and morning, and the wind power output is better than that in Scenario 2, while the photoelectricity consumed during the photovoltaic power period is obviously higher than that in Scenario 2, which promotes the new energy consumption during the whole scheduling cycle and reduces the abandoned power of wind and light.

4.3.4. Scenario 4 Scheduling Results

As can be seen from Figure 11, compared with Scenario 1, a high proportion of power generated from new energy is consistently consumed both at night and during the daytime, taking into account the temperature-controlled capacity and time-shifted capacity. Compared with Scenarios 2 and 3, the optimized source-side and load-side matching is higher. It can be seen that the microgrid in the islanded state, taking into account the temperature control capacity of electric heating and the time-shiftable load, makes the operation of the whole system more cost-effective and efficient, and at the same time has a higher proportion of new energy consumption. The results of the dispatch of electrical energy are shown in Figure 12.

4.4. Temperature-Controlled Capacity and Time-Shifted Capacity Analysis

4.4.1. Temperature-Controlled Capacity Analysis

The temperature-controlled capacity available for scheduling varies due to the characteristics of the large temperature difference in winter. As can be seen from Figure 13, during the peak daytime period (6 a.m.–3 p.m.), as the outdoor temperature gradually rises with the sunshine, and then the room temperature rises, the temperature-controlled capacity of each building increases, and reaches an extreme value at 3 p.m.; from 3 p.m. to 8 p.m., the outdoor temperature gradually decreases with sunset, and the temperature-controlled loads that are controlled and turned on gradually increase under the synergistic cooperation between the LA and the users, and the temperature-controlled capacity also decreases. Between 8 p.m. and midnight, the total temperature-controlled capacity decreases to a lower level because the occupants have an immediate need for thermal comfort as the night temperature plummets.

4.4.2. Time-Shifted Capacity Analysis

Since the microgrid operates in islanding mode, the proportion of power provided by new energy sources is high, so the sum of wind and PV outputs will be higher than the value of electricity load demand in some moments. By taking the power generated from wind power and PV as the target capacity curve, the time-shifted capacity result of the microgrid is shown in Figure 14, which shows that the time-shifted capacity during the period of scarcity of wind and solar power generation (time period 14–18 and 19–21) is shifted to the period of abundance of wind and solar power generation (time period 7–13), and the matching between the power source and the load is strengthened, and as a result, the amount of renewable energy consumed by the whole system can be improved.

4.5. Impact of Different Levels of Satisfaction

Because of the existence of the scheduling load, a trade-off needs to be made between microgrid benefits and total satisfaction, and the impact of the different weights of the two needs to be analyzed in the context of the optimal scheduling described above, using different weighting coefficients, as shown in Table 6. It can be seen that when households pursue comprehensive electricity satisfaction, the total social benefits are smaller when the consumption capacity of households is higher, and the importance of microgrid operating costs is lower; when priority is given to microgrid revenue, the total social benefits are larger when the user’s electricity habits are sacrificed, but this will also incentivize LA to guide the user to participate in the demand response, which will lead to the bursting out of more demand response potential.

5. Conclusions

In this paper, we propose a temperature-controlled capacity model and a time-shifted capacity model in terms of LA and study the optimal scheduling of microgrids, mainly from the three aspects of distributed power sources, customers’ comprehensive electricity satisfaction, and load-side resource regulation. The scheduling results of the arithmetic example show that:
(1)
Synthesizing the respective characteristics of the population, the decentralized temperature-controlled loads of different types of residences are aggregated to form a considerable scale of temperature-controlled capacity through the rotation control strategy, which makes the results more reasonable and realistic; the regulation potential of a large number of commonly used time-sharing loads on the user side is utilized through the time-sharing scheduling strategy, which creates time-sharing capacity to participate in the scheduling.
(2)
After clustering the two types of loads to form a significant demand response resource, the effectiveness of the model was tested by the measured data in the Xinjiang Uygur Autonomous Region. The results show that the model improves the overall economy of microgrid operation, reduces the peak-to-valley gap of the microgrid system, and greatly improves the new energy consumption rate and the total social benefits.
(3)
A comprehensive electricity satisfaction model is used to represent the consumption preferences of residents and also to analyze their impact on the economic efficiency of the microgrid. Favoring comprehensive satisfaction will result in the loss of social benefits, and on the contrary, favoring social benefits will sacrifice users’ electricity consumption habits. The method provides a reference for future microgrids to achieve a better balance between supply and demand, and at the same time can improve the operational efficiency of microgrids.
In the future, sensitivity analyses can be performed in multiple scenarios, such as changes in the supply of renewable energy, fluctuations in load demand, and time-varying characteristics of electricity prices, to assess the impacts of these factors on the microgrid’s operation strategy and economics. This analysis helps to identify the key influencing factors in microgrid operation and provides a basis for the robust design and operation of microgrids.

Author Contributions

Conceptualization, methodology, software, validation, formal analysis, investigation, Y.Y. and Z.Z.; resources, Y.Y.; data curation, Z.Z.; writing—original draft preparation, Z.Z.; writing—review and editing, Y.Y. and Z.Z.; supervision, Z.Z.; project administration, Y.Y.; funding acquisition, Y.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Science and Technology Planning Project of Xinjiang Uygur Autonomous Region (2022A01007-3).

Data Availability Statement

All data are referenced in the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Table A1. Temperature design program.
Table A1. Temperature design program.
TimeHigh-Income YouthGeneral-Income YouthHigh-Income
Elderly
General-Income Elderly
00:00–07:00[16, 25][14, 22][18, 26][16, 24]
07:00–12:00[14, 22][14, 19][15, 23][15, 22]
12:00–16:00[14, 22][14, 19][15, 24][14, 23]
16:00–19:00[14, 22][14, 19][15, 23][15, 22]
19:00–22:00[12, 23][14, 20][15, 24][15, 23]
22:00–24:00[16, 25][14, 22][18, 26][16, 24]
Figure A1. Outdoor temperature.
Figure A1. Outdoor temperature.
Energies 17 01803 g0a1
Figure A2. Measured temperature in three buildings.
Figure A2. Measured temperature in three buildings.
Energies 17 01803 g0a2
Table A2. Room thermal parameters.
Table A2. Room thermal parameters.
TypeThermal ResistanceThermal ResistanceTL Power/kW
Superior buildings[5.30, 5.51][0.10, 0.14]5
Medium buildings[5.81, 5.92][0.14, 0.18]6
Ordinary buildings[6.08, 6.23][0.17, 0.23]7.2
Table A3. Microgrid power parameters.
Table A3. Microgrid power parameters.
Power TypePower RangeQuantityO and M Cost
/(CNY∙kWh−1)
Penalty Cost
/(CNY∙kWh−1)
WT[0, 100]50.150.6
PV[0, 40]50.250.6
DE[5, 60]10.0880
FC[5, 40]10.02930
Table A4. Pollutant type and parameters.
Table A4. Pollutant type and parameters.
Power TypeCO2/(g∙kWh−1)SO2/(g∙kWh−1)NOX/(g∙kWh−1)
WT000
PV000
DE6490.2069.89
FC4890.0030.01
Table A5. Pollutant management costs.
Table A5. Pollutant management costs.
ParametersCO2/(g∙kWh−1)SO2/(g∙kWh−1)NOX/(g∙kWh−1)
Management costs/(CNY∙kg−1)0.2114.84262.964

References

  1. Ju, Y.; Li, H.; Yu, Z.; Yan, Y.; Zheng, L. Bi-level Robust Capacity Planning of Micro-grid Considering Multivariate Uncertainties and Reserve Demand. Power Syst. Technol. 2023, 47, 3343–3354. [Google Scholar]
  2. Liu, S.; Li, Z.; Wang, Y.; Ma, R.; Lu, D.; Liu, H. Optimal capacity allocation of energy storage in micro-grid with distributed generation. Power Syst. Prot. Control 2016, 44, 78–84. [Google Scholar]
  3. Li, J.; Zheng, X.; Ai, X.; Wen, J.; Sun, S.; Li, G. Optimal design of capacity of distributed generation in island standalone microgrid. Trans. China Electrotech. Soc. 2016, 31, 176–184. [Google Scholar]
  4. Wang, L.; Liu, J.; Tian, C. Capacity optimization of hybrid energy storage in microgrid based on statistic method. Power Syst. Technol. 2018, 42, 187–194. [Google Scholar]
  5. Han, L.; Li, F.; Zhou, E. The distributed energy optimization configuration of micro-grid based on cost-benefit. Trans. China Electrotech. Soc. 2015, 30, 388–396. [Google Scholar]
  6. Ding, M.; Liu, X.; Xie, J.; Pan, H. Optimal planning model of grid-connected micro grid considering comprehensive performance. Power Syst. Prot. Control 2017, 45, 18–26. [Google Scholar]
  7. Li, Y.; Yao, J.; Yong, T.; Ju, P.; Yang, S.; Shi, X. Estimation approach to aggregated power and response potential of residential thermostatically controlled loads. Proc. CSEE 2017, 37, 5519–5528. [Google Scholar]
  8. Jiang, A.; Wei, H. A dynamic optimized model and the on-line control strategy response to uncertainty PTR for the CPS of smart air conditioning. Proc. CSEE 2016, 36, 1536–1543. [Google Scholar]
  9. Yang, Y.L.; Wang, T.; Mu, G.; Yan, Q.; Liu, J.; Han, Y.; Liu, R.; Fan, W. Evaluation of peak-shaving capability of distributed electric heating load group based on measured data. Electr. Power Constr. 2018, 39, 95–101. [Google Scholar]
  10. Tan, Y.; Guo, L.; Chen, J.; Zhang, H. Carbon crystal electric heating panel heating system test simulation and temperature control adjustment. J. Harbin Inst. Technol. 2012, 44, 70–73. [Google Scholar]
  11. Vanouni, M.; Lu, N. Improving the centralized control of thermostatically controlled appliances by obtaining the right information. IEEE Trans. Smart Grid 2015, 6, 946–948. [Google Scholar] [CrossRef]
  12. He, S.; Zheng, Y.; Ca, X. Receding-Horizon Optimization for Microgrid Energy Management. Power Syst. Technol. 2014, 38, 2349–2355. [Google Scholar]
  13. Chen, Y.; Tian, L.T.; Qi, N.; Zhang, F.; Cheng, L. Optimization method of resource combination for virtual power plant based on modern portfolio theory. Autom. Electr. Power Syst. 2022, 46, 146–154. [Google Scholar]
  14. Huang, X. Capacity Optimization of Distributed Generation for Stand-alone Microgrid Considering Controllable Load. Proc. CSEE 2018, 38, 1962–1974. [Google Scholar]
  15. Liu, W.; Wang, Z.; Xiao, T.; Lu, C. AMI data-driven state evaluation method for measurement operation error of electric vehicle charging facilities. Electr. Power Autom. Equip. 2022, 42, 70–76. [Google Scholar]
  16. Li, Q.; Zhang, Y.; Chen, J.; Yi, Y.; He, F. Development patterns and challenges of ubiquitous power Internet of Things. Autom. Electr. Power Syst. 2020, 44, 13–22. [Google Scholar]
  17. Fan, K.; Xu, B.; Dong, J. Identification method for feeder topology based on successive polling of smart terminal unit. Autom. Electr. Power Syst. 2015, 39, 180–186. [Google Scholar]
  18. Zhang, Q.; Wang, X.; Wang, J.; Feng, C.; Liu, L. Survey of demand response research in deregulated electricity markets. Autom. Electr. Power Syst. 2008, 32, 97–106. [Google Scholar]
  19. Zou, Y.; Yang, L.; Feng, L.; Xu, Z.; Fu, X.; Ye, C. Coordinated heat and power dispatch of microgrid considering two-dimensional controllability of heat loads. Autom. Electr. Power Syst. 2017, 41, 13–19. [Google Scholar]
  20. Qi, Y.; Wang, D.; Jia, H.; Wang, R.; Chen, N.; Wei, W.; Fan, M. Study on demand response method of temperature control equipment based on normalized temperature extension margin control strategy. Proc. CSEE 2015, 35, 5455–5464. [Google Scholar]
  21. Nan, M.; Liang, C.; Jian, H. Adaptive behavior and different thermal experiences of real people: A Bayesian neural network approach to thermal preference prediction and classification. Build. Environ. 2021, 198, 107875. [Google Scholar]
  22. Buratti, C.; Ricciardi, P.; Vergoni, M. A simplified model to predict thermal comfort conditions in moderate environments. Appl. Energy 2013, 104, 117–127. [Google Scholar] [CrossRef]
  23. Liang, Z.; Zhang, J.; Wang, X.; Zhang, H. Statistical analysis of household controllable load based on questionnaire survey. Power Demand Side Manag. 2023, 25, 102–109. [Google Scholar]
  24. Zhang, H.; Wang, M.; Yin, S.; Bai, Y.; Zhang, Q.; Zhang, Y. Master-slave game optimization of decentralized electric heating system considering user’s consumption preference. Power Syst. Technol. 2023, 47, 2262–2272. [Google Scholar]
  25. Le, L. Study of Economic Operation in Microgrid; North China Electric Power University: Beijing, China, 2011; pp. 18–20. [Google Scholar]
  26. Yi, L. Optimal Configuration of Distributed Generations and Economic Dispatch for Microgrid; Shanghai Electric Power University: Shanghai, China, 2014; pp. 34–36. [Google Scholar]
Figure 1. ETP model for temperature-controlled loads.
Figure 1. ETP model for temperature-controlled loads.
Energies 17 01803 g001
Figure 2. Relationship between room temperature and temperature-controlled load.
Figure 2. Relationship between room temperature and temperature-controlled load.
Energies 17 01803 g002
Figure 3. Proportion of each load.
Figure 3. Proportion of each load.
Energies 17 01803 g003
Figure 4. Schematic of residential controllable loads.
Figure 4. Schematic of residential controllable loads.
Energies 17 01803 g004
Figure 5. Structure of the microgrid.
Figure 5. Structure of the microgrid.
Energies 17 01803 g005
Figure 6. Photovoltaic and wind power output.
Figure 6. Photovoltaic and wind power output.
Energies 17 01803 g006
Figure 7. Temperature-controlled and time-shifted load.
Figure 7. Temperature-controlled and time-shifted load.
Energies 17 01803 g007
Figure 8. MG Scheduling Results (Scenario 1).
Figure 8. MG Scheduling Results (Scenario 1).
Energies 17 01803 g008
Figure 9. MG Scheduling Results (Scenario 2).
Figure 9. MG Scheduling Results (Scenario 2).
Energies 17 01803 g009
Figure 10. MG scheduling results (Scenario 3).
Figure 10. MG scheduling results (Scenario 3).
Energies 17 01803 g010
Figure 11. MG scheduling results (Scenario 4).
Figure 11. MG scheduling results (Scenario 4).
Energies 17 01803 g011
Figure 12. Electricity load scheduling results.
Figure 12. Electricity load scheduling results.
Energies 17 01803 g012
Figure 13. Temperature-controlled capacity distribution diagram.
Figure 13. Temperature-controlled capacity distribution diagram.
Energies 17 01803 g013
Figure 14. Time-shifted load response results.
Figure 14. Time-shifted load response results.
Energies 17 01803 g014
Table 1. PMV model parameters for different populations.
Table 1. PMV model parameters for different populations.
TypeTRabcOptimal Temperature
The young0.50.2720.2487.24524
1.00.2420.6145.58724
The elderly1.00.149−0.1072.64026
1.50.148−0.1372.52424
Table 2. Temperature-controlled load status table.
Table 2. Temperature-controlled load status table.
Time/minTemperature-Controlled Load
12345678910
11111110000
20111111000
30011111100
40001111110
50000111111
61000011111
71100001111
81110000111
91111000011
101111100001
111111110000
120111111000
130011111100
140001111110
150000111111
161000011111
171100001111
181110000111
191111000011
201111110000
Table 3. Parameters of time-shifted loads.
Table 3. Parameters of time-shifted loads.
TypeWater HeaterDishwasherWashing Machine
Power value/kW[2, 1.6, 1.2]0.8[0.5, 0.2]
Duration/h[1, 1, 1]1[1, 1]
Table 4. Time-of-use tariffs.
Table 4. Time-of-use tariffs.
PeriodTariff
Peak11:00–14:00
18:00–21:00
0.3
Flat07:00–11:00
14:00–18:00
21:00–23:00
0.2
Valley00:00–07:00
23:00–24:00
0.1
Table 5. Results for each scenario.
Table 5. Results for each scenario.
Scenario TypeTLSLMicrogrid Benefits/CNYConsumption
1//178.1553.02%
2/252.0069.69%
3/259.2471.32%
4327.4383.55%
Table 6. Social benefits of different weightings.
Table 6. Social benefits of different weightings.
Microgrid BenefitsSatisfactionSocial Benefits/CNY
0.30.7194.78
0.50.5347.41
0.70.3499.84
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yang, Y.; Zhang, Z. A Bi-Level Optimal Scheduling Strategy for Microgrids for Temperature-Controlled Capacity and Time-Shifted Capacity, Considering Customer Satisfaction. Energies 2024, 17, 1803. https://doi.org/10.3390/en17081803

AMA Style

Yang Y, Zhang Z. A Bi-Level Optimal Scheduling Strategy for Microgrids for Temperature-Controlled Capacity and Time-Shifted Capacity, Considering Customer Satisfaction. Energies. 2024; 17(8):1803. https://doi.org/10.3390/en17081803

Chicago/Turabian Style

Yang, Yulong, and Zhiwei Zhang. 2024. "A Bi-Level Optimal Scheduling Strategy for Microgrids for Temperature-Controlled Capacity and Time-Shifted Capacity, Considering Customer Satisfaction" Energies 17, no. 8: 1803. https://doi.org/10.3390/en17081803

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop