1. Introduction
Renewable energy (RE) represented by wind power and solar power has become the main player of the energy industry revolution in China. Due to the uncertainty and fluctuation nature of RE, the integration of large-scale RE has brought about great risks to the safe and reliable operation of the power system, leading to the curtailment of RE [
1], which therefore requires the power system to equip itself with a more reasonable reserve capacity [
2,
3,
4]. Therefore, it remains an important issue how to reasonably quantify the reserve capacity needed under the background of integrating large-scale renewable energy into the power system [
5].
The reserve capacity of the power system mainly comes from the generation side. Seen from the system level, the reserve capacity at the generation side in dispatch issues refers to the generator operating reserve dealing with net load uncertainty and fluctuation. With the reform of the power industry in China, reserve service will become a major product [
6,
7]. It can be seen that reasonable decision of system operating reserve capacity has become the key to both the economy and security of the power system. Hence, it is essential to reasonably evaluate the system operation state, develop operating reserve decision method that considers both security and efficiency and research on the generation–reserve optimization method for power system integrated with large-scale RE.
Traditionally, the operating reserve in the power system is served by conventional units, and the formulation of operating reserve is closely related to the operation scheme of conventional units, so the operating reserve is usually coordinative optimized with the generation dispatch [
8,
9,
10,
11]. Reference [
12] proposed an energy and reserve bilevel co-optimization model based on the two compensation mechanisms of loss probability and uplift payment under deregulated market environment, realizing the maximization of market efficiency. Paterakis et al. [
13] presented a multi-objective energy and reserve joint optimization model with the objective of minimum total expected cost and conditional risk value, and meanwhile proposed an improved variant of the epsilon-constraint algorithm. These methods add economic factors like expected outage cost in the objective function, thereby realizing the coordinated optimization of generation and reserve. However, they fail to establish the quantitative relationship between the reserve and system operating state.
Flexibility of the power system is defined as the ability to meet power fluctuations by system resources [
14,
15,
16], and it has become one of the most important performance indices of the power system in addition to security, reliability and economy [
17]. There is already some research on quantitative evaluation of flexibility. The flexibility envelope method was developed to describe the flexibility potential dynamics of a power system and its individual resources in the operational planning time-frame [
18]. The International Energy Agency proposed a flexibility evaluation method with an expert scoring system that has comprehensively considered power grid strength, power balance scale, schedulable flexible resource ratio and so on [
19]. Lu et al. [
17] presented a flexibility evaluation method for power system planning issue that has comprehensively considered system resources regulation features and renewable energy sources fluctuation based on a conditional probability convolution algorithm. Based on a Monte Carlo simulation, Li et al. [
20] proposes a power system flexibility assessment system considering wind power correlation. A novel flexibility index (FLEXIN) is proposed by Mazidi et al. [
21]. The FLEXIN takes generation reserve, transmission reserve, renewables, storage, demand and market into consideration, provides several opportunities for analysis and improving the operation. However, flexibility assessments in these studies are based on the given system operating reserve, and there are few researches about reserve decision based on flexibility requirements.
This paper proposes a day-ahead generation–reserve bilevel decision model. Based on historical data and forecast information, the proposed model establishes the quantitative relationship between reserve and flexibility, and ensures system flexibility to meet the requirements while realizing conventional unit output scheduling. In the upper level, the unit commitment (UC) model is solved on the basis of predicted load and wind power output, and what is different is the relationship between reserve and flexibility established by the lower level is taken as a constraint. In the lower level, the ramping state of load and wind power is formulated based on historical data and forecast information. As well as, the conventional unit is modeled by forced outage rate and planned output. Then, the ramping probability distribution of the equivalent system is obtained by universal generating function algorithm. In this way, the relationship between reserve and flexibility is established. Then, the UC scheme is verified by the flexibility requirement, and if it could not that provide enough reserve capacity, the UC model of upper level is corrected and re-solved.
The remainder of the paper is arranged as follows. Day-ahead unit commitment model considering flexibility constraint of the upper level is introduced in
Section 2. The flexibility based reserve decision method of lower level is developed in
Section 3.
Section 4 presents case studies, followed by the conclusion in
Section 5.
3. Flexibility Based Reserve Decision Method
The universal generating function is an effective discrete random variable expression and calculation tool proposed by Professor Ushakov in the 1980s [
22]. It has been widely used in the reliability analysis of multi-state systems [
23,
24,
25,
26]. The UGF theory establishes a one-to-one correspondence between the discrete probability distribution and
u-function. Then, the discrete probability distribution of random variable function can be calculated by the corresponding UGF operator in a recursive way. Other stochastic approaches in optimization, e.g., interval optimization, only considers limited scenarios and probability information is lost. The adoption of the UGF theory makes it possible to evaluate the flexibility of the power system at every time period effectively. Thus, the UGF based flexibility assessment method in this section provides the basis for the flexibility-based UC. In the lower level, the proposed reserve decision model considers various factors of uncertainty and fluctuation like the wind power output feature and conventional unit forced outage comprehensively, establishes the quantitative relationship between operating reserve and flexibility index.
Flexibility refers to the ability of the system to cope with power fluctuations. For the issue of day-ahead scheduling, the system responds to the deviation of the dispatch scheme by the operating reserve. Therefore, the operating reserve can be quantified based on the flexibility assessment. The system ramping is defined as the power change between adjacent time intervals. The key of the reserve decision based on the flexibility is how to evaluate the system ramping reasonably. The power system is considered as a multi-state model, and the UGF models of ramping state for each component are built; then UGF combination operators are used to obtain the ramping state distribution of the equivalent system. The relationship between the flexibility index LOFP and reserve capacity is established by the ramping state probability distribution of the equivalent system, thereby the reserve capacity is calculated by the given LOFP.
3.1. Universal Generating Function Model for Load
The load forecasting error of the power system obeys a normal distribution [
27] so the actual load at time
t PD(
t) conforms to normal distribution
N(
d(
t),
σd(
t)), where
d(
t) is the predicted load value at time
t and
σd(
t) is the load forecasting standard deviation.
σd(
t) can be obtained through statistics of historical data, or comes from empirical value.
Step
Pintv is set for discretization of probability load model. According to probability theory, the study is limited in the range of [
d(
t)−3
σd(
t),
d(
t)+3
σd(
t)] for efficiency. The load is divided into
Nd states. In a certain load state
k, the load value is
(
t) and the error is Δ
(
t), then the corresponding probability
(
t) is:
where Pr{·} is the probability of event {·}, Δ
is the error of load state
k and
Φ(·) is the standard normal distribution function. Then the UGF model of load can be obtained:
Similar to the ramping of generator, the load change at time
t is
Rd(
t) =
PD(
t + 1) −
PD(
t), the prediction errors of load at adjacent time are independent so the UGF model of load change is:
where
is the difference operator of UGF method,
SD is the total number of load change states,
(
t) refers to the load change value of state
k and
(
t) is the corresponding probability.
3.2. Universal Generating Function Model for Wind Power
The wind power prediction error is formulated as a normal distribution model [
28], and the modeling method is also applicable to other distribution forms. The output of wind farm
Pw(
t) at the time
t obeys normal distribution
N(
w(
t),
σw(
t)), where
w(
t) is the wind farm output predictive value at time
t,
σw(
t) is the standard deviation. Same as load, the study was limited in the range of [
w(
t) − 3
σw(
t),
w(
t) + 3
σw(
t)] for efficiency. The output of wind farm is divided into
Nw states, the power value of state
i is
(
t), the prediction error is Δ
(
t), then the corresponding probability
(
t):
The transition probability
(
t) from the output state
i at time
t to the output state
j at time
t + 1 is obtained through the historical data statistics of wind farm W1. The difference in output from the next moment to the current moment is the wind power ramping state of current moments. From this, the conditional probability of wind power ramping on output is obtained. While the output of W1 is in state
i, the conditional probability of the ramping state
k can be described as
(
t):
According to conditional probability formula, the probability
(
t) of ramping state
k is:
where
Nw1 is the total number of output states of wind farm W1; Π
k is the state set that satisfy
(
t) =
(
t + 1) −
(
t). In formula (22), the ramping probability distribution of wind farm W1 is established on the basis of predicted output and ramping state transition distribution, then the ramping UGF model for wind farm W1 at time
t is as follows:
where
Sw1 is the total number of ramping states. Repeat the process listed above until the ramping probability distribution of all wind farms is obtained.
If wind farms are independent, then the total ramping probability distribution of wind farms is:
where
is the summation operator of the UGF method,
Nw refers to the total number of wind farms,
Sw is the total number of wind farm total ramping states,
(
t) and
(
t) are the ramping value and probability of the
jth ramping state of total wind farms at time
t.
3.3. Universal Generating Function Model for Conventional Unit
In the flexibility analysis, it is necessary to consider the forced outage of the conventional unit for the accuracy. On the basis of the operating scheme obtained in the upper level and forced outage rate, the conventional units are modeled as follows.
There are only two states for the ramping of conventional unit caused by forced by outage in flexibility analysis: (1) If conventional generation unit fault at the time
t + 1 and causes outage of the unit, then the ramping of conventional unit at time
t is the negative value of the planned output at time
t + 1, and the corresponding probability is the forced outage rate. (2) If the conventional unit operates normally, then there is no ramping. Therefore, the UGF model of conventional unit
g at time
t is:
where
pg is the forced outage rate of unit
g,
is the planned output of unit
g at time
t + 1.
The forced outage events of conventional units are independent so the equivalent multi-state UGF model for conventional units is:
where
SG is the total number of ramping states of equivalent conventional units,
N refers to the total number of conventional units,
(
t) and
(
t) are the ramping value and probability of the
ith ramping state of equivalent conventional units at time
t.
3.4. Flexibility Based Reserve Capacity Calculation
The system ramping, which refers to the power fluctuation between adjacent time, is the algebraic sum of load change, conventional unit ramping caused by forced outage and wind power ramping so the UGF model for system ramping is:
where
Seq is the total number of ramping states of the equivalent system,
(
t) is the system ramping power at state
k, and
(
t) is the corresponding probability. In this way, the probability distribution function
(·) of the system ramping at time
t is obtained.
Loss of flexibility probability means the probability that the system ramp more than the operating reserve. It is an intuitive index of system flexibility. The up and down operating reserves are
RU(
t) and
RD(
t), respectively. For ramping state
k, if
(
t) >
RU(
t), the system cannot provide sufficient generation power in transition from time
t to
t + 1, causing loss of load; if
(
t) < −
RD(
t), it cannot lower output in transition from time
t to
t+1, resulting in wind power curtailment. Therefore, the system LOFP can be defined as:
The relationship between LOFP and operating reserve is shown in
Figure 1.
The quantified relationship between the system operating reserve and LOFP is established in definition (28) but this definition cannot be calculated directly. The explicit form of
fR(
α,
t) still needs further derivation. As the probability distribution function
(·) of the system ramping at time
t obtained in
u-function (27),
RU(
t) and
RD(
t) can be calculated by the inverse function of
(·). When the LOFP is set as
α, the
fR(
α,
t) can be expressed as:
where
(·) refers to the inverse function of
(·).
Just like reliability, the power system needs to keep the LOFP lower than a certain value. According to this flexibility requirement, the total system operating reserve can be calculated through the formula (29). If the reserve obtained in the lower level is greater than the maximal reserve capacity that can be provided by the UC scheme, then the solution of the upper level is not feasible. Therefore, the feedback mechanism between the upper and lower levels is necessary. If the obtained reserve is greater than the reserve capacity that can be provided by the UC scheme, then the flexibility constraint (12) in the UC model of upper level is to be modified, then re-solve the whole model; or otherwise, output the results.
Meanwhile, it has to be noted that there is no coupling relationship among the time period in the reserve decision models so this model can conduct parallel calculation over a different time period. Moreover, the calculation of the universal generating function features recursiveness, so it significantly improves the efficiency and is extremely applicable to large-scale computer analysis.
The flowchart of proposed model is as shown in
Figure 2.
4. Case Studies
4.1. Test System
The proposed unit commitment model in the upper level is converted into a mixed integer linear planning problem, and it was solved by the CPLEX solver on Matlab using the Yalmip toolbox [
29,
30]. The parallel computing programming of the reserve decision in the lower level was conducted in the Matlab. The test was carried out on the computer with CPU i7 3.5GHz and 16G RAM.
A modified IEEE-118 bus test system was used in case studies, which contained 54 conventional units, and the 24h load curve is as shown in
Figure 3 [
31]. In addition, two wind farms were added to the IEEE-118 system with the capacities of 200 MW and 150 MW. The wind farms were modeled by the historical data of two wind farms in northwest China, and the historical wind output data of 24 h as showed in
Figure 4 was used as the predicted value.
4.2. Flexibility Based Reserve Decision Method
Traditional reserve decision model only considers uncertainty in the system, but the flexibility based reserve model proposed in this paper has comprehensively considered the uncertainty and fluctuation of net load as well as the forced outage of conventional unit. Under the joint influence of uncertainty and fluctuation, the system needs reserve in both up and down directions. In order to demonstrate the effectiveness of the proposed method in a more intuitive way, the flexibility based reserve only considered the uncertainty and fluctuation of load in this case. The LOFP is set as 5%, and the load prediction errors SD is 3% of forecasted load.
Figure 5 shows the comparison of reserve between the proposed method and the traditional method, which values the reserve as 10% of forecasted load.
As showed in
Figure 5, the reserve obtained by the proposed method is less than the traditional method most of the time. However, when the load sees a rapid rising, such as around six o’clock, the up flexibility reserve is greater than the traditional one; and when the load sees a rapid dropping such as around 22 o’clock, the down flexibility reserve is greater than the traditional one. This indicates that the traditional reserve model may not be able to satisfy the ramping requirement of the system when load changes rapidly. For traditional reserve model, the operator will increase the reserve ratio if the reserve fails frequently but the insufficient of reserve may have caused losses already before the operator takes action. The risk of loss flexibility is uncontrollable. What is more, increasing the reserve ratio for all time interval will lead to a waste of system resources, which is uneconomical.
Meanwhile, at the load rising stage, e.g., 5–10 a.m., the up flexibility reserve is greater than the down flexibility reserve; at the load dropping stage, e.g., 0–3 a.m., the up flexibility reserve is smaller than the down flexibility reserve. The flexibility based reserve is a measure of system ramping. It captures the characteristics of system power changes between adjacent time. It shows a better performance of indicating the potential changes of the system power, which the traditional one fails to measure. This shows that the proposed method can more accurately describe the net load characteristics. It can be seen that the proposed flexibility based reserve decision method is more applicable to the reliable operation of the power system containing fluctuating RE.
In order to analyze the influence of RE upon the flexibility based reserve, flexibility based reserve (
RDW) comprehensively considering load and wind farm A and flexibility based reserve (
RD) only considering the load fluctuation were compared, and the difference between
RDW–
RD could directly reflect the influence of wind farm fluctuation upon flexibility reserve. The curve is as shown in
Figure 6.
Due to the intensive uncertainty and fluctuation of the wind farm, the introduction of the wind farm increases the up and down flexibility based reserves of the system in general. According to the statistical results of historical data, when the wind farm output is high, the downward ramping probability is larger than upward ramping; when the wind power output is low, it is the opposite. With wind farm A taken into consideration, when the wind farm output is high, for example at 3 a.m., the downward ramping probability of the wind power is greater, so the increment of the up reserve is larger than that of the down reserve. Particularly, when the wind farm output approximates to the rated value, its downward fluctuation probability is far larger than the upward fluctuation. At this moment, the up reserve significantly increases while the down reserve may drop. When the wind farm output is low, for example 8 p.m., the upward ramping probability is larger than the downward ramping, so the increment of down flexibility is larger than that of the up flexibility.
Meanwhile, to verify the effect of parallel computing, serial computing, 2 threads parallelism, 4 threads parallelism, 6 threads parallelism and 8 threads parallelism were adopted. The computing time for different computing means is as shown in
Table 1. The comparison of different computing means indicates that parallel computing could reduce the solution time effectively.
Based on the above analyses, the proposed flexibility based reserve decision model can accurately reflect the uncertainty and fluctuation of load and RE. When compared with the traditional reserve decision method, the proposed flexibility based reserve can make the dispatch scheme stronger and safer.
4.3. Flexibility Based Generation-Reserve Bilevel Decision Model
In order to verify the accuracy of the proposed model, four scenarios were studied in the first case of
Section 4.3. The parameters of each scenario are listed in
Table 2.
The obtained unit commitment schemes of the four scenarios were the same. As the predicted value of the load and wind power remained consistent, the objective function value of the four scenarios were the same, which was
$1.96 × 10
6. As all solution are obtained through one iteration, the solution time is about 52 min.
Figure 7 shows the UC scheme of partial conventional units. In
Figure 7, the gray represents unit on operation while the white represents unit shutdown. The comparison of reserve in different scenarios is shown in
Figure 8.
The comparison of scenario 1 and 2 shows the influence of different flexibility requirements upon reserve. When the flexibility requirement rises, the system reserve significantly increases. The comparison of scenario 1 and 3 displays the impact of load prediction error upon reserve. Compared to scenario 1, the load prediction error in scenario 3 is larger, and the reserve significantly increases. The reserve of scenario 4 is almost the same with scenario 1. This is because the total capacity of wind power is relatively small, so the increase in wind power output fluctuation caused by the increase in wind power prediction error has less impact on system flexibility.
The above simulation results showed that the reserve increased as flexibility requirement rose. When the uncertainty of the system diminishes, such as the lowered load prediction SD and wind speed prediction SD, the operating reserve will decrease. Those cases listed above demonstrate that the reserve capacity obtained by the proposed model could accurately reflect the system uncertainty and flexibility, hence verifying the validity of the proposed model and algorithm.
In order to further analyze the influence of wind power upon the operating reserve, the system reserve was calculated under different wind power penetration rates. In scenario 1, the total wind power capacity was 350 MW, with a penetration rate of 5%. The scenarios of no wind power and integrated wind power capacity of 800 MW, 1250 MW and 1800 MW were calculated separately, corresponding to wind power penetration rates of 0%, 10%, 15% and 20%, respectively. The solution information is listed in
Table 3.
When the wind power penetration rate was relatively low, the UC scheme of initial solution by the upper level model could provide sufficient reserve capacity. However, the uncertainty in the system increased with the rising of the wind power penetration rate. Although wind power generation cost was neglected, the unit generation cost increased as wind power penetration increased. When the penetration rate reached 10% or more, the UC scheme of first iteration failed to meet the reserve requirement, and the reserve model in the lower level corrected the flexibility constraint and then re-solved the entire model. To facilitate analysis,
Figure 9 only displays the reserve at 2 a.m. under different wind power penetration rates.
Figure 9 shows that wind power had a significant influence on system flexibility. The flexibility based reserve was positively correlated with the wind power penetration rate. The growth rate of the flexibility based reserve also shows a positively correlation with the wind power penetration rate.
5. Conclusions
For the issue of the reserve decision and coordinated optimization of generation and reserve of power system integrated with large-scale renewable energy, this paper proposed a day-ahead generation–reserve bilevel decision model. The flexibility models of the load and wind power are built on the basis of historical data and forecast information, while the conventional unit are modeled by the output plan and forced outage rate. Then the quantitative relationship between flexibility and operating reserve is established by the universal generating function theory. Taking it as a constraint, the day-ahead power generation-reserve bilevel decision model is formulated.
The generation-reserve joint dispatching scheme obtained from the proposed model cannot only meet the load, but also ensure the flexibility to meet given requirements. In this way, the dispatching scheme ensures that there is sufficient reserve capability to cope with uncertainties and fluctuation within the system. Other players, e.g., demand response, storage and electric vehicle, will also provide reserve services. The quantitative relationship between the flexibility and operating reserve established in this paper can provide reference for the auxiliary service market.