Keywords

1 Introduction

The increasing penetration of variable renewable energy (VRE) presents significant technical challenges for balancing the power system supply and demand. More specifically, as the integration of VRE increases, the net load, which is the difference between electrical load and renewable power becomes more variable with steeper ramps, shorter peaks, and lower turn-downs than the load itself [1]. Therefore, system flexibility or the ability of a system to meet changes in demand and VRE production plays a crucial role [2].

Until now, traditional capacity adequacy studies focused on the amount capacity available, the forced outage rate of each resource and the system demand. In these studies, metrics such as loss of expectation (LOLE) [3, 4], the expected energy not served (EENS) or well-being analysis [5] are standard measures by which a planned portfolio is evaluated and have served the industry well until now. However, as the shares of VRE increases, the planning approach will need to change and should incorporate new metrics and additional factors, such as the availability and ramp rate of the resources, start-up time and minimum stable operation of the conventional generating units, the variability and uncertainty of the net load and reserve provision planning. But assessing flexibility is not yet common practice. Although indirectly involved in the planning of most power systems, such assessments do not yet follow a comprehensive, transferable methodology that might facilitate common practice among operators. It is a highly complex process considering many operation and design aspects [6].

In this frame, different flexibility studies and metrics have been presented in the literature that focus on the long-term planning of power systems. In [7] a methodology is developed to deal with a significant degree of uncertainty about time and location of generating assets expansion and in [8] a method is proposed for evaluating the system flexibility to adapt quickly with limited costs to every change from the initial planning conditions, with a particular regard to the changes in generation. In [9] a flexibility metric is constructed that reflects the largest variation range uncertainty that the system can sustain by using the four-element framework (time, uncertainty, action and cost), while in [10] the insufficient ramping resource expectation (IRRE) metric is proposed to measure power system flexibility for use in long-term planning and is derived from traditional generation adequacy metrics. In [11] the metric of the number of periods of flexibility deficit (PFD) is proposed to characterize the flexibility of a system.

Taking into account the new flexibility metrics and approaches presented in the literature, the conventional adequacy studies of the Greek power system are revisited by taking into account flexibility requirements, resources and metrics. In particular, considering ten different scenarios for the Greek net load for the time period 2020–2024 that are determined based on the ENTSO-E methodology, we solve the unit commitment optimization problem by including both system power balance constraints and ramp capability constraints of the flexible resources. Furthermore, the flexibility metric IRRE is calculated, which expresses the number of up and down ramps for which there would be insufficient ramping resources available. Calculation of the IRRE follows a similar structure to the LOLE, however, it targets on the unavailability of flexibility and not on the shortage of generation capacity.

However, the IRRE metric does not take into account the temporal correlation between the flexibility available and the flexibility required which may lead to misleading results about the system’s flexibility. For example at the highest net load levels, most generator would be at high output and available to offer the additional downward flexibility likely to be required by the system, therefore IRRE underestimates the system flexibility which can lead to incorrect planning and unnecessary investments from the system operator.

In order to overcome this drawback, we utilize the PFD index approach. In particular, we calculate the flexibility residual, which is the difference between the available flexibility and the expected net load ramps, for each observation and horizon and then determine the probability of the flexibility residual distribution being less than zero. However, in contrast to the PFD approach, we use a non-parametric kernel distribution to estimate the probability distribution function, which can provide more accurate and robust results. Furthermore, the proposed metric incorporates the temporal correlation between the flexibility available and the flexibility required in comparison to the IRRE index. Overall, the main contribution of this work can be summarized as follows:

  1. 1.

    The traditional adequacy studies of the Greek power system are upgraded by adding the flexibility requirements and flexibility resources.

  2. 2.

    Using a Kernel density estimator we estimate the flexibility of the system over different time horizons and directions and highlight the time horizons of net load ramping in which the system is most vulnerable.

  3. 3.

    Simulations that use real data for both the flexibility requirements and flexibility resources are performed for solving the unit commitment optimization problem with flexibility requirements constraints of the Greek power system for the time period 2020–2024.

The rest of the paper is organized as follows. In Sect. 2, some preliminaries in flexibility of power systems are introduced. In Sect. 3, the flexibility metrics that are used in the flexibility assessment study of Greece are presented. In Sect. 4, the unit commitment problem is formulated as a mixed integer linear program. In Sect. 5 simulation results are shown and, finally, in Sect. 6 some conclusions are drawn.

2 Preliminaries in Flexibility

Before we describe the flexibility metrics, firstly, we present some preliminaries in power system flexibility as defined in [10]. Also, in Table 1 the nomenclature is displayed.

2.1 Net Load Ramps

The net load ramp time series NLRt,i for time interval i, at observation t, is defined as follows

$$ NLR_{t, \, i} = NL_{t} - NL_{t - i} . $$
(1)

The net load ramps can be positive or negative. Also, the two following variables are introduced

$$ NLR_{t,i, + } = NLR_{t,i} \, \forall NLR_{t,i} \, > \,0 $$
(2)
$$ NLR_{t,i, - } = - NLR_{t,i} \, \forall NLR_{t,i} \, < \,0 $$
(3)

which denote positive and negative ramping occurrence.

Table 1. Nomenclature.

2.2 Available Resource Flexibility

Given the operating state of a unit g we can calculate the available upward and downward flexibility it can offer. In particular, the available upward (+) flexibility (Flext,g,i,+), for a resource g, over a horizon i, at observation t, is defined as

$$ Flex_{t,g,i, + } = RU_{g} *(i - (1 - u_{gt} )*SUtime_{g} ). $$
(4)

Upward flexibility is bounded by the maximum production capacity of the resource. Also, when the resource is offline, its start up time must be less than the considered time horizon, and also it must have sufficient time to reach minimum stable production. These two aforementioned conditions can be expressed mathematically as follows

$$ p_{gt} + Flex_{t,g,i, + } \, \le \,P_{g}^{\hbox{max} } . $$
(5)
$$ p_{gt} + Flex_{t,g,i, + } \in {\mathbb{R}} - (0,P_{g}^{\hbox{min} } ). $$
(6)

The downward (−) flexibility available (Flext,g,i,) from a unit g can be in a similar manner calculated as

$$ Flex_{t,g,i, - } = RD_{g} *u_{gt} . $$
(7)

The downward flexibility available is constrained by the minimum stable production level, i.e. the unit must either operate at least at minimum production level or shut down completely. The constraints for the downward flexibility available can be expressed mathematically as follows

$$ p_{gt} - Flex_{t,g,i, - } \, \ge \,0 $$
(8)
$$ p_{gt} - Flex_{t,g,i, - } \in {\mathbb{R}} - (0,P_{g}^{\hbox{min} } ). $$
(9)

2.3 System Flexibility

Addition of the available flexibility of each individual unit results in the total system flexibility

$$ Flex_{t,SYSTEM,i, + / - } = \sum\limits_{\forall g} {Flex_{t,g,i, + / - } } . $$
(10)

3 Flexibility Metrics

Now, we are ready to introduce the flexibility metrics utilized in this work.

3.1 IRRE

The available flexibility distribution (AFDi,+/(X)) can be calculated with the empirical cumulative distribution function of the flexibility available X. The AFDi,+/(X) represents the probability that X MW, or less, of flexible resource will be available during the i time horizon. The probability that the system has insufficient ramp resources at each observation, over each time horizon and direction, are calculated from the cumulative probability. In order to exclude these cases when the flexibility available is equal to the net load changes, the net load ramps are reduced to a value just below the net load value (for example 1 MW). Therefore, the insufficient ramping resource probability (IRRP) at observation t, over a horizon i, is:

$$ IRRP_{t,i, + / - } = AFD_{i, + / - } (NLR_{t,i, + / - } - 1). $$
(11)

The sum of the IRRP values over the entire time series, T+/, for each direction results in the IRRE, as defined in the following equation

$$ IRRE_{i, + / - } = \sum\limits_{{\forall t \in T_{ + / - } }} {IRRP_{t,i, + / - } } . $$
(12)

3.2 The Proposed Metric

Given the total available flexibility of the power system and the flexibility requirements calculated from the net load ramps, we can calculate the flexibility residual of the system at each observation t and time horizon i, for both directions (upward and downward) as follows

$$ FlexResidual_{t,SYSTEM,i, + } = Flex_{t,SYSTEM,i, + } - \hbox{max} \{ NLR_{t,i, + } ,0\} $$
(13)
$$ FlexResidual_{t,SYSTEM,i, - } = Flex_{t,SYSTEM,i, - } - \hbox{max} \{ NLR_{t,i, - } ,0\} . $$
(14)

In order to calculate the probability distribution function of the flexibility residual time series we fit a non-parametric kernel distribution [12]. This way we avoid making any assumption about the underlying distribution of the time series. Given a random sample x1, x2, … , xn from an unknown distribution, the kernel density estimator is given by

$$ \widehat{{f_{h} (x)}} = \frac{1}{nh}\sum\limits_{i = 1}^{n} {K(\frac{{x - x_{i} }}{h})} $$
(15)

where \( \widehat{{f_{h} (x)}} \) the estimated probability density function, K the kernel function, n the sample size and h the bandwidth. The kernel function and the bandwidth are the parameters that need to be selected. For this study we selected the Gaussian Kernel, which is the most often used and is given as follows

$$ K(x) = \frac{1}{{\sqrt {2\pi } }}\exp ( - \frac{1}{2}x^{2} ). $$
(16)

The parameter h needs tuning in order to avoid over fitting or under fitting the underlying time series, which was selected according to Silverman’s rule of thumb [13]. Finally, by calculating the probability of the flexibility residual being less than zero, we determine the probability that the system has insufficient ramp resources.

4 Unit Commitment Problem Formulation

In this section we provide a brief description of the unit commitment problem and the constraints included in this study. The problem is formulated as a mixed integer linear program (MILP), programmed using the YALMIP toolbox [14] and solved with a commercial solver. To minimize the total generation cost of the system the following deterministic unit commitment problem for energy and ancillary services co-optimization is formulated as in [15] where the objective is the following

$$ \begin{aligned} & \hbox{min} \sum\limits_{g \in G} {\sum\limits_{t \in T} {(SU_{gt} v_{gt} + SD_{gt} w_{gt} )} } + \sum\limits_{t \in T} {\sum\limits_{g \in T} {[(b_{g} p_{gt} + a_{g} u_{gt} ) + (b_{g}^{'} s_{gt} + a_{g}^{'} u_{gt} )]} } \\ & \quad \,\, + VOLL\sum\limits_{t \in T} {\Delta_{t} } \\ \end{aligned} $$
(17)

which minimizes start-up costs, shut-down costs and generation costs, using a linear approximation of the fuel cost function. Equations (18) and (19) represent the constraints that affect the unit commitment decision. In particular, the minimum ON and OFF time constraints are given by

$$ \begin{array}{*{20}l} {u_{gt} - u_{g(t - 1)} \le u_{g\tau } \, \forall g \in G, \, t \in T, \, \tau = t, \ldots ,\hbox{min} \{ t + L_{g} - 1,|T|\} } \hfill \\ {u_{g(t - 1)} - u_{gt} \le 1 - u_{g\tau } \, \forall g \in G, \, t \in T, \, \tau = t, \ldots ,\hbox{min} \{ t + l_{g} - 1,|T|\} } \hfill \\ \end{array} $$
(18)

where τ is a possible operating time period starting from time t, while the start up and shut down action constraints can be expressed as

$$ \begin{array}{*{20}l} {v_{gt} \ge u_{gt} - u_{g(t - 1)} \, \forall g \in G, \, t \in T} \hfill \\ {w_{gt} \ge - u_{gt} + u_{g(t - 1)} \, \forall g \in G, \, t \in T.} \hfill \\ \end{array} $$
(19)

The level of generation and spinning reserve provided by each unit is determined by the following constraints \( \forall g \in G, \, t \in T \)

$$ \sum\limits_{g \in G} {p_{gt} } + \Delta_{t} \ge D_{t} \, $$
(20)
$$ P_{g}^{\hbox{min} } u_{gt} \le p_{gt} \le P_{g}^{\hbox{max} } u_{gt} \, $$
(21)
$$ p_{gt} \ge 0 \, $$
(22)
$$ p_{gt} - p_{g(t - 1)} \le P_{g}^{\hbox{min} } (2 - u_{gt} - u_{g(t - 1)} ) + RU_{g} (1 + u_{g(t - 1)} - u_{gt} ) $$
(23)
$$ p_{g(t - 1)} - p_{gt} \le P_{g}^{\hbox{min} } (2 - u_{gt} - u_{g(t - 1)} ) + RD_{g} (1 - u_{g(t - 1)} + u_{gt} ) $$
(24)
$$ \sum\limits_{g \in G} {s_{gt} } \ge RS_{t} $$
(25)
$$ 0 \le s_{gt} \le S_{g}^{\hbox{max} } u_{gt} . $$
(26)

Equations (20) and (25) are constraints concerning the total system generation and reserve based on the net load forecast, while the remaining constraints are based on techno-economic parameters of each plant, including generation output, ramp rate and reserve provision. For this study we assumed that the net load is perfectly forecasted in each scenario and that perfect market completion exists, thus the generation bids represents the marginal cost of each unit. Also, only spinning reserves were considered.

5 Results

For the case study we used data from the Greek power system which are utilized in the Mid-term Adequacy Forecast conducted by ENTSO-E [16]. The different demand forecast scenarios examined in the case study correspond to various climate years for the time period 2020–2024, while the base case scenario both in demand growth and VRE penetration and normal scenario for hydro production are assumed. These scenarios are determined based on the methodology provided in [16].

The operation of thermal generators is modeled in detail, using all the techno-economic data available (ramp rates, generation constraints, marginal costs, etc.), while the maintenance schedule of thermal units considered for this study is the same as the schedule assumed in the adequacy studies of the Greek power system. Furthermore, commission of new power plants and expected retirement of old plants are also taken into account based on the Greek ten year network development plan. The operation of the hydro units is implemented for peak shaving operation for each scenario under consideration. The contribution of interconnections is regarded as the equivalent of a thermal unit of 500 MW base load with 95% availability. Although this is a conservative approach, since Greece is highly dependent from interconnections, this will enable us to remain on the safe side. Finally, the demand side management, since it is considered a safety measure and does not participate in the market, it is used only in cases of emergency as a last resort in the simulation study.

After taking into account all the examined scenarios, the expected values of the IRRE index and the proposed metric for different time intervals are determined along with two extreme values of the confidence interval. The results for both metrics for the case of upward ramps for the time period 2020–2024 are shown in Figs. 1 and 2. It is evident that the calculated metrics produce similar results, as they both identify the 5-h time horizon as the most vulnerable to lose a ramping event. By comparing the rest of the time horizons, the IRRE displays also a larger value in the 16-h time horizon in contrast to our proposed metric. This can be attributed to the fact that IRRE does not take into consideration the temporal correlation between the ramping events and the available flexibility at the particular observation, but rather compares them ex-post, which in turn may lead to falsely identifying particular time horizons as more in risk than they actually are. For example, in the time frame from 5:00 am to 9:00 pm the power system will experience the full extent of variability in the net load, resulting in very large upward ramps, but also in that time frame the system is able to provide a lot of upward flexibility since most units at 5:00 am are operating at the technical minimum (base units) or are offline (peak units). This underlines the benefit of modeling the probability of losing a ramp based on the flexibility residual.

Fig. 1.
figure 1

The expected value of the IRRE metric and its confidence interval for the time period 2020–2024 for the Greek power system.

Fig. 2.
figure 2

The expected value of the proposed metric and its confidence interval for the time period 2020–2024 for the Greek power system.

Furthermore, as one can observe from Fig. 1, the expected value of the IRRE metric (i.e. 4500) is used only to highlight the time horizons that are at most risk rather than to determine the absolute level of risk. On the contrary, the metric proposed in this paper provides realistic values of the probability of the system having insufficient ramp resources in the different time horizons. In particular, our methodology shows that there is a probability ranging from under 0.012 to over 0.020 of losing an upward ramp in the 5-h horizon for the various scenarios.

6 Conclusions

In this paper, an index based on Kernel density estimators is proposed that can measure accurately the flexibility of a power system. Calculating the metric and comparing it with the IRRE index in the unit commitment problem for the Greek power system, we showcased that the proposed metric achieves to evaluate effectively the flexibility of the system in the long term horizon. Therefore it can be a very useful tool for system operators in the planning phase and can accommodate flexibility studies.