Full text
Electrical Power and Energy Systems 152 (2023) 109203 Available online 9 May 2023 0142-0615/© 2023 Elsevier Ltd. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/). Optimization method for short circuit current reduction in extensive meshed LV network David Topolanek a , * , Vit Krcal a , Ladislav Foltyn b , Pavel Praks b , Jan Vysocky c , Renata Praksova b , Giuseppe Prettico d , Gianluca Fulli d a Brno University of Technology, Department of Electrical Power Engineering, Brno, Czech Republic b VSB–Technical University of Ostrava IT4Innovations National Supercomputing Center, Ostrava, Czech Republic c VSB–Technical University of Ostrava, Electrical Power Engineering Department, Ostrava, Czech Republic d European Commission Joint Research Centre, 21027 Ispra, VA, Italy ARTICLE INFO Keywords: Meshed network Optimization Short circuit Reconfiguration Distribution network Evolutionary algorithm ABSTRACT This paper focuses on the analysis of suitable optimization methods applied to large meshed low-voltage networks. The introduced methods aim to minimize the SC-current contribution by simultaneously fulfilling welldefined operational constraints. The high number of binary variables (134) used in the worst case to determine the possible network configurations generates 1040 possible solutions. For this reason, the paper focuses only on methods capable of reducing the necessary steady-state calculations to a tractable size. Depending on the case under study, the deterministic method turns to be faster than the other ones at the price of reaching only a local minimum. In contrast, if a longer computation time is tolerated, then evolutionary algorithms succeed in finding the global optimum. 1. Introduction The decarbonisation process relies, among others, on the widespread integration of Distributed Energy Resources (DER) connected to Distribution Networks (DN). A common practice of DN operators for increasing DER hosting capacity is to decrease the short-circuit (SC) impedance at the connection nodes. This is achieved by permanently closing selected disconnectors [1]. As a result, radial networks are turned into rings or meshed topologies, which are more difficult to operate. In this case, the support of accurate numerical optimization tools becomes fundamental [2]. Decreasing the SC impedance is beneficial from the DER implementation point of view, but there are also some negative impacts on the network operation. The shortcomings of meshing the network topology rest in impaired network simplicity, complicated fault localization, and increased magnitude of SC currents [3]. Although meshed networks are capable of hosting densely concentrated and high-power loads and sources, their operation is hardly possible without the support of accurate numerical models and suitable optimization tools [4]. Very large and dense networks – in radial or (partly) meshed configurations – are typical for old city centres of big cities, where the (mostly cable-based) network topology reflects the process of gradual electrification bound with the historical urban development. Traditionally, due to the limited number of measuring devices deployed, it was impossible to build effective numerical models and expert optimization methods verified and tested against real operational data [5]. Currently, it is vital to design robust optimization algorithms, which can find the global optimum in a short time even for these complex meshed networks. Nowadays, especially appropriate optimization tools verified in meshed DNs are missing. These tools should effectively assess key operation aspects, such as transformer-taps setting, power-line sections power flow distribution, SC-currents evaluation, etc. The presentation of an effective optimization tool that could be useful in large meshed electrical networks, is the goal of this paper. Regarding both practical and demonstrative aspects, the study is focused on finding suitable network configurations, which leads to minimizing the SC currents while respecting defined operational constraints. This goal is considered rather significant when LV network operation safety is taken into account, while until now, this issue has been often overlooked due to the absence of proper simulation tools. * Corresponding author. E-mail address: [email protected] (D. Topolanek). Contents lists available at ScienceDirect International Journal of Electrical Power and Energy Systems journal homepage: www.elsevier.com/locate/ijepes https://doi.org/10.1016/j.ijepes.2023.109203 Received 23 November 2022; Received in revised form 11 April 2023; Accepted 27 April 2023
International Journal of Electrical Power and Energy Systems 152 (2023) 109203 2 2. State of the art As most of the DNs have radial topology, few publications can be found in the literature that assesses the subject. The meshed topology introduces certain constraints to the problem of electrical network analysis and optimization, and many of the analysis and optimization methods developed for radial DNs cannot be used for them without appropriate modifications. Due to the high complexity of meshed topology, the analysis and optimization of meshed electrical networks are more computationally intensive than the analysis and optimization of radial networks. This problem calls for developing very effective methods capable of finding the solution in a short time. Methods of this kind can be applied in real-life operating conditions and are considered more interesting by grid operators. Selected papers proposed various approaches addressing the specificities of optimization problems with meshed networks. To overcome the problem under study, the optimization method in [6] uses bacterial foraging oriented by particle-swarm optimization. The goal of this optimization method is to balance unbalanced meshed DNs. In [7], the same problem is tackled by using the graphical model of nodal voltages. The presented algorithms determine the topology of the analysed network and detect topology changes by using the algebraic and structural properties of these graphical models. In [8], a graph analysis approach is used. In the paper, a graph-theory-based algorithm determines the minimum breakpoint set of a meshed DN. Another algorithm based on the network-graph analysis is described in [9], where a method for the optimal restoration of generation units powering a meshed DN is presented. The method presented in the paper uses the load-transfer algorithm based on the feeder-incidence diagram. In [10,11], meshed-topology issues are addressed by using special mathematical algorithms. In [10], a special method for the unit commitment and economic dispatch problem for an isolated meshed electrical network is presented. In [11], a framework for analysing the resilience of meshed networks exposed to extreme conditions, with integrated microgrids, is presented. Within this framework, the Monte Carlo method is used. Statistical methods are also used in an algorithm presented in [12]. The local multistage algorithm solves the problem of meshed-DN-optimal-expansion planning where the DN-equipment- reliability assessment is explicitly implemented as a constraint. Some optimization methods overcome the high difficulty of the meshed DN analysis by dividing the entire problem into a series of smaller problems and then, they solve these smaller problems in a distributed manner using a multi-agent system (MAS). Such methods are presented in [13]- [16]. MAS-based optimization methods presented in [13,14] divide the entire meshed DN into several subnetworks. Each local agent controls reactive power flows across one subnetwork and the work of all agents brings the optimal voltage values across the entire controlled DN. Individual agents of a MAS presented in [15] are controlled by the dualconsensus alternating-direction method of multipliers. The local MAS- based control method solves the economic-dispatch problem in meshed microgrids, and the realization of the local control process is very undemanding in terms of the amount of data transferred. A MAS- based optimization method presented in [16] also solves the economic-dispatch problem. The local method controls a group of meshed microgrids that are interconnected. Some optimization methods overcome difficulties related to the meshed DNs using the game-theory framework. Examples of such methods are found in [17–20]. Optimization methods in [17–19] minimize the power losses in meshed DNs powered by many DER units. An optimization method in [20] uses a demand-response program to decrease the DN’s operation cost during the DN’s peak-load periods. Besides the game-theory methods, this optimization method uses artificial neural networks to surplus the issues related to the meshed DNs. The optimization problem discussed in this paper aims at the minimization of the SC-current magnitudes for the individual nodes of the analysed meshed DN. This is a real issue which is considered very relevant by DSOs. In general, a way to reduce the SC-current magnitude for individual network nodes is to increase the impedance magnitude of the individual branches of that network. According to the physical tool used to increase the impedance of individual branches of the network, SC-current minimizing methods can be divided into two groups: 1. methods considering the SC-current limiters installation into the network, and 2. methods considering disconnecting individual parts of the network, i.e., methods using bus splitting and area separation. Methods from the first group are presented in many papers, e.g., in [21–25]. The SC-current limiter (or the fault-current limiter) is a special network element of a nonlinear character. When a current corresponding to the normal operating state of the network flows through the SC- current limiter, the magnitude of the impedance of this network element is small. However, when a fault occurs here and the magnitude of the current flowing through the limiter increases to the fault levels, the element impedance value increases by orders of magnitude. While in [21–24] the methods presented here are described and analysed only partially, [25] provides a more detailed description, through an iterative mixed-integer nonlinear programming method and a detailed analysis of the method-solving abilities (local analysis includes tests with IEEE testing network models, namely the 9-bus and IEEE 30-bus, and with the model of a real North American system). This paper presents one of the methods from the second group. Bus splitting and area separation are inexpensive and quickly applicable tools for SC-current limitation, and many DSOs prefer to use these methods to control the SC-current-limitation process. To the best of our knowledge, currently, only a few conference papers present partially such methods without providing a comprehensive analysis, e.g. [26–29]. To cope with this gap, we created two new SC-current limitation methods using bus splitting and area separation, and analysed these methods within a benchmark, containing these two local and two other methods using evolutionary optimization frameworks (specifically, Pymoo and HEBO). The first local method is deterministic and the second one is based on a genetic algorithm (GA) specified to manage DNs. 3. Problem formulation This paper aims to compare methods that can be effectively used for solving optimization problems in highly meshed DNs. Problems in these networks are characterized by big computational complexity and require finding the global optimum. As mentioned in the introduction, the presented optimization problem focuses on the SC-current reduction in the network, while respecting defined operational constraints and SC- current ratings. This optimization problem can be described by an objective function (see Section 3.3) and constrained by operational conditions that are defined in Section 3.2. The meshed topology of DNs on MV and LV levels is quite rare and therefore, not many studies or projects deal with this kind of network. All standard IEEE test feeders (13-bus, 34-bus, 37-bus, 69-bus, and 123- bus models) have radial topology, are small and represent MV systems. The 8500-node test feeder is designed for testing tools on large networks, but its structure is also radial. For the representation of urban meshed networks, the 342-node LV networked test system was designed [30,31], but this system has an insufficient number of nodes compared to the intended complex test network. Since no large test meshed network (with over 1 000 nodes) is available, a real-based LV cable network of a European city was chosen with the scope of testing the proposed optimization methods. This network is shortly introduced in section 3.1. The specifications of this test DN are available to other researchers to confront the results of other optimization methods exposed to the operational condition of the large meshed DN [32]. D. Topolanek et al.
International Journal of Electrical Power and Energy Systems 152 (2023) 109203 3 3.1. Test LV meshed network The meshed network model represents an underground cable network placed in the collectors of an old city centre. Furthermore, there are no DERs (e.g. photovoltaic or wind power plants) due to the limited space and historical concept of the network. The network consists of 1 268 nodes, 1 498 lines and 79 MV/LV distribution transformers (DT) that are placed in 55 MV/LV underground DT stations (one or two DTs in each DT station connected to LV network). In the LV network, there are also 55 manually controlled bus couplers (BC) placed at MV/LV DT stations or in some bigger switchgears. In the European context, this network could be considered as one of the largest meshed LV networks. The network topology is depicted in Fig. 1. 3.2. Meshed network operation constraints To ensure reliable and safe network operation, the constraints specified by current network codes, standards or by DSOs assessments need to be met. In this study, four main operational constraints are applied. The first three are considered hard ones, meaning that these conditions must be satisfied for every feasible solution. The SC-currents constraint, instead, is considered soft since its violation can be possible and it is penalized within the objective function (see section 3.3). 3.2.1. Node voltage constraint According to the voltage quality standard EN 50160, the per unit LV phase voltage v i related to nominal voltage must be in the range 0.1≤vi≤1.1(1) where i is the number of LV node of the network (1268 nodes). This condition also ensures that there are no customers disconnected from the network since the voltage in these nodes would be equal to zero. 3.2.2. Branch loading constraint The branch elements (i.e., lines and DTs) cannot get overloaded in any normal operation state. The set limitations should respect the physical state and are usually defined in the range from 70 % to 90 % of the rated values to provide a safety margin. For the sake of clarity, the loading limits were set to 70 % for all the branch elements (lines and DTs) in the presented case. loading percentj,k≤70% (2) where loading_percent is the relative current loading j is the number of lines (1498 lines) and k is the number of LV/MV transformers (79 transformers). 3.2.3. Upstream active power flow constraint Upstream active power flow over MV/LV DTs, also known as reverse flow, is not allowed for the study therefore condition (3) has to be met. This constraint prevents the supply of a part of the HV system from the LV system. For this purpose, the DSO also uses overflow protections that disconnect the given MV/LV DT when the value of upstream active power flow crosses the specified limit. pLVk≤0(3) where p LV is the active power flow at the low voltage transformer node (direction from LV network to MV) of the k-th MV/LV transformer. Fig. 1. Topology of test DN. D. Topolanek et al.
International Journal of Electrical Power and Energy Systems 152 (2023) 109203 4 3.2.4. SC-currents constraint To meet the safety criteria of network operation, the initial symmetrical SC-current, calculated in accordance with standard IEC 60909 [33], must be lower than the SC-current ratings (SCCR) of the switchgears I ˝ ki≤SCCRi(4) where I˝ k is the initial symmetrical SC-current of the i-th node, and SCCR i is the SC-current rating of the i-th node. In the case when the SCCR is exceeded, the short-circuit current capability of the given switchgear has to be increased, which requires considerable additional costs. Therefore, the reduction of the SC-current magnitude below the SCCR limit is the objective of the optimization problem. This is the reason why this constraint is considered as soft and the penalization of not meeting this condition is defined by Eq. (5). Another possible constraint that can be applied to this optimization problem is the N-1 criterion. The n-1 criterion requires that the system can fulfil all local constraints during unexpected failure or outage of a single system component. Due to the robustness of the analysed meshed network and due to the immense calculation time, the N-1 criterion was not evaluated by optimization methods in this study. 3.3. Optimization method objective The optimization problem is considered with a single objective to minimize the SC currents in LV nodes by applying appropriate network configuration when all operation constraints defined in the section above are respected. From the operational point of view, it is key to lower the SC currents below the SCCR values defined for each node. The quantification of the objective function is calculated as the root mean square of excess of SCCR in all respected LV nodes n LV . The excess is considered zero for the nodes, where the SCCR value is higher than the calculated SC current, as shown in (5): MIk= 1 nLV ∑nLV i=1(ΔSCCRi)2 √(5) ΔSCCRi=max(0,I′′ ki −SCCRi) where I k “ is the initial symmetrical SC-current of the i-th node, and SCCR i is the SC-current rating of i-th node. The main goal for using this penalty function is to minimize the rate of exceeding the SCCR in the monitored nodes. Used penalization deliberately ignores the costs of upgrading/modifying the equipment, since the possibility of increasing the SCCR depends on the extent of exceeding the SCCR and on the type of switchgears or fuse boxes. Value M Ik of the objective function (5) corresponds to an evaluation index (score). In the optimization procedure, complementary parameters are evaluated for each feasible solution to better assess the performance of the tested methods. These parameters are: - Over_SCCR: the total number of nodes, where the I k “ is higher than SCCR, - I k _ max : maximum value of I k “ in LV network, - NOSC: number of evaluations of the SC function used for obtaining the solution. 3.4. Reconfiguration variables To reduce the SC-current contribution, changes in the network configuration can be implemented. The changes in the network configuration will cause an increase in the network SC impedance. From the DSO perspective, the easiest way to reconfigure the network is to use the installed switches. Although it is a common practice that dispatchers use their best experience and judgement to carry out operations in the DNs, this approach does not usually lead to optimal solutions, especially when dealing with complex networks, such as those used in this study. Therefore, in this paper, the optimization is achieved through network reconfiguration utilizing selected optimization methods. A novel reconfiguration state is obtained by changing the operation status (ON/ OFF) of selected elements in the network. For this paper, two sets of binary variables defined by switchable elements (SE) are considered in the following: - Case A: switching of BCs (55 binary variables), - Case B: switching of BCs and DTs (55 +79 =134 binary variables). From the number of binary variables, it is inevitable to use effective methods, since the brute-force approach would result in an immense number of possible combinations. In case A, for instance, this corresponds to 2 55 ≈3.6⋅10 16 alternative configurations while for case B, the number of combinations increases up to 2 (55+79) ≈2.2⋅10 40 (including also unacceptable operating configurations). 4. Applied methods To reduce the NOSC, four methods were chosen: one deterministic method partially using a heuristic approach and methods based on metaheuristics, specifically evolutionary algorithms. 4.1. Deterministic optimization algorithm (DOA) This algorithm uses a heuristic approach supplied with deterministic rules based on detailed knowledge of the network operation. Knowledge of network operation coming from the DSO’s experiences is used to design a suitable algorithm procedure capable of reaching the optimal configuration. The process follows the same principles of heuristic greedy Fig. 2. Flowchart of the DOA. D. Topolanek et al.
International Journal of Electrical Power and Energy Systems 152 (2023) 109203 5 algorithms where at each step the optimal choice is made. This means that the SE, whose disconnection leads to a minimal value of M Ik score, is chosen and switched off. In the case of disconnecting both the BC and the DT (Case B), a deterministic rule is used: After the DT is switched off, the LV BC on its secondary side must be switched on. Clearly, this applies only to DTs that are working in parallel in some substations. The flowchart depicting the algorithm procedure is shown in Fig. 2 and Fig. 3. The main program of SEs disconnection is shown in Fig. 2, where the algorithm starts for all SEs switched on. The main loop is terminated if the SC condition is satisfied (M Ik =0) or there are no more SEs left to switch off. The inner loop (Fig. 3) examines each feasible configuration respecting subsequent disconnection of selected SEs respecting the deterministically defined priority of DTs being switched off only if all possible manipulations with the BC have been used. For each SE, the switching operation is carried out and the load flow results of this hypothetical state are checked for operation constraints. If the configuration is feasible (constraints specified in section III.B) are met), the SC currents are calculated, the objective function (5) is evaluated and the M Ik is stored. From all the possible SEs, the one leading to the lowest value of M Ik is chosen for switching off. This reflects the Fig. 3. Flowchart of the DOA – selection of the most feasible element. Fig. 4. Convergence of the optimization methods – CASE A. Fig. 5. Convergence of the optimization methods – CASE B. Table 1 Case A results. Optimization method DOA HEBO SGA Pymoo Constraints compliance Yes Yes Yes Yes M Ik (kA) 4.0510 4.0510 4.0510 4.0510 Over_SCCR (-) 164 164 164 164 I k _ max (kA) 72.89 72.89 72.89 72.89 NOSC (-) 1 326 450 1379 1 100 Time (h:mm) 00:04 1:30 00:04 00:04 Table 2 Case B results. Optimization method DOA HEBO SGA Pymoo Constraints compliance Yes Yes Yes Yes M Ik (kA) 0.5210 0.4528 0.2869 0.2589 Over_SCCR (-) 19 30 15 14 I k _ max (kA) 51.07 49.04 46.95 44.45 NOSC (-) 3681 2000 40 178 40 000 Time (h:mm) 0:11 56:30 1:55 2:24 D. Topolanek et al.
International Journal of Electrical Power and Energy Systems 152 (2023) 109203 6 aforementioned greedy algorithm principle. The advantage of this sequential approach is that it reflects real operation procedures when the elements are switched off sequentially as well. Furthermore, the operation constraints are evaluated in every step of the procedure. The analysis carried out according to this principle could also indicate the impact of each successive step. The disadvantage may be the risk of reaching only the local optimum. In this case, the best possible operation configuration may not be found. 4.2. Pymoo optimization framework The Pymoo framework was successfully used for our optimization task. The Pymoo is an open-source Python library shared under the Apache License 2.0 and offers various single- and multi-objective optimization algorithms [34]. The advantage is that Pymoo supports parallel processing of the function evaluation. Thus, the optimization process is accelerated on parallel computing architectures. This can help DSOs optimize large meshed networks in an acceptable calculation time. The Pymoo library offers a variety of optimization algorithms, such as Differential Evolution, GA, Pattern Search and Covariance Matrix Adaptation Evolution Strategy 1 . The Pymoo package was primarily created for continuous optimization problems. On the contrary, our electricity network optimization task represents a discrete problem, as the algorithm deals with discrete states of the electricity network. It is because network switches are represented by discrete states (ON/OFF). Consequently, only the GA could successfully solve our optimization problem. A general GA tutorial can be found in [35]. 4.3. Specific version of GA (SGA) The next implemented method is based on a specific version of the GA derived for electrical network optimization problems. The GA already has provided valuable results in the domain of electrical network optimization [36]. The advantage of the GA, in general, is that no a priori information about the optimized problem is needed. The greatest disadvantage of the GA is its high amount of required function evaluations. Fortunately, the GA can use the advantages of parallel computing, by which the computational time can be significantly reduced; see [34,36]. In GA, the key piece is the chromosome: an array of 0 and 1, which is generated randomly. In our implementation, this array represents the states of BCs and of DTs present in the network under study. Their value can be either 1 (switched on) or 0 (switched off). Each chromosome thus corresponds to a given configuration of the network. To reduce the computing time, the “check procedure” dealing with unconnected network topology configurations was also implemented. The check procedure reconnects the unconnected topology by randomly switching on the elements with off-state until a completely connected network is obtained. After that, the subsequent computations are performed for the configurations, load flow, and SC. The fitness value of the SGA is presented by M Ik . The values obtained by the load flow are used to verify that the operational constraints are satisfied (section III.B). If not, the algorithm calculates a “distance value” using the Euclidean norm to determine how badly are the operational constraints violated for the given configuration. All chromosomes then proceed to the crossover step, where the parents are picked by the tournament method. The algorithm also detects duplicate configurations within each generation which are consequently regenerated randomly to keep diversity in the population. Such operation results in additional NOSC evaluations in the current generation, but the population size remains the same. It can be Fig. A1. Histogram of SC currents in the network for three referential configurations. Fig. A2. Histogram of bus voltages for three referential configurations. Fig. A3. Histogram of lines and MV/LV transformers loading for three referential configurations. 1 https://Pymoo.org/algorithms/list.html#nb-algorithms-list. D. Topolanek et al.
International Journal of Electrical Power and Energy Systems 152 (2023) 109203 7 interpreted in a way that the survival probability of duplicate configuration is zero. The new population consists of: •10 % of the population size are chromosomes with the lowest fitness value, which satisfies the operational constraints (if they exist). •Up to 70 % (to 80% if there are less than 10% lowest values) of the population chromosomes are created by a crossover with mutation step. Parents are selected by the tournament method. Each parent is selected from 8 competitors. The selected individual has the lowest fitness values (if the operational constraints are satisfied) or it is closer to the feasible set if both competitors violate the constraints. The crossover is performed uniformly using the “flip a coin” technique. If there is a “head” for the given gene, it will be crossovered. •10 % of the population size is randomly regenerated to avoid local extremes. The rest 10 % of the population are chromosomes created by an additional mutation step, in which the best configuration is randomly reconfigured to perform variations around the best individual. At first, it chooses if it will be turning on or off the elements. BCs and DTs separately. Then, it picks as many indices as the number lesser or equal to half of all zeros/ones in the chromosome. The zeros if it will be turning on the elements, and the ones if it will be turning off the elements. 4.4. Hebo Finally, the Heteroscedastic Evolutionary Bayesian Optimization algorithm (HEBO) was used for our DN optimization tasks. The HEBO algorithm won the black-box optimization challenge of NeurIPS 2020 and is described in more detail in [37]. According to the authors of [37], the HEBO algorithm aims to be fast in terms of the number of evaluations of the function f. The HEBO algorithm integrated into the Ray Tune library [38] was used in our numerical experiments. The Ray Tune is a Python library for experiment execution and distributed hyperparameter tuning. The Ray Tune provides users unique access to various optimization libraries. Consequently, the user can easily access various search algorithms on different networked computers (i.e., on distributed systems). 5. Results and method comparison All the presented methods were applied to the meshed DN problem previously introduced. For load flow and SC-current calculations, pandapower package was used [39]. The SC currents were calculated according to IEC 60909 standard [33]. The loads were set to the annual maximum derived from the yearly load profile of the modelled network and the initial state of selected switching components is set to switchedon. The methods must find a configuration of the network with minimum value M Ik while all following constraints must be satisfied: •lines and DTs loading must be below or equal to 70 %, Table B1 Configuration of switches and MV/LV transformers in the initial, case A wining and case B winning state. Index Switches MV/LV transformers Initial case A case B Initial case A case B 0 1 1 1 1 1 1 1 1 0 1 1 1 0 2 1 0 1 1 1 1 3 1 0 1 1 1 1 4 1 0 1 1 1 0 5 1 0 0 1 1 0 6 1 0 0 1 1 1 7 1 0 0 1 1 0 8 1 0 0 1 1 0 9 1 0 1 1 1 0 10 1 0 1 1 1 0 11 1 0 0 1 1 1 12 1 0 0 1 1 0 13 1 0 1 1 1 0 14 1 0 1 1 1 1 15 1 0 1 1 1 1 16 1 0 0 1 1 1 17 1 0 0 1 1 0 18 1 1 1 1 1 1 19 1 0 0 1 1 1 20 1 1 1 1 1 0 21 1 0 1 1 1 1 22 1 0 0 1 1 0 23 1 0 0 1 1 0 24 1 0 0 1 1 1 25 1 0 0 1 1 0 26 1 0 0 1 1 0 27 1 0 0 1 1 0 28 1 0 0 1 1 0 29 1 0 0 1 1 0 30 1 0 0 1 1 0 31 1 0 0 1 1 0 32 1 1 1 1 1 1 33 1 0 0 1 1 0 34 1 0 1 1 1 0 35 1 0 0 1 1 0 36 1 0 0 1 1 1 37 1 0 0 1 1 1 38 1 0 0 1 1 0 39 1 0 0 1 1 0 40 1 0 0 1 1 0 41 1 0 0 1 1 0 42 1 0 0 1 1 0 43 1 0 0 1 1 1 44 1 0 0 1 1 0 45 1 0 0 1 1 1 46 1 0 0 1 1 1 47 1 0 0 1 1 1 48 1 0 1 1 1 0 49 1 0 0 1 1 0 50 1 0 0 1 1 1 51 1 0 0 1 1 0 52 1 0 1 1 1 0 53 1 0 0 1 1 1 54 1 0 0 1 1 0 55 1 1 0 56 1 1 0 57 1 1 1 58 1 1 0 59 1 1 0 60 1 1 0 61 1 1 1 62 1 1 0 63 1 1 1 64 1 1 1 65 1 1 0 66 1 1 1 67 1 1 1 68 1 1 0 69 1 1 0 70 1 1 1 71 1 1 1 Table B1 (continued) Index Switches MV/LV transformers Initial case A case B Initial case A case B 72 1 1 0 73 1 1 0 74 1 1 0 75 1 1 1 76 1 1 0 77 1 1 1 78 1 1 1 Note: The symbol 1 stands for a closed switch and a transformer in operation, whereas the symbol 0 stands for an open switch and a transformer out of operation. D. Topolanek et al.
International Journal of Electrical Power and Energy Systems 152 (2023) 109203 8 •voltage magnitude (per unit) of all nodes must be between 0.9 and 1.10, •all nodes must be supplied, •no upstream active power flow must occur. For measuring the computational complexity of individual methods, the required NOSC and total computational time are compared. Numerical experiments were performed on the laptop Acer Nitro 5, CPU Intel(R) Core(TM) i5-9300H CPU @ 2.40 GHz (4 CPUs) with 16 GB RAM and Linux Mint. For both study cases, A and B, the comparison of methods performance is presented using convergence graphs (Figs. 4 and 5). For the evolutionary methods (SGA, Pymoo, HEBO), the algorithms were run 10 times to evaluate their stochastic behaviour. 5.1. Results for case A For the SGA, and Pymoo, the following settings were considered: •the algorithm stops if there is the same minimum value in 5 consecutive generations (based on several tests), •the population size is 100 (based on several tests), •the Pymoo version 0.6.0 with integer random sampling, tournament selection, simulated binary crossover, and polynomial mutation was used (based on several tests). For the HEBO algorithm of the Ray Tune, the following setting was considered: •the number of samples is 450. Table 1 summarizes the results of the optimization methods for simple case study A. All variables shown in Table 1 are based on median values of ten runs (SGA, HEBO, Pymoo). All methods found the best configuration of the tested network and have equivalent results of M Ik , Over_SCCR and I k _ max , see Table 1. However, the winning method utilizing the NOSC is HEBO, in which the minimum value of M Ik =4.0510 kA was obtained using only 450 SC calculations. On the other hand, the computational time of HEBO was one hour and thirty minutes on the laptop Acer Nitro 5, see Table 1, line Time (h:mm). The Pymoo found the same minimum value M Ik =4.0510 using 1 100 SC calculations (11 generations) within 4 min. In the shortest run of the Pymoo, the minimum was obtained after 10 generations. The SGA needs at least 12 generations (4 min) with approximately 1 379 NOSC to terminate the process. In the shortest run, the solution was obtained after 10 generations using 1 141 NOSC. The DOA finds the minimum using 1326 NOSC within 4 min. Further, it ought to be said that the computation time of the HEBO method grows exponentially with the increasing number of evaluations (due to internal overhead). For example, 1 000 SC evaluations within the HEBO method, take 570 min. The computational time is increased by factor 6 compared to the 450 SC calculations above. To compare HEBO with GAs, 1000 NOSC in one iteration using GA methods takes approximately only 3 min for both. The comparison of individual method convergence is depicted in Fig. 4, where the resulting score M Ik is drawn concerning the NOSC. The graphs of the evolutionary algorithms are based on the median value within each iteration. The x-axis minimum is set to 100 NOSC to enable visual comparison of all the methods, since the generation-defined methods (Pymoo, SGA), require 100 NOSC to get the first result. Moreover, the values between the 25th and 75th percentile of 10 repeated runs are depicted by filled area for each evolutionary method. As could be seen, the advantage of DOA rests in the certainty of getting the same result in each algorithm execution, while in contrast, the evolutionary methods are stochastic (characterized by the variability of results). As shown in Fig. 4, it is apparent that all methods converged to the same result (global minimum) in all 10 repeated runs. Moreover, the SGA performs lesser deviation in each iteration than the Pymoo algorithm. Case A was designed only for a fundamental comparison of the methods because its solution in this setting is quite straightforward. From the knowledge of the presented network operation, it can be concluded that the minimum M Ik is reached when all the BCs, whose disconnection does not lead to supply interruption, are switched off. However, even this simple solution can validate the correct implementation of applied optimization methods. To increase the complexity of the optimization problem and to further compare the performance of the methods, case B was carried out. 5.2. Results for case B For the SGA, and Pymoo, the following settings were considered: •population size is 1 000 (the best convergence rate within the reasonable computation time), •maximum number of generations is 40 (acts as computation time constraint), •the algorithm can stop earlier if there is the same minimum value in 5 consecutive generations, •the Pymoo version 0.5.0 with integer random sampling, tournament selection, simulated binary crossover, and polynomial mutation was used (based on pre-tests). For the HEBO algorithm of the Ray Tune, the following setting was considered: •the number of samples is 2 000 (user restriction taking into account the allowable computing time of two days on the laptop). For case B, the results are summarized in Table 2. For the SGA and Pymoo algorithms, 10 runs of each were performed. The median of the NOSC needed to obtain the solution is shown in Table 2. The most promising results are highlighted in bold. Considering the M Ik values, the best-performing method in case B is the Pymoo with M Ik =0.2589 kA. The Pymoo found here the minimum that was lower than the minimums found by the other methods. The Pymoo method provides the most promising results not only for M Ik , but also for Over_SCCR and I k _ max . The Pymoo version 0.5.0 has a slightly better convergence rate than version 0.6.0 in this case. The secondlowest score M Ik =0.2869 kA with Over_SCCR =15 was obtained by the SGA algorithm. The third score M Ik =0.4528 kA with Over_SCCR = 30 was calculated using the HEBO method which required only 2 000 SC evaluations (the HEBO method was stopped by the user due to the maximal computation time restriction of 2 days). The DOA method needs 3 681 NOSC, producing the worst score. Moreover, only the local minimum of M Ik was reached as can be seen in Fig. 5. In Fig. 5, also the 25th and 75th percentile for the SGA and Pymoo are depicted by filled area. Further, the lowest value of all 10 Pymoo’s runs was M Ik =0.2214 kA with Over_SCCR =15. The lowest value found by SGA within 10 runs was M Ik =0.1865 kA with Over_SCCR =10. Analysing the time perspective of the best-performing methods, case B was much more computationally intensive than case A. Unfortunately, despite the low NOSC and rapid convergence, the HEBO method was not able to solve case B in a reasonable time. Although the HEBO method found a minimum value of M Ik =0.4528 kA by only 2000 SC evaluations, the computation time for HEBO was extremely long: it took two days and 8.5 h to deliver results. On the other hand, although DOA required 3 681 SC calculations, the computation time of DOA was only 11 min. The low number of required NOSC and the high speed of the DOA method imply that the simple DOA provides the fastest approximation of minimized M Ik for case B. For case B, the speed of both analysed GA methods was almost equivalent: Evaluations of 40 000 SC took approximately 2 h. D. Topolanek et al.
International Journal of Electrical Power and Energy Systems 152 (2023) 109203 9 In comparison to all analysed methods, HEBO estimates the minimum using a very low NOSC. This would be a great advantage in the case of extreme optimization tasks over large DNs [38], for example for an electrical network expansion planning problem [40,41], where the calculation time of networks evaluation is several times higher than the calculation time of one iteration of HEBO method. The comparison of the convergence of optimization methods for case B is shown in Fig. 5. The axes are provided in the logarithmic scale. The figure shows a very fast convergence of HEBO and DOA methods. The figure also shows that the DOA method could not find a minimum as low as the SGA, or the Pymoo. The best choice seems to be the Pymoo providing a lower deviation than the SGA. The result of the SC currents optimization is not only SC level reduction, but also SC level redistribution, which can be seen in the histogram of short-circuit currents (Fig. A-1, Appendix A). The impact of the optimization on SC currents, bus voltages, active power losses, and relative loading is presented in figures of Appendix A, where case A and B corresponds to the best found (winning) configuration. Individual states of handling switches and MV/LV transformers, which were applied for the presented initial, case A and case B configuration, are listed in Table B-1 (Appendix B). 6. Conclusion Four optimization methods were applied to a unique large meshed DN model aiming to minimize SC currents, which is an important and relevant aspect of operational safety in meshed systems. The numerical model was created based on a real meshed network by the authors and was provided to IEEE DataPort to be available for other researchers. For solving such a large DN, the optimization methods were selected and modified to give an effective performance. The DOA was designed especially for the SC-minimizing problem in the specific DN and the SGA was modified and configured to be suitable for solving various problems in DNs. On top of these two developed methods, another two opensource optimization frameworks were used for comparison [34,37]. Two case studies, distinguishing the number of switching elements were carried out, both searching for the optimal network configuration. Across both case studies, the SGA and Pymoo methods seem to have high potential since both reach a good score in an acceptable time. The expert-based DOA needs a very short computation time and a small amount of SC evaluations but with a considerable risk of reaching only a local minimum as occurred in case B. On the other hand, the results of such quick approximation could be used as a starting point for the evolutionary algorithms methods (SGA, Pymoo) to reduce the computational time. The HEBO method is the winner in both case studies (A and B) in terms of convergence related to the NOSC, but the big disadvantage of this method is its extremely long computation time which grows exponentially with the increasing number of SC evaluations (e.g., 1 000 SC evaluations take about 9.5 h; 2 000 SC evaluations took more than 2 days on regular laptop). Therefore, HEBO is disqualified from the real application with such large DNs as the meshed DN presented here (1 268 nodes). Regarding the presented results, the recommendation for solving optimization problems in large meshed networks is to use the SGA, when the solution speed is the priority (1:55 of SGA vs. 2:24 of Pymoo, see Table 2). The other feasible choice is Pymoo, which is the winner when the solution quality of I k _ max is the priority (46.95 kA of SGA vs. 44.45 kA of Pymoo, see Table 2). Concerning the computation time of HEBO, which is currently affected by an internal bottleneck of Bayesian optimization, the use of HEBO would be reasonable only for networks, in which the cost of one evaluation of steady state is very high (e.g., systems with an extremely high number of nodes). Declaration of Competing Interest The authors declare the following financial interests/personal relationships which may be considered as potential competing interests: David Topolanek reports financial support was provided by Technology Agency of the Czech Republic. Data availability Data will be made available on request. Acknowledgements This research work has been partially carried out in the Centre for Research and Utilization of Renewable Energy (CVVOZE). Authors gratefully acknowledge financial support from the Technology Agency of the Czech Republic (project No. TK02030039) and the Ministry of Education, Youth and Sports of the Czech Republic through the e-INFRA CZ (ID:90140). This work was also supported by the Doctoral grant competition VSB - Technical University of Ostrava, reg. no. CZ.02.2.69/ 0.0/0.0/19 073/0016945 within the Operational Programme Research, Development and Education, under project DGS/TEAM/2020-017 “Smart Control System for Energy Flow Optimization and Management in a Microgrid with V2H/V2G Technology”. Appendix A. . The impact of optimization on key parameters The impact of realized optimization on SC current distribution, bus voltages, relative loading of the lines and transformers is presented in Fig. A1, Fig. A2 and Fig. A3 for the initial operation state, case A and case B configurations corresponding to the best performing throughout the tested methods. The network configuration of all these operational states (initial, case A and case B) is defined in Appendix B. The total active power loss is 0.144 MW for initial state, 0.149 MW for case A and 0.219 MW for case B respecting the total active power consumption in the network 15 MW. Appendix B. . Configuration of switches and transformers in the initial, case A winning and case B winning state Table B1 References [1] Sahu SK, Ghosh D. Hosting capacity enhancement in distribution system in highly trenchant photo-voltaic environment: a hardware in loop approach. IEEE Access 2020;8:14440–51. https://doi.org/10.1109/ACCESS.2019.2962263. [2] Zou Z, Tang J, Liserre M, Wang Z, Cheng M. Modeling and stability analysis of meshed smart transformer-fed grid. In: CSEE Journal of Power and Energy Systems. 10.17775/CSEEJPES.2021.06600. [3] Wolter D, Zdrallek M, St¨ otzel M, Schacherer C, Mladenovic I, Biller M. Impact of meshed grid topologies on distribution grid planning and operation. CIRED - Open Access Proc J 2017;2017:2338–41. https://doi.org/10.1049/oap-cired.2017.0708. [4] Foltyn L, Vysocký J, Prettico G, Bˇ eloch M, Praks P, Gianluca Fulli OPF, et al. OPF solution for a real Czech urban meshed distribution network using a genetic algorithm. Sustain Energy Grids Netw 2021;26:100437. https://doi.org/10.1016/j. segan.2021.100437. ISSN 2352-4677. [5] Primadianto A, Lu C-N. A review on distribution system state estimation. IEEE Trans Power Syst Sept. 2017;32(5):3875–83. https://doi.org/10.1109/ TPWRS.2016.2632156. [6] Hooshmand RRA, Soltani S. Fuzzy optimal phase balancing of radial and meshed distribution networks using BF-PSO algorithm. IEEE Trans Power Syst Feb. 2012;27 (1):47–57. https://doi.org/10.1109/TPWRS.2011.2167991. [7] Deka D, Talukdar S, Chertkov M, Salapaka MV. Graphical models in meshed distribution grids: topology estimation, change detection & limitations. IEEE Trans Smart Grid Sept. 2020;11(5):4299–310. https://doi.org/10.1109/ TSG.2020.2978541. [8] Vinnakota BV, Ababei C. Determination of the minimum breakpoint set of directional relay networks based on k-trees of the network graphs. IEEE Trans Power Deliv Oct. 2011;26(4):2318–23. https://doi.org/10.1109/ TPWRD.2011.2150249. [9] Deng Y, Cai Le, Ni Y. Algorithm for improving the restorability of power supply in distribution systems. IEEE Trans Power Deliv Oct. 2003;18(4):1497–502. https:// doi.org/10.1109/TPWRD.2003.817805. D. Topolanek et al.