Keywords

1 Introduction

There is a world-wide trend towards increasing the share of renewable energy sources for electricity generation. Since the yield of renewable energy sources like e.g. solar and wind power is time-varying and depends on geographic location there is an increasing demand for large-scale power transfer over long distances. In recent years there have been more and more high-voltage direct current (HVDC) links for power transmission commissioned and more are yet to be planned and installed. In [1] an extensive overview of the advantages of DC technology for power transmission is given. For instance, in Germany there are several embedded HVDC links (i.e. they connect synchronous AC nodes) planned in order to transfer wind power from the north to the high load regions in the south, see [2].

Optimal power flow is a widely discussed optimization problem to determine the optimal operation of controllable equipment in a power grid, see e.g. [3, 4]. For transmission grid operation the so-called N − 1 criterion as defined in [5] is a requirement. It means that for any single outage of a grid component (e.g. a generator, a line or a power transformer) the remaining grid must be able to operate safely within its limits. This leads to security-constrained optimal power flow problems (SC-OPF). For this class of problems an extensive overview is provided in [6]. SC-OPF problems can be formulated either in the preventive way, i.e. there is a single set of control variables that has to be feasible in all considered contingency cases or in the corrective way, i.e. for each contingency case there may be a different set of control variables, and their values can be reached by short-term control actions when a contingency case is taking place, see [7].

Optimal power flow formulations for hybrid AC/DC grids including security constraints are presented e.g. in [1, 8] and [9]. In [10] a corrective SC-OPF methodology is employed to investigate the capabilities of embedded HVDC systems to compensate for contingency cases in the AC system and thus to reduce redispatch by generators.

In this work we use SC-OPF to study the effects of the N − 1 criterion with emphasis on contingency cases within the embedded HVDC systems. To our knowledge the effects of N − 1 cases inside the DC systems have not yet been studied extensively in the literature. As in [10] we focus on the capabilities of the grid components and in particular the embedded HVDC systems to compensate for contingency cases and to avoid generator redispatch.

This work is structured as follows: in Sect. 2 we present the mathematical model for SC-OPF for hybrid AC/DC grids. Then, in Sect. 3 we describe the case study grid and scenario used as well as the implementation of the approach (Sect. 4). The case study results are presented and discussed in Sect. 5, and we give conclusions and suggestions for future work in the final Sect. 6.

2 The Mathematical Model

The mathematical model of the SC-OPF is used to perform a steady-state optimization for hybrid AC/DC grids, where the two types of grids are coupled via a set of power converters. The model is formulated such that just one single optimization problem can be used to solve the AC and DC grids simultaneously; this means in particular that no iterative algorithm is needed to reach the final solution.

The model is written to address one-phase electric systems, i.e. it can evaluate a mono-phase system or a multiphase system but in the latter case the system must be balanced and symmetric to consider only the positive sequence (Fortescue transformation).

All the variables and equations are expressed in complex polar form and they are differentiable and continuous. This means that discrete variables (e.g. limited number of tap changer positions or discontinuous active power range for the generators) are not considered. The set of variables are split into two parts: control (or independent) variables u representing power setpoints (active and reactive) for controllable devices as well as tap changer and phase changer positions for power transformers. State (or dependent) set of variables x consisting of voltage magnitude and phase at AC nodes, voltage at DC nodes as well as power flows over AC and DC branches.

Regarding the N − 1 criterium, the model is able to take into account the outage of a branch (overhead line, power transformer or cable) or a generic equipment inside the system (power generator, power converter). Both the preventive and the corrective N − 1 methodology can be used. Furthermore, there is no particular restriction about the grid topology. This means that it is possible to solve meshed AC and DC (e.g. multiterminal DC) synchronous and asynchronous grids.

The mathematical model can be formulated as the following nonlinear optimization problem:

$$\displaystyle \begin{aligned} \begin{aligned} & \underset{u_0, \ldots u_ {N_c}}{\text{minimize}} & p_0 f(u_0, x_0) &+ \sum_{c=1}^{N_c}{p_c f(u_c, x_c)} \\ & \text{subject to} & g_c(u_c, x_c) &= 0 \;\; c = 0 \ldots N_c, \\ & & h_c(u_c, x_c) &\le 0 \;\; c = 0 \ldots N_c,\\ & & &\underline{\varDelta u_c}\leq u_c-u_0 \leq \overline{\varDelta u_c}, \end{aligned} \end{aligned} $$
(1)

where N c is the number of contingency cases considered (c = 0 corresponds to the base case where no contingencies have happened). The set of equality constraints g c(u c, x c) describes the power balance for each node and equipment, while the set of inequality constraints h c(u c, x c) describes the physical limits of each component.

The deviation of the control variable in case of corrective N − 1 method can be accordingly limited with the upper \(\overline {\varDelta u_c}\) and lower\( \underline {\varDelta u_c}\) bounds (e.g. active power setpoint deviation between the contingency cases and the base case).

The objective function f may be chosen as the generator dispatch cost in the system, system losses, voltage magnitude or angle variability, reactive power generated or another power system objective. It is also possible to provide flexible weights for the different contingency cases under consideration. In this work the objective function is defined as the economic dispatch cost in quadratic form:

(2)

Here N g is the number of generators in the grid, P g is the active power generated by the generator g, while α g, β g, γ g are cost coefficients for the individual generators. \(\varDelta p_{g,c}^+\) and \(\varDelta p_{g,c}^-\) are the active power deviation (positive and negative) for each contingency and they are calculated with respect to the base case and weighed with the relative linear cost coefficients \(c_g^+\) and \(c_g^-\).

The grid model is composed of the following items: nodes (AC and DC), power loads, branches and active equipments (generators, converters and reactive power sources like e.g. static VAR compensators (SVC)). Two power balance equations are given for the AC nodes and one for the DC nodes. In the subsequent paragraphs an overview over the models of the grid components is provided.

The following equation describes the active power balance for an AC node:

$$\displaystyle \begin{aligned} -p(v_{n,c},\theta_{n,c})+p_{g,c}+p_{h,ac,c}-p_{n,d} = 0, \end{aligned} $$
(3)

where the subscripts n and c denote the n-th node and the c-th contingency case. The term p(v n,c, θ n,c) is the active power flow into the n-th AC node where v and θ are the voltage magnitude and phase; the term p g,c is the power supplied by the g-th active source; the term p h,ac,c is the power supplied by the h-th converter; the term p d is the power demand. In the same way it is possible to describe the reactive power balance for the AC nodes:

$$\displaystyle \begin{aligned} -q(v_{n,c},\theta_{n,c})+q_{g,c}+q_{h,ac,c}-q_{n,d} = 0. \end{aligned} $$
(4)

For the DC nodes, only one power balance equation is needed:

$$\displaystyle \begin{aligned} -p(v_{n,c})+p_{h,dc,c} = 0, \end{aligned} $$
(5)

since in this case no power generators and loads are present. For both AC and DC nodes the voltage magnitude is constrained to its lower and upper limits.

The branches are modeled as generic passive components able to transfer current from one node to another according to Kirchhoff’s circuit laws. The double bi-pole model with PI scheme has been used. This model can be applied to overhead lines, cables, power transformers (with and without tap changer and/or phase shifter) and to DC overhead lines and cables. Without loss of generality we assume the tap changer and phase shifter to be installed on the from-node of the branch and constrained with their limits. Both can be modelled with a pure gain δ and a complex rotation e . For a generic branch b, contingency c and defining i as from-node and j as to-node, it is possible to describe the relationship between the current and voltage phasors as follows:

$$\displaystyle \begin{aligned} \begin{bmatrix} {i_i} \\ {i_j} \\ \end{bmatrix} - \begin{bmatrix} \overline{y_{ii}}\delta_{b,c}^2 & \overline{y_{ij}}\delta_{b,c}e^{j\theta_{b,c}} \\ \overline{y_{ji}}\delta_{b,c}e^{-j\theta_{b,c}} & \overline{y_{jj}}\\ \end{bmatrix} \begin{bmatrix} \overset{.}{v_i} \\ \overset{.}{v_j} \\ \end{bmatrix} =0. \end{aligned} $$
(6)

Exploiting the symmetry of the model, the matrix component with subscript ii is equal to the component with jj and, in the same way, the component with ij is equal to the component with ji. Those values arise from the longitudinal and transversal susceptance and conductance parameters. The equations that describe a double bi-pole model are used to model the active and reactive power flow through the branches, and thus those flows are used inside the nodes power balance equations (3), (4), (5). Obviously, the power flow (active power or apparent power or current module) can be constrained at both sides of the branch with an upper limit.

The power generators are generic active components able to inject active and/or reactive power into the system. The generator capability is defined as a domain created by the intersection of a rectangle (active and reactive upper and lower bounds) and a circle (apparent power bound). Additional linear bounds between active and reactive power can be defined in order to customize the capability domain.

In a similar way, by neglecting the active power, voltage controlling reactive power sources can be used inside the model: in this case, a linear relationship between voltage magnitude and reactive power output is used.

The power converters are able to transfer power in both directions between AC and DC nodes. The converter model takes into account the power balance between the AC and DC ports with the losses due to its power electronics. Moreover, the converters may have capability domains described in the same way as for generators. The converter power balance equation is written as follows:

$$\displaystyle \begin{aligned} p_{h,ac,c}+p_{h,dc,c}+p_{h,loss,c} = 0, \end{aligned} $$
(7)

where the subscripts loss denotes the power losses inside the h-th converter and the c-th contingency. The AC side current is determined by the following equation that describes the power balance in the AC converter side:

$$\displaystyle \begin{aligned} \frac{\sqrt{p_{h,ac,c}^2+q_{h,c}^2}}{\sqrt{3}\,v_{h,ac,c}}-i_{h,ac,c}=0. \end{aligned} $$
(8)

Finally, the power losses are calculated by a formula that creates a quadratic relationship between the current i h,ac,c and losses p h,loss,c (see e.g. [11] and [12]) with parameters α h, β h and γ h that may be individual for each converter:

$$\displaystyle \begin{aligned} \alpha_h+\beta_hi_{h,ac,c}+\gamma_hi_{h,ac,c}^2-p_{h,loss,c} = 0. \end{aligned} $$
(9)

This model is suited for steady-state analyses, so that transient behaviour, e.g. fault and stability analysis cannot be investigated with it.

3 Case Study

The case study in this work is based on the IEEE118 test grid (see [13]).

Fig. 1
figure 1

Illustration if the IEEE118 test grid, the two generator cost zones and the additional corridor under investigation [17]

The generator costs have been modified in order to encourage power transfer from the (low cost) western zone to the (high cost) eastern zone (see Fig. 1). In particular, the generation cost in the western zone have been set to zero to emulate renewable generation, while the cost coefficients in the western zone have not been modified.

The focus of our analysis lies on one additional power corridor between the nodes 8 and 65 (highlighted in red in Fig. 1). There are three options for this considered corridor: an AC corridor, a monopolar HVDC corridor as well as a bipolar HVDC corridor with identical total power ratings of 500 MVA and total length of 500 km. The electrical parameters of the AC corridor as well as the resistance of the DC lines are taken from [14]. Due to the huge length of the corridor the AC line has been split in three line segments. The HVDC converters exhibit a loss model with a quadratic relationship to the AC current (see [15]).

For all three configurations the effects of security constraints on the corridor are analysed. For both the AC corridor and the monopolar HVDC corridor the considered contingency implies the outage of the whole corridor, while for the bipolar configuration an N − 1 contingency case involved the outage of one of the two poles.

In order to discourage redispatch of generators in the contingency case, we require the generator active and reactive power output to be identical in the base case and the contingency case, while HVDC converter setpoints may differ between base case and contingency case. This means that the generators follow a preventive security strategy while HVDC converters follow a corrective security strategy. The same behaviour can be achieved by imposing very high redispatch cost on the generators. The possibly changing losses after an outage are balanced by adapted voltage profiles. In addition, the setpoints for transformers are fixed.

4 Implementation

A software tool for solving the security-constrained optimal power flow problem as described in Sect. 2 has been developed in C++ using Microsoft Visual StudioTM. Inside this software the open-source library IPOPT (see [16]) is used as solver for non-linear programming based on an interior point method. To speed up the optimization process and to increase accuracy, we derived the analytic forms of Jacobian and Hessian matrices of the objective function and the constraints and pass them directly to the solver instead of using numerical differentiation.

The input data as well as the optimization results including all control and state variables are given as text files. In the results discussion below (Sect. 5) we summarize these results in the form of the key performance indicators dispatch cost, power flow over the considered corridor, active power losses and voltage angle deviation.

5 Results

The result of the SC-OPF is analysed in terms of dispatch cost (Fig. 2), power flow over the considered corridor (Fig. 3), active power losses in the system (Fig. 4) and voltage angle difference along the corridor (Fig. 5).

Fig. 2
figure 2

Dispatch cost relative to bipolar HVDC scenario without N − 1. Red, dark blue: AC line with/without N − 1; violet, yellow: monopolar HVDC with/without N − 1; light blue, green: bipolar HVDC with/without N − 1

Fig. 3
figure 3

Power flow over corridor relative to bipolar HVDC scenario without N − 1 (457 MW)

Fig. 4
figure 4

Active power losses in the system relative to bipolar HVDC scenario without N − 1 (120 MW)

Fig. 5
figure 5

Angle Deviation over corridor in degrees

The first observation is that in the cases without the N − 1 criterion, all the values for the monopolar and the bipolar HVDC corridors coincide, which is obvious since they have identical parameters and rating. When looking at the dispatch cost in Fig. 2 it can be observed that the cost is lowest for both the HVDC variants without N − 1 criterion. With N − 1 criterion both HVDC variants have lower dispatch cost than the AC variant, while the bipolar configuration has the lowest dispatch cost. This can be explained by the higher efficiency of the HVDC systems compared to the AC corridor (lower losses over long distances) and the higher redundancy of the bipolar configuration compared to the monopolar one. This way more power can be transferred from the low cost generation zone to the high cost generation zone which enables a generation dispatch at lower total cost.

This explanation is confirmed by the power flow over the corridor (Fig. 3), where the bipolar HVDC configuration is able to transfer the most power from the low cost generation zone to the high cost generation zone. The monopolar HVDC corridor is transferring significantly less power in the N − 1 case since it has to prepare for the outage of the full corridor. The AC corridor is not even able to maintain the power flow direction in the N − 1 case. The significant deviations in the power flows between the AC and monopolar HVDC configuration can be explained by voltage limits and differences in the generator dispatch.

The active power losses in the system can be seen in Fig. 4. There we did not observe a clear pattern, which can be explained by the fact that in all the scenarios the generator dispatch and thus the power flows through the whole system are very different, and the losses were not the objective of the optimization performed.

When looking at the angle deviations in Fig. 5 is can be observed that the AC corridor exhibits a large angle deviation in the case without security criterion, while all the HVDC configurations are able to maintain smaller angle deviations which indicates a higher system stability.

In Table 1 the voltage magnitudes and reactive power injected at the corridor terminal nodes 8 and 65 are listed for the N − 1 scenario before and after the contingencies. It can be observed that the bipolar HVDC configuration is able to maintain a stable voltage level close to the nominal voltage by providing reactive power to the grid. In contrast, for the AC configuration the voltage magnitude at node 8 changes significantly because of high generation in the region. The monopolar HVDC configuration is also stabilizing the voltage by reactive power injection but in the outage case there is the same effect as for the AC corridor.

Table 1 Voltage magnitude and reactive power injection at nodes 8 and 65 for all three corridor configurations in the base case and the contingency case of the N − 1 scenarios

6 Conclusion and Future Work

A mathematical model and a software for security-constrained optimal power flow for generic hybrid AC/DC grids has been developed. In this work it has been used to study the effects of the N − 1 criterion on embedded HVDC systems.

The above results show that for the bipolar HVDC configuration the power plant dispatch with lowest cost could be established when the N − 1 criterion is employed. This study has been performed on the IEEE118 grid with a single corridor under consideration. The results indicate the benefits of employing bipolar HVDC systems in order to increase the social welfare.

In order to draw conclusions for real transmission systems, additional studies on real grid configurations with possibly several embedded HVDC links would have to be performed.

Additionally, an investigation including contingency cases both in the AC and DC parts of the power system would be interesting to investigate the capabilities of embedded HVDC to compensate for general N − 1 cases and thus to reduce redispatch cost for grid operators.