1. Introduction
Frequency is an important criterion in the power system’s operation and is related to the instantaneous balance between supply and demand. To ensure stable operation of a power system, the balance between power demand and supply must be kept at all times; the system frequency is only allowed to vary in a tight band around the nominal value. Large frequency disturbances, caused by events such as the sudden loss of a generator, lead to serious active power imbalances and may lead to load shedding or partial or complete blackout. Fortunately, immediately after a frequency disturbance, the kinetic energy stored in the spinning masses of the generators is released into the power system to preserve the power balance, thereby reducing the rate of frequency change. This process is called the Inertial Response (IR) of the generator. The most crucial frequency control activity is the Primary Frequency Control Response (PFR), which is based on the characteristic of the conventional speed governor. PFR automatically starts in the event of a large frequency deviation to adjust the power output of generators. Large synchronous generators can provide both IR and PFR, thereby ensuring the frequency stability of the power system.
In recent years, the penetration of renewable energy sources (RES) such as wind and solar into the power system is increasing rapidly. Unlike conventional power plants, which are based on synchronous machines, RES power plants use inverter-based generators that do not have IR. Therefore, the overall power system inertia is reduced by the increasing penetration of RES. Furthermore, due to the stochastic nature of wind and solar irradiation, the reserved capacity for PFR from RES is also uncertain. Both of these factors contribute to the more complicated frequency control problem for power systems containing large fractions of wind and solar generation [
1]. In islanded power systems, frequency control and regulation are even more challenging because the primary resources are diesel generators (DGs) with low inertia and limited operating capability.
With the increasing penetration of renewable generation and energy storage in power systems, the Fast Frequency Response (FFR) method has been introduced as a measure to improve frequency stability. In the Australian electricity market, FFR is defined as “any type of rapid active power increase or decrease by generation or load, in a timeframe of less than two seconds, to correct supply–demand imbalances and assist with managing frequency” [
2]. There have been several studies of FFR encompassing a wide range of technologies [
3,
4,
5,
6]. In one study [
6], it was shown that wind generators (WG) can provide IR for a very short duration (~10 s). Although this method proved to be useful for frequency regulation, the kinetic energy provided by wind turbines is highly dependent on the wind speed; as a result, insufficient support is delivered in the case of low wind speed. Furthermore, in a low inertia system, the frequency can drop below the threshold of the Under-Frequency Load Shedding (UFLS) relay within 1 s, so the response of a WG is not effective. For the case of photovoltaics (PV), another method involves keeping the PV power setpoint below the total available power, at the expense of economic performance [
2].
With a very short response time, which can be less than 250 ms depending on the technology, energy storage systems (ESS) are able to instantly increase or decrease their power output to counteract a system power imbalance. There have been many previous studies focusing on the support of an ESS in frequency response such as [
7,
8,
9,
10,
11,
12]. In [
9,
10,
11,
12], the authors focused on the size of the ESS, whereas control strategies for an ESS to provide virtual inertia are proposed in [
7,
8]. The results presented in these articles show the effectiveness of using an ESS for frequency response control.
An interesting research approach in frequency-constrained operation planning is to include frequency constraints in Unit Commitment (UC) models. Ahmadi and Ghasemi [
13] proposed a UC formulation including a frequency limit constraint based on the general-order system frequency response model. In contrast, a first-order model for a governor-prime mover system was used in [
14]. However, the UC models in [
13,
14] did not consider the uncertainty in the available wind power, so the results are less reliable for actual operation. Teng et al. [
15] develops a sophisticated representation for the frequency dynamics, which includes load damping, but this work did not consider the application of ESS in frequency response. A more recent study [
16] developed a UC framework in which the ESS is considered to provide frequency response. However, the wind power uncertainty in this study is described by only three scenarios: the central forecast, the upper bound, and the lower bound. Although this approach helps reduce the computational complexity, it may lead to conservative solutions with higher operating cost.
In this work, we propose a frequency stability-constrained UC model and apply it to a realistic isolated wind–diesel system on Phu Quy Island, Binh Thuan province, Vietnam. The UC model in this work focuses on FFR. The primary goal of ESS in this model is to compensate for the fluctuation of wind and solar generation and to help increase the energy produced from renewable sources (rather than using curtailment). Besides, this ESS provides FFR in large frequency disturbances, such as in the loss of a generator, as an ancillary service. The proposed model has practical implications for isolated power systems with a high penetration level of renewable resources.
To account for the stochastic nature of wind power and demand, the optimal scheduling in this work is formulated as a two-stage chance-constrained optimization problem. The constraints related to uncertain parameters are written as probabilistic constraints with a chosen risk level [
17,
18]. A common method used to solve chance-constrained problems is the Sample Average Approximation (SAA) algorithm, which involves Monte Carlo simulation to approximate the distribution function of a random vector using
N samples [
19,
20,
21,
22,
23]. Although SAA is simple and convenient, all
N samples are considered to have the same probability regardless of the true distribution of the random vector, so the number of samples must be large to ensure that a feasible solution is found. If there are many uncertain parameters, the size of the optimization problem increases, and a significantly longer computing time is required. For these reasons, it is necessary to improve the algorithm, which is one of the objectives of the present work.
The salient features of the present study include the following.
The research focuses on frequency stability-constrained UC models. The ESS, which is employed to keep power balance and take advantage of wind power, is considered to provide fast frequency response (FFR) in large frequency disturbances, such as loss of a generator. The frequency dynamics is approximated using a first-order representation.
The proposed UC model is based on a two-stage stochastic programming framework which is suitable for the short-term planning of power systems with uncertain sources. The model is formulated as a chance constraint problem to allow a certain risk level in the day-ahead scheduling.
The impact of ESS sizing and its response time on frequency nadir is analyzed.
As the computing time required for solving chance-constrained optimization is usually significant, in this paper, a Modified Sample Average Approximation (MSAA) method is presented and applied to solve the proposed optimization problem. The combination of SAA and k-means clustering approach is proven to be more effective than the original SAA approach.
The rest of the paper is organized as follows.
Section 2 demonstrates the application of the ESS for FFR.
Section 3 presents the mathematical formulation of the proposed chance-constrained optimization problem to determine the optimal scheduling of the power system.
Section 4 presents the MSAA algorithm. The computation results are collected and analyzed in
Section 5.
Section 6 concludes the paper.
2. Fast Frequency Response and the Role of the ESS
As discussed in
Section 1, IR plays an important role in maintaining frequency after a generator is lost. This process slows down the change of frequency before the governors fully react to provide PFR. We can evaluate this process using two important criteria including the rate-of-change-of-frequency (RoCoF) and the lowest frequency known as the frequency nadir
.
Consider, for example, a power system with
I generators. If at time
t generator
j with power output
(kW) is lost, the RoCoF immediately after the contingency event is defined as
where
is the system inertia (kW·s/Hz) after the loss of generation
j and
is a function of the inertia of the online generators:
where
,
, and
are the inertia constant, maximum capacity, and ON/OFF state of the remaining generators, respectively;
is a binary variable that is equal to 1 if generator
i is online and 0 if it is offline.
If the inertia of the system is sufficient, the frequency will stop before reaching the threshold of the UFLS relays. However, in an islanded power system, the primary resources are DGs with low inertia constants. Additionally, modern wind turbines are connected to the grid through an electronic power converter, which does not contribute to the system inertia. It is easy to see that the lower the system inertia, the faster the frequency drops. Therefore, even though DGs can adjust their power output quickly, it is still difficult to arrest the frequency decline before reaching the minimum allowable frequency.
The concept of FFR is applied to solve this problem. Unlike both IR and PFR, which slowly adjust the power based on the frequency deviation thus arresting the deviation and restoring frequency, the objective of FFR is to immediately inject active power into the grid to correct the power imbalance. This is implemented based on wind turbines or ESS that can change their power output almost instantaneously. FFR can be considered as a measure to compensate for the “interval” between IR and PFR, during which the frequency is too low and PFR is still not fully active.
Note that FFR cannot completely replace PFR—it is only a support measure while waiting for the DGs to provide PFR. Thus, a sustained FFR duration is not necessary. Riesz et al. [
24] show that in ERCOT (Texas) this duration is 10 min, while the EirGrid/SONI (Ireland) only requires an 8-second FFR.
An important requirement for FFR is fast response time, and systems with a higher RoCoF will require a faster response time. Assuming the system has a nominal frequency of 50 Hz and a minimum frequency of 49 Hz, FFR must fully react within 250 ms in the case of a 4 Hz/s RoCoF. The response time depends on not only the detection method but also the type of device used to provide FFR. The times required to detect contingency and to send the control signal, as well as the reaction time and rise time of the ESS, are summarized in
Table 1 [
3]. It can be seen that, with total response times ranging from 100 ms to 200 ms, the ESS is suitable for providing FFR.
In this section, we outline the constraints on the power output of the DGs for each hour and the response of the ESS needed to satisfy the frequency criterion, .
Using the first-order model for a governor–prime mover previously presented in [
14,
25], we arrive at an approximate model of the system’s response after a sudden generation loss of amount
and the application of ESS for FFR, as described in
Figure 1. After the governor’s dead time
, which corresponds to the frequency dead band
, the power output of the DGs will change due to the governor’s response with the system ramp rate
. On the other hand, a control signal is also sent to the ESS to increase its output from
or
to
. The adjustment provided by the ESS is
(
Figure 1).
To simplify the model, we make two assumptions:
The rise time of ESS is negligible.
The ESS can fully compensate for the power shortage. This means that the frequency decay stops immediately after the ESS fully responds, at which point the frequency nadir occurs.
The time evolution of the system frequency deviation can be described by
where
and
describe the additional power provided by DGs (due to the response of the governors) and ESS, respectively.
and
are formulated as follows
Using the model presented in
Figure 1, we can find the relationship between the adjustment power provided by the ESS and the time when the ESS can fully respond:
Considering Equations (4)–(6), Equation (3) can be integrated between
and
:
Assuming that before the contingency event, the system frequency is at the nominal value
, we have
Chavez et al. [
14] show that the duration of
is related to the governor dead-band
(Hz) by equation
. Besides, noting that the frequency nadir should not be below the predefined threshold
, we obtain the frequency nadir’ s requirement as follows.
Substituting Equations (6) into (7) and noting that
, we obtain the following constraint.
Equation (8) shows that the number of DGs in operation and their power output per hour is limited by the time taken for the ESS to fully react, and this will be used in the optimal scheduling formulation presented in
Section 3.
4. The Modified Sample Average Approximation
Consider a simple two-stage chance-constrained optimization model
subject to
where
is the first-stage variable,
is the second-stage variable, and
is random input data. Many studies in the literature show that this model can be solved by the SAA method [
19,
20,
21,
22,
23].
In this method, Monte Carlo simulation is used to approximate the distribution function of the random vector
ξ by
N samples. The optimization formulation in Equations (28) and (29) then becomes
subject to
where
is an indicator function that is equal to one if
and zero otherwise.
It is assumed that the N samples have the same probability (. This assumption helps to simplify the formulation of the optimization; however, a large number of samples are required to guarantee accuracy, which means the CPU time required to solve it increases accordingly.
In the present study, a modified approach to the SAA is proposed, by using a k-means clustering approach to reform the samples. Instead of using all
N samples, the k-means clustering divides the samples into
M clusters. The probability of each cluster is the sum of the probabilities of the constituent samples. Next,
M centroids of the clusters are used as the SAA algorithm input samples, with the probability of each centroid being equal to the probability of the cluster that it represents.
Figure 4 illustrates a small example: 1000 samples generated from the standard normal distribution N(0,1) are replaced by 10 centroids.
For
M centroids and their corresponding probabilities, Equations (28) and (29) are reformulated as
subject to
where
is the probability of each centroid (
Now let
and
, respectively, be the optimal solution and value of the optimal problem in Equations (32)–(33) and check whether this solution is feasible or not. Using Monte Carlo simulation to generate a new set of
samples where
is much larger than
, we find the value of the probability constraint in Equation (31) with solution
is
The (1–ɛ)-confidence lower bound on
is then computed using
where
is the inverse normal distribution function.
is a feasible solution of the original problem only if
. We repeated this process K times according to the flow chart illustrated in
Figure 5, and found the maximum value
and minimum value
of the optimal value
. If the optimality gap given by
is smaller than a predetermined threshold, the algorithm terminates, and we obtain the optimal solution of the original problem.
6. Conclusions
In this paper, an optimal day-ahead scheduling problem concerning the application of ESS for FFR is considered and analyzed in detail. The optimization problem is formulated within a two-stage chance-constrained framework, in which the load and the maximum possible wind power are uncertain. In this model, power balance and frequency criteria constraints are formulated as probability constraints with a certain risk level. Based on the first-order model of frequency dynamic, the relationships between the power output of each DG, the ESS charge/discharge power, and the response time are studied. The impact of the size and response time of the ESS on the frequency nadir after the sudden loss of a DG is also analyzed. It is also noteworthy that an MSAA approach was proposed in the present study to solve a chance-constrained problem, and the effectiveness of this method was demonstrated.
The results obtained in two cases—with and without FFR provided by ESS—demonstrate the effectiveness of FFR in arresting frequency deviations after a contingency event. The proposed method ensures that the minimum frequency threshold is not violated, even when the actual values of wind power and demand are different from the predicted values incorporating the predetermined maximum errors. The results also show that a slower FFR will lead to a larger ESS to ensure frequency criteria.
The proposed approach can be extended to consider multiple contingencies such as line outages or load interruptions as well as equipment failures. The model can also be readily adapted to include other uncertain factors, such as solar power generation or electricity prices. These topics are left for future work.