1. Introduction
Adhering to the direction of clean and low-carbon development, the penetration of renewable energy is continuously increasing in distribution networks [
1]. However, the uncertain and intermittent power output makes the control of distribution networks more complex than ever. For the purposes of fully accommodating renewable energy and coping with the imbalance of supply and demand, existing studies have mostly focused on the effects of the demand response (DR) or the energy storage system (ESS) alone.
On the one hand, DR can improve the operation efficiency of distribution networks via the interaction between the grid side and the user side, and it can bring benefits to all participants. Different from traditional studies, in Ref. [
2], a two-stage model for the day-ahead energy scheduling problem of DR was proposed. In the past few years, for different purposes, many models of DR have had different constraint conditions in various scenarios. In Ref. [
3], a resource scheduling plan was formulated in the day-ahead stage on the basis of DR and unit constraints. Refs. [
4,
5] proposed that DR can decrease the peak-valley difference. Refs. [
6,
7] presented a model for locational marginal prices, including day-ahead, co-optimized, energy and spinning reserve markets. In Refs. [
8,
9], a bi-level robust optimization model with DR and thermal comfort was proposed for the capacity planning and operation problem. Above all, increasing DR provides substantial flexibility in renewable-based energy systems, but the deployment of DR is currently limited. Moreover, the actual electricity consumption situation changes unexpectedly because customers are temporarily unable to participate in the response plan. So, the uncertainty of DR can affect the dispatching operation of the distribution network. When only using DR, the optimization method will be affected by uncertainty.
On the other hand, ESS can smooth the fluctuations of renewable energies and ensure the safe and stable operation of power grids with a high proportion of renewable energy. Ref. [
10] described a novel energy management strategy for hybrid energy storage systems, when used to supply urban electric vehicles. To minimize the total cost of a hybrid power system, a mathematical model for the configuration of battery energy storage systems was proposed in Ref. [
11]. In Ref. [
12], a unique energy storage method that combined wind, solar and gravity energy storage together was used to ensure the economy of the system. In order to minimize the total operating cost of microgrids, Ref. [
13] established an optimized operation model considering the aging of the battery and the initial value of the state of charge. For the first time, Ref. [
14] investigated the uncertain optimal allocation of ESS considering practical constraints, including prohibited zones, and the ramp rate. However, ESS is easily restricted by the geographical environment and high prices. Only relying on the configuration of ESS cannot give full play to the economy of the power system. Moreover, the installed ESS will be not fully utilized.
So, research on the coordination of DR and ESS is particularly important. Generalized demand-side resources (GDRs) considering the complementary characteristics of DR and ESS are thus proposed. GDRs are composed of distributed power source resources, load resources and energy storage resources. Nowadays, the influences of GDRs are becoming increasingly obvious. They can change the daily load at a much lower cost by using measures such as DR, V2G and ESS [
15]. Moreover, configuration and scheduling schemes of GDRs can effectively reduce the dispatching costs of power grids. In Ref. [
16], an overview of demand-side resource development is presented, from controllable loads to GDRs, including distributed generation (DG) and EES. However, to date, studies on the scheduling of GDRs have not taken into account uncertainty. Moreover, the capacity allocation for ESS while considering GDRs and renewable energy uncertainty has not been considered.
In order to further improve economic efficiency and enhance the system’s capacity of accepting renewable energy, it is essential to maximize the adjustable capacity of GDRs [
17]. GDRs have great potential to participate in system scheduling. It has gradually become a common phenomenon to aggregate GDRs [
18]. Ref. [
19] proposed a detailed model for user-level planning, where cooling, heating, gas and electric DR were considered. Ref. [
20] conducted a coordinated operation of energy storage and incentive-based GDRs. This can lower the impact of power grid failure for important loads and improve the line load rate. Ref. [
21] achieved large-scale GDRs to participate in the “peak-shaving and valley-filling” of the power system. For the sake of controlling and coordinating a large number of GDRs, interaction control has been presented, and it is regarded as an innovative distributed approach [
22,
23]. Meanwhile, a distributed algorithm has been presented in order to aggregate a large number of households, with mixed-integer variables and intricate couplings between devices [
24,
25]. Within this context, the Stackelberg game theory has been applied to analyze the coordination between grid operators and demand-side participators [
26,
27]. In general, there are fewer studies on GDRs than on DR.
However, in distribution networks, studies of ESSs’ configurations considering the uncertainty of GDRs, wind power and photovoltaic power prediction are rarely carried out. Therefore, in this paper, an ESS configuration model is established, which considers the uncertainty of GDRs and renewable energies. The contribution of this paper can be summarized as follows:
A proposal of GDRs that combine the complementary characteristics of DR with ESS and apply them to the optimal operation of distribution network.
A provision of a new approach to contract price formulation among load aggregator (LA), distribution networks and main network by considering GDRs.
A solution for user response uncertainty and renewable energy uncertainty by establishing a GDR configuration model.
The remaining sections of this paper are organized as follows:
Section 2 analyzes the characteristics of the GDRs and builds models for them.
Section 3 establishes a configuration model of ESS. This involves the participation of GDRs in distribution networks. The ESS’s configuration plans and GDRs’ response plans are obtained using this deterministic model.
Section 4 takes the uncertainty of the system into account and then proposes approaches to solve the uncertainty. Section V demonstrates the effectiveness and validity of the model.
Section 6 draws conclusions and provides prospects for future works.
2. GDR Model
In distribution networks, there are many kinds of GDRs. Due to the development of electronic equipment, GDRs are also easily regulated. At present, GDRs are composed of distributed power source resources, load resources and an energy storage system. The load resources are divided into non-translational loads, translational loads and reducible loads.
However, GDRs’ schedulable capabilities have great limitations. Meanwhile, due to the constraints of distribution networks, the characterization of their flexibility is complicated. Therefore, GDRs should be integrated and quantified in multiple dimensions of space and time [
28]. Aggregating GDRs is one of the effective means used to solve the hidden problems caused by large-scale distributed energy access to distribution networks.
The modeling analyses of TLs, reducible loads and ESS are presented below.
2.1. Transferable Loads
TLs refer to electrical equipment whose working power cannot be changed but whose working time can be shifted forward or backward. The power distribution vector of TLs is determined by translational time and the number of electrical appliances.
In general, the change in daily load curves caused by the translation of TLs is numerically equal to the power of transferred TLs minus the power of pre-load participating in DR.
The power of TLs on a single node is the sum of all types of TLs on the node. M is the number of shifting modes set in this paper. is a binary variable; if its value is 1, there is a TL of type k at this time according to translational mode m.
TLs are affected by various constraints when they work. Simply setting the above variables makes the processing of continuity constraints and time constraints more complex. Therefore, this paper introduces intermediate variables and a time distribution matrix containing all translational possibilities to describe constraints.
There are many types of TLs, and different types have different rated powers and working times. Taking k as an example: Its normal working hours is [
,
]. It is allowed to move forward for
hours and to move backward for
hours.
H means that translation has H possibilities. This paper selects M translational models from H possibilities to dispatch TLs.
represents the distribution of time among all possibilities.
is a binary variable. If its value is 1, then it indicates that translation strategy m corresponds to translation possibility h among all possibilities. Formula (4) represents the upper and the lower limits of the number of TLs.
Formula (1) contains the product of binary variables and integer variables. By using the Big-M method, Formula (1) can be transformed into Formula (5):
V is a large positive number.
2.2. Reducible Loads
Based on the amount of electricity that can be reduced, reducible loads have been classified into two types: interruptible loads (ILs) and curtailable flexible loads (CFLs) [
29]. ILs mean that loads can be immediately reduced to zero. However, this type of electrical equipment is not usually used. CFLs mean that loads can be reduced from rated power to a certain value [
30]. Simply, this certain value is not set too small considering the comfort of users.
Formulas (6) and (7) describe the interrupted power of ILs. Formula (8) describes the reduced power of CFLs. The final power obtained by the above loads can be expressed using Formula (9):
2.3. Energy Storage System
ESS can give full play to the advantages of DR. On the one hand, they can purchase and sell electricity by taking advantage of the price difference at different times and bring profits to distribution networks. On the other hand, they can solve the grid scheduling problems caused by the uncertainties of renewable energies output and users’ electricity consumption. Therefore, ESS models should be established. Formula (10) considers the constraints, such as charge and discharge power and the SOC state.
After establishing the models of GDRs, it is essential to perform a simple analysis on the contract pricing and establish the configuration model of GDRs.
3. GDR Configuration Model
In the previous sections, the GDRs’ models were built. From the perspective of distribution networks, there are transactions between distribution networks, LA and the main network. Distribution networks need to conduct resources regulation, but the specific behaviors of specific electricity users participating in DR are controlled by LA. Distribution networks and LA represent the relationship between the whole and the details. Distribution networks need to determine their approximate electricity purchase amount from the main network a few days in advance. This can facilitate the main network to prepare startup plans. According to the difficulty of LA, pricing contracts should be designed for different prices and sizes in order to regulate different resources.
3.1. Formulation of Contract Electricity Price
When it comes to the contract pricing strategy, lots of information needs to be considered: the time of use tariff (TOU) determined by the main network, the willingness of users to participate in DR and the benefits that LA can receive from distribution networks. In this paper, the following interaction processes are considered: TOU is determined using load curves, which are submitted by the distribution networks. During peak hours, in order to reduce the amount of electricity purchase from the main network, GDRs are encouraged to participate in DR. Therefore, the contract price should be similar to TOU. That is, the contract should have different prices at different times. The translational time and the continuous working time determine the difficulty of TLs to participate in DR. To ensure the interest of the users who participate in DR, contract prices should be set according to the difficulty. In most cases, the prices should be set higher than CFLs. After integrating GDRs according to the wishes of the users, LA will distribute the determined power consumption plans to the corresponding users. The specific pricing strategy is shown in
Figure 1. From the perspective of the distribution networks, it is necessary to protect the interest of LA and the users in contract pricing and to improve the enthusiasm of GDRs to participate in DR.
3.2. Establishment of GDR Configuration Model
From an economic perspective of distribution networks, a configuration model for GDRs is established. This model takes into account the ESS’s configuration cost, GDRs’ assignments, the network loss and power purchase cost. Its optimal goal is to minimize the sum of all costs.
The calculation methods of costs in the above formula are shown in Equations (12)–(15):
The objection function (11) describes the expected minimum sum of the ESS’s investment and operational cost (12), the DR cost (13), the line loss cost (14) and the main network electricity purchasing cost (15).
Among them, the ESS’s cost consists of the energy storage configuration cost and the energy storage operation cost. Then, the DR cost almost comes from the DR contract; the line loss cost and the main network electricity purchasing cost are related to factors such as the power loss price and the active power of the line, respectively.
Constraints (16)–(17) represent the internal constraints of the distribution networks:
3.3. Simplification of Model
By linearly approximating the alternating current power flow Equation (16) in the model, the original nonlinear configuration model is transformed into a quadratic configuration model.
Equation (18) is the linearized expression of the power flow equation. Equation (14) can be transformed into Equation (19) according to Equation (18).
The purchased power of the main network can be expressed as the total network loss subtracting the sum of the injected power of all the nodes, except for those connected to the main distribution networks. So,
can be expressed as (20):
In this paper, the solution process is divided into two stages. The above model is the first-stage model; it is a mixed-integer quadratic configuration model and also a deterministic model.
In the first stage, this deterministic model is used to determine the installation nodes and the energy storage capacity. Due to the introduction of 0–1 variables, the constraints are relatively complex. Moreover, because the optimal problem contains multiple variables and constraints, the calculation becomes difficult. Therefore, a genetic algorithm (GA) is used to transform the above problem into several small optimal problems. So, GA and a quadratic programming algorithm are combined to solve this model.
First, the initial population is generated. Each individual in the population represents a different location plan for energy storage in the distribution networks. The load curves, renewable energy power output curves, GDRs and time-sharing electricity price information are known in the model. Each individual can obtain a corresponding energy storage capacity configuration and a final cost of system. The objective function is obtained by screening small individuals. Through crossover and mutation, a new population is generated and then used to solve the model. After several calculations, the individual whose objective function value is the smallest is finally determined, thus obtaining the energy storage configuration scheme.
The initial energy storage configuration scheme and the scheduling of GDRs can be obtained using this model. However, the uncertainty of the system is ignored in the actual operation process. It is necessary to clear the sources of uncertainty by using the analyses below and by modifying the energy storage capacity to solve the uncertainty.
4. Uncertainty Analysis
Without considering the uncertainty, the above model is a deterministic model. In the actual operation process, although electricity users receive the dispatching instructions from LA, they may be affected by unexpected conditions the next day. The actual response situation will fluctuate. A configurable scheme for ESS and a scheduling scheme for GDRs can be obtained by using the model in
Section 3. Concurrently, there are uncertainties in the renewable energy power output and DR. In this paper, the fuzzy parameter of the trigonometric membership property is used to express the actual response resources [
31]. Sometimes, the scheduling plan of GDRs does not use all GDRs, so extra GDRs can solve the uncertainty.
in Equation (16) is replaced by
in Equation (21):
4.1. Uncertainty of TLs
According to the results of the deterministic model, the scheduling plan of TLs is determined. Although TLs’ translational plans are formulated, a situation exists where users do not participate in DR. Therefore, this paper discusses the uncertainty of TLs in moving forward and backward situations.
- (1)
The uncertainty of TLs moving forward:
The triangle membership function is used to describe the uncertainty of TLs moving forward.
When additional TLs are not considered to solve the uncertainty, and are determined according to the agreement between LA and the distribution networks. Due to the uncertainty, the distribution networks need to increase the energy storage capacity. In this paper, TLs that are not involved in DR are used to solve the uncertainty during actual operation. If some TLs are not translated, other TLs not participating in the DR plan can be arranged to make up for it. The value of depends on the number of additional pieces of electricity equipment. The value of is bigger than 1. The greater the addition of TLs, the greater the value of . To some extent, the more the resources aggregated by LA, the less the uncertainty of the power system.
- (2)
The uncertainty of TLs moving backward:
If TLs are not shifted, the uncertainty is compensated for by the configuration of ESS. When the translational time is determined, the number of TLs is actually uncertain, which is expressed by the fuzzy membership function.
4.2. Uncertainty of CFLs and ILs
CFLs and ILs do not take into account uncertainty because of the precise control of advanced power electronic equipment.
4.3. Uncertainty of Renewable Energy
After considering the wind power output error and the photovoltaic power output error,
in Equation (16) is replaced by
in Equation (24), and
satisfies Equation (25).
in Equation (16) is replaced by
in Equation (27), and
satisfies Equation (28).
The probability density of Formula (25) is shown in
Figure 3. By analyzing the probability density curves, it can be seen that, in the right part of the vertical coordinate, the actual output is greater than the predicted output. At this time, it is useless to reduce CFLs. In the left part, the actual output is less than the predicted output. Some wind power output errors can be compensated for by dispatching CFLs. The final error is determined by the amount of load reduction on the node.
In the real-time dispatch process, CFLs that do not participate in DR can be used to deal with the uncertainty of renewable energy power prediction errors. So,
can be combined with
to represent
.
The probability distribution function of
is shown in
Figure 3. It clearly illustrates Equation (26). The probability that
is equal to zero increases. The probability of
being less than 0 is a, and the probability of
being greater than 0 is b, so the probability of
being equal to zero is 1-a-b.
In the following function, the prediction probability distribution of the photovoltaic output under different weather types can be obtained by fitting the photovoltaic power generation prediction error.
To obtain a reliable result for the ESS’s configuration, it is necessary to consider the renewable energy output prediction in various scenarios. Many scenarios of renewable energy output can be simulated using Monte Carlo simulation. The specific steps are as follows:
Determine the number of simulations;
Extract the simulations’ results using the functions (24)–(28);
Substitute the simulations’ results into the model for calculation;
Accumulate the results for each simulation;
Output the results and judge the simulation number;
End.
Because of the fuzzy parameters, the constraints cannot be given the certain feasible sets, so the opportunity constraint model is adopted, that is, ensuring the probability of the constraints is not less than a certain confidence level.
describes the system’s imbalance risk caused by the uncertainty of renewable energy. The maximum is determined by the system’s risk-bearing capacity. Moreover, reflects the reliability of the normal operation.
When solving the fuzzy opportunity constraint programming, the credibility opportunity constraints can be transformed into the corresponding clear equivalent class according to the uncertainty configuration theory. As
increases, the total cost decreases; that is, the greater risk, the better economy. So, when the confidence coefficient
> 1/2 [
32], the power balance constraint formula can be converted into a clear equivalence class:
4.4. Solution of GDR Configuration Model
The second stage is based on the results of the energy storage configuration at the first stage. Under the initial energy storage schemes, the daily operation of the system is simulated to obtain schemes for GDRs’ participation in DR. Then, the ESS’s capacity is reconfigured while considering the uncertainty of the system. The calculation flow of the second stage is shown in
Figure 4.
The daily operation of the system with the initial energy storage schemes is simulated, and then the schemes of GDRs participating in DR are obtained. GDRs that do not participate in DR can change the uncertainty of the system. The revised uncertainty can be represented by changes in the probability density function and the fuzzy membership function. New renewable energy power output curves are obtained by using Monte Carlo simulation. New energy storage configuration results are obtained by keeping the nodes of the energy storage configuration from changing and by taking Equation (11) as the objective function. Compared with the initial energy storage configuration results, the energy storage capacity is modified.
6. Conclusions
Considering the uncertainty of users’ responses and the prediction errors of renewable energy, a GDR configuration model for distribution networks is proposed in this paper. Through the analyses of calculation examples, the accuracy and validity of the model are demonstrated.
So, not only can the results obtained in this paper provide a new approach for the formulation of incentive contracts, but they can also play an applicable role in the actual planning and operation of distribution networks in the future. The objective function is aimed at the expenses of the distribution networks, and the comfort of consumers is reflected by the constraints of time and contract prices. Through the regulation of GDRs, the uncertainty problems of users’ responses and renewable energies can be solved. Compared with only using DR or simply utilizing energy storage, the overall cost can be reduced by 29.6% and by 35.9%, respectively.
This paper obtains the scheduling scheme of GDRs and the configuration of ESS considering the uncertainty. In the future, real-time scheduling strategies for various resources from the perspective of LA should be determined, and a detailed analysis of the contract should be carried out.