1 List of symbols

The notation used throughout this paper is reproduced below for quick reference.

Sets:

\({\varOmega _{\mathrm{{D}}}}\) :

Load demand levels.

\({\varOmega _{\mathrm{{Br}}}}\) :

Branches of the system.

\({\varOmega _{\mathrm{{Bus}}}}\) :

Buses of the system.

\({\varOmega _{\mathrm{{Cbl}}}}\) :

Types of cables mounted in conventional aerial, compact, and isolated structures.

\({\varOmega _{\mathrm{{CB}}}}\) :

Types of capacitor banks (fixed and switched), as well as their corresponding nominal reactive power.

\({\varOmega _{\mathrm{{Prt}}}}\) :

Protection devices (switches, fuse links, reclosers, and directional relays).

\({\varOmega _{\mathrm{{DG}}}}\) :

Distributed generators.

\({\varOmega _{\mathrm{{SBus}},s}}\) :

Buses of section s.

\({\varOmega _{\mathrm{{Sc}}}}\) :

Probabilistic scenarios.

Constants:

\({c_{\mathrm{{Jou}},d}}\) :

Costs of the Joule effect losses in load level d.

\({c_{\mathrm{{NSE}},d}}\) :

Costs of the non-supplied energy in load level d.

\({\rho _d}\) :

Number of hours in a year in load level d.

\({R_{ij}}\), \({G_{ij}}\), \({B_{ij}}\) :

Resistance, conductance, and susceptance, respectively, of branch ij.

\({c_{\mathrm{{Cbl}},k}}\) :

Cost of a k-type cable.

\({L_{ij}}\) :

Length of cable in branch ij.

\({c_{\mathrm{{CB}},k}}\) :

Cost of a k-type capacitor bank.

\({c_{\mathrm{{Prt}},k}}\) :

Cost of protection device k.

\({P_{\mathrm{{D}},i,d}}\), \({Q_{\mathrm{{D}},i,d}}\) :

Active and reactive power demanded in bus i and load level d.

\(P_{\mathrm{{DG}},g,d}^{\mathrm{{Min}}}\), \(Q_{\mathrm{{DG}},g,d}^{\mathrm{{Min}}}\) :

Minimum limits of active and reactive power generation of distributed generator g in load level d.

\(P_{\mathrm{{DG}},g,d}^{\mathrm{{Max}}}\), \(Q_{\mathrm{{DG}},g,d}^{\mathrm{{Max}}}\) :

Maximum limits of active and reactive power generation of distributed generator g in load level d.

\(pf_{\mathrm{{DG}}}^{\mathrm{{Min}}}\), \(pf_{\mathrm{{DG}}}^{\mathrm{{Max}}}\) :

Minimum and maximum limits of the distributed generators power factor.

\({V^{\mathrm{{Min}}}}\), \({V^{\mathrm{{Max}}}}\) :

Minimum and maximum voltage magnitude limits.

\(I_i^{\mathrm{{Max}}}\) :

Maximum current limit in branch ij.

\(n_{\mathrm{{DG}}}\), \(n_{\mathrm{{CB}}}\), \(n_{\mathrm{{FL}}}\) :

Number of available distributed generators, capacitor banks, and fuse links, respectively.

\(n_{\mathrm{{Sw}}}\), \(n_{\mathrm{{Rc}}}\), \(n_{\mathrm{{DR}}}\) :

Number of available switches, reclosers, and directional relays, respectively.

\(n_{\mathrm{{RcDR}}}^{\mathrm{{Max}}}\) :

Maximum number of available reclosers and directional relays.

\(n_{\mathrm{{SPrt}}}^{\mathrm{{Max}}}\) :

Maximum number of protection devices connected in series.

\(n_{\mathrm{{S}}}\), \(n_{\mathrm{{D}}}\) :

Number of feeder sections and load levels, respectively.

\({\varGamma _{\mathrm{{Rep}}}}\), \({\varGamma _{\mathrm{{Res}}}}\) :

Repair and restoration times, respectively.

\({L_s}\) :

Length of section s.

\({\lambda _{\mathrm{{F}},s}}\) :

Fault index in a year in section s.

\({\lambda _{\mathrm{{St}},s}}\) :

Index that represents the influence of the structure in a fault in section s.

\({\eta _{\mathrm{{Rep}},f,s}}\) \({\eta _{\mathrm{{Res}},f,s}}\) :

Binary constant associated with the influence or not of the repair and restoration of a fault f in section s, respectively.

N :

Size of population in the multi-objective genetic algorithm.

\({p_{g,i,j}}\) :

Transition probability of distributed generator g of moving from an initial generation state i to a final generation state j.

\({\widetilde{P}_g}\) :

Matrix of transition probabilities of distributed generator g.

\(n_{\mathrm{{Sc}}}\) :

Number of probabilistic scenarios.

\(n_{\mathrm{{Yr}}}\) :

Number of years of the planning horizon.

\(\alpha \) :

Investment return rate.

Variables:

\({C_{\mathrm{{Tech}}}}\) :

Costs associated with the network technical losses and non-supplied energy.

\({C_{\mathrm{{Inv}}}}\) :

Costs of investments in equipment that must be installed.

\({I_{ij,d}}\) :

Current in branch ij in load level d.

\({V_{i,d}}\) :

Magnitude of voltage in bus i in load level d.

\({\theta _{ij,d}}\) :

Difference between angles of voltages in buses i and j in load level d.

\({E_{\mathrm{{NS}},d}}\) :

Non-supplied energy in load level d.

\({\eta _{\mathrm{{DG}},i}}\), \({\eta _{\mathrm{{CB}},i}}\), \({\eta _{\mathrm{{Prt}},i}}\) :

Binary variables associated, respectively, with the existence or not of a distributed generator, capacitor bank, and/or protection device to be installed in bus i.

\({\eta _{\mathrm{{Cbl}},ij}}\) :

Binary variable associated with the existence or not of a cable to be installed/replaced in branch ij.

\({\eta _{\mathrm{{Sw}},i}}\), \({\eta _{\mathrm{{Rc}},i}}\), \({\eta _{\mathrm{{DR}},i}}\) :

Binary variables associated, respectively, with the existence or not of a switch, recloser, and/or directional relay to be installed in bus i.

\({P_{\mathrm{{DG}},g,i,d}}\), \({Q_{\mathrm{{DG}},g,i,d}}\) :

Active and reactive power generated by distributed generator g in bus i and load level d, respectively.

\({P_{i,d}}\), \({Q_{i,d}}\) :

Active and reactive power injected in bus i and load level d, respectively.

\({Q_{\mathrm{{CB}},k,i,d}}\) :

Reactive power injected in bus i by capacitor bank k in load level d.

\(pf_{g,i,d}\) :

Power factor of distributed generator g in bus i and load level d.

FV :

Future value.

PV :

Present value.

2 Introduction

The development of models and techniques for solving the distribution systems’ operating and expansion planning problem aims at finding an optimal configuration at a low investment costs (reform or expansion). Operating and investment costs are minimized considering physical and operational constraints of the network in order to meet consumers with quality, reliability, and competitive costs (Gonen 1985).

This challenge becomes even more complex when there are installed distributed generators (DG) in the network. The energy generation from wind power has been increasing every year in the energy matrix of several countries. The immediate consequence of this new scenario is the increase in the number of requests, to the planning department of electric distribution companies (EDCs), for authorization to connect generators directly into the electrical distribution system (EDS).

The connection of new sources changes some network characteristics, such as voltages, losses, protection scheme, direction of flow, among others. Therefore, the consumers want to ensure the satisfactory of the minimum reliability requirements and the greatest possible availability of energy supply. Thus, for the planning departments of the EDCs, the development of computational tools to reduce costs and time in decision making is important, indicating where, when, and what types of components should be installed and/or replaced in the distribution network in the presence of DGs.

Thus, it is important to have better connection planning of the DGs in the distribution network, as well as a mechanism to minimize conflicts caused by the installation of these sources into the network (e.g., conflicts when the EDC is not the owner of the DGs). Some of these possible conflict points are:

  1. 1.

    To keep the voltage levels and quality of energy supply within the standards established by regulatory agencies.

  2. 2.

    To keep the technical losses in the same or lower levels than the existing ones without the connection of DGs.

  3. 3.

    To keep the lowest possible investment in the network to encourage the connection of DGs (owned by the EDC or independent producers) without deteriorating the quality of energy supply.

In the short-term planning of distribution systems, some devices and actions allow effective control over voltage, active and reactive power, power factor, among others, which can be used to keep the quality and reliability of energy supply. Among these devices and actions, there are the allocation of capacitor banks (CBs), reconductoring of branches of the distribution network, and allocation of control and protection devices.

The DGs are part of the planning problem as additional elements that could be considered to meet economic interests of EDCs and independent energy producers. The DGs must be installed in appropriate places, according to the availability of primary energy sources, in order to bring the maximum benefits to the system, such as losses reduction, voltage control, relief in the conductors current flow, improved quality of energy supply, among others (El-kathan et al. 2005). Besides the technical benefits, another major benefit that the DGs can offer is related to the environment, since the progress and reduction of costs of control devices, which use power electronics technology, and the improvement of communications systems allows the use of renewable energy sources in medium and low voltage networks, i.e., the use of clean or inexhaustible energy sources is increasingly encouraged (Tan et al. (2013)).

In recent years, many studies involving short-term action planning were developed; however, in most of them, the problems of CBs allocation, voltage regulators, and reconductoring of branches of the distribution network are treated separately. Regarding the CBs, noteworthy is the work presented in Baran and Wu (1989), in which this problem is formulated as a mixed-integer nonlinear programming (MINLP) problem. The authors propose the approximation of the non-differentiable objective function to a linear objective function, and they solve the problem using Benders’ decomposition with continuous variables. Thereafter, classical optimization techniques, mono- and multi-objective heuristics, and metaheuristics techniques have been proposed for solving the CBs allocation problem (Chiang et al. 1990; Sundharajan and Pahwa 1994; Gallego et al. 2001; Souza et al. 2004; Park et al. 2009). Reconductoring of branches of the feeder of the distribution network is another action of the short-term planning problem. Several models and techniques for solving this problem can be found Mandal and Pahwa (2002), Mendoza et al. (2006), Vahidet et al. (2009). There are also works which propose models and solution techniques for solving simultaneously the CBs allocation and reconductoring problems (Pereira et al. 2013).

In this paper, different from the works presented in the literature, it is proposed a methodology for simultaneous allocation of DGs, fixed and switched CBs, control and protection devices, as well as the possibility of reconductoring of branches of the feeder of the distribution network with possible changes of the cables support structures. This problem is formulated as a multi-objective MINLP problem, which is difficult to solve due to its combinatorial nature, presenting a large search space, as well as a multimodal structure with large number of local optimal solutions. Thereby, the main contribution of this work is to bring together several elements of the planning and operation problem in a single model, making it closer to reality. The DGs are represented deterministically and also through modeling uncertainties considering the wind incidence probability in the wind power generation units that can be connected on the network. The reliability of the network is evaluated considering the cost of the non-supplied energy. Improvement in the network reliability is obtained considering that the proposed mathematical model has the ability to decide, according to technical and economic aspects, the change of conventional aerial structures by simple or isolated compact structures, and also through the optimized allocation of control and protection devices. The non-dominated sorting genetic algorithm (NSGA-II) (Deb et al. (2002)) is used for the solution of the proposed problem. To validate the proposed methodology, the results of tests carried out on a 135-bus distribution system (LaPSEE, http://www.feis.unesp.br/#!/departamentos/engenharia-eletrica/pesquisas-e-projetos/lapsee/english/downloads/testing-systems/) are presented.

This paper is organized as follows: In Sect. 2, the assumptions and mathematical formulation proposed in this work are presented; in Sect. 3, the NSGA-II implemented for solving the problem under study is described; in Sect. 4, the approach to address the uncertainties of wind power generation units is presented; in Sect. 5, the results of performed tests and corresponding analysis are shown; and, finally, the conclusions are exposed in Sect. 6.

3 Assumptions and Mathematical Formulation

The assumptions and mathematical formulation of the proposed short-term electrical distribution system planning (EDSP) are presented in the next subsections.

3.1 Assumptions

In order to present the mathematical formulation of the proposed EDSP problem, some assumptions regarding the properties and physical behavior of the equipment and devices that could be allocated in the distribution network were made. These assumptions are as follows:

  1. 1.

    The DGs may be owned either by the EDC or by independent energy producers.

  2. 2.

    DGs with a high degree of variability are considered in this work. To consider these kinds of DGs as dispatchable, their variability is reduced by using a forecasting system, which combines the Monte Carlo method (MCM) and Markov models (MkvM) (Rueda-Medina and Padilha-Feltrin 2013).

  3. 3.

    The DGs have anti-islanding protection, and their islanded operation is not allowed.

  4. 4.

    In the construction of new distribution circuits or reconductoring of the existing ones, it is contemplated that new lines can be built or conventional aerial structures can be replaced with compact or isolated structures, which have higher reliability indices.

  5. 5.

    Fixed and switched capacitor banks can be allocated.

  6. 6.

    Sections are defined as the network segments which can be isolated by switching actions in control and protection devices.

  7. 7.

    In the model, it is considered the distribution network restoration through optimal allocation of sectionalizing switches when there are permanent faults in each of the predefined sections of the feeder.

  8. 8.

    It is considered that protection devices operate in a selective and coordinated manner, so that improper actions of fuses with respect to temporary disturbances are reduced through the action of reclosers.

  9. 9.

    In contingencies, the protection devices must act to protect the system, and control devices must be switched (open or close) to isolate the area under disturbance, as well as to transfer interrupted loads to neighboring feeders.

3.2 Mathematical Formulation

The proposed short-term EDSP problem, considering economic analysis of the distributed generation allocation and improvements in the network reliability, can be mathematically formulated as a multi-objective MINLP problem, as presented as follows.

(1)
(2)

Subject to:

(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)

In proposed model (1)–(15), two objective functions are considered. The first objective function, expression (1), represents an improvement measure of the network reliability, and it corresponds to the minimization of the costs associated with the network technical losses and non-supplied energy; the second objective function, expression (2), corresponds to the minimization of the costs for investments in the equipment that must be installed to meet reliability and quality of energy supply. The non-supplied energy in the second term in (1) is obtained according to expression (16). In (2), the first term corresponds to the costs associated with the cable structure (conventional aerial, compact, or isolated) which can be installed/replaced in the respective network section; the second term corresponds to the installation costs of CBs, according to their characteristics (fixed or switched) and power ratings; and the third term corresponds to the costs of control and protection devices, such as switches, fuse links, reclosers, and directional relays, which can be installed in the network.

(16)

Constraints (3) and (4) are the conventional representation of the active and reactive power flow balance, respectively. Active and reactive power generation of the DGs must be within operational limits, according to (5) and (6), respectively. The power factor of the DGs, both leading and lagging, must be within specified limits, as represented in (7). Voltages in buses must be within the specified limits, as presented in (8), and currents in branches must be less than the specified maximum values, as shown in (9). The maximum number of DGs, CBs, fuse links, switches, reclosers, and directional relays that can be installed in the system is represented by constraints (10)–(14), respectively; note that, when a DG is installed between a recloser and the substation, such recloser has to be replaced by a directional relay. Finally, the number of protection devices connected in series must be less than a specified maximum number, as represented in (15).

4 Solution Techniques

The proposed short-term EDSP problem is a MINLP, NP-hard, that is difficult to be solved through exact classical optimization techniques. Among the techniques reported in the literature to solve this kind of problem, the NSGA-II (Deb et al. 2002) is used in this work.

The NSGA-II, widely reported in the literature, e.g., in Pereira et al. (2013) and Padilha-Feltrin et al. (2015), is an elitist algorithm that preserves the diversity of the population. This algorithm is robust, easy to understand and to implement and can be applied to several kinds of problems with excellent results and low computational times. The NSGA-II incorporates the domination principle to find a set of non-dominated high-quality solutions, which may be near or even belong to the Pareto-optimal front. The flowchart of the NSGA-II implemented to the proposed problem is presented in Fig. 1, and its main features are explained in the next subsections.

Fig. 1
figure 1

Flowchart of the NSGA-II implemented to solve the proposed problem

The power flow is an essential tool to determine the fitness function values in the NSGA-II implemented to solve the problem presented in this work. Bearing in mind factors such as speed of convergence, accuracy, and robustness, a power flow based on the backward–forward method was used for this proposal (Shirmohammadi et al. 1988).

4.1 Individuals Coding

The coding scheme used to represent the individuals or chromosomes in the NSGA-II consists of decimal and binary numbers, which are grouped in four main sets to represent the types of cables/structures, DGs, CBs, and the types of protection equipment that should be installed in the network, as detailed in Fig. 2.

Set 1, shown in Fig. 2, which corresponds to the reconductoring cable/structure (conventional aerial, compact, and isolated), is composed of \(n_{\mathrm{{S}}}\) fields or genes associated with the number of sections in which the feeder is previously divided. Each field of this set contains an integer number, \(\hbox {CST}_1\) to \(\hbox {CST}_{n_{\mathrm{{S}}}}\), representing one of the available cable/structure types.

Fig. 2
figure 2

Coding scheme of each individual in the NSGA-II

The buses where the DGs could be allocated, i.e., \(\hbox {GB}_1\) to \(\hbox {GB}_{n_{\mathrm{{DG}}}}\), and the power factor of the DGs for all load levels, i.e., \(p{f_{1,\mathrm{{G}}{\mathrm{{B}}_1},1}}\) to \(p{f_{{n_{\mathrm{{DG}}}},\mathrm{{G}}{\mathrm{{B}}_{{n_{\mathrm{{DG}}}}}},{n_\mathrm{{D}}}}}\) are specified in Set 2, as presented in Fig. 2.

Regarding the CBs, the candidate allocation buses, i.e., \(\hbox {CBB}_1\) to \(\hbox {CBB}_{n_{\mathrm{{CB}}}}\) and the corresponding reactive power for all load levels, i.e., \({Q_{\mathrm{{CB}},1,\mathrm{{CB}}{\mathrm{{B}}_1},1}}\) to \({Q_{\mathrm{{CB}},{n_{\mathrm{{CB}}}},\mathrm{{CB}}{\mathrm{{B}}_{{n_{\mathrm{{CB}}}}}},{n_\mathrm{{D}}}}}\) are represented in Set 3, as shown in Fig. 2.

Set 4 contains information regarding the allocation branches of fuse links, switches, reclosers, and directional relays, i.e., \(\hbox {BFL}_{1}\) to \(\hbox {BFL}_{n_{\mathrm{{FL}}}}\), \(\hbox {BSW}_{1}\) to \(\hbox {SWL}_{n_{\mathrm{{Sw}}}}\), BRC\(_{1}\) to \(\hbox {BRC}_{n_{\mathrm{{Rc}}}}\), and \(\hbox {BDR}_{1}\) to BDR\(_{n_{\mathrm{{DR}}}}\), respectively. A zero value in any field of this set means that there is not a protection device installed in the corresponding branch.

Table 1 Costs of cables/structures

4.2 Initialization, Sorting, and Crowding Distance

According to the features of the problem under study, there are several methods to generate the initial population for the multi-objective algorithm. Usually, the population is generated in a random or pseudorandom basis. In this work, the initial population \(\mathcal {P}_0\), with size N, is generated in a pseudorandom basis using the nominal values and minimum and maximum capacities of cables/structures, DGs, CBs, and protection devices.

In each generation of the NSGA-II, the population \(\mathcal {P}\) is sorted according to the non-dominated individual levels. All individuals are classified in fronts of non-domination F\(_1\), F\(_2\), ..., F\(_i\) (the sorting is done considering that, as the smaller is the rank of the front, better is the solution).

The sorting is performed using the restricted domination operator, defined in Deb et al. (2002), as follows:

  • Every feasible solution x dominates all unfeasible solutions y.

  • If x and y are both feasible solutions, x dominates y only if x is better than y at least in one objective function, and x is not worse than y in no other objective function.

  • If x and y are both infeasible solutions, x dominates y only if x is less infeasible than y at least in one problem constraint, and x is not worse than y in no other problem constraint.

For each individual, a crowding distance is also calculated. This distance is an estimation of the size of the search space around the solution under analysis that is not occupied by another solution (Deb et al. 2002).

4.3 Genetic Operators

The genetic operators called tournament selection, crossover, and mutation are applied to obtain a descendant population \(\mathcal {Q}\) with size N (Deb 2009).

4.3.1 Tournament Selection

The criteria used in the tournament selection are based on the crowding comparison operator (Deb et al. 2002): If two solutions belong to the same front, the solution with the greatest crowding distance is selected, in order to preserve the diversity of the population; otherwise, the solution which belongs to the front with the best domination level is selected.

4.3.2 Crossover

In this work, the crossover is performed in multiple points of a pair of selected individuals (parents) from the population \(\mathcal {P}\). Random locations are selected in each of the parental individual in order to divide it in several parts. Each descendant comprises the combination of these parts, such that the genetic information of both parents is passed to the descendants.

After applying the crossover operator, a new population \(\mathcal {Q}\) is generated. A set containing the combination of parents and descendant population \(\mathcal {R} = \mathcal {P} \cup \mathcal {Q}\) is classified into fronts, according to the non-domination levels, as explained in Sect. 3.2.

A new population is then generated using the individuals of \(\mathcal {R}\). The new population generation process consists of adding individuals of \(\mathcal {R}\) to a new population set, beginning with the individuals which belong to the best fronts. This process is repeated until the number of individuals in the new population set exceeds N. Next, the individuals with the shorter crowding distances of the new population set, which also belong to the last front added to this set, are removed until the number of individuals N is reached.

Table 2 Costs of acquisition, installation, and maintenance of protection equipment

4.3.3 Mutation

The mutation of individuals is used to ensure greater scanning in the search space, avoiding local optimal solutions. In this work, the mutation process consists of changing the value of a random location of a selected individual. The decision whether or not an individual changes depends on a predefined probability mutation rate.

The process to perform the mutation operator to each of the sets of the individuals coding (see Fig. 2) is presented below:

  • Set 1 (cables/structures): In this set, in a random-selected location, the mutation is performed changing the cable/structure type from a predefined list (Table 1).

  • Set 2 (DGs): As presented in Fig. 2, this set is divided into 2 subsets, which correspond to the allocation bus and power factor of the DGs. If the random-selected location of the mutation is in the allocation bus subset, a new bus value, chosen randomly from a candidate allocation buses set, replaces the existing bus value. Otherwise, if the mutation is in the power factor subset, new values (for all load levels) are chosen randomly between the predefined minimum and maximum operational power factor limits.

  • Set 3 (CBs): Similar to Set 2, this set is divided into 2 subsets, which correspond to the allocation bus and to the reactive power value of the CBs. In this set, the mutation is performed as follows:

    • Initially, a random-selected location in the allocation buses subset is defined. The actual value associated with this location is then changed from 0 to 1 or 1 to 0.

    • If the new value is 0, then all values associated with the corresponding CB in the reactive power subsets (for all load levels) are also changed to 0.

    • If the new value is 1, then new values are chosen randomly between the predefined minimum and maximum operational limits of the corresponding CB.

  • Set 4 (protection equipment): In this set, the mutation process consists of changing the value of a random-selected location, which corresponds to the installation branch of fuse links, switches, reclosers, or directional relays. The new value of the selected location in this subsets is chosen randomly from a predefined options list (Table 2). A zero new value means that there is no switch, fuse link, recloser, or directional relay installed in the corresponding branch.

Fig. 3
figure 3

Flowchart corresponding to the MCM algorithm (Rueda-Medina and Padilha-Feltrin 2013)

5 Distributed Generators Uncertainties

In this work, an algorithm proposed in Rueda-Medina and Padilha-Feltrin (2013), which combines the MCM and MkvM, is used to reduce the generation uncertainties of the DGs which use wind as the primary energy source. In this algorithm, the time series for the active power outputs of these DGs are defined through the MkvM theory and, using the MCM, a set of probabilistic scenarios is generated. In Fig. 3, the MCM algorithm used in this proposal is shown.

For each DG g, a set of discretized generation states (GSs) is defined, and MkvM are described in terms of the transition probabilities of moving between these GSs (e.g., from an initial GS i to a final GS j, say probability \({p_{g,i,j}}\)). These probabilities depend on collected statistical data (e.g., wind speed), and they form the matrix of transition probabilities \({\widetilde{P}_g}\) presented in (17).

(17)
Fig. 4
figure 4

Distribution feeder 135 buses, 13.8 kV

The probabilistic scenarios are generated through the MCM, according to the flowchart presented in Fig. 3, where the main blocks (labeled as A, B, and C) are explained below.

  1. 1.

    Block A: For each DG g, the initial GS i corresponds to the initial upper limit of active power generation in load level d, i.e., the initial value of \(P_{\mathrm{{DG}},g,d}^{\mathrm{{Max}}}\).

  2. 2.

    Block B: For each DG g, generate a uniform random number between 0 and 1. Link these numbers to \({p_{i,j}}\), from the matrix \({\widetilde{P}_g}\) associated with the corresponding DG g, to move from the current GS i to the next GS j, i.e., to define the value of \(P_{\mathrm{{DG}},g,d}^{\mathrm{{Max}}}\) for the next load level d, say \(P_{\mathrm{{DG}},g,d + 1}^{\mathrm{{Max}}}\).

  3. 3.

    Block C: For each DG g, the value of \(P_{\mathrm{{DG}},g,d}^{\mathrm{{Max}}}\) is determined by the corresponding GS j generated in Block B.

As presented above, the transition probabilities depend on collected statistical data (e.g., wind speed) and they form a matrix of transition probabilities \({\widetilde{P}_g}\). However, choosing the appropriate number of discretizations or GSs, that is, the size of \({\widetilde{P}_g}\), is very important for the efficiency of the forecast system. A very small number of GSs do not adequately represent the operation of the DGs, while a very large number of GSs could introduce large forecast errors. In this work, the best size of the matrix of transition probabilities is defined through a method proposed in Rueda-Medina et al. (2013).

6 Results and Discussion

The methodology proposed to solve the short-term EDSP problem was implemented in MATLAB, and it was tested in a 135-bus distribution feeder, which was adapted from [15], as shown in Fig. 4. The personal computer used for tests has a processor Intel Core i7 @ 2.00 GHz with 16 GB of installed RAM. The modifications in the 135-bus distribution feeder consist of the inclusion of 8 neighboring feeders to simulate the relocation of loads for these feeders, as presented in Table 3.

The fault index \({\lambda _{\mathrm{{F}},s}}\) used in the tests is 0.072 faults per year per kilometer. This value is associated with the conventional aerial structure. When changing conventional aerial structures by compact or isolated structures, there is a reduction in \({\lambda _{\mathrm{{F}},s}}\) to 0.022 and 0.011 faults per year per kilometer, respectively. This reduction is due to the fact that these compact and isolated structures have greater reliability than the conventional aerial ones. This information was achieved along an EDC from the south of Brazil.

Costs of cables mounted on conventional aerial, compact, and isolated structures used in tests are presented in Table 1.

Table 3 Reserve and load transfer capacities of the neighboring feeders of the 135-bus distribution feeder

Costs of fixed and switched CBs are shown in Table 4. These values are the same used in Park et al. (2009).

Costs of acquisition, installation, and maintenance of fuse links, reclosers, and directional relays are presented in Table 2; for all tests, costs of automatic switches are US$ 200. All these cost values were obtained from planning sectors of Brazilian EDCs and from  Peñuela and Mantovani (2013).

In all tests of this case, three DGs, each of 600 kVA, were considered to be allocated. Either the DGs as the CBs can be allocated in any bus of the distribution system.

In this work, the DG uncertainties are analyzed previously to the NSGA-II. Therefore, in order to define the matrix of transition probabilities \(\widetilde{{P_g}}\), real historical data of wind speed (Swera, http://en.openei.org/wiki/SWERA/Data) corresponding to a period of 5 years, were used to construct the matrix of Table 5. In this matrix, a set of six discretized GSs were defined: The first one is associated with the minimum generation capacity (100 kVA), and the sixth one is associated with the maximum generation capacity (600 kVA). The number of GSs was obtained according to the proposal presented in Rueda-Medina et al. (2013).

Table 4 Costs of CBs

In all simulations, four load levels, i.e., \(n_{\mathrm{{D}}} = 4\), were considered. This number of load levels was chosen assuming that it is enough to adequately cover the range of load variations, and considering that this number is less than the number of GSs, which is enough to represent the intermittent characteristics of the DGs, as presented in Rueda-Medina et al. (2013). Periods of the day for these load levels, from 1 to 4, respectively, are 00–07 h, 07–18 h, 18–21 h, and 21 h to 00 h. Each of these levels is related to a base load by a percentage value, as presented below:

  • Load level 1 is 60% of the base load.

  • Load levels 2 and 4 are 100% of the base load.

  • Load level 3 is 130% of the base load.

Using the data of Table 5, considering 2,000 probabilistic scenarios, i.e., \(n_{\mathrm{{Sc}}} = 2,000\), the MCM algorithm proposed in Fig. 3 was executed. Among the 2,000 scenarios generated with this algorithm, the scenario with the greatest availability of energy that must be injected into the network, shown in Table 6, was chosen to be used in all simulations of the NSGA-II. Therefore, information of Table 6 corresponds to the generation capacity (in kVA) of the DGs for each load level.

Table 5 Matrix of transition probabilities (in %)
Table 6 Apparent power (maximum generation capacity), in kVA, of the DGs for each load level

As a result of applying the proposed solution methodology, the non-dominated solutions presented in Table 7 were obtained. In this table, the results for each non-dominated solution, corresponding to technical losses and investment costs, are presented. Technical losses costs are related to the Joule effect in cables and non-supplied energy, while investment costs are related to costs of cables/structures, CBs, and protection equipment. The computational time for obtaining the results presented in this table was 4 h 13 min and 20 s.

Table 7 Technical losses and investment costs of solutions of the non-dominated front

The results presented in Table 7 are depicted in Fig. 5. As shown in this table and figure, there is a reduction of losses when the system investment is increased. This is due to the fact that, as more investment is applied to the system, more robust and reliable network becomes, reducing losses and possible failures.

In order to obtain the best results, the NSGA-II requires making adjustments in the genetic parameters (number of the population’s individuals, mutation rate for the genes, crossover rate, number of individuals by tournament, and stopping criterion) and in the initial population; these adjustments were performed through a trial-and-error process. The best values for these parameters, through which the results presented in Table 7 and Fig. 5 were obtained, are: number of the population’s individuals equal to 100; mutation rate for the genes (individuals of population set) equal to 0.05; crossover rate equal to 0.9; number of individuals by tournament equal to 2; and stopping criterion equal to 100 generations. As an example of the results obtained through the trial-and-error process commented before, some non-dominated fronts are presented in Fig. 6, for several seeds used in the pseudorandom initial population generation, and in Fig. 7, for different sets of genetic parameters.

Fig. 5
figure 5

Non-dominated solutions

Fig. 6
figure 6

Non-dominated fronts with different initial populations, i.e., with several seeds used in the pseudorandom initial population generation

Fig. 7
figure 7

Non-dominated fronts with different sets of genetic parameters (number of the population’s individuals, mutation rate for the genes, crossover rate, number of individuals by tournament, and stopping criterion)

In Fig. 6, note that Front—Seed 1 could be chosen as a good-quality front; however, the non-dominated front of Fig. 5 was chosen as the “best front” because most of the solutions of this front are better than solutions of Front—Seed 1. Note also that there were some seeds that led to very bad-quality fronts in terms of diversity, such as Front—Seed 2, Front—Seed 3, and Front—Seed 5, since they provided only 2, 4, and 4 solutions, respectively.

In Fig. 7, note that Front—Parameters set 1, Front—Parameters set 2, and Front—Parameters set 3 represent bad-quality solutions in terms of diversity, since they provided only 7, 5, and 5 solutions, respectively, against 13 good-quality solutions of the non-dominated front of Fig. 5.

The equipment installed in the network, corresponding to each solution of the non-dominated front presented in Fig. 5, is detailed in Table 8.

Table 8 Equipment installed in the network for each non-dominated solution
Fig. 8
figure 8

Elements allocated in Solution A

Fig. 9
figure 9

Elements allocated in Solution B

Fig. 10
figure 10

Elements allocated in Solution C

In Table 8, note the diversity of elements composing the solutions. In the first two solutions, with smaller investment costs, the CBs are not required to be installed; the allocation of CBs in solutions 3 to 13 interferes in the two objective functions considered in this work, increasing the investment costs and reducing the technical losses, as it could be confirmed in Table 7, since these capacitors are allocated in regions that concentrate higher densities of loads. Solution 2 is the only one with a recloser, and eight solutions (a little over half) require only one directional relay. The number of fuse links and switches remains almost invariant for all solutions, except for Solution 13 (or C), which requires almost twice fuse links. Solution C has the biggest number of elements to be installed causing, thereby, the smallest losses costs, US$ 463,859.25, and the biggest investment costs, US$ 130,570.06. When comparing Solutions C and 1 (or A), Solution C has an increase of 36.21% in investment and a reduction of 28.24% in losses.

In Figs. 89, and 10, the elements allocated according to Solutions A, B, and C (in Table 8), respectively, are shown. In these figures, DGs, CBs, fuse links, switches, and directional relays are represented by green, purple, blue, red, and yellow circles, respectively.

In order to make comparisons, tests without DGs were performed. After applying the proposed solution methodology, but neglecting the DGs, the non-dominated solutions presented in Table 9 were obtained. Similar to Table 7, these results correspond to technical losses, which are related to the Joule effect in cables and non-supplied energy, and investment costs, which are related to costs of cables/structures, CBs, and protection equipment.

Table 9 Technical losses and investment costs of solutions of the non-dominated front (without DGs)

In Fig. 11, the results presented in Tables 7 and 9, corresponding to the cases with and without DGs, respectively, are depicted. Note the significant costs reduction associated with losses when the DGs are considered to be installed in the network. This reduction corresponds to 175,028.02US$, which means a reduction percentage of 21.31%, when comparing the extreme Solutions A and A\(^{\prime }\) in Fig. 11, and 176,360.79US$, which means a reduction percentage of 25.55%, when comparing the extreme Solutions C and C\(^{\prime }\) in the same figure. Note also that these costs reduction in losses is achieved with additional investments of 12,794.13US$ for extreme Solutions A and A\(^{\prime }\) and 20,956.21 US$ for extreme Solutions C and C\(^{\prime }\). Although the DGs installation costs are not considered, since these costs are constant values which do not affect the optimization process, it is important to remark that the DGs reward for active power provided to the system is extended to more than the planning horizon of 5 years assumed in test developed in this work. Thus, for example, considering an active power price of 12$ per kW/h and a investment return rate of 8% for the same period of the planning horizon, the DGs rewards for each non-dominated solution are those presented in Table 10, which were updated to future values using expression (18).

(18)
Fig. 11
figure 11

Non-dominated solutions (comparison without and with DGs)

Table 10 DGs reward in 5 years

7 Conclusions

The methodology proposed in this work for the short-term distribution systems planning provides a set of optimized solutions, which enables the distribution network planner, along with investors of distributed generation, to make investment decisions that address technical and economic interests of these two agents.

Another important feature of the work presented in this paper is the consideration of the uncertainties present in the DGs based on renewable energy sources. Through a forecasting methodology, which combines the MCM and MkvM, the amount of active power to be injected into the network by the DGs is defined in a pre-processing stage (before applying the NSGA-II).

The obtained results show the efficiency of the proposed methodology, helping to maintain the quality of the energy supply and the reliability of the distribution network, while reducing technical losses with a low investment cost.