Keywords

1 Introduction

The current power system is still based on the past technologies where large-scale fossil fuel based power plants produce majority of the electricity share in the generation mix and consumers do not have significant participation [1]. Thus, the electricity market of the next decade will move towards a decentralized structure with more variable generation and improved technologies and increased consumer participation. On the other hand, in the balancing markets with centralized and decentralized (self-scheduling) structures, if there is a security threat to the system due to locational imbalances, the centralized market can solve such an issue where additional factors such as reserve and congestion are also simultaneously considered. Hence, there are still some European countries that consider a centralized system, such as Greece [2].

As renewables’ production continues to increase in Europe, power systems and electricity markets face multiple challenges in order to successfully integrate large amounts of non-dispatchable renewable energy sources (RES). Figure 1 shows a perspective of the electricity generation outlook in the European Union (EU) per technology in a scenario that incorporates existing policies and announced policy intentions [3].

Fig. 1.
figure 1

Electricity generation outlook in the EU per technology. Source (IEA/WEO 2018) [3].

The political goals on the supporting mechanisms clearly state that renewable power plants must be integrated in the electricity market to create an open, competitive, transparent and non-discriminatory environment among all players [4]. Therefore, the economic sustainability of renewable generation in the electricity market is critical for pursuing the new energy policy in the EU. Without further incentives and with the end of the contracts for subsidized renewable production (e.g. feed-in-tariffs), renewable producers will be forced to participate under the same market rules as any other producer [5].

One key issue associated with RES is the stochastic nature of sources. High variability of RES requires an analogous degree of flexibility from the available resources to maintain power balance. At the same time, renewable producers are being challenged about how they can contribute to the system’s flexibility. Advances in renewable generation technologies (e.g. smart maintenance [6]) are allowing them to provide more flexibility to the system. Thus, the provision of flexibility services is a key, both for renewable producers, as they can sell additional services and increase their revenue, and for the system operators, as they increase the list of flexibility sources that are available for the system’s operation.

2 Assumptions and Structure

It is very common to consider that competitive markets without market failures can be modeled through an optimization programming where market surplus is maximized [7]. The model proposed in this paper for flexibility studies covers a day-ahead market operation as a social welfare maximization concept. In this regard, system operator makes the decisions in order to have the lowest operation cost in the next 24 h horizon. This is achieved by a mixed integer nonlinear programming problem (MINLP) where the objective is to minimize the operation cost of the system.

Renewables have incentives in many countries where they can receive subsidies for generation. This reduces the costs and assists them to provide low bids to the market. One other form of incentive is that renewable sources are prioritized over other types and this means that if there is any renewable energy available, they must be produced, regardless of the impact that this decision might have on the system, e.g. increase costs or create congestion. For this purpose, in this paper, specifically we do not consider any incentive for renewable sources. As a result, it is assumed that they participate in the market with their actual operating costs, which could still be lower than other participating generators.

2.1 Reserve

There are various methods to model reserve in a power system. Different operators consider different approaches based on their system requirements and perspectives [8]. In this paper, the secondary control reserve is defined as capability of committed generators to provide additional production in case it is required. On the other hand, the minimum reserve is considered as a percentage of system load at any time. Although it is assumed that the generator must have enough capacity to provide additional support, this excess support is not limited by the ramp characteristics of the generator. As a result, if a generator is already running and has free capacity, the free capacity is accounted for as the reserve. This simplification of neglecting the ramping limitation and solely considering committed capacity might result in solutions that are cheaper, easier to solve (due to mathematical difficulties) with unrealistic reserve values.

2.2 Flexibility Index

Uncertainty, outage and variations can be considered as three main origins that raise the need for flexibility in a system. Uncertainty in the system can be defined as coming from various sources such as intermittent renewables. In a similar manner, outages of generators can significantly impact the system. Finally, variations in the demand could change the condition of the system. These parameters could show their influence in the ranges from real-time to medium term and long term. In other words, the system requires flexibility in control, operation and planning. In this paper, we try to address the flexibility from operation point of view, Fig. 2.

Fig. 2.
figure 2

Flexibility factors in a power system [9]

The three hierarchical levels that the flexibility can come into play are generation, transmission and distribution. Renewable sources and battery energy storage system (BESS) can produce at the generation level to provide flexibility. For the distribution, active load can provide flexibility by shifting the demand from one time to another. In the same way, a BESS could also play such a role in form of an active distribution node (ADN). On the transmission level, loading of the transmission lines could be linked to the flexibility of the lines. For instance, if the lines in an area of the system are mostly fully loaded, the flexibility of the system from transmission point of view is very low. Since each transmission system operator is responsible for monitoring its grid, they calculate such concept as available transfer capability (ATC) [10]. Additionally, the ATC can be shared with the generation companies so that they can consider such flexibility in their operation planning as well. Considering these points, we also adopt the flexibility definition as a flexibility index (FLEXIN) provided by [9] to show the degree of system flexibility.

3 Modelling

The proposed model is formulated through an optimization problem that is explained below. In the following, the case studies are defined and the input data of the test system are mentioned.

3.1 Mathematical Formulation

The mathematical formulations for the model have an MINLP form where the objective is to minimize operation cost of the whole system.

$$ \begin{array}{*{20}l} {\mathop \sum \limits_{{h,g \in\Omega _{TH}^{i} ,\Omega _{WIND}^{i} }} \left( {\alpha_{g} P_{h,g}^{2} + b_{g} P_{h,g} } \right)} \hfill \\ { + \mathop \sum \limits_{{h,g \in\Omega _{BESS}^{i} }} \left( {\alpha_{g} {{P_{h,g}^{c}}^2} + b_{g} P_{h,g}^{c} + \alpha_{g} {{P_{h,g}^{d}}^2} + b_{g} P_{h,g}^{d} + c_{g} SOC_{h,g} } \right)} \hfill \\ { + \mathop \sum \limits_{{h,g \in\Omega _{TH}^{i} }} \left( {r_{g} R_{h,g} } \right) + \mathop \sum \limits_{{h,g \in\Omega _{TH}^{i} ,\Omega _{WIND}^{i} }} \left( {c_{g} u_{h,g} } \right) + \mathop \sum \limits_{{h,g \in\Omega _{TH}^{i} ,\Omega _{WIND}^{i} }} \left( {\rho_{g} y_{h,g} } \right)} \hfill \\ { + \mathop \sum \limits_{{h,g \in\Omega _{TH}^{i} ,\Omega _{WIND}^{i} }} \left( {\sigma_{g} z_{h,g} } \right) + \mathop \sum \limits_{h,i} \left( {VOLL \times D_{h,i}^{lsP} } \right)} \hfill \\ { + \mathop \sum \limits_{{h,g \in\Omega _{TH}^{i} }} VOEMS \times EMS_{g} \times P_{h,g} } \hfill \\ \end{array} $$
(1)

The operation cost of the system is presented in (1). It includes the production cost of conventional generators, wind generators and BESS in the first two terms. Cost of reserve is accounted for as well as commitment, startup and shutdown costs. Final two terms include the penalty for load shedding and cost of emissions. Subsequently, the system constraints are formulated as follows:

$$ \begin{aligned} & \mathop \sum \limits_{{g \in\Omega _{TH}^{i} ,\Omega _{WIND}^{i} }} P_{h,g} + D_{h,i}^{lsP} - D_{h,i}^{drP} - \mathop \sum \limits_{{g \in\Omega _{BESS}^{i} }} P_{h,g}^{c} + \mathop \sum \limits_{{g \in\Omega _{BESS}^{i} }} P_{h,g}^{d} \\ & = \mathop \sum \limits_{{j \in\Omega _{\ell }^{i} }} P_{h,i,j} \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \forall h, i \\ \end{aligned} $$
(2)
$$ \begin{array}{*{20}c} {u_{h,g} P_{g}^{min} \le P_{h,g} \le u_{t,g} P_{g}^{max} } & {\forall h,g|g \in\Omega _{TH, WIND}^{i} } \\ \end{array} $$
(3)
$$ \begin{array}{*{20}c} {P_{h,g} - P_{h - 1,g} - \bar{R}_{g} \le 0} & {\forall h,g|g \in\Omega _{TH}^{i} ,\Omega _{WIND}^{i} } \\ \end{array} $$
(4)
$$ \begin{array}{*{20}c} {P_{h - 1,g} - P_{h,g} - \underline{R}_{g} \le 0} & {\forall h,g|g \in\Omega _{TH}^{i} ,\Omega _{WIND}^{i} } \\ \end{array} $$
(5)
$$ \begin{array}{*{20}c} {u_{h + 1,g} - u_{h,g} = y_{h + 1,g} - z_{h + 1,g} } & {\forall h\left\langle {N_{h} ,g} \right|g \in\Omega _{TH}^{i} ,\Omega _{WIND}^{i} } \\ \end{array} $$
(6)
$$ \begin{array}{*{20}c} {SOC_{h,g} = SOC_{h - 1,g} + P_{h,g}^{c} \eta_{c} - \frac{{P_{h,g}^{d} }}{{\eta_{d} }}} & {\forall h,g|g \in\Omega _{BESS}^{i} } \\ \end{array} $$
(7)
$$ \begin{array}{*{20}c} {P_{g}^{min} \le P_{h,g}^{c} \le P_{g}^{max} } & {\forall h,g|g \in\Omega _{BESS}^{i} } \\ \end{array} $$
(8)
$$ \begin{array}{*{20}c} {P_{g}^{min} \le P_{h,g}^{d} \le P_{g}^{max} } & {\forall h,g|g \in\Omega _{BESS}^{i} } \\ \end{array} $$
(9)
$$ \begin{array}{*{20}c} {P_{g}^{min} \le SOC_{h,g} \le P_{g}^{max} } & {\forall h,g|g \in\Omega _{BESS}^{i} } \\ \end{array} $$
(10)
$$ \begin{array}{*{20}c} {SOC_{h,g} = 0} & {\forall h = 1,N_{h} ,g|g \in\Omega _{BESS}^{i} } \\ \end{array} $$
(11)
$$ \begin{array}{*{20}c} {P_{h + 1,g}^{c} - P_{g}^{max} + SOC_{h,g} \le 0} & {\forall h\left\langle {N_{h} ,g} \right|g \in\Omega _{BESS}^{i} } \\ \end{array} $$
(12)
$$ \begin{array}{*{20}c} {P_{h + 1,g}^{d} - SOC_{h,g} \le 0} & {\forall h\left\langle {N_{h} ,g} \right|g \in\Omega _{BESS}^{i} } \\ \end{array} $$
(13)
$$ \begin{array}{*{20}c} {P_{h,i,j} = \frac{{\delta_{h,i} - \delta_{h,j} }}{{X_{i,j} }}} & {\forall h, i,j|j \in\Omega _{\ell }^{i} } \\ \end{array} $$
(14)
$$ \begin{array}{*{20}c} { - P_{i,j}^{max} \le P_{h,i,j} \le P_{i,j}^{max} } & {h,i,j|j \in\Omega _{\ell }^{i} } \\ \end{array} $$
(15)
$$ \begin{array}{*{20}c} {\delta^{min} \le \delta_{h,i} \le \delta^{max} } & {\forall h,i} \\ \end{array} $$
(16)
$$ \begin{array}{*{20}c} {\delta_{h,i} = 0} & {\forall h,i = slack\; bus} \\ \end{array} $$
(17)
$$ \begin{array}{*{20}c} {\mathop \sum \limits_{{g \in \varOmega_{TH}^{i} }} R_{h,g} \le \mathop \sum \limits_{{g \in \varOmega_{TH}^{i} }} \left( {u_{h,g} P_{g}^{max} - P_{h,g} } \right) } & {\forall h} \\ \end{array} $$
(18)
$$ \begin{array}{*{20}c} {\mathop \sum \limits_{{g \in \varOmega_{TH}^{i} }} R_{h,g} \ge \gamma \mathop \sum \limits_{i} D_{h,i}^{drP} } & {\forall h} \\ \end{array} $$
(19)
$$ \mathop \sum \limits_{h,i} D_{h,i}^{drP} = \mathop \sum \limits_{h,i} D_{h,i}^{al} $$
(20)
$$ \begin{array}{*{20}c} {\left( {1 - \zeta_{min} } \right)\mathop \sum \limits_{i} D_{h,i}^{al} \le \mathop \sum \limits_{h,i} D_{h,i}^{drP} } & {\forall h} \\ \end{array} $$
(21)
$$ \begin{array}{*{20}c} {\mathop \sum \limits_{h,i} D_{h,i}^{drP} \le \left( {1 + \zeta_{max} } \right)\mathop \sum \limits_{i} D_{h,i}^{al} } & {\forall h} \\ \end{array} $$
(22)
$$ \begin{array}{*{20}c} {0 \le D_{h,i}^{lsP} \le D_{h,i}^{drP} } & {\forall h,i} \\ \end{array} $$
(23)

Equation (2) shows the demand balance where transmission lines are considered. As a result, we obtain locational marginal prices in each node of the system as Lagrange multiplier of this equation.

Equation (3) limits minimum and maximum production level of conventional and wind generators. (4) and (5) set the upward and downward ramping capabilities of the generators. (6) provides the link between startup, shutdown and commitment status of the generators.

Equations (7)–(13) are related to BESS. (7) shows the relation between charge, discharge and state-of-the-charge of the BESS by accounting for charge and discharge efficiencies. While (8)–(10) limit maximum and minimum charge, discharge and SOC values, (11) considers that the value of the SOC of the BESS should be the same at the beginning and the end of the simulation period. (12) considers that the amount that the BESS can be charged at any time should be less than the difference between the maximum capacity of the BESS and the SOC that is already available at the previous hour. Similarly, (13) considers that the amount of discharge of the BESS at any time cannot be more than the available amount of SOC at the previous time.

Equation (14) defines the power flow between the buses to be linearly related to the difference between the voltage angles of the buses, where (15) and (16) sets the limit on the maximum and minimum capacity of the lines and the voltage angles of the buses. (17) assumes that the voltage angle of the slack bus is zero.

Equation (18) considers that participation of each conventional generator in the hourly defined reserve in this system should be less than the maximum available capacity of that generator. The reserve should also be greater than some percentage of the realized load, (19).

Equations (20)–(23) consider the demand side management where moved sum of the demand in the simulation horizon should be equal to the sum of the forecasted demand. The demand flexibility degree is also considered as a percentage where the moved demand can only be a percentage of the forecasted demand, (21), (22). In the end, maximum load shedding at any time and bus should not be more than the realized load (23).

The mathematical formulation for FLEXIN is also provided in (24), where conventional generators provide flexibility through their ramping and reserve, BESS provides flexibility along with renewable sources individually, active demand from the customer side and ACT from transmission side also deliver flexibility.

$$ \begin{aligned} & \mathop \sum \limits_{{g \in \varOmega_{TH}^{i} }} R_{h,g} + \mathop \sum \limits_{{g \in \varOmega_{WIND}^{i} }} \left( {P_{g}^{max} - P_{h,g} } \right) + \mathop \sum \limits_{{g \in \varOmega_{BESS}^{i} }} \left( {P_{g}^{max} - SOC_{h,g} } \right) \\ & + \mathop \sum \limits_{i,j} \frac{{\left( {P_{i,j}^{max} - \left| {P_{h,i,j} } \right|} \right)}}{2} + \zeta_{max} \mathop \sum \limits_{i} D_{h,i}^{al} \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \forall h \\ \end{aligned} $$
(24)

3.2 Case Studies

In order to investigate the performance of the model and analyze flexibility of the the system, different case studies have been defined and carried out, Table 1. The main idea to design the case studies was to link the FLEXIN as a metric for evaluating flexibility of the system and demonstrating influence of various sources of flexibility. While Case1 considers a basic case without the main flexibility sources, Case5 puts together all the defined flexibility sources.

Table 1. Considered study cases for the analyses

The model is coded in GAMS software v25.0.3 [11] and solved with BARON solver v17.10.16 [12] on a computer with 64 GB of RAM and i7-7820X @3.60 GHz Intel processor. As for the test system, we considered modified IEEE 24-bus test system [13].

3.3 Input Data

Penalty for performing a load shedding is considered by defining the value of lost load (VOLL) parameter as 10000 ($/MWh). The value of emissions (VOEMS) for conventional generators is considered to have a cost of 20 ($/kg). Charge and discharge efficiencies of BESS are assumed to be 98%. 0.9 and 1.1 in radian are the minimum and maximum allowable values for voltage angles at each bus. The reserve has a value of 20% with respect to the demand (\( \gamma \)), which means the system reserve at any time should be more than or equal to the 20% of the system demand. Finally, demand flexibility at each bus assumed to be 4% (\( \zeta \)). The rest of the data about the test system can be found in [9]. The model considers three BESS units, two wind plants and twelve non-renewable sources.

It should be reminded that the wind generators are connected to the grid in buses 5 and 9 and the three BESS units are connected to the grid in buses 10, 13 and 18. The value of demand at hour 20:00 in bus 5, 9, 10, 13 and 18 is 70, 124, 146, 212 and 242 MW, respectively. The connecting transmission lines for the renewable generator buses are: L3 (b1–b5), L6 (b3–b9), L8 (b4–b9), L9 (b5–b10), L12 (b8–b9), L14 (b9–b11), L15 (b9–b12). Similarly, the connecting transmission lines for the BESS buses are: L9 (b5–b10), L10 (b6–b10), L13 (b8–b10), L16 (b0–b11), L17 (b10–b12), L18 (b11–b13), L20 (b12–b13), L22 (b13–b23), L29 (b17–b18) and L31 (b18–b21).

4 Results

A comparison between the maximum and minimum changes of prices and loading of the lines are provided in Table 2. As it can be seen, addition of reserve in Case2 has resulted in similar prices as in Case1, where no reserve is accounted for. Two explanations can be provided here. The first explains that in Case1, the system is already providing enough reserve, which by explicitly considering the 20% reserve, the operation cost of the system does not change significantly.

Table 2. Price and line loading summary

The other explanation is that this type of formulating reserve, (18) and (19), does not accurately display the impact of reserve on the operation cost of the system. This is also in line with the previous explanation as this kind of formulation neglects the characteristics of the generators from ramping perspectives. Therefore, it can be concluded that the reserve formulation in [9] provides a more realistic model for reserve. However, as mentioned earlier, the current formulation has simpler form as it avoids the Big-M formulation. The impact of this formulation on the rest of the case studies should be taken into account when analysing the results.

Another observation from Table 2 is the distinct impact of renewables on the prices in Case3. One interesting reflection is the reduction in loading of the lines when storage enters the operation in Case4. Both maximum and minimum loading values have been reduced, where similar prices as in Case3 are obtained. This shows how adding storage can relieve some stress from transmission lines in overall. Finally, by bringing in demand flexibility, although the prices see a reduction, the loading of the lines increases. It should be mentioned that there is no cost for loading of the lines in the operation cost.

Figure 3 illustrates different loading levels of the transmission lines at peak hour, 20:00 with the value of 2233 MW. It should be mentioned that in Case1, none of the flexibility sources are considered and Case5 considers that only four of the flexibility sources have direct impact on the operation cost. The only flexibility factor that is not considered in the operation cost is the loading of the lines. Thus, it is not expected that the loading of the lines are minimized.

Fig. 3.
figure 3

Transmission line loading for Case1 and Case5.

Comparing the two cases in Fig. 3 and considering the values in Table 2, it can be seen that adding the sources of flexibility to the system causes a decrease in the operation cost and an increase in the loading of the transmission system. Furthermore, it can be seen that except for L8 and L12, the loading of the mentioned lines increases by considering new flexibility sources.

Moreover, it can also be seen that except for L9, L13 and L22, the loading of the lines have reduced. As a result, in short, out of sixteen related lines to the flexibility sources, nine lines have had decrease in their loading values after consideration of flexibility sources. It should however be mentioned that the overall loading of the transmission system has increased. Thus, the flexibility sources have provided some loading relief (congestion management) for the connected buses at the peak hour.

Figure 4 illustrates the generation percentage from generators, with G11 having the highest value. G11 is a conventional generator with maximum capacity of 440 MW. G11, G9 and G5 are the largest generators having about 60% of the production share. The 0% for G3 and G4 is due to rounding of the values.

Fig. 4.
figure 4

Production share in Case2.

Figure 5 displays the operation of batch of BESS in the system where all sources of flexibility are considered. It can be seen that the BESS starts charging when there is large amount of renewables and discharge in high load hours (h9, h10) and near peak and peak hours (h13, h14, h20, h21) (arbitrage condition). It is also interesting to see that the BESS is out of operation solely for four hours in the whole day.

Fig. 5.
figure 5

Operation of aggregated BESS in Case5.

Finally, Fig. 6 illustrates the hourly system flexibility provided from the considered five flexibility sources. It can be seen that on this particular day, the maximum and minimum system flexibility are calculated to be 2096 MW (at hour2) and 1456 MW (at hour5). The lowest value of flexibility occurs at hour5 resulting from three consecutive charging periods by the BESS. Now, this can be considered as a reference study for the operator. For instance, the operator can later look back, check the operating conditions on this day, and see whether they were satisfactory. If not, the operator can modify the system in order to achieve better system flexibility and security. Considering that there are various parameters affecting the flexibility, the operator could particularly ask BESS to be in standby at hour5 in case there is a contingency.

Fig. 6.
figure 6

FLEXIN for Case5.

5 Conclusions

This paper incorporates five sources of flexibility into a day-ahead operation in power systems where the incentive for renewable sources are ignored. The paper also considers a simplified formulation for the reserve and the results show the impact of such simplification on the operation cost and flexibility. Finally, the adopted flexibility index displays how a system operator could investigate flexibility of the grid over a future operating horizon and make required adjustments to improve the operation and hedge against contingencies. Future studies could discuss the sensitivity of change in the operation cost and flexibility of the system with respect to various values of incentive for renewable sources. Additionally, self-scheduling aspect could also be adapted in order to demonstrate the possible modifications in case the decentralized approach is selected.