# An Improved Flexibility Metric Based on Kernel Density Estimators Applied on the Greek Power System

## Abstract

The large-scale integration of variable renewable energy (VRE) in power systems, such as wind and solar, increases the flexibility needed to maintain the load-generation balance. In order for the power operators to plan for secure and reliable operation, they must examine whether there exists sufficient power system flexibility to meet ramps caused by the increased VRE integration and the system demand. In this context, the paper aims to propose an improved flexibility metric to accurately evaluate the flexibility level of a power system in the planning stage. The proposed metric is based on kernel density estimators and expresses the probability of the flexibility residual (the difference between the available flexibility and the expected net load ramps) being less than zero. The Greek power system is used as case study in order to evaluate the proposed index. In particular, the unit commitment optimization problem with flexibility constraints for ten different scenarios based on the ENTSO-E methodology for the time period 2020–2024 is solved and then the proposed metric is calculated. Finally, this index is compared to the well known insufficient ramping resource expectation (IRRE) metric to further evaluate it.

## Keywords

Flexibility metrics Unit commitment problem Kernel function## 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.

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

- 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.
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

*NLR*

_{t,i}for time interval

*i*, at observation

*t*, is defined as follows

Nomenclature.

Symbol | Definition |
---|---|

\( G \) | The set of the 26 generators |

\( S \) | Scenario |

\( T \) | The length of generation planning horizon (24 h) |

\( g \) | Indices of thermal generators |

\( t \) | Time period |

\( SU_{gt} \) | Start up cost of unit |

\( SD_{gt} \) | Shut down cost of unit |

\( L_{g} \) | Minimum ON time of generator |

\( l_{g} \) | Minimum OFF time of generator |

\( SUtime_{g} \) | Start up time of generator |

\( SDtime_{g} \) | Shut down time of generator |

\( NL_{t} \) | The net load at observation |

\( P_{g}^{\hbox{max} } \) | Maximum power generation capacity for generator |

\( P_{g}^{\hbox{min} } \) | Minimum power generation capacity for generator |

\( RU_{g} \) | Ramping up limit of generator |

\( RD_{g} \) | Ramping down limit of generator |

\( RS_{t} \) | Spinning reserve requirement at time |

\( S_{g}^{\hbox{max} } \) | Maximum spinning reserve of generator |

\( D_{t} \) | Forecasted hourly demand at time |

\( VOLL \) | Value loss of load (Euro/MWh) |

\( a_{g} , \, b_{g} \) | Linear coefficients of fuel cost function |

\( a_{g}^{'} , \, b_{g}^{'} \) | Linear coefficients of reserve cost function |

\( u_{gt} \) | Commitment decision for unit |

\( v_{gt} \) | Binary variable, start up action of unit |

\( w_{gt} \) | Binary variable, shut down action of unit |

\( p_{gt} \) | The thermal power generation output of unit |

\( s_{gt} \) | Spinning reserve of unit |

\( \Delta_{t} \) | Load-shedding loss at time |

### 2.2 Available Resource Flexibility

*g*we can calculate the available upward and downward flexibility it can offer. In particular, the available upward (+) flexibility (

*Flex*

_{t,g,i,+}), for a resource

*g*, over a horizon

*i*, at observation

*t*, is defined as

*Flex*

_{t,g,i,−}) from a unit

*g*can be in a similar manner calculated as

### 2.3 System Flexibility

## 3 Flexibility Metrics

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

### 3.1 IRRE

*AFD*

_{i,+/−}

*(X)*) can be calculated with the empirical cumulative distribution function of the flexibility available

*X*. The

*AFD*

_{i,+/−}

*(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:

*T*

_{+/−}, for each direction results in the IRRE, as defined in the following equation

### 3.2 The Proposed Metric

*t*and time horizon

*i*, for both directions (upward and downward) as follows

*x*

_{1}

*, x*

_{2}

*, … , x*

_{n}from an unknown distribution, the kernel density estimator is given by

*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

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

*τ*is a possible operating time period starting from time

*t*, while the start up and shut down action constraints can be expressed as

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.

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.

## Notes

### Acknowledgments

The paper includes partial results on flexibility assessment for transmission systems in line with the FLEXITRANSTORE project. The authors are grateful to all the other partners cooperating in the project and the support received from them. This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 774407, for which the authors wish to express their gratitude. For further information, please check the website: www.flexitranstore.eu.

## References

- 1.Ma, J., Silva, V., Belhomme, R., Kirschen, D.S., Ochoa, L.F.: Evaluating and planning flexibility in sustainable power systems. IEEE Trans. Sustain. Energy
**4**(1), 200–209 (2013)Google Scholar - 2.International Energy Agency: Harnessing Variable Renewables, pp. 41–67. International Energy Agency, Paris (2011)Google Scholar
- 3.Calabrese, G.: Generating reserve capacity determined by the probability method. Trans. Amer. Inst. Elect. Eng.
**66**(1), 1439–1448 (1947)CrossRefGoogle Scholar - 4.Billinton, R., Allan, R.: Reliability Evaluation of Power Systems, 2nd edn. Plenum, New York (1996)CrossRefGoogle Scholar
- 5.Billinton, R., Fotuhi-Firuzabad, M.: A basic framework for generating system operating health analysis. IEEE Trans. Power Syst.
**9**(3), 1610–1617 (1994)CrossRefGoogle Scholar - 6.Stratigakos, A.C., Krommydas, K.F., Papageorgiou, P.C., Dikaiakos, C., Papaioannou, G.P.: A suitable flexibility assessment approach for the pre-screening phase of power system planning applied on the greek power system. In: Proceedings of IEEE EUROCON 2019 - 18th International Conference on Smart Technologies, Novi Sad, Serbia, pp. 1–6 (2019)Google Scholar
- 7.Bresesti, P., Capasso, A., Falvo, M.C., Lauria, S.: Power system planning under uncertainty conditions. Criteria for transmission network flexibility evaluation. In: Proceedings of 2003 IEEE Bologna Power Tech Conference, Bologna, Italy, July 2003Google Scholar
- 8.Capasso,A., Falvo, M.C., Lamedica, R., Lauria, S., Scalcino, S.: A new methodology for power systems flexibility evaluation. In: Proceedings of 2005 IEEE Russia Power Tech, St. Petersburg, pp. 1–6, June 2005Google Scholar
- 9.Zhao, J., Zheng, T., Litvinov, E.: A unified framework for defining and measuring flexibility in power system. IEEE Trans. on Power Syst.
**31**(1), 339–347 (2016)CrossRefGoogle Scholar - 10.Lannoye, E., Flynn, D., O’Malley, M.: Evaluation of power system flexibility. IEEE Trans. Power Syst.
**27**(2), 922–931 (2012)CrossRefGoogle Scholar - 11.Lannoye, E., Flynn, D., O’Malley, M.: Assessment of power system flexibility: a high-level approach. In: Proceedings of 2012 IEEE Power and Energy Society General Meeting, San Diego, CA, pp. 1–8 (2012)Google Scholar
- 12.Bowman, A.W., Azzalini, A.: Applied Smoothing Techniques for Data Analysis. Oxford University Press Inc., New York (1997)zbMATHGoogle Scholar
- 13.Silverman, B.W.: Density Estimation for Statistics and Data Analysis. Chapman & Hall/CRC, London (1986)CrossRefGoogle Scholar
- 14.Lofberg, J.: YALMIP: a toolbox for modeling and optimization in MATLAB. In: Proceedings of IEEE International Symposium on Computer Aided Control Systems Design (2004)Google Scholar
- 15.Huang, Y., Pardalos, P.M., Zheng, Q.P.: Electrical power unit commitment: deterministic and two-stage stochastic program-ming models and algorithms. Springer (2017)Google Scholar
- 16.ENTSO-E: Mid-Term Adequacy Forecast 2018 Edition, Brussels (2018)Google Scholar

## Copyright information

**Open Access** This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.

The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.