Next Article in Journal
Sustainable Business Models: A Bibliometric Performance Analysis
Previous Article in Journal
A Stacked Denoising Sparse Autoencoder Based Fault Early Warning Method for Feedwater Heater Performance Degradation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Weight Calculation Alternative Methods in Prime’s Algorithm Dedicated for Power System Restoration Strategies

Electrical Power Engineering Institute, Warsaw University of Technology, Koszykowa Street 75, 00-662 Warsaw, Poland
*
Author to whom correspondence should be addressed.
Energies 2020, 13(22), 6063; https://doi.org/10.3390/en13226063
Submission received: 18 July 2020 / Revised: 22 September 2020 / Accepted: 17 November 2020 / Published: 19 November 2020
(This article belongs to the Section F: Electrical Engineering)

Abstract

:
In self-healing grid systems, high utility in the use of greedy algorithms is observed. One of the most popular solutions is based on Prim’s algorithm. In the computation, the power grid is represented as a weighted graph. This paper presents a few possibilities of calculation of the numerical weight of a branch of the graph. The proposition of a modified edge weight calculation based on active power belongs to this group. The other solutions are novel subalgorithms bounded by real power, reactive power, and normalized factor. This factor is a mathematical combination of active and reactive power multiplied by influence coefficients. Requirements necessary for a power system are applied in the considered algorithms. Each of these proposed algorithms includes the power source limits, voltage level at busbars, and power system transmission features, such as transmission lines rated currents and power losses. All mentioned methods were compiled into separate algorithms, which can be used to compute graph model parameters. A simulation model based on Prim’s algorithm was prepared to compare the suitability of presented concepts. All weights of the subalgorithms were compared to each other. That is why different power system restoration strategies may require various methods of calculating weights of the graph’s branches.

Graphical Abstract

1. Motivation

The concepts of smart grid restoration strategies are still developing [1]. Their logic has an influence on automatic devices present in the power system (PS) [2] and therefore they are particularly important for micro-grids based on renewable energy [3]. Restoration logic is combined with physical actuators, e.g., switches [4]. Therefore, the proper strategy has to be fitted to PS topology [5].
Restoration strategies use graph algorithms with weight calculations based on real power [6]. Such a situation requires verification of whether algorithms employing this parameter are always reasonable. This is crucial because a power system is represented by real power, reactive power, and apparent power. During a restoration process, an assumed weight calculation methodology may affect a recreated power grid topology.
The main aim of this paper is to propose novel concepts of weight calculation algorithms based on the parameters mentioned in the previous paragraph. All these proposed logics need to be implemented and simulated. Computation results have to be compared and analyzed in order to discover which concept is the most optimal one.

2. Background

Greedy algorithms are a popular solution in the restoration of a power system [7]. They make optimal choice at each step for the particular moment data. Prim’s minimal spanning tree algorithm, Kruskal’s minimal spanning tree algorithm, and Dijkstra’s minimal spanning tree algorithm belong to this kind of logic.
Greedy algorithms are especially prominent in self-healing Grid concepts [8]. One of the most popular restoration strategies after failure in micro-grids is based on Prim’s algorithm [6]. The analysis of proposed solutions leads to the questions about additional conditions required for proper representation of this problem’s complexity [7]. Currently, the most advanced logic employing a greedy algorithm as part of a restoration strategy is presented in [6]. Unfortunately, this solution is far from perfect and has two major flaws. The first one is that the algorithm is dedicated solely for DC-grids and it has to be generalized in order to be applicable to AC-grids. The second flaw has to do with the modified Prim’s algorithm as in some cases it does not really work. The authors in [6] proved that, in some power systems, the results do not always provide topologies with all of the loads connected to energy sources. The unsolved problem is how to generalize the logic (set forth) in [6]. The first step in this process is to elaborate the methodology of weights calculations.
The graph model of a power system in a greedy algorithm operates on parameters called weights. Weights are linked to specific phenomena in different sciences. In electrical engineering, this is power transmission. In references [5,6,7], the weights are calculated on the basis of active power, i.e., the value of weights assigned to particular edges (power lines) are usually equal to the active power for the load connected to a given line. In the case of AC networks, this approach is not necessarily appropriate due to the presence of reactive power in this type of network. Therefore, it is necessary to check whether it is reasonable to include reactive power in the calculation for the weights. The testing is important because, according to [6], the weights in the greedy algorithms directly influence the line connection sequence.
The presence of voltage regulators may give the impression that calculation of weights based on reactive power is not justified. A tree topology network powered from single source is characterized by the fact that the voltage level is always the highest for the bus to which the power source is connected. This feature of a tree-structured network directly affects the order in which the load/line is connected to the power source, and this implies that other methods of weight calculation than those based solely on active power must be checked earlier.
Weights have to include a number of conditions. All of them are implied by the power system’s structure and power flow [9]. The first requirement is connected with active and reactive power of a generator’s capacity. Mostly, for synchronous generators, it is presented as half of a circle diagram with a few modifications. The limits of generator operation arise from the power range of the steam turbine at the power plant, permissible rotor and stator rated current and the power angle [10].
The second condition is connected with the maximum current transmitted by the lines. This is important because operating parameters cannot be exceeded.
The last condition is an allowable range of voltage at the power system’s busbars. This is a specific value for each grid [11]. This parameter is defined by the power system operator and norms published by International Electrotechnical Commission (IEC).
Power system restoration strategies are dependent on a set of objective functions [12]. Algorithms employing weights presented in publications are based on active power or an unspecified parameter called “load” [6]. The authors in [6] did not present how “load” is defined. In their case, what they defined instead was real power, present in the DC-grid. The problem of weights is complicated in the context of a power system because power in electrical engineering is not a scalar value but a complex number. In such a case, representation of graph edges by apparent power may be much more efficient. This kind of model is in a direct correlation with current load from a power source [13]. Reactive power strategies present high functionality for the analysis of reactive power changes.

3. Contribution

The paper contains the following contributions to the field of power electrical engineering:
  • Novel algorithms of weight calculations based on reactive power, apparent power, and multi-parametrized formula.
  • The comparison of the most popular subalgorithm based on real power presented in [6] with the solutions mentioned in the previous point. In the verification process, Prim’s algorithm is applied, as it is one of the most efficient logics used in automatics and graph theory [6].
  • It proves that algorithms based only on real power [6] do not always return a result grid with all loads energized or lowest power losses in a recreated system.
Concluding, utility of algorithms has to be compared. In this process the objective of the analysis needs to be defined. So, for the comparison purposes, the following factors are going to be used:
Maximum load restoration:
M L R = P Δ P P L
Minimum real power loss of restored power grid:
M R P L = Δ P M L R  
Equation (2) is used as the second subalgoritm verification condition when for more than one loads connection topology the same MLR values were achieved. In such a situation, optimal topology is defined for a structure with the lowest value of factor expressed by Formula (2).

4. Power System Structure and Requirements for Greedy Algorithms

For graph representation of grid, the algorithm calculating weights has to include basic requirements that have to be implemented. This group includes power source capacity, methodology of power loss calculation on transmission lines, and allowable voltage range [14].

4.1. Generator Capacity-Source of Real and Reactive Power

In the standard solution, both active and reactive power is delivered to the power system by a synchronous generator. These two parameters are controlled within the acceptable range of values.

4.2. Acceptable Voltage Range at Busbars

Power system stability is a crucial problem, which is bounded by real power and reactive power. The first one is responsible for a power system frequency. The next one has an influence on the voltage level at busbars. Protection against frequency or voltage collapse is provided by generators’ regulators [15].
A power system has specific requirements for the accepted range of voltage at busbars. It is important to keep voltages within the ranges defined by the power system operator. Industry practice shows the usage of voltages from 0.95 pu to 1.05 pu.

4.3. Power Loss on Transmission Lines

Power transmission in a grid is bounded by power loss. It has a real influence on power generated by the source. The structure of a power network has to be designed in such a way that will minimalize power losses and guarantee permanent supply of electricity to consumers. Many different power grid models are available in the literature [16,17,18]. The most popular model for power flow calculation is based on the Newton–Raphson method [19].

5. Weight Calculation Algorithms

A power system model can be considered as an undirected connected weighted graph. Such a structure consists of nodes V and edges E [20]. Each node V represents a busbar. Transmission lines connecting busbars in substations are identified as edges E . Mathematically, the graph is defined as a pair   G = ( V , E ) .
Figure 1 presents the main idea of non-static weight calculation for a power system graphically. In this case two dotted lines are already connected. The subalgorithm has to calculate weights for the edges marked by dashed lines which are adjacent to the structure from the beginning (dotted shape). Greedy algorithms do not allow for the creation of cycles so the final graph has always to be a tree topology. Solid lines are the lines for which weights are not calculated.

5.1. Weight Calculation Algorithm Based on Real Power

The first subalgorithm concept is based on real power, which is one of the basic parameters present in the power system. In [6], this kind of logic dedicated for DC-grids was described. This part of the paper presents the solution applicable to AC-grids, which is a modification of that algorithm. The subalgorithm requires P P S 0   and Q P S 0 . These two values represent the power system in the initial state for a configuration of connected transmission lines. In Figure 1 dotted lines mark this structure. The subalgorithm calculates the weight of the k -th transmission line. i   is the limit representing all edges that can be connected, for instance i = 3 for the topology in Figure 1. Parameter k always starts from k = 1   when the subalgorithm is called. The computation logic operates on adjacency matrices. In this case, the following arrays are necessary: P ,   Q ,   Z ,   I ,   V k ,   I k ,   Z k ,   and   W .   P ,   Q ,   Z ,   I   matrices have static dimensions and contain data about grid topology and current state. V k ,   I k ,   Z k ,   and   W matrices are dependent on the considered structure in the state when the   k -th transmission line is connected. The matrix of weights has a specific consistency. The weights of all edges energized in the initial structure are of equal singular value, e.g.,   0 . Numbers calculated by the subalgorithm are assigned only to transmission lines that can be connected.
Weight computation based on real power has the following logic:
(1)
Calculate power losses Δ P k   and   Δ Q k ,   currents   I k ,   and voltages V k when the k -th transmission line is connected. In the computation process, the Newton–Raphson method based on the Z -matrix can be used, for example.
(2)
Is the voltage on all busbars within allowable range for k -th line of the considered power system’s structure? The limit is set from 0.95 pu to 1.05 pu.
(a)
If YES, go to step 3.
(b)
If NO, go to step 7.
(3)
Is the current I k within limits for all transmission lines, for the topology when the k -th line is connected? Limits are different depending on the season of the year. Permissible values are higher during winter than summer.
(a)
If YES, go to step 4.
(b)
If NO, go to step 7.
(4)
Calculate power delivered by the source to the power system with the k -th line connected. The necessary values are computed by the following equations:
P P S k = P P S 0 + P k + Δ P k  
Q P S k = Q P S 0 + Q k + Δ Q k  
(5)
Are P P S k and Q P S k within operational limits for the source energizing loads in the considered topology?
(a)
If YES, go to step 6.
(b)
If NO, go to step 7.
(6)
Calculate w k   for the topology with the k -th transmission line connected and go to step 8. Remember the commutated value in adjacency matrix W . The weight is expressed by the following formula:
w k = P P S k  
(7)
Rewrite P P S k   and Q P S k   values and then go to step 8. P P S k   and Q P S k   are as follows:
P P S k = 0  
Q P S k = 0
(8)
Is k = i ?
(a)
If YES, go to step 9.
(b)
If NO, go to step 10.
(9)
End subalgorithm and continue the main program.
(10)
Update the k value and go to step 1. The k variable is calculated by:
k : = k + 1
(11)
The subalgorithm’s logic structure is presented in graphical form in Figure 2.

5.2. Weight Calculation Algorithm Based on Reactive Power

The weight computation scheme using reactive power as the main parameter has a similar structure to the one based on real power. The subalgorithm’s structure is presented in Figure 3. The only difference is in the process of determining the weight itself. In this case, parameter w k calculated by (5) is replaced by the following mathematical formula:
w k = | Q P S k |  

5.3. Weight Calculation Algorithm Based on Apparent Power

Apparent power is in a direct correlation with the current injected into the gird by the power-generating source. The total apparent power S P S k for the topology considered by the subalgorithm, with the k -th transmission line connected, is equal to:
S P S k = P P S k 2 + Q P S k 2
In this case, the structure of the subalgorithm is similar to the one shown in Figure 3. The only difference is the definition of the weight which changes Formula (5) into:
w k = S P S k  

5.4. Weight Calculation Algorithm Based on Normalized Factor Including Combined Influence of Real and Reactive Power in Distribution Grid

The structure of power system is complicated. The calculations of grid parameters in electrical engineering are based on complex numbers, which are graphically presented as phasors. The proper relations between power system parameters and weights require consideration of real power and reactive power simultaneously. This is possible when both values are expressed in pu.
The computation logic uses adjacency matrices: P ,   Q ,   Z ,   I ,   V k ,   I k ,   I k ,   Z k ,   P W ,   Q W , and W . The following arrays have static dimensions: P ,   Q ,   Z ,   I .   V k ,   I k ,   I k ,   Z k ,   P W ,   Q W , and W , arrays have a consistency dependent on the analyzed power system’s topology when the k -th transmission line is connected. Adjacency matrix P W , for a state of the topology before consideration of energization of the k -th edge, is made up of singular values, e.g., negative numbers like 1 . The singular value for Q W   and W has to be different than the one for P W .   In this case, the best solution is to set the number 0 as a singular value for   Q W   and W . All other terms of matrices P W ,   Q W , and W , different from singular values, are calculated by the subalgorithm for transmission lines considered as possible to connect.
Weight computation based on normalized factor, including the combined influence of real and reactive power in the grid, has the following logic:
(1)
Calculate power losses Δ P k   and Δ Q k , currents I k , and voltages V k when the k -th transmission line is connected. In the computation process, the Newton–Raphson method based on the Z -matrix can be used, for example.
(2)
Is the voltage at all busbars within tolerable limits for the k -th line in the considered power system’s structure? The limit is set from 0.95 pu to 1.05 pu.
(a)
If YES, go to step 3.
(b)
If NO, go to step 7.
(3)
Is the current I k   within rated limits for all transmission lines, for the topology when the k -th line is connected? Limits are different depending on the season of the year. Tolerable values are higher during the winter than the summer.
(a)
If YES, go to step 4
(b)
If NO, go to step 7.
(4)
Calculate power delivered by the source to the power system with the k -th line connected. The necessary values are computed by Equations (3) and (4).
(5)
Are P P S k and Q P S k within operational limits for the source energizing loads in the considered topology?
(a)
If YES, go to step 6.
(b)
If NO, go to step 7.
(6)
Put P P S k   and Q P S k in matrices P W   and Q W and go to step 8.
(7)
Rewrite Q P S k by Formula (7) and rewrite P P S k value as:
P P S k = 1
and then go to step 6.
(8)
Is   k = i ?
(a)
If YES, go to step 10.
(b)
If NO, go to step 9.
(9)
Update the value of k by Formula (6) and go to step 1.
(10)
Update the value of k using the formula:
k = 1
and go to step 11.
(11)
Are all terms in P W singular values?
(a)
If NO, go to step 12.
(b)
If YES, go to step 18.
(12)
Analyze matrices P W and Q W and define factors C P and C Q :
C P = opt { P P S k }   for   k = 1   to   i
C Q = opt { | Q P S k | }   for   k = 1   to   i  
and go to step 13. P P S k and Q P S k cannot be singular values.
(13)
Is the real power of the considered line a positive number?
(a)
If YES, go to step 14.
(b)
If NO, go to step 17.
(14)
Calculate w k for the topology with the k -th transmission line connected. Put the commutated value into adjacency matrix W and go to step 15. The weight is expressed by the following Formula [21]:
w k = P P S k C P   · p + | Q P S k | C Q · ( 1 p )
p is a real positive number in the range from 0   to   1 .
(15)
Is   k = i ?
(a)
If YES, go to step 21.
(b)
If NO, go to step 16.
(16)
Update the value of k using Formula (8) and go to step 13.
(17)
Weight w k = 0   for topology with the k -th transmission line connected. Put the commuted value into adjacency matrix W and go to step 15.
(18)
Weight w k = 0   for topology with the k -th transmission line connected. Put the commutated value into adjacency matrix W and go to step 19.
(19)
Is k = i ?
(a)
If YES, go to step 21.
(b)
If NO, go to step 20
(20)
Update the value of k using Formula (8) and go to step 18.
(21)
End subalgorithm and continue the main program.
In [21], factors (14) and (15) are defined as minimal (min) values of P P S k 1 and | Q P S k 1 | respectively. This paper presents a generalized situation. The word “minimal” from [21] is replaced by “optimal” (opt), because in some greedy algorithms maximal values are important for weights, and minimal ones in others applications [22]. Figure 3 presents the described subalgorithm graphically.
It is important to notice that the subalgorithm presented here is a novel solution based on Formula (16). Expression (16) in [21] is used for sectionizing logic for AC-grids represented as graphs. The solution presented in the article is its modification applicable to restoration strategies based on Prim’s algorithm.
It is crucial for the presented algorithm to determine the value of the p coefficient. It can be defined by using an optimization algorithm such as partical swarm optimization (PSO). A swarm of particles is looking for a solution that meets predefined assumptions. In case of the power system finding of the p-coefficient depends on two conditions:
(1)
All the loads need to be connected to the power system;
(2)
The losses of active power in the created topology are as small as possible.
The above mentioned guidelines are hierarchical, i.e., the most important goal is to supply all the loads while maintaining the quality requirements for electricity. It means that the voltage on the busbars within the required scope and not to exceed the load capacity of the long-term power supply lines. Only the second optimization criterion is to minimize the active power losses in the power system. The optimization criteria should be determined by the means of mathematical formulas. In case of this article, M L R (1) and M R P L (2) coefficients are used for the PSO algorithm.

6. Simulation Model

The simulation model consists of two elements. The first one is the topology of the power grid, and the second is the greedy algorithm.

6.1. Modified Prim’s Algorithm

Prim’s algorithm is the most popular solution and it is present in multi-agent restoration strategies [17]. This kind of logical behavior creates a minimum spanning tree for the graph. The tree structure does not contain any cycles [22]. The algorithm starts from a node called the root. In each iteration, another vertex is connected to the graph’s structure by the edge, which has the lowest weight value [22]. Weights in classical solutions are static values. An example of a spanning tree created by Prim’s algorithm is shown in Figure 4.
Modification of Prim’s algorithm for the purposes of power system restoration requires non-static weights. They are calculated dynamically for transmission lines. An additional change is connected with the vertexes (busbars) from which algorithm starts working. In the context of a power system, the root is always an energy source busbar, e.g., synchronous generator, transformer (T), etc.
The main difference between the classical Prim’s algorithm and the modified one is the obtained spanning tree. In the first case, the result is usually repetitive, and it is not dependent on the node that was defined as the root. Some differences may be present if the graph structure has the same weights of edges bounded by one of the nodes. In the second case, the root is predefined. An unrestricted definition of the starting node may lead to a spanning tree built of transmission lines and busbars (BB) not connected to an energy source. This kind of result is unacceptable.
The modified Prim’s algorithm used to verify the proposed weight calculation logics has the following structure:
(1)
Algorithm starts for the node to which the power source is connected and goes to step 2.
(2)
Do all transmission lines (edges) available for connection create cycles?
(a)
If YES, go to step 6.
(b)
If NO, go to step 3.
(3)
Call subalgorithm responsible for calculating the weights of the power system’s graph representation and go to step 4.
(4)
Are all computed weights singular values (numbers equal to zero)?
(a)
If YES, go to step 6.
(b)
If NO, go to step 5.
(5)
Add transmission line with the lowest weight to the created spanning tree graph, update the C matrix, and go to step 2.
(6)
End algorithm.
The algorithm’s result is the C matrix. It is used to cooperate with the grid automation system [23,24,25,26,27]. The logic structure of the algorithm used in simulations is presented in Figure 5.

6.2. Tested Power System’s Structure

A comparison of the algorithms described in the paper was conducted for power systems with a nominal voltage of 20 kV and 15 kV. These network voltages are appropriate for grid types mostly dedicated for Smart-Grid technologies, which are being tested by energy distributors. The available power system benchmarks, e.g., IEEE 123-node test topology, are not dedicated for the aforementioned restoration strategies but for power system stability analyses. The application of this kind of models leads to repetitive results with the same topologies. It is caused by benchmarks’ busbars and lines connections. The tests of the algorithms presented in the paper demand creation of 20 kV/15 kV power grid topology. The power system model is built of 16 busbars, and each of them is connected to a load. Busbars are networked to each other by 240 mm2 overhead transmission lines, characterized by resistance per unit R L = 0.1281   Ω / km , reactance per unit X L = 0.0942   Ω / km , and susceptance per unit B L = 116.2389   μ S / m . The rated current of lines is equal to 410 A. All loads connected to busbars are gathered in Table 1 and Table 2. The model is powered by an external energy source, which can be considered as e.g., the 110 kV grid. Lines and their lengths are summarized in Table 3. The power system model is presented in Figure 6.
The test system was developed using the PowerFactory program, which enables the use of voltage regulators in models, e.g., by using tap changers in transformers. In the power system under consideration the problem of regulation has been simplified as it is justified for a power system with a tree structure. The power system having a tree-like topology is characterized by the fact that on individual busbars (nodes) the voltage level depends only and exclusively on the voltage value on the source busbars. At the same time, the voltage on the busbars to which the loads are connected is always lower than the voltage on the supply busbars, omitting, of course, the reactive power compensation. Therefore, for each of the cases under consideration the article assumes one value of the voltage on the source busbar of the power supply lines. This value is equal to 1.05 pu of the network voltage.

7. Presentation and Analysis of Simulation Results

For the conducted simulation calculations, the values for which the optimal solution is obtained in accordance with the criterion using (1) and (2) presented in Section 5.4 were indicated in the case of the algorithm based on the p -coefficient. Moreover, in each case the influence of selected p -values on the qualitative indicators for the obtained topologies of power line connections to the power source was shown.

7.1. 20 kV Power Grid Case Results

Model simulations were conducted for several logics. The first one was for a subalgorithm calculating weights based on real power. The second one used reactive power while the third one was bounded by apparent power. The last one computed weights combining real and reactive power in pu. In the last case, the p coefficient is the value from the following set: { 0 ,   0.25 ,   0.75 ,   0.85 ,   0.90 ,   0.95 ,   1 } . When p is equal to 0 or 1 , simulation results were the same as the ones obtained for subalgorithms conditioned by reactive or active power respectively. Figure 6 presents the examples of different line connections in a graphical form.
The analysis of algorithm requires a comparison of basic parameters implied by the power delivered to the system for each of the considered connections. The following values belong to this group of parameters: P , Q , S , Δ P , and Δ Q . All of the mentioned parameters are presented in Table 4.

7.2. 15 kV Power Grid Case Results

As in the previous case 7.1 model simulations were conducted for the same types of logics. The results for subalgorithm based on the p coefficient were obtained for p value from the following set: { 0 ,   0.25 ,   0.5 ,   0.75 ,   0.85 ,   0.95 ,   1 } . Figure 7 shows the examples of different line connections in graphical form.
This analysis forces the comparison of basic parameters implied by the power delivered to the system for each of the considered connections. The following values belong to this group of parameters: total P , Q , S , Δ P , and Δ Q . All of the mentioned parameters are presented in Table 5.

7.3. Discussion

The utility of algorithm is dependent on the form of the selected criterion. The first of the aforementioned conditions, utility, is analyzed in the context of defined targets. In this case, it is important to supply as many loads as possible and to ensure that the topology of the spanning tree has the lowest power losses.
The flexibility of the proposed subalgorithms is interpreted as the possibility of impact on weight calculation without advanced changes to the created logic. This condition is fulfilled for the subalgorithm based on (16). Thanks to (16) it is possible to get results similar to the simplified logic in which weights are identical to the calculated real, reactive, or apparent power in the considered grid topology. The disadvantage of this method is mostly implicated by the process of defining the p -coefficient and the need to apply the PSO algorithm. The choice of p value remains an open problem for the further analysis. For instance, with all powered loads in the considered p -coefficient set the best solution was observed when this parameter was equal to zero or to one. This solution was identical to the solution obtained based on the simplified subalgorithm bounded by real power or reactive power.
The main goal of the simulation was to identify the most useful subalgorithm responsible for weight calculations. In the context of the analyzed 20 kV grid model, the lowest real power losses were achieved for logic determined by p -coeficient equal to 0.83. The analysis of the presented subalgorithms also leads to the conclusion that the methodology based on Formula (16) gives repetitive results. This is observed in the spanning tree created by the logic using reactive power or real power and Equation (16) with p = 0 or p = 1 .
In 15 kV power grid case, the lowest active power loss was achieved for the subalgorithm based on apparent power. The lowest reactive power losses were also obtained for the logic based on apparent power, in contrast to the 20 kV system.
The simulation time t was about 30% shorter for subalgorithms based only on a single parameter, e.g., real power, reactive power, and apparent power, in comparison to the logic employing Equation (16). In this case, the analysis was made merely for returned topologies, with all loads energized. The other simulation times are not representative because during the algorithm processing the weights were not calculated for all lines. In these cases, simulations were terminated because, e.g., voltages at busbars were not in the range from 0.95 pu to 1.05 pu, and this condition was not fulfilled. The weight calculation algorithm is applicable to power system restoration strategies because of its efficiency. The simulation times are lower than 400 ms.
It is obvious that the subalgorithm has a crucial influence on the connection topology of the final power system in reconfiguration strategies. The weight calculation logic also affects line connection order. This is the reason why different grid topologies are returned as a result for different p -coefficient values. The decision as to which of the presented solutions is the most optimal one has to be preceded by computer simulation aided by optimization programs for the set conditions.

8. Conclusions

Restoration strategies require different methods of weight calculation. The proposed algorithms have different structures. The less complicated the logic, the easier it is to maintain code consistency when implementing it into the microprocessor system. The simplest subalgorithms are the ones based on a single parameter only: real, reactive, or apparent power. The subalgorithm based on Formula (14) is more complex than those previously mentioned. However, the observed flexibility of calculation is the advantage of the solution using the p -coefficient method. In this kind of the logic, it is possible to obtain the results just as consistent as in the case where only a single variable is used, e.g., apparent power.
The computed simulations presented in this paper lead to the conclusion that subalgorithms based on apparent power are the most functional for the analyzed 15 kV grid. In 20 kV network case with all loads energized the similar results, were obtained by the logic based on real power. Following a set group of conditions the most optimal logic used in power system restoration strategies has to be defined during the power grid designing process. A proper simulation should aid the decision. The chosen subalgorithm is dependent on, e.g., power grid topology, the voltage level of the considered distribution grid, loads connected to busbars, etc.
The most flexible p -coefficient subalgorithm requires the further analysis and simulation testing. The solution could be extended by a detailed description of particle swarm optimization bounded by a defined measure of additional quality parameters. The first quality indicators should be based on the maximum number of busbars with loads connected to the power source. The other indictors could be bounded, for instance, by a minimization of power losses in the power system.

Author Contributions

Methodology, formal analysis, investigation, writing—original draft, visualization, A.Ł.; conceptualization, writing—review & editing, supervision, Ł.N.; writing—review & editing, S.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding. The APC was funded by Warsaw University of Technology.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

kEdge/transmission line number for which the weight is calculated
iNumber of edges, which can be connected to a grid topology and do not create cycle subgraphs in a topology
T 0 Power grid topology considered before connection of k-th transmission line
T k Power grid topology considered after connection of k-th transmission line to T 0
{P} Total real powers set calculated for subsequent k-th transmission lines (L), the set contains elements
{Q} Reactive powers set calculated for subsequent k-th transmission lines, the set contains i elements
pImpact coefficient of total real and total reactive power on calculated weight of an edge
P P S 0 Total real power of loads for topology T 0
Q P S 0 Total reactive power of loads for topology T 0
P P S k Total real power for topology T k
Q P S k Total reactive power for topology T k
P k Real power at the receiving end of k-th transmission line
Q k Reactive power at the receiving end of k-th transmission line
Δ P k Real power losses for grid topology T k
Δ Q k Reactive power losses for grid topology T k
C P Minimum or maximum real power element from the set {P}
C Q Minimum or maximum reactive power element from the set {Q}
w k Weight calculated for k-th graph edge for topology T k
PAdjacency matrix of real powers’ loads connected to grid nodes
QAdjacency matrix of reactive powers’ loads connected grid to nodes
ZBus impedance matrix of power system
IAdjacency matrix of transmission lines rated currents
Z k Impedance matrix of power grid for considered topology T k
V k Voltage nodal matrix for considered topology T k
I k Adjacency matrix of currents transmitted by lines for considered grid topology T k
W Adjacency matrix of weights for lines, which can be connected to topology T 0 and do not lead to creation of a cycle subgraph in the structure
P W Adjacency matrix of transmission lines which contains computed P k powers
Q W Adjacency matrix of transmission lines which contains computed Q k powers
C Adjacency matrix/ matrix topology of connected transmission lines being result of Prim’s algorithm computation
PTotal real power of topology C
QTotal reactive power of topology C
STotal apparent power of topology C
Δ P Total real power losses of topology C
Δ Q Total reactive power losses of topology C
P L Total active power of all loads present in an analyzed power grid
MLRMaximum load restoration
MRPLMinimum real power loss of restored power grid
tSimulation time

References

  1. Torres, B.S.; Ferreira, L.R.; Aoki, A.R. Distributed Intelligent System for Self-Healing in Smart Grids. IEEE Trans. Power Deliv. 2018, 33, 2394–2403. [Google Scholar] [CrossRef]
  2. Fattahi, S.; Lavaei, J.; Atamtürk, A. A Bound Strengthening Method for Optimal Transmission Switching in Power Systems. IEEE Trans. Power Syst. 2018, 34, 280–291. [Google Scholar] [CrossRef] [Green Version]
  3. Al Karim, M.; Currie, J.; Lie, T.T. Dynamic Event Detection Using a Distributed Feature Selection Based Machine Learning Approach in a Self-Healing Microgrid. IEEE Trans. Power Syst. 2018, 33, 4706–4718. [Google Scholar] [CrossRef]
  4. Chen, B.; Chen, C.; Wang, J.; Butler-Purry, K.L. Sequential Service Restoration for Unbalanced Distribution Systems and Microgrids. IEEE Trans. Power Syst. 2018, 33, 1507–1520. [Google Scholar] [CrossRef]
  5. Lei, S.; Wang, J.; Hou, Y. Remote-Controlled Switch Allocation Enabling Prompt Restoration of Distribution Systems. IEEE Trans. Power Syst. 2018, 33, 3129–3142. [Google Scholar] [CrossRef]
  6. Eriksson, M.; Armendariz, M.; Vasilenko, O.; Saleem, A.; Nordström, L. Multi-Agent Based Distribution Automation Solution for Self-Healing Grids. IEEE Trans. Ind. Electron. 2015, 62, 2620–2628. [Google Scholar] [CrossRef]
  7. Arefifar, S.A.; Mohamed, Y.A.-R.I.; El-Fouly, T.H.M. Comprehensive Operational Planning Framework for Self-Healing Control Actions in Smart Distribution Grids. IEEE Trans. Power Syst. 2013, 28, 4192–4200. [Google Scholar] [CrossRef]
  8. Elgenedy, M.A.; Massoud, A.M.; Ahmed, S. Smart grid self-healing: Functions, applications, and developments. In Proceedings of the 2015 First Workshop on Smart Grid and Renewable Energy (SGRE), Doha, Quatar, 22–23 March 2015. [Google Scholar]
  9. Golshani, A.; Sun, W.; Zhou, Q.; Zheng, Q.P.; Tong, J. Two-Stage Adaptive Restoration Decision Support System for a Self-Healing Power Grid. IEEE Trans. Ind. Informat. 2017, 13, 2802–2812. [Google Scholar] [CrossRef]
  10. Zhao, Y.; Lin, Z.; Ding, Y.; Liu, Y.; Sun, L.; Yan, Y. A Model Predictive Control Based Generator Start-Up Optimization Strategy for Restoration with Microgrids as Black-Start Resources. IEEE Trans. Power Syst. 2018, 33, 7189–7203. [Google Scholar] [CrossRef]
  11. Lin, H.; Chen, C.; Wang, J.; Qi, J.; Jin, D.; Kalbarczyk, Z.T.; Iyer, R.K. Self-Healing Attack-Resilient PMU Network for Power System Operation. IEEE Trans. Smart Grid 2018, 9, 1551–1565. [Google Scholar] [CrossRef]
  12. Shi, J.; Oren, S.S. Stochastic Unit Commitment with Topology Control Recourse for Power Systems with Large-Scale Renewable Integration. IEEE Trans. Power Syst. 2018, 33, 3315–3324. [Google Scholar] [CrossRef]
  13. Dietmannsberger, M.; Wang, X.; Blaabjerg, F.; Schulz, D. Restoration of Low-Voltage Distribution Systems with Inverter-Interfaced DG Units. IEEE Trans. Ind. Appl. 2017, 54, 5377–5386. [Google Scholar] [CrossRef] [Green Version]
  14. Arif, A.; Ma, S.; Wang, Z.; Wang, J.; Ryan, S.M.; Chen, C. Optimizing Service Restoration in Distribution Systems with Uncertain Repair Time and Demand. IEEE Trans. Power Syst. 2018, 33, 6828–6838. [Google Scholar] [CrossRef] [Green Version]
  15. Bin, L.; Pan, H.; He, L.; Lian, J. An Importance Analysis–Based Weight Evaluation Framework for Identifying Key Components of Multi-Configuration Off-Grid Wind Power Generation Systems under Stochastic Data Inputs. Energies 2019, 12, 4372. [Google Scholar] [CrossRef] [Green Version]
  16. Shi, T.; Mei, F.; Lu, J.; Lu, J.; Pan, Y.; Zhou, C.; Wu, J.; Zheng, J. Phase Space Reconstruction Algorithm and Deep Learning-Based Very Short-Term Bus Load Forecasting. Energies 2019, 12, 4349. [Google Scholar] [CrossRef] [Green Version]
  17. Wang, Z.; Wang, J. Self-Healing Resilient Distribution Systems Based on Sectionalization Into Microgrids. IEEE Trans. Power Syst. 2015, 30, 3139–3149. [Google Scholar] [CrossRef]
  18. Li, Z.; Shahidehpour, M.; Aminifar, F.; Alabdulwahab, A.; Al-Turki, Y. Networked microgrids for enhancing the power system resilence. Proc. IEEE 2017, 105, 1289–1310. [Google Scholar] [CrossRef]
  19. Machowski, J.; Bialek, J.W.; Bumby, J.R. Power System Dynamics: Stabilty and Control, 2nd ed.; John Wiley & Sons, Ltd.: Hoboken, NJ, USA, 2008; pp. 89–99. [Google Scholar]
  20. Wilson, R.J. Introduction to Graph Theory, 5th ed.; Pearson Education Limited: Edinburgh, UK, 2010; pp. 8–79. [Google Scholar]
  21. Li, J. Reconfiguration of Power Network Based on Graph-Theoretic Algorithms. Bachelor’s Thesis, Iowa State University, Ames, IA, USA, 2010. Available online: https://lib.dr.iastate.edu/etd/11671 (accessed on 18 November 2020).
  22. Cormen, T.H.; Leiserson, C.E.; Rivest, R.L.; Stein, C. Section 23.2: The algorithms of Kruscal and Prim. In Introduction to Algorithms, 3rd ed.; MIT Press: Cambridge, MA, USA, 2009; pp. 631–638. [Google Scholar]
  23. Andruszkiewicz, J.; Lorenc, J.; Weychan, A. Demand Price Elasticity of Residential Electricity Consumers with Zonal Tariff Settlement Based on Their Load Profiles. Energies 2019, 12, 4317. [Google Scholar] [CrossRef] [Green Version]
  24. Eissa, M.; Ali, A.; Abdel-Latif, K.; Al-Kady, A. A frequency control technique based on decision tree concept by managing thermostatically controllable loads at smart grids. Int. J. Electr. Power Energy Syst. 2019, 108, 40–51. [Google Scholar] [CrossRef]
  25. Liu, W.-J.; Chi, M.; Liu, Z.-W.; Guan, Z.-H.; Chen, J.; Xiao, J.-W. Distributed optimal active power dispatch with energy storage units and power flow limits in smart grids. Int. J. Electr. Power Energy Syst. 2019, 105, 420–428. [Google Scholar] [CrossRef]
  26. Wang, Z.; Wang, J. A delay-adaptive control scheme for enhancing smart grid stability and resilence. Int. J. Electr. Power Energy Syst. 2019, 110, 477–486. [Google Scholar] [CrossRef]
  27. Ali, M.; Adnan, M.; Tariq, M. Optimum control strategies for short term load forecasting in smart grids. Int. J. Electr. Power Energy Syst. 2019, 113, 792–806. [Google Scholar] [CrossRef]
Figure 1. Power system graph representation example; the structure at the starting moment is marked by dotted line, possible edges for which weights have to be calculated are marked by dashed line, edges not included in the analysis because they create a cycle or are not adjacent to the dotted structure are marked by solid line.
Figure 1. Power system graph representation example; the structure at the starting moment is marked by dotted line, possible edges for which weights have to be calculated are marked by dashed line, edges not included in the analysis because they create a cycle or are not adjacent to the dotted structure are marked by solid line.
Energies 13 06063 g001
Figure 2. Weight calculation algorithm for strategies based on a single parameter only: real power, reactive power or apparent power.
Figure 2. Weight calculation algorithm for strategies based on a single parameter only: real power, reactive power or apparent power.
Energies 13 06063 g002
Figure 3. Weight calculation algorithm for strategy combining influence of real and reactive power.
Figure 3. Weight calculation algorithm for strategy combining influence of real and reactive power.
Energies 13 06063 g003
Figure 4. Example of graph spanning tree (result is marked by dotted line).
Figure 4. Example of graph spanning tree (result is marked by dotted line).
Energies 13 06063 g004
Figure 5. Structure of Prim’s algorithm used in the simulation.
Figure 5. Structure of Prim’s algorithm used in the simulation.
Energies 13 06063 g005
Figure 6. Power system benchmark topology (solid line) with simulation results for p = 1 (dotted line) and for p = 0.95 (red dash-dotted line).
Figure 6. Power system benchmark topology (solid line) with simulation results for p = 1 (dotted line) and for p = 0.95 (red dash-dotted line).
Energies 13 06063 g006
Figure 7. Power system benchmark topology (solid line) with simulation results for p = 1 (dotted line) and for p = 0.95 (red dash-dotted line).
Figure 7. Power system benchmark topology (solid line) with simulation results for p = 1 (dotted line) and for p = 0.95 (red dash-dotted line).
Energies 13 06063 g007
Table 1. 20 kV power system model’s loads.
Table 1. 20 kV power system model’s loads.
Load’s Tag Load s   Real   Power   ( kW ) Load s   Reactive   Power   ( kVar ) Load’s Tag Load s   Real   Power   ( kW ) Load s   Reactive   Power   ( kVar )
LB113401070LB926801610
LB21610535LB1035752415
LB31700355LB111250805
LB4895715LB121070535
LB5715140LB1317001075
LB6535180LB141790910
LB7715270LB15980500
LB81250320LB1617901215
Table 2. 15 kV power system model’s loads.
Table 2. 15 kV power system model’s loads.
Load’s Tag Load s   Real   Power   ( kW ) Load s   Reactive   Power   ( kVar ) Load’s Tag Load s   Real   Power   ( kW ) Load s   Reactive   Power   ( kVar )
LB1750600LB91500900
LB2900300LB1020001350
LB3950200LB11700450
LB4500400LB12600300
LB540080LB13950600
LB6300100LB141000510
LB7400150LB15550280
LB8700180LB161000680
Table 3. Line lengths in power system model.
Table 3. Line lengths in power system model.
Line’s Tag Line s   Length   ( km ) Line’s Tag Line s   Length   ( km ) Line’s Tag Line s   Length   ( km )
L110L98L174
L25L103L1813
L310L111L1925
L46L127L2011
L51L138L217
L69L147L223
L76L1511L237
L87L1616--
Table 4. Apparent power, real power, reactive power delivered to the considered 20 kV power system’s structure, changes of total real power and of total reactive power.
Table 4. Apparent power, real power, reactive power delivered to the considered 20 kV power system’s structure, changes of total real power and of total reactive power.
S
  ( MVA )
P
  ( MW )
Q
  ( MVar )
Δ P
  ( Mw )
Δ Q
  ( MVar )
MLR
( )
MRLP
( )
t
( ms )
Subalgorithm based on real power on (5)25.9024.757.631.16−4.891.001.16315
Subalgorithm based on reactive power on (9)25.7624.806.941.21−5.581.001.21309
Subalgorithm based on apparent power on (10)23.9523.026.601.22−4.700.921.32307
Multi-parametrized subalgorithm based on (16) p = 0.0025.7624.806.941.21−5.581.001.21385
Multi-parametrized subalgorithm based on (16) p = 0.2525.7624.806.941.21−5.581.001.21381
Multi-parametrized subalgorithm based on (16) p = 0.7525.7624.806.941.21−5.581.001.21390
Multi-parametrized subalgorithm based on (16) p = 0.8325.7124.746.981.15-4.901.001.15388
Multi-parametrized subalgorithm based on (16) p = 0.9019.6919.284.010.96−5.020.781.24321
Multi-parametrized subalgorithm based on (16) p = 0.9519.8619.354.451.03−4.580.781.33332
Multi-parametrized subalgorithm based on (16) p = 1.0025.9024.757.631.16−4.891.001.16391
Table 5. Apparent power, real power, reactive power delivered to the considered 15 kV power system’s structure, changes of total real power and of total reactive power.
Table 5. Apparent power, real power, reactive power delivered to the considered 15 kV power system’s structure, changes of total real power and of total reactive power.
S
( MVA )
P
( MW )
Q
( MVar )
Δ P
( MW )
Δ Q
( MVar )
MLR
( )
MRLP
( )
t
( ms )
Subalgorithm based on real power on (5)14.3213.843.670.64−2.761.000.64307
Subalgorithm based on reactive power on (9)13.2612.932.960.68−2.870.930.62299
Subalgorithm based on apparent power on (10)14.2913.823.640.63−2.801.000.63313
Multi-parametrized subalgorithm based on (16) p = 0.00 13.26 12.93 2.96 0.68 2.87 0.93 0.73 350
Multi-parametrized subalgorithm based on (16) p = 0.25 13.17 12.83 2.96 0.58 2.87 0.93 0.62 361
Multi-parametrized subalgorithm based on (16) p = 0.50 13.17 12.83 2.96 0.58 2.87 0.93 0.62 355
Multi-parametrized subalgorithm based on (16) p = 0.75 13.17 12.83 2.96 0.58 2.87 0.93 0.62 354
Multi-parametrized subalgorithm based on (16) p = 0.85 13.26 12.93 2.96 0.68 2.87 0.93 0.73 351
Multi-parametrized subalgorithm based on (16) p = 0.95 12.13 11.78 2.90 0.68 2.33 0.84 0.81 343
Multi-parametrized subalgorithm based on (16) p = 1.00 14.32 13.84 3.67 0.64 2.76 1.00 0.64 383
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Łukaszewski, A.; Nogal, Ł.; Robak, S. Weight Calculation Alternative Methods in Prime’s Algorithm Dedicated for Power System Restoration Strategies. Energies 2020, 13, 6063. https://doi.org/10.3390/en13226063

AMA Style

Łukaszewski A, Nogal Ł, Robak S. Weight Calculation Alternative Methods in Prime’s Algorithm Dedicated for Power System Restoration Strategies. Energies. 2020; 13(22):6063. https://doi.org/10.3390/en13226063

Chicago/Turabian Style

Łukaszewski, Artur, Łukasz Nogal, and Sylwester Robak. 2020. "Weight Calculation Alternative Methods in Prime’s Algorithm Dedicated for Power System Restoration Strategies" Energies 13, no. 22: 6063. https://doi.org/10.3390/en13226063

APA Style

Łukaszewski, A., Nogal, Ł., & Robak, S. (2020). Weight Calculation Alternative Methods in Prime’s Algorithm Dedicated for Power System Restoration Strategies. Energies, 13(22), 6063. https://doi.org/10.3390/en13226063

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

Article Metrics

Back to TopTop