Next Article in Journal
Conditioning of Spent Electrolyte Surrogate LiCl-KCl-CsCl Using Magnesium Potassium Phosphate Compound
Next Article in Special Issue
On Distributional Effects in Local Electricity Market Designs—Evidence from a German Case Study
Previous Article in Journal
Role of Extrinsic Contribution to Temperature Stability of Piezoelectricity for (K,Na)NbO3-(Bi,M)ZrO3 Ceramics with Morphotropic Phase Boundary
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On the Sensitivity of Local Flexibility Markets to Forecast Error: A Bi-Level Optimization Approach

1
Environmental Technology, Wageningen University and Research, Bornse Weilanden 9, 6700 AA Wageningen, The Netherlands
2
Flemish Institute for Technological Research (VITO), 2400 Mol, Belgium
3
EnergyVille, 3600 Genk, Belgium
4
Mathematical and Statistical Methods—Biometris, Wageningen University, Droevendaalsesteeg 1, 6708 PB Wageningen, The Netherlands
5
Energy and Resources, Copernicus Institute of Sustainable Development, Utrecht University, Vening Meinesz building 8.94, Princetonlaan 8a, 3584 CB Utrecht, The Netherlands
*
Author to whom correspondence should be addressed.
Energies 2020, 13(8), 1959; https://doi.org/10.3390/en13081959
Submission received: 24 February 2020 / Revised: 29 March 2020 / Accepted: 7 April 2020 / Published: 16 April 2020
(This article belongs to the Special Issue Design Optimization of Local Energy Markets)

Abstract

:
The large-scale integration of intermittent distributed energy resources has led to increased uncertainty in the planning and operation of distribution networks. The optimal flexibility dispatch is a recently introduced, power flow-based method that a distribution system operator can use to effectively determine the amount of flexibility it needs to procure from the controllable resources available on the demand side. However, the drawback of this method is that the optimal flexibility dispatch is inexact due to the relaxation error inherent in the second-order cone formulation. In this paper we propose a novel bi-level optimization problem, where the upper level problem seeks to minimize the relaxation error and the lower level solves the earlier introduced convex second-order cone optimal flexibility dispatch (SOC-OFD) problem. To make the problem tractable, we introduce an innovative reformulation to recast the bi-level problem as a non-linear, single level optimization problem which results in no loss of accuracy. We subsequently investigate the sensitivity of the optimal flexibility schedules and the locational flexibility prices with respect to uncertainty in load forecast and flexibility ranges of the demand response providers which are input parameters to the problem. The sensitivity analysis is performed based on the perturbed Karush–Kuhn–Tucker (KKT) conditions. We investigate the feasibility and scalability of the proposed method in three case studies of standardized 9-bus, 30-bus, and 300-bus test systems. Simulation results in terms of local flexibility prices are interpreted in economic terms and show the effectiveness of the proposed approach.

1. Introduction

1.1. Background and Motivation

The large-scale integration of intermittent renewable energy sources (RES) and the change in the role of end users, from energy consumers to prosumers with new technologies (e.g., distributed energy resources (DER) and storage facilities), have increased the uncertainty in the operation of the power systems at all levels. One way to overcome the uncertainty is to increase flexibility in the distribution system by harnessing the flexibility that is available to the end users by implementing demand response (DR) programs.
In general, the goal of a DR program is to motivate end users to adapt changes in their local production/consumption profiles in response to a price (i.e., through a market-based mechanism) or a command (i.e., originated by a non-market-based mechanism) signal [1,2]. Regardless of the mechanism considered in place, the distribution system operator (DSO) needs to become active in network management by taking a coordinating role through implementing a proper policy that provides an adequate price or command signal. This for one, would enable the DSO to harness the flexibility from DR providers and overcome the challenges related to uncertainty.
To do so, the DSO needs to determine the amount of flexibility that is needed to maintain the secure and reliable operation of the network. The DSO also needs to determine a reliable projection (i.e., prediction) of the amount of flexibility that will potentially be available at its disposal, at different times and locations during the real-time operation. Once this information is available, the DSO can implement the mechanism to determine (i.e., estimate or calculate) a proper price or command signal such that it encourages DR providers to engage in network management by offering their flexibility in an efficient manner.

1.2. Literature Review

This subsection briefly reviews relevant academic literature.

1.2.1. Harnessing Demand Side Flexibility in the Distribution Network

Harnessing the flexibility potential of the consumers has been investigated in the literature. In [3,4,5,6] authors investigate mechanisms that can provide a price or command signal to DR providers to harness their flexibility and maintain power balance in power system, neglecting the network constraints. Subsequently, references [7,8,9] introduce new algorithms that enable an aggregator to estimate the flexibility that is potentially available to DR providers under certain assumptions. These works provide valuable insight into the existing network management potential through harnessing end users’ flexibility. What is missing in these studies is to account for the impact of including the topology and operational constraints of the distribution grid (e.g., voltage limits). The grid constraints play a crucial role in determining the accurate amount of flexibility that is required to maintain a secure and reliable operation of the network.
A common method to account for network constraints in the analysis of the operation of an electricity network (including flexibility analysis) is to use optimal power flow (OPF)-based models [10,11,12,13,14,15,16]. In this regard, Capitanescu et al. [13] proposed an OPF model that seeks to minimize the curtailment of the DERs while maintaining voltage constraints in a distribution grid. While the existing works are mostly concerned with the technical aspects of the grid, to ensure a successful network management, the economic aspects also need to be considered properly [17].

1.2.2. Pricing Flexibility in Distribution Network

References [18,19,20] introduce OPF-based models to analyze the relation of power flows, network congestion and voltage constraints on the formation of distribution locational marginal prices (DLMP) in local energy markets. However, a limitation of AC-OPF is that the non-linearities of AC power flows introduce computational complexities. Li et al. [18] use DC-OPF which is a linear approximation of the full AC-OPF to investigate the day-ahead DLMPs. Likewise, Yuan et al. [19] propose a new model for pricing the electric power at the distribution level, considering voltage constraints, using linearized AC power flows. Papavasiliou [20] uses second-order cone (SOC) relaxation of AC power flows and proposes a novel framework to study the formation of DLMPs in distribution network, considering congestion, voltage constrains, real and reactive power limits and losses, as well as the non-linearities of the AC power flow in the distribution grid.
In recent years in parallel with higher penetration of DERs, with their variable and unpredictable production, there has been a growing interest in flexibility (defined as in [21]) as the service to be traded, instead of absolute energy, in local energy communities [22,23,24,25,26]. To this end, authors in [27] introduce the optimal flexibility dispatch (OFD) as an optimization problem. The OFD is an auction-based platform for trading flexibility in distribution grids. The OFD seeks to minimize the costs of curtailing RES and, as a side product, determines the quantity and price of active and reactive power flexibility that the DSO needs to procure from different flexibility providers at different locations in the network.

1.2.3. Second-Order Cone Relaxation Error

The OFD framework proposed in [27] considers network constraints, end users’ flexibility limits as well as the nonlinearity of AC power flow equations. The problem is that considering such non-linearities in the OFD makes the problem non-convex and non-tractable for large-scale systems. To make the AC-OFD problem tractable, authors in [27] use the second-order cone (SOC) relaxation of the AC power flow formulation. However, the exactness of the solution of the SOC-relaxed problem is an issue of concern, as it can only be guaranteed under certain simplifying assumptions [28,29]. It should be noted that inexact solutions do not coincide with Kirchhoff’s laws and therefore, lack a physical interpretation.
SOC-relaxation error minimization can be done in various ways. One way would be to modify the problem formulation by applying the penalty function method, which is to include the relaxation error as an auxiliary term in the objective function of the SOC-OFD problem and penalize it by a positive weighting parameter [30,31]. The problem is that such modification yields solutions (e.g., the flexibility prices, power flows) which are different from the original SOC-OFD problem. In addition, one would see that the results of the modified SOC-OFD problem are sensitive to the weighting parameter. This itself would raise questions regarding appropriate values for the weighting parameter [30,31,32,33].

1.2.4. Research Gap

In summary, most works on harnessing flexibility from the distribution network first consider energy instead of flexibility as the commodity to be traded. Secondly, the existing works either follow a purely economic approach neglecting technical constraints, including power flow constraints, or vice versa. In addition, thirdly, even if OPF-based models are used (through which technical constraints are accounted for), they are computationally costly, due to non-linearities of the AC power flow, for large-scale problems, or yield solutions for which the feasibility of the results cannot be guaranteed due to errors inherent in the approximation and/or relaxation techniques applied. Fourthly, none of the studies above account for the impact of inaccurate input data, e.g., forecast errors, on the optimal energy or flexibility programs.
Please note that the accuracy of the input data is an important factor because, in real world applications, the amount of flexibility that the DSO can have at its disposal in real time is uncertain and is not fully known beforehand. As a result, estimates of the available flexibility values shall be used in practice. This can affect the operational decisions. Therefore, it is important to study the impact of uncertainty in the potential flexibility that is available to the DSO on the flexibility schedules and flexibility prices.

1.3. Contributions

This paper is follow-up of the work by Torbaghan et. al. in [27], where a SOC relaxation of the AC power flow is used to solve the OFD problem. In this work we propose a bi-level optimization problem formulation to minimize the relaxation error in the SOC-OFD problem in order to address the above-mentioned shortcomings. The major contributions of this paper are as follows:
  • proposes a new formulation for the SOC-OFD problem that seeks to find an optimal flexibility schedule (i.e., amount and price of flexibility to be dispatched at each bus) with zero relaxation error. This is done by formulating a bi-level optimization model that seeks to solve the SOC-OFD problem while minimizing the SOC-relaxation error,
  • introduces an effective reduction/relaxation technique that makes the bi-level problem tractable both analytically and numerically, and
  • provides an analytical framework for performing local sensitivity analysis on the reduced OFD problem, which determines the robustness of the resulted optimal flexibility dispatch against imperfect forecasts of input data.
The bi-level OFD framework introduced here has two key characteristics. First, it results in a solution with zero relaxation error. Secondly, it returns `locational flexibility prices’ (LFPs) as explicit optimization variables that are otherwise only available as the dual of the power balance constraint at every bus, and thus only available through specific solvers.

1.4. Outline

The remainder of this paper is organized as follows. Section 2 first provides a brief overview of the SOC-OFD problem. It then dives into the mathematical formulation of the bi-level optimization model that seeks to minimize the relaxation error while solving the SOC-OFD problem. Section 3 presents the numerical results for the case studies. Section 4 and Section 5 conclude the paper and discuss directions for future research.

2. Problem Formulation

The OFD is defined as an optimization problem that seeks to minimize the curtailment of DERs while keeping the distribution grid congestion free. Inspired by [27] we use the SOC formulation of the AC power flow as a practical approach to model the network constraints while accounting for the non-linearities of AC power flow. To keep the SOC-relaxation error as small as possible, we propose a bi-level structure in which the upper level (UL) problem seeks to minimize the SOC-relaxation error, while the lower-level (LL) problem solves the SOC-OFD problem. As the lower-level problem is convex, using Karush–Kuhn–Tucker (KKT) conditions, we recast the bi-level structure into a mathematical problem with complementarity constraints (MPCC) [34].
An MPCC problem is in general very difficult to solve. Thus, to make the problem tractable, we apply an innovative relaxation method to relax the complementarity constraints and reformulate the problem as a non-linear problem (NLP), without losing accuracy. In this sense, the proposed methodology establishes a good trade-off between accuracy and tractability.
Solving the proposed bi-level optimization problem enables the DSO to determine the quantity of the active and reactive power flexibility, as well as the distribution locational marginal prices of flexibility, with minimum error. Please note that the convexity of SOC-OFD allows one to apply local sensitivity analysis to determine the sensitivity of the optimal flexibility dispatch program with respect to perturbation in input data (e.g., available flexibility) which mimics imperfect forecasts [35].

2.1. Assumptions

Consider a distribution grid with N buses. We use indices i or j and i , j Ω N to refer to buses where Ω N is the set of buses. Assume that every bus can comprise of a number of households with flexible and non-flexible units. A flexible unit can be a generator (e.g., DERs) or a load (e.g., DR). For the sake of simplicity, we assume that all generators are flexible. Loads can be flexible or non-flexible. Suppose that each bus is operated by an aggregator. Each aggregator receives the “base-power program“. It entails supply and demand forecast of the flexible and non-flexible units. The aggregator also receives the “available flexibility” forecast of the flexible units. The aggregator processes this information and provides them to the DSO. For every bus, the aggregator provides the base active and reactive program (i.e., p u 0 , q u 0 ) where p and q denote respectively active and reactive power of unit u Ω k i in bus i. Index k determines whether unit u in bus i is a generator (i.e., { k = G | u Ω G i } ) or load (i.e., { k = D | u Ω D i } ). Ω G i and Ω D i denote respectively the set of generation or consumption units in bus i. The aggregator also provides the upper and lower bounds of active and reactive flexibility of the flexible units ( Δ p u ¯ , Δ p u ̲ , Δ q u ¯ , Δ q u ̲ ) where Δ p u and Δ q u denote respectively the active and reactive flexibility of unit u Ω k i . Please note that x ̲ , x ¯ denote respectively the lower and upper bound values of an arbitrary variable x. The operational limits include power flow limits of the lines and bus voltage limits. The power flow limits are denoted as p i , j ̲ , p i , j ¯ , q i , j ̲ , q i , j ¯ , where p i , j and q i , j denote the active and reactive power flow of the line ( i , j ) Ω E connecting bus i to bus j. Ω E is the set of power flows when power flows from the sending bus (i.e., bus i) to the receiving end (i.e., bus j). Please note that Ω E r will be used to refer to the set of power flows in the reverse direction (i.e., for line i , j , and the convention of bus i being the send bus and j being the receiving bus, we have p i , j Ω E , p j , i Ω E r ). The bus voltage limits are w i ̲ , w i ¯ , w i , j i ̲ , w i , j i ¯ , w i , j r ̲ , w i , j r ¯ , where w i = ( v i ) 2 is the squared voltage magnitude of bus i in which we have w i , j r ¯ = | v i ¯ | · | v j ¯ | · c o s ( θ i , j ̲ ) , w i , j i ¯ = | v i ¯ | · | v j ¯ | · s i n ( θ i , j ¯ ) w i , j r ̲ = | v i ̲ | · | v j ¯ | · c o s ( θ i , j ¯ ) and w i , j i ̲ = | v i ̲ | · | v j ¯ | · s i n ( θ i , j ̲ ) . In this formulation | v i ¯ | and | v i ̲ | are the upper and lower bound of the bus voltage, and θ i , j is the phase angle difference between buses i and j.

2.2. Second-Order Cone Relaxed OFD (SOC-OFD)

The SOC-OFD problem, as proposed in [27], is formulated as follows:
min ( Ξ L L ) Ψ L L = i Ω N u Ω G i ( p u ¯ ( p u 0 + Δ p u ) ) τ D E R subject to
( ϕ i w ̲ , ϕ i w ¯ ) : w i ̲ w i w i ¯ , i Ω N
( ϕ i , j r ̲ , ϕ i , j r ¯ ) : w i , j r ̲ w i , j r w i , j r ¯ , ( i , j ) Ω E
( ϕ i , j i ̲ , ϕ i , j i ¯ ) : w i , j i ̲ w i , j i w i , j i ¯ , ( i , j ) Ω E
( η i , j ) : ( w i , j i ) 2 + ( w i , j r ) 2 w i w j , ( i , j ) Ω E
( ϕ u Δ p ̲ , ϕ u Δ p ¯ ) : Δ p u ̲ Δ p u Δ p u ¯ , u Ω k i , i Ω N
( ϕ u Δ q ̲ , ϕ u Δ q ¯ ) : Δ q u ̲ Δ q u Δ q u ¯ , u Ω k i , i Ω N
( ϕ i , j p ) : p i , j = g i , j s h + g i , j s w i g i , j s b i , j s w i , j r
+ b i , j s w i , j i , ( i , j ) Ω E
( ϕ j , i p ) : p j , i = g i , j s h w j g i , j w i , j r b i , j w i , j i , ( i , j ) Ω E r
( ϕ i , j q ) : q i , j = ( b i , j b i , j s h / 2 ) w i b i , j w i , j r g i , j w i , j i , ( i , j ) Ω E
( ϕ j , i q ) : q j , i = ( b i , j b i , j s h / 2 ) w j b i , j w i , j r + g i , j w i , j i , ( i , j ) Ω E r
( μ i , j p ̲ , μ i , j p ¯ ) : p i , j ̲ p i , j p i , j ¯ , ( i , j ) Ω E
( μ j , i p ̲ , μ j , i p ¯ ) : p j , i ̲ p j , i p j , i ¯ , ( i , j ) Ω E r
( μ i , j q ̲ , μ i , j q ¯ ) : q i , j ̲ q i , j q i , j ¯ , ( i , j ) Ω E
( μ j , i q ̲ , μ j , i q ¯ ) : q j , i ̲ q j , i q j , i ¯ , ( i , j ) Ω E r
( λ i p ) : ( i , j ) Ω E p i , j + ( i , j ) Ω E r p j , i = u Ω k i p u 0 + Δ p u , i Ω N
( λ i q ) : ( i , j ) Ω E q i , j + ( i , j ) Ω E r q j , i = u Ω k i q u 0 + Δ q u , i Ω N
where τ D E R is the fixed tariff of DER curtailment in / M W h . g i s h and b i s h are the shunt conductance and admittance of bus i. Likewise, g i , j s and b i , j s are series conductance and admittance of the line ( i , j ) . Ξ L L = { Δ p u , Δ q u , p i , j , p j , i , q i , j , q j , i , w i , w i , j r , w i , j i } is the set of independent optimization variables and Γ L L is the set of Lagrange dual variables. The Greek letters between parenthesis denote Lagrangian dual variables for the corresponding constraint.
The objective function (1) states that the DSO seeks to minimize the cost of curtailing the production of DERs. This is a weak assumption. One could consider other objectives as long as the objective function is convex. Constraints (2)–(4) enforce lower and upper bounds of the square voltage and voltage products. Constraint (5) reflects the SOC-relaxation of the AC power flow. Constraints (6) and (7) enforce the lower and upper bound of active and reactive flexibility. Constraints (8)–(12) define active and reactive power flow on both directions of a line. Constraints (13)–(16) enforce the lower and upper bound of real and reactive power flow. Equations (17) and (18) are the Kirchhoff’s current law (KCL) which enforce real and reactive power balance.
The SOC-OFD problem can be inexact due to relaxation error. Reference [27] showed that the relaxation error can be larger when flexibility is scarce. The non-exact solution lacks physical interpretation and at best, can be treated as an approximation of the exact solution.
In the following subsection we propose a novel approach to reduce the relaxation error.

2.3. Bi-Level Model for the OFD Problem

One can define the SOC-relaxation error associated with (5) as follows:
ϵ i , j S O C = w i w j ( w i , j i ) 2 + ( w i , j r ) 2 , ( i , j ) Ω E .
If ϵ i , j S O C = 0 , that is if the inequality (5) becomes an equality, then the relaxation error is zero and the solution of the SOC-OFD coincides with of the full-AC-based OFD. However, if the error is non-zero, then the results of the OFD problem are inexact and have no physical interpretation. To minimize the SOC-relaxation error, we introduce a novel alternative approach. The idea is to consider the SOC-relaxation error minimization as a separated optimization problem that should be solved simultaneously with the SOC-OFD problem. This can be done by formulating a bi-level optimization model in which the UL problem seeks to minimize the SOC-relaxation error as defined in (19). The LL problem is the original SOC-OFD problem (i.e., problem (1)–(18)). The bi-level OFD problem takes on the following form:
min ( Ξ L L Γ L L ) Ψ U L = ( i , j ) Ω E ϵ i , j S O C subject to ( 1 ) ( 18 ) ,
where (1)–(18) is the original SOC-OFD problem. The objective (20) is to minimize the aggregated SOC-relaxation error. The SOC-relaxation error minimizing problem (i.e., UL problem) is constrained by the SOC-OFD problem (i.e., LL problem). The decision variables of the UL problem includes the decision variables of the LL problem (i.e., Ξ L L ) in addition to the dual variables associated with constraints of the LL problem (i.e., Γ L L ).
Since the constraining LL problem is convex, it can be replaced by its corresponding KKT conditions. This results in a single level optimization problem [34]. which is a mathematical program with complementarity constraints (MPCC) [34]. The resulting MPCC is a non-linear and non-convex problem, and therefore is NP-hard.
There are two sources of non-linearities in the resulting MPCC. The first source is the quadratic terms, i.e., ( w i , j i ) 2 and ( w i , j r ) 2 , and the bi-linear products, i.e., w i w j , in the objective function (20) with SOC-relaxation error given by (19) as well as in the SOC-relaxed power flow constraint in the LL problem (5). The second source is the complementarity constraints in the KKT optimality conditions of the LL problem. The complementarity constraints are of the form 0 a b 0 . Each complementarity constraint can be written equivalently as a set of three constraints, which are 0 a , 0 b , and a · b = 0 , where the last constraint is non-linear and extremely non-convex. The MPCC problem must be simplified to become tractable.
A possible simplification is to relax equality a · b = 0 with an inequality constraint as a · b δ , where δ is a non-negative variable to be minimized, as discussed in [36]. Such relaxation transforms the MPCC into an NLP problem, which can be solved using available solvers especially for small problems. For large-scale problems, however, the proposed relaxation can be problematic [37].
To reduce the size and complexity of the problem, and also to improve the accuracy of the results, in the following we propose a new relaxation technique which is to first reconstruct the bi-level formulation of the problem, then transform the resulted MPCC to a NLP problem using the relaxation discussed above.

2.4. Reformulation of the Bi-Level OFD Problem to NLP-OFD

Consider a bi-level optimization problem of the form:
min ( x , y , z ) ( l 1 , l 2 , l 3 ) A x subject to
min ( x , y , z ) B y subject to
( l 1 ) : C x 0
( l 2 ) : H y 0
( l 3 ) : D x + F z 0
( l 4 ) : G y + T z 0 .
Now consider shifting constraints (23) and (25) to the UL and reformulating the problem as follows:
min ( x , y , z ) ( l 3 ) A x subject to
( l 1 ) : C x 0
( l 2 ) : D x + F z 0
min ( y , z ) B y subject to
( l 3 ) : H y 0
( l 4 ) : G y + T z 0
As suggested in [38], one can show that problem (21)–(26) is equivalent to problem (27)–(32), when the dual variables l 1 , l 2 = 0 .
In a similar way, we reformulate the bi-level OFD problem by shifting all constraints from the LL to the UL except for the active power flexibility limit (6) and active power balance (17). The proposed reformulation reduces the LL problem to a new optimization problem that seeks to minimize curtailment of DERs subject to determine the active power flexibility only. As the constraints of the UL problem are transparent to the LL problem, the UL induces a proper choice of voltages, active and reactive power flows, and reactive power flexibility in a way that a minimum of the sum of relaxation errors of all SOC constraints is reached. It is apparent that if the shifted constraints are not binding (i.e., their associated Lagrange multipliers are zero) the reduced bi-level OFD problem is equivalent to the original bi-level problem. As a result, an optimal solution of the reduced problem can be matched to a feasible solution of the original bi-level problem if the constraints that are shifted from the LL to UL are not active at the optimal solution. This point is further investigated in the next section.
Once the LL problem is reduced by shifting the constraints to the UL problem, the reduced LL problem can be replaced by its corresponding KKT conditions. The resulted complementarity conditions in the reduced MPCC can be further relaxed using the technique discussed in Section 2.3, as follows:
min Ξ r e d O F D Ψ m o d U L = ( i , j ) Ω E ϵ i , j S O C + δ i , j ̲ + δ i , j ¯ subject to ( 1 ) ( 16 ) , ( 18 ) ,
0 δ i , j ¯ δ m a x , ( i , j ) Ω N
0 δ i , j ̲ δ m a x , ( i , j ) Ω N
ϕ u Δ p ¯ ϕ u Δ p ̲ λ u p τ D E R = 0 , u Ω G i , i Ω N
ϕ u Δ p ¯ ϕ u Δ p ̲ λ u p = 0 , u | u Ω k i , u Ω G i , i Ω N ( i , j ) Ω E p i , j + ( i , j ) Ω E r p j , i = u Ω k i p u 0 + Δ p u
u Ω k i , i Ω N
( Δ p u k ̲ Δ p u k ) 0 , u Ω k i , i Ω N
( Δ p u k Δ p u k ¯ ) 0 , u Ω k i , i Ω N
ϕ u Δ p ̲ · ( Δ p u k ̲ Δ p u k ) δ i , j ̲ , u Ω k i , i Ω N
ϕ u Δ p ¯ · ( Δ p u k Δ p u k ¯ ) δ i , j ¯ , u Ω k i , i Ω N
ϕ u Δ p ¯ 0 , u Ω k i , i Ω N
ϕ u Δ p ̲ 0 , u Ω k i , i Ω N
where Ξ r e d O F D = ( { Ξ r e d U L , δ i , j ̲ , δ i , j ¯ } { Δ p u k , λ i p , μ i , j p ̲ , μ i , j p ¯ } ) is the set of decision variables.
Constraints (1)–(16), and (18) include the objective function of the SOC-OFD problem, the square voltage and voltage product limits, the SOC-relaxation of AC power flows, reactive power flexibility limit, and reactive power balance, which are shifted to the UL problem. Constraints (34) and (35) enforce a threshold on complementarity relaxation, where parameter δ m a x is the maximum allowed constraint relaxation. Constraints (36)–(44) are the KKT conditions associated with the reduced LL problem (i.e., reduced SOC-OFD). Equalities (36) and (37) represent the derivatives of the Lagrangian of the LL problem with respect to its decision variable Δ p u k (i.e., L L L / Δ p u k = 0 ), for DER and load units, respectively.
Problems (1)–(16), (18), (33)–(44) (referred to in this paper as bi-level-OFD) is a NLP which can be solved in a feasible time by available solvers. The proposed reformulation effectively reduces the computation complexity of the problem with the lowest loss of accuracy possible.

2.5. Derivation of the Sensitivity Matrix in the OFD Problem

In this paper, we also aim to investigate the sensitivity of the optimal solution of the OFD problem to perturbations in input data. One can study the sensitivity by deriving a linear sensitivity matrix based on the perturbed KKT equation proposed in [35]. We induce a perturbation in the KKT conditions and the objective function of problem (1)–(18) (i.e., Ψ L L ), with respect to the decision variables Ξ L L , the Lagrange multipliers, and the input data parameters ( a = [ w i ̲ , w i ¯ , w i , j r ̲ , w i , j r ¯ , w i , j i ̲ , w i , j i ¯ , Δ p u ̲ , Δ p u ¯ , Δ q u ̲ , Δ q u ¯ , p i , j ̲ , p i , j ¯ , p j , i ̲ p j , i ¯ , q i , j ̲ , q i , j ¯ , q j , i ̲ , q j , i ¯ , p u 0 , q u 0 , τ D E R , g i , j s h , g i , j s , b i , j s h , b i , j s ] ). Then, as proposed in [35] we obtain the sensitivity matrix M = d X / d a , which determines the sensitivities of the optimal solution along with the Langrange multipliers to changes in data.
Suppose that inactive constraints are removed from the analysis, and that the active inequality constraints remain active after the perturbation. As the LL problem represents the (reduced) original SOC-OFD problem, one can see that an optimal solution of the reduced-bi-level problem includes the optimal solution of the SOC-OFD. Therefore, at the optimal solution, the sensitivities of the SOC-OFD problem can be evaluated at the optimal solution of the reduced bi-level-OFD problem.

3. Numerical Results

In this section, we present the numerical results obtained using the SOC-OFD, i.e., problem (1)–(18), and the bi-level-OFD, i.e., problem (33)–(39), for three case studies. We compare the results in terms of (i) the SOC-relaxation error [ ϵ S O C , as defined in Equation (19)], (ii) the DER curtailment [ Ψ L L as defined in Equation (1)], and (iii) locational flexibility prices ( λ i p ) which are derived as dual variables of active power balance constraint. Furthermore, we numerically analyze the sensitivity of the OFD problem to perturbations in input parameters (i.e., Δ p u ̲ , Δ p u ¯ , p u 0 ).

3.1. Case Study

In power system research it is common practice to use synthetic electric grid models as case studies. The reason is, they provide a standard benchmark that enable researchers to validate newly developed analytic methods against the existing ones, without using any confidential information of a critical energy infrastructure [39].
In this study, to investigate the feasibility and scalability of the proposed framework, three power grids from MATPOWER, with 9-bus, 30-bus, and 300-bus, are considered. The grid data and topology of the three case studies are adopted from a subset of automated tests prepared for MATPOWER [40,41,42]. MATPOWER is an open-source MATLAB-based power system simulation package. It provides a set of (optimal) power flow-based tools that are specifically designed for research purposes [43]. The network parameters are customized to make the technical characteristics of the test networks consistent with those of distribution networks. Table 1 provides an overview of the grid parameters, including the number of buses with DER resource, number of branches, average per unit (p.u.) values of the series resistance ( R ¯ ), inductance ( X ¯ ), and shunt susceptance ( B ¯ ) for each case study.
Table 2 provides an overview of the three case studies used in this work. The aggregated supply and demand represent the total generation and total demand of the DER and flexible load buses in p.u. values, respectively. The aggregated available flexibility of the DER and the load buses represents the total available active power that the DERs and the flexible load units can increase/decrease. The selected cases allow for investigating the scalability of the proposed framework.

3.2. Assumptions

  • Each bus represents a cluster of aggregated end users which can be either a net flexible generator or net flexible load.
  • The OFD problem is solved per single time-step. Inter-temporal linkages are neglected.
  • A fixed cost for curtailing DER production is considered, and τ c u r D E R = 0.05 / kWh .
  • Cost of load curtailment is assumed to be zero.
  • Load is modelled as negative generation, i.e., negative flexibility for a net flexible load bus indicates an increase in the total consumption of that bus.
Please note that although the results provided in the context of this paper correspond to a specific objective for the DSO (i.e., minimizing cost of curtailment), the proposed model and analytical discussion is entirely general and can be applied when considering other objectives for the DSO as long as the objective function remains linear.

3.3. Simulation Results

The SOC-OFD problem and the bi-level-OFD problems are implemented in MATLAB 2017b, and solved by optimization toolbox YALMIP [44]. The computer used ran Windows 7 Enterprise 64-bit, with an Intel Xeon CPU E5-1650 processors running at 3.20 GHz and 24 GB memory. The bi-level-OFD problem is solved for δ m a x = 1 × 10 6 .

3.3.1. SOC-Relaxation Error ( ϵ S O C )

Table 3 presents the minimum, maximum, and average SOC-relaxation error (i.e., ϵ S O C = i , j Ω E ϵ i j S O C ) for each case study, calculated by solving the SOC-OFD and bi-level-OFD models. One can observe that for Case 1 and Case 2, ϵ S O C is minimized to zero when the bi-level-OFD model is used. For Case 3, this figure is reduced by an average of 89 % when compared with the results of SOC-OFD model. This shows that the bi-level-OFD model effectively eliminates the SOC-relaxation error for the 9-Bus and 30-Bus test systems, and reduces it considerably for the 300-Bus system. It also suggests that solving the bi-level-OFD model indeed results in solutions that have physical interpretation, as outlined in the previous section.
Now consider Figure 1 which depicts the distribution of bus voltages calculated by both models for each case. The horizontal red lines inside the boxes indicate the median of the voltages in the network. One can observe that under each case the bus voltages of the majority of buses are lower when calculated by the bi-level-OFD model as compared with the SOC-OFD model.

3.3.2. DER Curtailment ( Ψ )

Figure 2 presents the aggregated production of DERs calculated by the SOC-OFD model (blue bar) and the bi-level-OFD model (red bar). One can see that the bi-level-OFD model yields the same aggregated DER production as that of the SOC-OFD model. This implies that the bi-level model finds a solution in which the flexible units are dispatched in a such way that the aggregated DER production (and thus DER curtailment) remains the same as for the SOC-model, but with no SOC-relaxation error.

3.3.3. Locational Flexibility Prices (LFPs)

Figure 3 and Figure 4 respectively present the LFPs and the flexibility dispatch from each bus, as calculated by the bi-level-OFD model for Case 1 (the top sub-plot), Case 2 (the middle sub-plot), and Case 3 (the bottom sub-plot). Variable Δ p i = u Ω k i Δ p u indicates the aggregated active power flexibility dispatched from bus i.
One can see that the LFP of every DER bus (i.e., the red dots in Figure 3) is a positive value which is lower than or equal to the DER curtailment tariff set by the regulators (i.e., τ D E R = 5 cent / kWh ). Likewise, one can see in Figure 4 that for the three cases, the flexibility dispatched from the DER buses is positive. This implies that the DSO pays the DERs to increase their production (i.e., decrease curtailment).
Now consider the flexible load buses (i.e., blue dots in Figure 3). For Case 1 and Case 2 the LFPs at load buses are very close to zero. In Case 3, however, there are certain load buses with a negative LFP. From (37), (41) and (42) one can observe that for load buses, λ i p gets a non-zero value only when the boundaries of active flexibility are reached.
From Figure 4, one can also observe that in Case 1, the bi-level model yields negative flexibility values for load buses. This implies that the model steers the load buses to increase their load to match DER production and reduce DER curtailment. This contrasts with Case 2 and Case 3, in which some load buses get a positive flexibility value. A positive value means that the model sets the price such that it enables the DSO to steer the load buses to reduce their load. This observation can also be explained through curtailment. In Case 2 and Case 3, DERs are producing at their maximum capacity (the zero curtailment levels in Figure 2), therefore, as the total production has reached its maximum limit, the model tends to decrease the load in certain buses such that the total demand equals the total (maximum) supply.

3.3.4. Sensitivity of LFP to Data Perturbation

For Case 1 and Case 2, Figure 5 and Figure 6 respectively present the aggregated sensitivity of LFPs of all buses (j), to perturbation in the lower- or upper bound of active flexibility Δ p i ̲ , Δ p i ¯ , as well as the base-power program p i 0 of a certain bus i, that is: j Ω E λ j p a i , a i { Δ p i ̲ , Δ p i ¯ , p i 0 } , i , j Ω E . The aggregated sensitivity indicates how an error in each of the input parameters ( a i ) propagates throughout the whole network and influences all buses at the system level.
The blue line represents the sensitivity of the LFPs to perturbation in the lower bound of active power flexibility of different buses (i.e., λ p Δ p i ̲ ). Comparing the DER buses (e.g., buses 1, 2, 5, 8, 11, 13 in Figure 6) with the flexible load buses, one can see that perturbation in Δ p i ̲ of DER buses has larger impact on the formation of LFPs of all buses in the entire network. A similar pattern can be observed from the sensitivity of the LFPs to perturbation in the upper bound of active power flexibility (i.e., λ p Δ p i ¯ ), which is represented in the red line in Figure 5 and Figure 6. In addition, one can observe that the sensitivity of the LFPs to Δ p i ¯ of the flexible load buses is, in general, close to zero.
The black line in Figure 5 and Figure 6 represents the sensitivity of the LFPs to perturbation in the base-power program of different buses (i.e., λ p p i 0 ). Comparing the DER buses with the flexible load buses, one can observe that in general, a perturbation in p i 0 of the load buses has a larger impact on the LFPs throughout the entire network.

4. Discussion

The results of the bus voltages calculated by the SOC-OFD and bi-level-OFD show that in general, the bus voltages are lower when calculated by the bi-level-OFD model. This observation can be explained via the relaxation error. As outlined in [27], the relaxation error can be interpreted as an artificially increased active and reactive loss over the lines. Now consider the results of the SOC-OFD model (in which no boundary is superimposed on increasing the relaxation error). One can observe that in the SOC-OFD model, the solver finds solutions with a higher relaxation error, and therefore higher (artificial) losses. This leads to higher voltage differences as well as higher network voltage levels, especially at the DER buses. The opposite is true for the bi-level-OFD model, in which the relaxation error is minimized, and as a result, the bus voltages obtain lower values.
The results of the flexibility prices show that if flexibility is dispatched such that consumers’ flexibility boundaries are binding, the LFP of the respective bus equals the penalty tariff. This implies that the flexible loads have incentive to provide flexibility services such that they reach their full flexibility limits. Please note that other settings could also be possible, for instance, those in which flexible loads are also remunerated when deviations remain within stated boundaries, which is beyond the scope of this work.
The local sensitivity analysis and the results provided are dependent on the specific network configuration. However, the methodology is generic. In this light, we argue that the DSO can use the local sensitivity analysis to identify the relative importance of (uncertain) input data (e.g., forecast on flexibility limits and load) on the solution of OFD problem. This includes the optimal flexibility dispatch and the formation of LFPs.
In the context of this work we assumed flexibility providers and DERs are competitive but are not able to exercise market power. However, the absence of an adequate regulatory framework, especially in the short run, in the context of local energy and flexibility trading platforms, may encourage opportunistic participants to engage in strategic behavior. Therefore, regardless of the market setting considered, such behaviors could significantly influence the operation of the local energy market and from there, the decision making process of the DSO. Different mathematical models would be necessary for capturing strategic behavior of flexibility providers.

5. Conclusions

The OFD is an optimal power flow-based method that enables the DSO to determine the amount of flexibility (and associated prices) that it needs to dispatch from flexible resources to meet its operational constraints. Due to non-linearities in the power flow, the SOC relaxation of the AC power flow is typically used in the OFD problem, i.e., the SOC-OFD model. However, a solution to the SOC-OFD model can be inaccurate and thus will lack physical interpretation. When formalized, the SOC-OFD model takes certain input parameters that neither the DSO nor the flexibility providers are entirely aware of, and therefore, are highly uncertain (e.g., forecasts on available flexibility in the day-ahead).
In this work, we introduced a bi-level optimization problem in which the UL seeks to minimize the SOC-relaxation error and the LL seeks to solve the SOC-OFD. The objective of the LL is set to minimize the curtailment of DERs subject to operational limits. Next, we derived a linear sensitivity matrix based on the perturbed KKT conditions of the SOC-OFD problem. We use the sensitivity matrix to investigate the sensitivity of the optimal flexibility dispatch solution (i.e., LFP and Δ p i ) to forecast errors in input data (i.e., Δ p i ̲ , Δ p i ¯ , p i 0 ).
To solve the proposed bi-level problem, we first reduced the complexity by shifting certain constraints from the LL to the UL. We showed that such reformulation causes no loss of accuracy as long as the shifted constraints are not binding. Secondly, we recast the reduced bi-level problem as a MPCC by replacing the LL with its corresponding KKT conditions. Finally, we relaxed the complementarity constraint and reformulated the problem as a NLP which is computationally tractable, even for large-scale problems. The proposed framework is general and can be applied regardless of network topology, as long as the objective of the lower-level problem is linear.
We compared the results of our bi-level-OFD model for three test networks with that of the SOC-OFD model. The analysis shows that for the same level of DER production, the bi-level-OFD model can effectively reduce the SOC-relaxation error.
Our results show that the DSO pays the DERs when they provide flexibility by increasing their production. However, flexible loads have no incentive to provide flexibility services unless they reach their operational flexibility boundaries. This is due to the way the OFD problem is formulated in this work. Therefore, one avenue for research in the future is to investigate other settings that provide an incentive by reimbursing flexible loads even before hitting the boundaries of their flexibility range.
A practical implication of our proposed sensitivity analysis framework is that the DSO can identify the forecast error of which bus(es) has the most prominent impact on the optimal flexibility dispatch and the LFPs of the other buses in the network. This would allow the DSO to take adequate preventive actions to restrain unintentional deviations from the optimal values, and therefore, ensure the economic efficiency of the resulting flexibility dispatch in practice.
A direct extension of the current work would be to investigate sensitivity of an optimal flexibility schedule to uncertainty associated with exercising such strategic behavior. Additionally, along with the recent development in peer-to-peer distributed energy trading [45], there is a growing need for determining the hosting capacity of the distribution network for enabling such trades in advance. In this regard, one application of the proposed methodology in practice is for the DSO to estimate the hosting capacity of its network, considering the uncertainties associated with imperfect forecast and/or, the (un)intentional non-compliance of peers from the scheduled trades in the real-time operation.
In conclusion, the methods and resulting insights of this paper can support the DSO in its many activities related to planning and operation of the distribution grid with increasing amounts of (intermittent) distributed resources.

Author Contributions

D.A. is the first and the main author of the current work. However, the other co-authors contributed to the present work as follows: Conceptualization: D.A., S.S.T., M.G., H.R.; Data curation: D.A., H.C.; Formal analysis: D.A., S.S.T., K.J.K.; Funding acquisition: H.R.; Investigation: D.A.; Methodology: D.A., S.S.T., M.G.; Project administration: H.C., H.R.; Resources: H.R.; Software: D.A., S.S.T.; Supervision: S.S.T., M.G., H.R.; Validation: S.S.T., H.C., M.G.; Visualization: D.A.; Writing—original draft: D.A.; Writing—review & editing: D.A., S.S.T., M.G., K.J.K., H.C., H.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Palensky, P.; Dietrich, D. Demand side management: Demand response, intelligent energy systems, and smart loads. IEEE Trans. Ind. Inf. 2011, 7, 381–388. [Google Scholar] [CrossRef] [Green Version]
  2. Azari, D.; Torbaghan, S.S.; Cappon, H.; Keesman, K.J.; Rijnaarts, H.; Gibescu, M. Exploring the impact of data uncertainty on the performance of a demand response program. Sustain. Energy Grids Netw. 2019, 20, 100262. [Google Scholar] [CrossRef]
  3. Azari, D.; Torbaghan, S.S.; Cappon, H.; Gibescu, M.; Keesman, K.; Rijnaarts, H. Assessing the flexibility potential of the residential load in smart electricity grids; A data-driven approach. In Proceedings of the 2017 14th International Conference on the European Energy Market (EEM), Dresden, Germany, 6–9 June 2017; pp. 1–6. [Google Scholar]
  4. Morales González, R.; Shariat Torbaghan, S.; Gibescu, M.; Cobben, S. Harnessing the flexibility of thermostatic loads in microgrids with Solar Power Generation. Energies 2016, 9, 547. [Google Scholar] [CrossRef] [Green Version]
  5. Korkas, C.D.; Baldi, S.; Michailidis, I.; Kosmatopoulos, E.B. Occupancy-based demand response and thermal comfort optimization in microgrids with renewable energy sources and energy storage. Appl. Energy 2016, 163, 93–104. [Google Scholar] [CrossRef]
  6. Ayón, X.; Gruber, J.; Hayes, B.; Usaola, J.; Prodanović, M. An optimal day-ahead load scheduling approach based on the flexibility of aggregate demands. Appl. Energy 2017, 198, 1–11. [Google Scholar] [CrossRef] [Green Version]
  7. Kara, E.C.; Tabone, M.D.; MacDonald, J.S.; Callaway, D.S.; Kiliccote, S. Quantifying flexibility of residential thermostatically controlled loads for demand response: A data-driven approach. In Proceedings of the 1st ACM Conference on Embedded Systems for Energy-Efficient Buildings; ACM: New York, NY, USA, 2014; pp. 140–147. [Google Scholar]
  8. Mocanu, E.; Nguyen, P.H.; Gibescu, M. Energy disaggregation for real-time building flexibility detection. In Power and Energy Society General Meeting (PESGM) 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 1–5. [Google Scholar]
  9. Good, N.; Zhang, L.; Navarro-Espinosa, A.; Mancarella, P. High resolution modelling of multi-energy domestic demand profiles. Appl. Energy 2015, 137, 193–210. [Google Scholar] [CrossRef]
  10. Dall’Anese, E.; Zhu, H.; Giannakis, G.B. Distributed optimal power flow for smart microgrids. IEEE Trans. Smart Grid 2013, 4, 1464–1475. [Google Scholar] [CrossRef] [Green Version]
  11. Forner, D.; Erseghe, T.; Tomasin, S.; Tenti, P. On efficient use of local sources in smart grids with power quality constraints. In 2010 First IEEE International Conference on Smart Grid Communications; IEEE: Piscataway, NJ, USA, 2010; pp. 555–560. [Google Scholar]
  12. Bhattarai, B.P.; Kouzelis, K.; Mendaza, I.D.D.C.; Bak-Jensen, B.; Pillai, J.R.; Myers, K.S. Smart grid constraint violation management for balancing and regulating purposes. IEEE Trans. Ind. Inf. 2017, 13, 2864–2875. [Google Scholar] [CrossRef]
  13. Capitanescu, F.; Bilibin, I.; Ramos, E.R. A comprehensive centralized approach for voltage constraints management in active distribution grid. IEEE Trans. Power Syst. 2013, 29, 933–942. [Google Scholar] [CrossRef] [Green Version]
  14. Dent, C.J.; Ochoa, L.F.; Harrison, G.P. Network distributed generation capacity analysis using OPF with voltage step constraints. IEEE Trans. Power Syst. 2010, 25, 296–304. [Google Scholar] [CrossRef] [Green Version]
  15. Robertson, J.G.; Harrison, G.P.; Wallace, A.R. OPF techniques for real-time active management of distribution networks. IEEE Trans. Power Syst. 2016, 32, 3529–3537. [Google Scholar] [CrossRef] [Green Version]
  16. Sansawatt, T.; Ochoa, L.F.; Harrison, G.P. Smart decentralized control of DG for voltage and thermal constraint management. IEEE Trans. Power Syst. 2012, 27, 1637–1645. [Google Scholar] [CrossRef]
  17. Caramanis, M.; Ntakou, E.; Hogan, W.W.; Chakrabortty, A.; Schoene, J. Co-optimization of power and reserves in dynamic T&D power markets with nondispatchable renewable generation and distributed energy resources. Proc. IEEE 2016, 104, 807–836. [Google Scholar]
  18. Li, R.; Wu, Q.; Oren, S.S. Distribution locational marginal pricing for optimal electric vehicle charging management. IEEE Trans. Power Syst. 2013, 29, 203–211. [Google Scholar] [CrossRef] [Green Version]
  19. Yuan, H.; Li, F.; Wei, Y.; Zhu, J. Novel linearized power flow and linearized OPF models for active distribution networks with application in distribution LMP. IEEE Trans. Smart Grid 2016, 9, 438–448. [Google Scholar] [CrossRef]
  20. Papavasiliou, A. Analysis of distribution locational marginal prices. IEEE Trans. Smart Grid 2017, 9, 4872–4882. [Google Scholar] [CrossRef] [Green Version]
  21. Mandatova, P.; Mikhailova, O. Flexibility and Aggregation: Requirements for Their Interaction in the Market; Eurelectric: Brussels, Belgium, 2014. [Google Scholar]
  22. Torbaghan, S.S.; Blaauwbroek, N.; Nguyen, P.; Gibescu, M. Local market framework for exploiting flexibility from the end users. In European Energy Market (EEM), 2016 13th International Conference; IEEE: Piscataway, NJ, USA, 2016; pp. 1–6. [Google Scholar]
  23. Ramos, A.; De Jonghe, C.; Gómez, V.; Belmans, R. Realizing the smart grid’s potential: Defining local markets for flexibility. Util. Policy 2016, 40, 26–35. [Google Scholar] [CrossRef]
  24. Minniti, S.; Haque, N.; Nguyen, P.; Pemen, G. Local markets for flexibility trading: Key stages and enablers. Energies 2018, 11, 3074. [Google Scholar] [CrossRef] [Green Version]
  25. Olivella-Rosell, P.; Lloret-Gallego, P.; Munné-Collado, Í.; Villafafila-Robles, R.; Sumper, A.; Ottessen, S.; Rajasekharan, J.; Bremdal, B. Local flexibility market design for aggregators providing multiple flexibility services at distribution network level. Energies 2018, 11, 822. [Google Scholar] [CrossRef] [Green Version]
  26. Torbaghan, S.S.; Blaauwbroek, N.; Kuiken, D.; Gibescu, M.; Hajighasemi, M.; Nguyen, P.; Smit, G.J.; Roggenkamp, M.; Hurink, J. A market-based framework for demand side flexibility scheduling and dispatching. Sustain. Energy Grids Netw. 2018, 14, 47–61. [Google Scholar] [CrossRef] [Green Version]
  27. Torbaghan, S.S.; Suryanarayana, G.; Hoschle, H.; D’hulst, R.; Geth, F.; Chris, C.; Van Hertem, D. Optimal Flexibility Dispatch Problem Using Second-Order Cone Relaxation of AC Power Flow. IEEE Trans. Power Syst. 2019, 35, 98–108. [Google Scholar] [CrossRef]
  28. Christakou, K.; Tomozei, D.C.; Le Boudec, J.Y.; Paolone, M. AC OPF in radial distribution networks–Part I: On the limits of the branch flow convexification and the alternating direction method of multipliers. Electr. Power Syst. Res. 2017, 143, 438–450. [Google Scholar] [CrossRef] [Green Version]
  29. Christakou, K.; Tomozei, D.C.; Le Boudec, J.Y.; Paolone, M. AC OPF in radial distribution networks–Part II: An augmented Lagrangian-based OPF algorithm, distributable via primal decomposition. Electr. Power Syst. Res. 2017, 150, 24–35. [Google Scholar] [CrossRef]
  30. Madani, R.; Ashraphijuo, M.; Lavaei, J. Promises of conic relaxation for contingency-constrained optimal power flow problem. IEEE Trans. Power Syst. 2015, 31, 1297–1307. [Google Scholar] [CrossRef]
  31. Madani, R.; Sojoudi, S.; Lavaei, J. Convex relaxation for optimal power flow problem: Mesh networks. IEEE Trans. Power Syst. 2014, 30, 199–211. [Google Scholar] [CrossRef]
  32. Fazel, M.; Hindi, H.; Boyd, S.P. A rank minimization heuristic with application to minimum order system approximation. In Proceedings of the 2001 American Control Conference.(Cat. No. 01CH37148); IEEE: Piscataway, NJ, USA, 2001; Volume 6, pp. 4734–4739. [Google Scholar]
  33. Venzke, A.; Chatzivasileiadis, S.; Molzahn, D.K. Inexact convex relaxations for AC optimal power flow: Towards AC feasibility. arXiv 2019, arXiv:1902.04815. [Google Scholar]
  34. Gabriel, S.A.; Conejo, A.J.; Fuller, J.D.; Hobbs, B.F.; Ruiz, C. Complementarity Modeling in Energy Markets; Springer Science & Business Media: Berlin, Germany, 2012; Volume 180. [Google Scholar]
  35. Conejo, A.J.; Castillo, E.; Minguez, R.; Garcia-Bertrand, R. Decomposition Techniques in Mathematical Programming: Engineering and Science Applications; Springer Science & Business Media: Berlin, Germany, 2006. [Google Scholar]
  36. Gabriel, S.A.; Conejo, A.J.; Ruiz, C.; Siddiqui, S. Solving discretely constrained, mixed linear complementarity problems with applications in energy. Comput. Oper. Res. 2013, 40, 1339–1350. [Google Scholar] [CrossRef]
  37. Ruiz, C.; Conejo, A.J.; Gabriel, S.A. Pricing non-convexities in an electricity pool. IEEE Trans. Power Syst. 2012, 27, 1334–1342. [Google Scholar] [CrossRef]
  38. Brotcorne, L.; Labbé, M.; Marcotte, P.; Savard, G. Joint design and pricing on a network. Oper. Res. 2008, 56, 1104–1115. [Google Scholar] [CrossRef] [Green Version]
  39. Schneider, K.P.; Fuller, J.C. Voltage control devices on the IEEE 8500 node test feeder. In IEEE PES T&D 2010; IEEE: Piscataway, NJ, USA, 2010; pp. 1–6. [Google Scholar]
  40. W3Techs. Available online: https://matpower.org/ (accessed on 25 August 2019).
  41. Zimmerman, R.D.; Murillo-Sánchez, C.E. Matpower 4.1 user’s manual. In Power Systems Engineering Research Center; Cornell University: Ithaca, NY, USA, 2011. [Google Scholar]
  42. Zimmerman, R.D.; Murillo-Sánchez, C.E.; Thomas, R.J. MATPOWER: Steady-state operations, planning, and analysis tools for power systems research and education. IEEE Trans. Power Syst. 2010, 26, 12–19. [Google Scholar] [CrossRef] [Green Version]
  43. Zimmerman, R.D.; Murillo-Sanchez, C.E. MATPOWER User’s Manual; Technical Report; Power Systems Engineering Research Center (PSerc): Tempe, AR, USA, 2019. [Google Scholar]
  44. Löfberg, J. YALMIP: A Toolbox for Modeling and Optimization in MATLAB. In Proceedings of the 2004 CACSD Conference, Taipei, Taiwan, 2–4 September 2004. [Google Scholar]
  45. Abdella, J.; Shuaib, K. Peer to peer distributed energy trading in smart grids: A survey. Energies 2018, 11, 1560. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Distribution of bus voltages calculated by SOC-OFD and bi-level-OFD models, for the three case studies. The horizontal red lines show the median of the bus voltages in the network.
Figure 1. Distribution of bus voltages calculated by SOC-OFD and bi-level-OFD models, for the three case studies. The horizontal red lines show the median of the bus voltages in the network.
Energies 13 01959 g001
Figure 2. Aggregated production of DER buses, and curtailment level ( Ψ ), calculated by SOC-OFD model (the blue bars) and bi-level-OFD model (the red bars) for the three cases.
Figure 2. Aggregated production of DER buses, and curtailment level ( Ψ ), calculated by SOC-OFD model (the blue bars) and bi-level-OFD model (the red bars) for the three cases.
Energies 13 01959 g002
Figure 3. Locational Flexibility Price (LFP) ( cent / kWh ) for Case 1 (top), Case 2 (middle), and Case 3 (bottom). The red and blue dots represent a DER or a load bus, respectively.
Figure 3. Locational Flexibility Price (LFP) ( cent / kWh ) for Case 1 (top), Case 2 (middle), and Case 3 (bottom). The red and blue dots represent a DER or a load bus, respectively.
Energies 13 01959 g003
Figure 4. Active power flexibility (kWh) sourced from each bus (i.e., Δ p i = u Ω k i Δ p u ), for Case 1 (top), Case 2 (middle), and Case 3 (bottom). The red and blue dots represent a DER or a load bus.
Figure 4. Active power flexibility (kWh) sourced from each bus (i.e., Δ p i = u Ω k i Δ p u ), for Case 1 (top), Case 2 (middle), and Case 3 (bottom). The red and blue dots represent a DER or a load bus.
Energies 13 01959 g004
Figure 5. Aggregated impact of perturbations in lower and upper bound of flexibility (blue and red lines), and base-power program (black line) at each bus on the LFPs for the network in Case 1.
Figure 5. Aggregated impact of perturbations in lower and upper bound of flexibility (blue and red lines), and base-power program (black line) at each bus on the LFPs for the network in Case 1.
Energies 13 01959 g005
Figure 6. Aggregated impact of perturbations in lower and upper bound of flexibility (blue and red lines), and base-power program (black line) at each bus on the LFPs of the whole network in Case 2.
Figure 6. Aggregated impact of perturbations in lower and upper bound of flexibility (blue and red lines), and base-power program (black line) at each bus on the LFPs of the whole network in Case 2.
Energies 13 01959 g006
Table 1. Grid parameters for the three test systems. No. Buses, No. DERs and No. Branches represent the total number of buses, the number of buses with DER resources, and total number of branches respectively. R ¯ , X ¯ , and B ¯ are average series resistance, inductance, and shunt susceptance of all branches, respectively. The values are in per unit (p.u.) with 100 MVA base.
Table 1. Grid parameters for the three test systems. No. Buses, No. DERs and No. Branches represent the total number of buses, the number of buses with DER resources, and total number of branches respectively. R ¯ , X ¯ , and B ¯ are average series resistance, inductance, and shunt susceptance of all branches, respectively. The values are in per unit (p.u.) with 100 MVA base.
CaseNo. BusesNo. DERsNo. Branches R ¯ X ¯ B ¯
Case 19390.0400.09610.990
Case 2306410.0760.2007.498
Case 3300694110.0460.11788.392
Table 2. Overview of the case studies. The values are in per unit (p.u.) with 100 MVA base.
Table 2. Overview of the case studies. The values are in per unit (p.u.) with 100 MVA base.
CaseAggregated
Supply
Aggregated
Demand
Aggregated Available DER
Flexibility
Aggregated Available
Demand Flexibility
Case 14.94.72.252.7
Case 24.1410.674.669.40
Case 35.2450.788.7638.1
Table 3. The maximum, minimum, and average SOC-relaxation error ϵ S O C of all line flows, determined by SOC-OFD and bi-level-OFD models for the three cases.
Table 3. The maximum, minimum, and average SOC-relaxation error ϵ S O C of all line flows, determined by SOC-OFD and bi-level-OFD models for the three cases.
SOC-OFDBi-Level OFD
minmaxavgminmaxavg
Case10.000.640.250.000.000.00
Case20.010.240.070.000.000.00
Case30.000.610.090.000.250.01

Share and Cite

MDPI and ACS Style

Azari, D.; Shariat Torbaghan, S.; Cappon, H.; Keesman, K.J.; Gibescu, M.; Rijnaarts, H. On the Sensitivity of Local Flexibility Markets to Forecast Error: A Bi-Level Optimization Approach. Energies 2020, 13, 1959. https://doi.org/10.3390/en13081959

AMA Style

Azari D, Shariat Torbaghan S, Cappon H, Keesman KJ, Gibescu M, Rijnaarts H. On the Sensitivity of Local Flexibility Markets to Forecast Error: A Bi-Level Optimization Approach. Energies. 2020; 13(8):1959. https://doi.org/10.3390/en13081959

Chicago/Turabian Style

Azari, Delaram, Shahab Shariat Torbaghan, Hans Cappon, Karel J. Keesman, Madeleine Gibescu, and Huub Rijnaarts. 2020. "On the Sensitivity of Local Flexibility Markets to Forecast Error: A Bi-Level Optimization Approach" Energies 13, no. 8: 1959. https://doi.org/10.3390/en13081959

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop