Keywords

2.1 Introduction

The rapid increase of renewable power generation connected to electric distribution networks has complicated their operation. Because this operational complexity, it could lead to a high impact on the economic efficiency of networks due to the significant investment costs of new control devices that properly guarantee appropriate levels of security, quality, and reliability at competitive costs. In this vein, optimization tools to solve the Electric Distribution Network Expansion Planning (EDNEP) problem has recently attracted more attention representing a shifting toward feasible-based to optimization-based planning paradigms. It is clear that the use of optimization tools in EDNEP represent substantial gains or savings in planning electric distribution networks. However, it is essential to properly capture the complexity of the non-linear interactions of the manifolds elements and physic laws with high fidelity. This chapter is devoted to this propose presenting convex formulations that could be implemented on off-the-shelf solvers with globality and convergence guarantee.

In its simplest version, the EDNEP problem consists of determining the investments that guarantee an economical and reliable distribution network operation. Technical constraints such as maximum current flows through feeders, maximum power from substation transformers, voltage magnitude limits in nodes and network radiality must be considered [1, 2]. The EDNEP problem can be established as follows: an electric distribution network needs to meet the demands of a fixed number of consumers due to demand growth, hence, it is necessary to carry out expansion planning consisting of: installing new feeders and/or changing existing ones for others with larger capacities, installing new substations or expanding existing ones and finally, installing capacitor banks and voltage regulators. The objective is to minimize the total costs related to those investments and network operation costs, subject to a set of physical, operating and economic constraints [3].

The installation of capacitor banks in electric distribution networks is important, mainly to maintain the voltage magnitude and energy losses within pre-established limits. Their optimal sizes and locations make these improvements feasible [4]. Thus, optimal capacitor bank placement aims at placing and sizing them, minimizing the costs associated with capacitor banks and energy losses. Within this context, another important aspect is the location of voltage regulators [5].

Some works about the EDNEP problem have independently addressed feeder and substation installation [7,8,9,10,11,12,13, 17,18,19,20], allocation of capacitor banks [5, 21,22,23], allocation of voltage regulators [24,25,26], and joint allocation of capacitor banks and voltage regulators [27,28,29,30]. However, the EDNEP problem should focus not only on a single technology–or device–based planning. In this context, an integral EDNEP problem considering a co-optimization of all the above control devices could foster benefits to the electric distribution network by reducing operation costs and losses, increasing flexibility and reliability is proposed.

However, this problem becomes a large-scale mixed-integer non-linear programming (MINLP) problem. The EDNEP problem has been solved using different techniques, such as heuristic and meta-heuristic algorithms and classical optimization techniques [6]. Heuristic algorithms have produced solutions with a relatively low computational effort, like branch-exchange in [7, 8] and the constructive heuristic algorithm in [9]. Meta-heuristic algorithms have also been used, like evolutionary algorithms in [10], genetic algorithms in [11] and [12], ant colony algorithms in [13], simulated annealing algorithms in [14, 15] and particle swarm algorithm in [16]. Although metaheuristics are flexible and achieve good results, they also present many problems, such as a high computational demand, the need for adjusting and fine-tuning the parameters and the definition of a stopping criterion. In addition, they cannot guarantee convergence to a global optimum, or indicate the quality of the final solution, because they do not provide a distance indicator to the optimal solution.

2.2 Time Framework

An important aspect to be considered in the optimal EDNEP problem is the decision-making process in the planning horizon. According to [31], the EDNEP problem can be divided into two periods: short-term planning (1 up to 4 years) and long-term planning (5 up to 20 years), leading to two types of EDNEP optimization models, static and dynamic.

In a static model, EDNEP decisions are only made at the beginning of the planning horizon, i.e., at a single point in time, where the load demand data considered remains constant until the end of the planning horizon. This modeling type is known as a single-stage model as well and considers the whole planning horizon in a single period, which is the target period. Since the EDNEP in mainly conditioned by the load demand in the electric distribution network, which usually increases over time, the reference period is usually selected as the last year of the planning horizon.

In a dynamic model, EDNEP decisions are made at different points in time. This modeling type is known as multi-period as well and represents the real behavior of the electric distribution network. In this approach, the planning horizon is divided into different time periods, each one comprising a specific number of years [32, 33].

The advantage of using a static approach for the EDNEP problem is that the resulting model is relatively simple. One of the disadvantages is that the EDNEP is solved for the last year of the planning horizon. Another drawback is that, if the EDNEP problem is solved for a long-term planning horizon, the load demand in the electric distribution network will probably be much higher than the load demand in the short-term. Therefore, the EDNEP will probably result in an oversize of the installed components and higher investments.

2.3 AC Power Flow in Electric Distribution Networks

The analysis of an electric distribution network requires the solution of the power flow problem to calculate the state of the system represented by voltage magnitudes in nodes, current flows in feeders, energy losses and other variables of interest. Therefore, power flow models are widely tools used in the steady-state analysis of the networks. Most ac power flow models in electric distribution networks are based on power-mismatch and current-mismatch formulations either in polar or rectangular formats, mainly using Newton-Raphson algorithms [35]. On the other hand, radial networks are characterized by a high R/X ratio. This renders the load flow problem ill-conditioned. Previous research indicates that standard load flow methods fail to converge in ill-conditioned test systems [36, 37].

In this work, the equations that represent the steady-state of radial networks are obtained from the branch flow model proposed in [38,39,40] as

$$P_{k} = \sum\limits_{j \in \alpha (k)} {\left( {P_{km} + R_{km} I_{km}^{2} } \right)} - \sum\limits_{j \in \alpha (k)} {P_{jk} } \quad \forall k \in {\text{B}}$$
(2.1)
$$Q_{k} = \sum\limits_{j \in \alpha (k)} {\left( {Q_{km} + X_{km} I_{km}^{2} } \right)} - \sum\limits_{j \in \alpha (k)} {Q_{jk} } \quad \forall k \in {\text{B}}$$
(2.2)
$$V_{k}^{2} - V_{m}^{2} = 2\left( {R_{km} P_{km} + X_{km} Q_{km} } \right) - \left( {R_{km}^{2} + X_{km}^{2} } \right)I_{km}^{2} \quad \forall km \in {\text{BR}}$$
(2.3)
$$V_{m}^{2} I_{km}^{2} = P_{km}^{2} + Q_{km}^{2} \quad \forall km \in {\text{BR}}$$
(2.4)

where constraints (2.1) and (2.2) are the active and reactive power injections; (2.3) describes the forward voltage drop in each line and (2.4) defines apparent power flow injection at the head bus of each line. Equations (2.1)–(2.4) are frequently used in the power flow sweep method of radial networks and can be used to formulate the MINLP model for the EDNEP problem.

Without loss generality, the power flow optimization problem can be formulated using the above steady-state equations of radial networks, including an objective function that minimizes real power loss [27]. The compact form of the non-linear ac power flow problem can be expressed as

$$\begin{array}{*{20}l} {\hbox{min} \sum\limits_{j \in \alpha (k)} {R_{km} I_{km}^{2} } \quad \forall km \in {\text{BR}}} \hfill \\ {\text{subject to:}} \hfill \\ {{\text{constraints (2}} . 1 )- ( 2. 4 )} \hfill \\ {P_{k} = P_{k}^{SE} - P_{k}^{D} \quad \forall km \in {\text{B}}} \hfill \\ {Q_{k} = Q_{k}^{SE} - Q_{k}^{D} \quad \forall km \in {\text{B}}} \hfill \\ \end{array}$$
(2.5)

where the two last equations are the nodal active and reactive power balancing conditions, respectively.

The optimization problem (2.5) is a non-linear and non-convex in the ac power flow for radial networks due to the quadratic terms in their constraints and objective function. However, the square terms in (2.1)–(2.4) and the objective function in (2.5) can be dropped using auxiliary variables that represent those square terms, \(d_{k} = V_{k}^{2}\) and \(l_{km} = I_{km}^{2}\), and (2.4) can be relaxed to a convex constraint by second order conic programming (SOCP) [41], where it is relaxed to an inequality constraint. The relaxed convex ac power flow problem for radial networks can be expressed as

$$\hbox{min} \sum\limits_{j \in \alpha (k)} {R_{km} l_{km} }$$
(2.6)
$$P_{k}^{SE} - P_{k}^{D} = \sum\limits_{j \in \alpha (k)} {\left( {P_{km} + R_{km} l_{km} } \right)} - \sum\limits_{j \in \alpha (k)} {P_{jk} } \quad \forall k \in {\text{B}}$$
(2.7)
$$Q_{k}^{SE} - Q_{k}^{D} = \sum\limits_{j \in \alpha (k)} {\left( {Q_{km} + X_{km} l_{km} } \right)} - \sum\limits_{j \in \alpha (k)} {Q_{jk} } \quad \forall k \in {\text{B}}$$
(2.8)
$$d_{k} - d_{m} = 2\left( {R_{km} P_{km} + X_{km} Q_{km} } \right) - \left( {R_{km}^{2} + X_{km}^{2} } \right)l_{km} \quad \forall km \in {\text{BR}}$$
(2.9)
$$d_{m} l_{km} \ge P_{km}^{2} + Q_{km}^{2} \quad \forall km \in {\text{BR}}$$
(2.10)

2.4 Convex Model for the EDNEP Problem

In this section, an optimization model is presented that includes the minimization of investment costs by installing new feeders and/or changing existing ones for others with larger capacities, installing new substations or expanding existing ones and finally, installing capacitor banks and voltage regulators, as well as the timing to add new assets or expand existing ones in case of dynamic (multi-stage) planning, including the operating costs associated with energy loss. Equations related to each device considered are depicted to capture the physical laws that govern them. Then, a convex formulation is derived to build a MICQP optimization problem that benefits from the advances of off-the-shelf MICQP solvers. It is worth to clarify that Mixed-Integer Conic Quadratic Programming (MICQP) problems are non-convex because of the integer nature of some decision variables. However, MICQP resolution algorithms iteratively solve optimization problems where integer variables are fixed. In this case, our problem is convex. Additionally, in this case, MICQP theory guarantees global solution of the optimization problem. For further details about Conic Programming theory, interested readers are referred to [42].

2.4.1 Capacitor Bank Model

In electric distribution networks, there are two types of capacitor banks: (1) Fixed Capacitor Banks (FCB) and (2) Switched Capacitor Banks (SCB) [43], as shown in Fig. 2.1. FCBs are capacitor banks composed of units which, after being installed in the planning stage, are always connected throughout all load levels; whereas, SCBs are composed of units which, after being installed at the planning stage, can be fully or partially connected at every load level. According to Fig. 2.1a, expressions (2.11)–(2.13) model the allocation and operation of FCBs in the networks.

Fig. 2.1
figure 1

Capacitor bank schemes: a FCB. b SCB

$$q_{k}^{fcb} = Q^{fc} n_{k}^{fc} \quad \forall k \in {\text{FCB}}$$
(2.11)
$$0 \le n_{k}^{fc} \le N_{k}^{fcb} \quad \forall k \in {\text{FCB}}$$
(2.12)
$$n_{k}^{fc} \in {\mathbf{\mathbb{Z}}}^{ + } \quad \forall k \in {\text{FCB}}$$
(2.13)

Equation (2.11) represents the reactive power produced by the fixed capacitor banks installed at node k. Constraint (2.12) limits the number of units to be installed in a fixed capacitor bank and (2.13) establishes the integrality condition for the number of units installed.

To model SCBs (Fig. 2.1b), it is important to take into account the load variations in a given period of time, therefore, these equations are modeled considering the time period and can only be included in the dynamic model. Expressions (2.14)–(2.16) represent the SCBs installation and operation.

$$q_{k,t}^{scb} = Q^{sc} n_{k,t}^{sc} \quad \forall k \in {\text{SCB}},\,\forall t \in {\text{P}}$$
(2.14)
$$0 \le n_{k,t}^{sc} \le N_{k}^{scb} \quad \forall k \in {\text{SCB}},\,\forall t \in {\text{P}}$$
(2.15)
$$n_{k,t}^{sc} \in {\mathbf{\mathbb{Z}}}^{ + } \quad \forall k \in {\text{SCB}},\,\forall t \in {\text{P}}$$
(2.16)

where (2.14) represents the reactive power produced by the fixed capacitors banks installed at node k. Constraint (2.15) limits the number of units to be installed in a fixed capacitor bank and (2.16) establishes the integrality condition for the number of units installed.

2.4.2 Voltage Regulator Model

To model the voltage regulator, consider an autotransformer with an automatic changing mechanism of the tap position (number of turns) of the series winding to maintain a predetermined level of voltage magnitude along an electric distribution feeder in case of load level variations. Standard voltage regulators contain a reversing switch that enables a regulating range, which determines the tap step-size \(\Delta\) (+ increases and – decreases the voltage magnitude), taking into account the reference voltage magnitude and the maximum number of steps, Ns, as shown in Fig. 2.2, where \(\Delta\) and Ns are known parameters, e.g. 0.00625, 32 steps, respectively, a and tp are the tap setting and tap position, respectively, which are considered variables in the planning and operation of electric distribution networks.

Fig. 2.2
figure 2

Voltage regulator in operation

Consider the voltage regulator located at node m of branch km, where node x is the non-regulated voltage magnitude node, as shown in Fig. 2.3, where a partial electric distribution feeder with a voltage regulator is shown. The voltage regulator in branch km can be divided into branch kx and branch xm, where branch xm only contains the tap changer and the impedance kx is the same as branch km. With these considerations, similar to DistFlow [38], the injected active and reactive power equations of the voltage regulator can be described as

Fig. 2.3
figure 3

Feeder with a voltage regulator model

$$P_{k} = \sum\limits_{j \in \alpha (k)} {\left( {P_{km} + R_{km} I_{km}^{2} } \right)} - \sum\limits_{j \in \alpha (k)} {P_{jk} } \quad \forall k \in {\text{B}}$$
(2.17)
$$Q_{k} = \sum\limits_{j \in \alpha (k)} {\left( {Q_{km} + X_{km} I_{km}^{2} } \right)} - \sum\limits_{j \in \alpha (k)} {Q_{jk} } \quad \forall k \in {\text{B}}$$
(2.18)
$$V_{k}^{2} - V_{x}^{2} = 2\left( {R_{km} P_{km} + X_{km} Q_{km} } \right) - \left( {R_{km}^{2} + X_{km}^{2} } \right)I_{km}^{2} \quad \forall km \in {\text{VR}}$$
(2.19)
$$V_{m}^{2} I_{km}^{2} = P_{km}^{2} + Q_{km}^{2} \quad \forall km \in {\text{VR}}$$
(2.20)
$$V_{m}^{2} = a_{km}^{2} V_{x}^{2} \quad \forall km \in {\text{VR}}$$
(2.21)

where constraints (2.17) and (2.18) are the active and reactive power injections; (2.19) describes the forward voltage drop in each line, (2.20) defines the apparent power flow injection at the head bus of each line and (2.21) is the voltage magnitude regulated by the voltage regulator. Equations (2.17)–(2.20) can be convexified in a similar form to the ac power flow in Sect. 2.3.

Equation (2.21) can be transformed into several mixed integer linear expressions. In order to do so, the voltage regulator tap-changer is formulated as

$$a_{km} = 1 + \Delta_{km} tp_{km} \quad \forall km \in {\text{VR}}$$
(2.22)
$$\Delta_{km} = \frac{{\left( {a_{km}^{\hbox{max} } - a_{km}^{\hbox{min} } } \right)}}{{Ns_{km} }}\quad \forall km \in {\text{VR}}$$
(2.23)
$$- \frac{{Ns_{km} }}{2}\alpha_{km}^{vr} \le tp_{km} \le \frac{{Ns_{km} }}{2}\alpha_{km}^{vr} \quad \forall km \in {\text{VR}}$$
(2.24)
$$tp_{km} \in {\mathbf{\mathbb{Z}}}\quad \forall km \in {\text{VR}}$$
(2.25)

where (2.22) is the expression that determines the tap setting, (2.23) computes the tap step-size, (2.24) limits the number of tap positions and states if it is necessary to install a voltage regulator in the electric distribution network and (2.25) establishes the integrality condition to the number of tap positions.

Integer variable \(tp_{km}\) can be expressed by the binary expansion scheme [44] as

$$tp_{km} = \sum\limits_{n = 0}^{{Ns_{km} }} {\left[ {\left( {n - \frac{{Ns_{km} }}{2}} \right)\alpha_{kmn} } \right]} \quad \forall km \in {\text{VR}}$$
(2.26)
$$\sum\limits_{n = 0}^{{Ns_{km} }} {\alpha_{kmn} = 1} \quad \forall km \in {\text{VR}}$$
(2.27)

where \(\alpha_{kmn} \in \left\{ {0/1} \right\}\). Replacing (2.26) in (2.22), yields

$$a_{km} = 1 + \Delta_{km} \sum\limits_{n = 0}^{{Ns_{km} }} {\left[ {\left( {n - \frac{{Ns_{km} }}{2}} \right)\alpha_{kmn} } \right]} \quad km \in {\text{VR}}$$
(2.28)

Using the auxiliary variable \(d_{k} = V_{k}^{2}\) in (2.21), one obtains

$$d_{m} = a_{km}^{2} d_{x} \quad \forall km \in {\text{VR}}$$
(2.29)

Multiplying both sides of (2.28) by \(d_{x}\), results in

$$a_{km} d_{x} = d_{x} + \Delta_{km} \sum\limits_{n = 0}^{{Ns_{km} }} {\left[ {\left( {n - \frac{{Ns_{km} }}{2}} \right)\alpha_{kmn} d_{x} } \right]} \quad \forall km \in {\text{VR}}$$
(2.30)

Defining auxiliary variables \(z_{km} = a_{km} d_{x}\) and \(x_{kmn} = \alpha_{kmn} d_{x}\), one obtains

$$z_{km} = d_{x} + \Delta_{km} \sum\limits_{n = 0}^{{Ns_{km} }} {\left[ {\left( {n - \frac{{Ns_{km} }}{2}} \right)x_{kmn} } \right]} \quad \forall km \in {\text{VR}}$$
(2.31)

From (2.29), \(d_{m} = a_{km} z_{km}\), and replacing (2.31) yields

$$d_{m} = z_{km} + \Delta_{km} \sum\limits_{n = 0}^{{Ns_{km} }} {\left[ {\left( {n - \frac{{Ns_{km} }}{2}} \right)\alpha_{kmn} z_{km} } \right]} \quad \forall km \in {\text{VR}}$$
(2.32)

Defining the auxiliary variable \(y_{kmn} = \alpha_{kmn} z_{km}\), one obtains

$$d_{m} = z_{km} + \Delta_{km} \sum\limits_{n = 0}^{{Ns_{km} }} {\left[ {\left( {n - \frac{{Ns_{km} }}{2}} \right)y_{kmn} } \right]} \quad \forall km \in {\text{VR}}$$
(2.33)

Auxiliary variables \(x_{kmn}\) and \(y_{kmn}\) are the products of binary and continuous variables, which can be reformulated into an exact linear set of constraints using the big-M method, resulting in

$$- M\alpha_{kmn} \le x_{kmn} \le M\alpha_{kmn} \quad \forall km \in {\text{VR}},\,\forall n = 0,1,2, \ldots ,Ns_{km}$$
(2.34)
$$- M\left( {1 - \alpha_{kmn} } \right) \le d_{x} - x_{kmn} \le M\left( {1 - \alpha_{kmn} } \right)\quad \forall km \in {\text{VR}},\,\forall n = 0,1,2, \ldots ,Ns_{km}$$
(2.35)
$$- M\alpha_{kmn} \le y_{kmn} \le M\alpha_{kmn} \quad \forall km \in {\text{VR}},\forall n = 0,1,2, \ldots ,Ns_{km}$$
(2.36)
$$- M\left( {1 - \alpha_{kmn} } \right) \le z_{km} - y_{kmn} \le M\left( {1 - \alpha_{kmn} } \right)\quad \forall km \in {\text{VR}},\forall n = 0,1,2, \ldots ,Ns_{km}$$
(2.37)

2.4.3 Static Convex EDNEP Model

As previously explained, the static model considers the whole planning horizon in a single target period. In addition, the steady state, capacitor banks and voltage regulators convex formulations previously developed are taken into account. The static convex EDNEP model can be formulated as

$$\begin{aligned} \hbox{min} \,f & = K_{L} \sum\limits_{{km \in {\text{BR}}}} {\sum\limits_{{c \in {\text{C}}}} {C_{km,c}^{C} \alpha_{km,c}^{C} } } L_{km} + \, K_{S} \sum\limits_{{k \in {\text{SE}}}} {\left( {C_{k}^{SE} \alpha_{k}^{SE} + C_{k}^{SER} \alpha_{k}^{SER} } \right)} \\ \, & \quad + K_{C} \sum\limits_{{k \in {\text{FCB}}}} {C_{k}^{FCB} n_{k}^{fc} } + \, K_{VR} \sum\limits_{{km \in {\text{VR}}}} {C_{k}^{VR} \alpha_{km}^{vr} } \\ \, & \quad + 8 7 6 0 {\text{C}}_{loss} \sum\limits_{{k \in {\text{B}}}} {\left( {P_{k}^{SE} - P_{k}^{D} } \right)} + 8 7 6 0\sum\limits_{{k \in {\text{B}}}} {C_{k}^{OS} \left[ {\left( {P_{k}^{SE} } \right)^{2} + \left( {Q_{k}^{SE} } \right)^{2} } \right]} \\ \end{aligned}$$
(2.38)
$$P_{k}^{SE} - P_{k}^{D} = \sum\limits_{{km \in {\text{BR}}}} {\sum\limits_{{c \in {\text{C}}}} {\left( {P_{km,c} + R_{km,c} l_{km,c} } \right)} } - \sum\limits_{{jk \in {\text{BR}}}} {\sum\limits_{{c \in {\text{C}}}} {P_{jk,c} } } \quad \forall k \in {\text{B}}$$
(2.39)
$$Q_{k}^{SE} - Q_{k}^{D} + q_{k}^{fcb} = \sum\limits_{{km \in {\text{BR}}}} {\sum\limits_{{c \in {\text{C}}}} {\left( {Q_{km,c} + X_{km,c} l_{km,c} } \right)} } - \sum\limits_{{jk \in {\text{BR}}}} {\sum\limits_{{c \in {\text{C}}}} {Q_{jk,c} } } \quad \forall k \in {\text{B}}$$
(2.40)
$$\begin{aligned} d_{k} & \le M\left( {1 - \alpha_{km} } \right) + d_{m} - \sum\limits_{{c \in {\text{C}}}} {\left[ {2\left( {R_{km,c} P_{km,c} + X_{km,c} Q_{km,c} } \right) - \left( {R_{km,c}^{2} + X_{km,c}^{2} } \right)l_{km,c} } \right]} \\ & \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \forall km \in {\text{BR}} \\ \end{aligned}$$
(2.41)
$$\begin{aligned} d_{k} & \ge - M\left( {1 - \alpha_{km} } \right) + d_{m} - \sum\limits_{{c \in {\text{C}}}} {\left[ {2\left( {R_{km,c} P_{km,c} + X_{km,c} Q_{km,c} } \right) - \left( {R_{km,c}^{2} + X_{km,c}^{2} } \right)l_{km,c} } \right]} \\ & \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \forall km \in {\text{BR}} \\ \end{aligned}$$
(2.42)
$$d_{m} l_{km} \ge P_{km}^{2} + Q_{km}^{2} \quad \forall km \in {\text{BR}}$$
(2.43)
$$\left( {V_{k}^{2} } \right)^{\hbox{min} } \le d_{k} \le \left( {V_{k}^{2} } \right)^{\hbox{max} } \quad \forall km \in {\text{B}}$$
(2.44)
$$0 \le l_{km,c} \le \left( {I_{km,c}^{2} } \right)^{\hbox{max} } \alpha_{km,c}^{C} \quad \forall km \in {\text{BR,}}\,\forall c \in {\text{C}}$$
(2.45)
$$\beta_{km} = \sum\limits_{{c \in {\text{C}}}} {\alpha_{km,c}^{C} } \le 1\quad \forall km \in {\text{BR}}$$
(2.46)
$$\sum\limits_{{km \in {\text{BR}}}} {\beta_{km} } = \left| {\text{B}} \right| - \left| {\text{SE0}} \right| - \sum\limits_{{k \in {\text{SE}}}} {\alpha_{k}^{SE} }$$
(2.47)
$$\left( {P_{k}^{SE} } \right)^{2} + \left( {Q_{k}^{SE} } \right)^{2} \le \left( {S_{k}^{SE0} } \right)^{2} + \left[ {2S_{k}^{SE0} S_{k}^{SE} + \left( {S_{k}^{SE} } \right)^{2} } \right]\alpha_{k}^{SE} \quad \forall k \in {\text{SE0}} \cup {\text{SE}}$$
(2.48)
$$- \frac{{Ns_{km} }}{2}\alpha_{km}^{vr} \le \sum\limits_{n = 0}^{{Ns_{km} }} {\left[ {\left( {n - \frac{{Ns_{km} }}{2}} \right)y_{kmn} } \right]} \le \frac{{Ns_{km} }}{2}\alpha_{km}^{vr} \quad \forall km \in {\text{VR}}$$
(2.49)
$${\text{Constraints (2}} . 1 1 ){-} ( 2. 1 3 ), ( 2. 2 3 ), ( 2. 2 7 ), ( 2. 3 1 ),{ (2} . 3 3 ),{ (2} . 3 4 ){-} ( 2. 3 7 )$$
(2.50)
$$\alpha_{km,c}^{C} \in \left\{ {0,1} \right\}\quad \forall km \in {\text{BR}},\,\forall c \in {\text{C}}$$
(2.51)
$$\alpha_{k}^{SE} \in \left\{ {0,1} \right\}\quad \forall km \in {\text{SE}}$$
(2.52)
$$\alpha_{km} \in \left\{ {0,1} \right\}\quad \forall km \in {\text{BR}}$$
(2.53)
$$\alpha_{km}^{vr} \in \left\{ {0,1} \right\}\quad \forall km \in {\text{VR}}$$
(2.54)

where objective function (2.38) represents the annualized investment and operation costs. The first term represents the costs associated with the new feeders installation and/or changing existing ones, the second term represents the costs of installing or expanding substations, the third and fourth terms represent the costs associated with installing fixed capacitor banks and voltage regulators, respectively, and the fifth and sixth terms represent the costs associated with energy losses and substation operation, respectively.

Equations (2.39) and (2.40) represent the active and reactive power balance nodal equations. Equations (2.41) and (2.42) describe the forward voltage drops in each branch while (2.43) defines the apparent power flow injection at the head bus of each branch. The limits of voltage and current magnitudes are established in (2.44) and (2.45). Equation (2.46) accounts for the case when a line with a specific conductor type is already installed, by setting the corresponding binary variable to 1, or the case when a line is already installed but can have its conductor type changed by replacing the inequality sign in the summation of (2.46) with an equality. Equation (2.47), together with power balance constraints (2.39) and (2.40), ensures that the network has a number of trees equal to the number of existing and installed substations. Equation (2.48) indicates substation installation \((S_{k}^{SE0} = 0\;{\text{and}}\;S_{k}^{SE} \ne 0)\) and substation expansion \((S_{k}^{SE0} \ne 0\;\text{and} \;S_{k}^{SE} \ne 0)\) and binary variable \(\alpha_{k}^{SE}\) is related to the substation capacity limit. Equation (2.49) states whether it is necessary to install a voltage regulator in the electric distribution network, i.e.\(\alpha_{km}^{vr} = 1\). Finally, constraints (2.51)–(2.54) represent the binary nature of the variables. The static model in (2.38)–(2.54) is a convex MICQP formulation for the EDNEP problem that guarantees global optimum solutions.

2.4.4 Dynamic Convex EDNEP Model

As previously explained, in the EDNEP dynamic model, the decisions are made at different points in time. In order to do so, the proposed static model in (2.38)–(2.54) can be extended to a dynamic (multi-period) model by adding the period index and some constraints, as

$$\begin{aligned} \hbox{min} \,f & = K_{L} \sum\limits_{{t \in {\text{P}}}} {\sum\limits_{{km \in {\text{BR}}}} {\sum\limits_{{c \in {\text{C}}}} {C_{km,c}^{C} \alpha_{km,c,t}^{C} } } L_{km} } + K_{S} \sum\limits_{{t \in {\text{P}}}} {\sum\limits_{{k \in {\text{SE}}}} {\left( {C_{k}^{SE} \alpha_{k,t}^{SE} + C_{k}^{SER} \alpha_{k,t}^{SER} } \right)} } \\ \, & \quad + K_{C} \sum\limits_{{t \in {\text{P}}}} {\sum\limits_{{k \in {\text{FCB}}}} {C_{k}^{FCB} n_{k,t}^{fc} } } + K_{C} \sum\limits_{{t \in {\text{P}}}} {\sum\limits_{{k \in {\text{FCB}}}} {C_{k}^{SCB} n_{k,t}^{sc} } } + K_{VR} \sum\limits_{{t \in {\text{P}}}} {\sum\limits_{{km \in {\text{VR}}}} {C_{k}^{VR} \alpha_{km,t}^{vr} } } \\ \, & \quad + {\text{C}}_{loss} \sum\limits_{{t \in {\text{P}}}} {\sum\limits_{{k \in {\text{B}}}} {\left( {P_{k,t}^{SE} - P_{k,t}^{D} } \right)} } + \sum\limits_{{t \in {\text{P}}}} {\sum\limits_{{k \in {\text{B}}}} {C_{k}^{OS} \left[ {\left( {P_{k,t}^{SE} } \right)^{2} + \left( {Q_{k,t}^{SE} } \right)^{2} } \right]} } \\ \end{aligned}$$
(2.55)
$$P_{k,t}^{SE} - P_{k,t}^{D} = \sum\limits_{{km \in {\text{BR}}}} {\sum\limits_{{c \in {\text{C}}}} {\left( {P_{km,c,t} + R_{km,c} l_{km,c,t} } \right)} } - \sum\limits_{{jk \in {\text{BR}}}} {\sum\limits_{{c \in {\text{C}}}} {P_{jk,c,t} } } \quad \forall k \in {\text{B}},\,\forall t \in {\text{P}}$$
(2.56)
$$\begin{aligned} Q_{k,t}^{SE} - Q_{k,t}^{D} + q_{k,t}^{fcb} + q_{k,t}^{scb} & = \sum\limits_{{km \in {\text{BR}}}} {\sum\limits_{{c \in {\text{C}}}} {\left( {Q_{km,c,t} + X_{km,c} l_{km,c,t} } \right)} } - \sum\limits_{{jk \in {\text{BR}}}} {\sum\limits_{{c \in {\text{C}}}} {Q_{jk,c,t} } } \\ & \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \forall k \in {\text{B}},\forall t \in {\text{P}} \\ \end{aligned}$$
(2.57)
$$\begin{aligned} d_{k,t} & \le M\left( {1 - \alpha_{km,t} } \right) + d_{m,t} - \sum\limits_{{c \in {\text{C}}}} {\left[ {2\left( {R_{km,c} P_{km,c,t} + X_{km,c} Q_{km,c,t} } \right) - \left( {R_{km,c}^{2} + X_{km,c}^{2} } \right)l_{km,c,t} } \right]} \\ & \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \forall km \in {\text{BR}},\forall t \in {\text{P}} \\ \end{aligned}$$
(2.58)
$$\begin{aligned} d_{k,t} & \ge - M\left( {1 - \alpha_{km,t} } \right) + d_{m,t} - \sum\limits_{{c \in {\text{C}}}} {\left[ {2\left( {R_{km,c} P_{km,c,t} + X_{km,c} Q_{km,c,t} } \right) - \left( {R_{km,c}^{2} + X_{km,c}^{2} } \right)l_{km,c,t} } \right]} \\ & \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \forall km \in {\text{BR}},\forall t \in {\text{P}} \\ \end{aligned}$$
(2.59)
$$d_{m,t} l_{km,t} \ge P_{km,t}^{2} + Q_{km,t}^{2} \quad \forall km \in {\text{BR}},\forall t \in {\text{P}}$$
(2.60)
$$\left( {V_{k}^{\hbox{min} } } \right)^{2} \le d_{k,t} \le \left( {V_{k}^{\hbox{max} } } \right)^{2} \quad \forall km \in {\text{B,}}\forall t \in {\text{P}}$$
(2.61)
$$0 \le l_{km,c,t} \le \left( {I_{km,c}^{\hbox{max} } } \right)^{2} \alpha_{km,c,t}^{C} \quad \forall km \in {\text{BR}},\forall c \in {\text{C}},\forall t \in {\text{P}}$$
(2.62)
$$\beta_{km,t} = \sum\limits_{{c \in {\text{C}}}} {\alpha_{km,c,t}^{C} } \le 1\quad \forall km \in {\text{BR}},\forall t \in {\text{P}}$$
(2.63)
$$\sum\limits_{{km \in {\text{BR}}}} {\beta_{km,t} } = \left| {\text{B}} \right| - \left| {\text{SE0}} \right| - \sum\limits_{{k \in {\text{SE}}}} {\alpha_{k,t}^{SE} } \quad \forall t \in {\text{P}}$$
(2.64)
$$\left( {P_{k,t}^{SE} } \right)^{2} + \left( {Q_{k,t}^{SE} } \right)^{2} \le \left( {S_{k}^{SE0} } \right)^{2} + \left[ {2S_{k}^{SE0} S_{k}^{SE} + \left( {S_{k}^{SE} } \right)^{2} } \right]\alpha_{k,t}^{SE} \quad \forall k \in {\text{SE0}} \cup {\text{SE}},\forall t \in {\text{P}}$$
(2.65)
$$q_{k,t}^{fcb} = Q^{fc} n_{k,t}^{fc} \quad \forall k \in {\text{FCB}},\forall t \in {\text{P}}$$
(2.66)
$$0 \le n_{k,t}^{fc} \le N_{k}^{fcb} \quad \forall k \in {\text{FCB}},\forall t \in {\text{P}}$$
(2.67)
$$q_{k,t}^{scb} = Q^{sc} n_{k,t}^{sc} \quad \forall k \in {\text{SCB}},\forall t \in {\text{P}}$$
(2.68)
$$0 \le n_{k,t}^{sc} \le N_{k}^{scb} \quad \forall k \in {\text{SCB}},\forall t \in {\text{P}}$$
(2.69)
$$\Delta_{km} = \frac{{\left( {a_{km}^{\hbox{max} } - a_{km}^{\hbox{min} } } \right)}}{{Ns_{km} }}\quad \forall km \in {\text{VR}}$$
(2.70)
$$z_{km,t} = d_{x,t} + \Delta_{km} \sum\limits_{n = 0}^{{Ns_{km} }} {\left[ {\left( {n - \frac{{Ns_{km} }}{2}} \right)x_{kmn,t} } \right]} \quad \forall km \in {\text{VR,}}\forall t \in {\text{P}}$$
(2.71)
$$d_{m,t} = z_{km,t} + \Delta_{km} \sum\limits_{n = 0}^{{Ns_{km} }} {\left[ {\left( {n - \frac{{Ns_{km} }}{2}} \right)y_{kmn,t} } \right]} \quad \forall km \in {\text{VR}},\,\forall t \in {\text{P}}$$
(2.72)
$$- M\alpha_{kmn,t} \le x_{kmn,t} \le M\alpha_{kmn,t} \quad \forall km \in {\text{VR}},\forall t \in {\text{P}},\forall n = 0,1,2, \ldots ,Ns_{km}$$
(2.73)
$$\begin{aligned} & - M\left( {1 - \alpha_{kmn,t} } \right) \le d_{x,t} - x_{kmn,t} \le M\left( {1 - \alpha_{kmn,t} } \right) \\ & \quad \quad \forall km \in {\text{VR}},\forall t \in {\text{P}},\forall n = 0,1,2, \ldots ,Ns_{km} \\ \end{aligned}$$
(2.74)
$$- M\alpha_{kmn,t} \le y_{kmn,t} \le M\alpha_{kmn,t} \quad \forall km \in {\text{VR}},\forall t \in {\text{P}},\forall n = 0,1,2, \ldots ,Ns_{km}$$
(2.75)
$$\begin{aligned} - M\left( {1 - \alpha_{kmn,t} } \right) \le z_{km,t} - y_{kmn,t} \le M\left( {1 - \alpha_{kmn,t} } \right) \hfill \\ \quad \quad \forall km \in {\text{VR}},\forall t \in {\text{P}},\forall n = 0,1,2, \ldots ,Ns_{km} \hfill \\ \end{aligned}$$
(2.76)
$$\sum\limits_{n = 0}^{{Ns_{km} }} {\alpha_{kmn,t} = 1} \quad \forall km \in {\text{VR,}}\forall t \in {\text{P}}$$
(2.77)
$$- \frac{{Ns_{km} }}{2}\alpha_{km,t}^{vr} \le \sum\limits_{n = 0}^{{Ns_{km} }} {\left[ {\left( {n - \frac{{Ns_{km} }}{2}} \right)y_{kmn,t} } \right]} \le \frac{{Ns_{km} }}{2}\alpha_{km,t}^{vr} \quad \forall km \in {\text{VR}},\forall t \in {\text{P}}$$
(2.78)
$$\sum\limits_{{t \in {\text{P}}}} {\alpha_{km,c,t}^{C} } = 1\quad \forall t \in {\text{P}}$$
(2.79)
$$\sum\limits_{{t \in {\text{P}}}} {\alpha_{k,t}^{SE} } = 1\quad \forall t \in {\text{P}}$$
(2.80)
$$\sum\limits_{{t \in {\text{P}}}} {\alpha_{km,t}^{vr} } = 1\quad \forall t \in {\text{P}}$$
(2.81)
$$n_{k,t}^{sc} \in {\mathbf{\mathbb{Z}}}^{ + } \quad \forall k \in {\text{SCB}},\forall t \in {\text{P}}$$
(2.82)
$$n_{k,t}^{fc} \in {\mathbf{\mathbb{Z}}}^{ + } \quad \forall k \in {\text{FCB,}}\forall t \in {\text{P}}$$
(2.83)
$$\alpha_{km,c,t}^{C} \in \left\{ {0,1} \right\}\quad \forall km \in {\text{BR,}}\forall c \in {\text{C,}}\forall t \in {\text{P}}$$
(2.84)
$$\alpha_{k,t}^{SE} \in \left\{ {0,1} \right\}\quad \forall km \in {\text{SE}},\forall t \in {\text{P}}$$
(2.85)
$$\alpha_{km,t} \in \left\{ {0,1} \right\}\quad \forall km \in {\text{BR}},\forall t \in {\text{P}}$$
(2.86)
$$\alpha_{km,t}^{vr} \in \left\{ {0,1} \right\}\quad \forall km \in {\text{VR}},\forall t \in {\text{P}}$$
(2.87)

where (2.55)–(2.87) represent the convex dynamic (multi-period) EDNEP problem, which was extended from a convex static EDNEP problem to a study for all time periods. In this problem, constraints (2.79)–(2.81) has added, limiting the pieces of equipment (feeders, substations and voltage regulators) to be installed in a specific branch or node along the planning horizon.

2.5 Numerical Results

2.5.1 Data Specifications

Two cases are used for the solution of the EDNEP problem using the 24-node electric distribution network [45]: (1) a static test case and (2) a dynamic test case. The system considered has 24 nodes, 4 substations, 20 load demand nodes and 34 branches, operating at 13.8 kV. For the static model, the planning horizon considered is 20 years in only one stage. For the dynamic model, the planning horizon considered is 20 years divided into 4 periods of 5 years each. These models have been solved using the CPLEX optimization solver [46] in AMPL [47], in a Dell PC server with 256 GB of RAM memory and 2.27 GHz.

The base topology of the 24-node network is shown in Fig. 2.4. Investment alternatives for substations and conductors, which were adopted from [20], are shown in Tables 2.1 and 2.2. Load demand data for each period is shown in Table 2.3. The costs and data related to the capacitor banks and voltage regulators are adapted from [27]. The location cost of capacitor banks is US$1500, the cost of each module is equal to US$1000, the capacity of each module is equal to 300 kVar. For other hand, the location cost of voltage regulators is equal to US$8400 and 32 steps. The interest rate is set at 13%. The price of energy is equal to $0.25 /kWh, and finally the minimum and maximum voltage magnitude limits are 0.95 and 1.05 pu, respectively.

Fig. 2.4
figure 4

Base topology of the 24-node electric distribution network

Table 2.1 Conductor’s data
Table 2.2 Substations data
Table 2.3 Load data (kVA)

2.5.2 Static Test Case

This case is solved in 6 min 45 s, the objective function found is US$118,321,152. The EDNEP problem is solved taking into account the load demand in the last stage (year 20), but the decisions are made in the first year. The solutions obtained are as follows: substations 23 and 24 are built, feeders 2–12, 4–9, 10–16 and 7–19 are built with conductor type 1, feeders 4–15, 15–17, 1–14, 5–24, 7–23, 10–23, 11–23, 17–22, 18 – 24 and 13–20 are built with conductor type 2 and feeders 1–21 and 6–22 are changed with conductor type 1. In addition, FCB with 1800 kVar are located at nodes 1, 3, 7, 9, 13, 14 and one voltage regulator is located in circuit 4–15 with a tap position of 6. The topology obtained from the optimization process is shown in Fig. 2.5.

Fig. 2.5
figure 5

Solution topology of the 24-node electric distribution network in static case

2.5.3 Dynamic Test Case

This case is solved in 18 min 23 s, the objective function found is US$55,654,205. In period 1, feeders 4–9, 17–22, 4–16 are built with conductor type 1, while feeders 10–16, 4–15 and 17–22 are built with conductor type 2 and feeder 8–22 is changed with conductor type 1. FCB with 1200 kVar is located at node 1 and FCB with 900 kVar is located at nodes 3, 7, 9 and 5.

In period 2, substation 23 is built and feeders 2–12, 1–14 and 11–23 are built with conductor type 1, while feeders 6–13 and 7–23 are built with conductor type 2 and feeder 1–21 is changed with conductor type 1. FCB with a capacity of 1200 kVar is installed at node 14. In addition, one voltage regulator is installed in branch 4–15 with a tap position of 5.

In period 3, feeder 10–23 is built with conductor type 1 and feeders 7–19, 14–18, and 13–20 are built with conductor type 2. In addition, the voltage regulator installed in branch 4–15 in period 2 changes the tap position to 2.

In period 4, substation 24 is built and feeders 24–18, 24–5 and 24–20 are built with conductor type 1 and feeder 1–9 is built with conductor type 2. In addition, the voltage regulator installed in branch 4–15 in period 2 changes the tap position to 1. The topologies obtained from the optimization process in each period are shown in Fig. 2.6.

Fig. 2.6
figure 6

Solution topologies of the 24-node electric distribution network in dynamic case: a In period 1. b In period 2. c In period 3. d In period 4

The results found for the static and dynamic test cases show that the solutions obtained using the dynamic model have lower costs than those generated using the static model. This can be explained by the appropriate execution of investments in the dynamic model. Note that the cost difference between the static and the dynamic test cases is US$62,666,947.87, which represents a 47.03% reduction in total investment cost.