Skip to main content
  • Original research
  • Open access
  • Published:

A fault segment location method for distribution networks based on spiking neural P systems and Bayesian estimation

Abstract

With the increasing scale of distribution networks and the mass access of distributed generation, traditional centralized fault location methods can no longer meet the performance requirements of speed and high accuracy. Therefore, this paper proposes a fault segment location method based on spiking neural P systems and Bayesian estimation for distribution networks with distributed generation. First, the distribution network system topology is decoupled into single-branch networks. A spiking neural P system with excitatory and inhibitory synapses is then proposed to model the suspected faulty segment, and its matrix reasoning algorithm is executed to obtain a preliminary set of location results. Finally, the Bayesian estimation and contradiction principle are applied to verify and correct the initial results to obtain the final location results. Simulation results based on the IEEE 33-node system validate the feasibility and effectiveness of the proposed method.

1 Introduction

Since they are directly connected with end-users, distribution networks well reflect the needs of customers in terms of security, stability and economy. When a fault occurs in a distribution network, the ability to locate the fault quickly and accurately plays an important role in its safe operation as well as in the quality of electricity supply for users. In recent years, with the access of distributed generation (DG), distribution networks become complex multi-power structures from the original single-power radial type [1, 2]. Consequently, when a distribution network with DG fails, the flow of fault current is no longer in a single direction. Hence, the application of traditional fault location methods has certain limitations [3, 4]. With the increasing scale of power distribution systems and the possible distortion of fault information coming from feeder terminal units (FTUs), fault location of distribution networks has become more challenging. Therefore, a lot of attention has been paid to the improvement of traditional fault location methods and the exploration of new ones for distribution networks with DG [5].

At present, many fault location methods have been proposed, such as traveling wave location, impedance and FTU detection-based fault segment location methods. Two traveling wave-based fault location methods are proposed in [6, 7], and while they are fast and accurate, they can be costly and require high sampling rate, leading to complex implementation. In [8, 9], fault location methods based on single and double terminal impedances are proposed. The methods are simple in principle, but they can be influenced by the power supply and line impedance in the system. A high-frequency impedance-based fault location method is proposed in [10], but it can only be applied to neutral-to-ground and phase-to-phase faults. In contrast, FTU-based fault location methods are not only simple, but also quick and easy to implement, and thus they are currently very popular. FTU-based fault location methods consist of two types, i.e., matrix algorithm and artificial intelligence. Although the matrix algorithm can improve location speed and accuracy, the accuracy will be affected when the fault information contains distortion. Therefore, artificial intelligence algorithms have gradually attracted more attention.

In recent years, with the rapid development of artificial intelligence, many data-driven and artificial intelligence-based methods have been proposed for fault location, such as expert systems [11, 12], neural networks [13, 14], Bayesian networks [15, 16], cause-effect networks [17, 18], fuzzy set theory [18,19,20], Petri nets [20, 21], rough set theory [22, 23], and the spiking neural P system (SNPS) [23, 24]. Expert systems are widely used, but their knowledge bases are difficult to design and the reasoning speed is slow. In contrast, neural networks have fast inference speed and good fault tolerance, though they require a large number of training samples, which are hard to obtain. Bayesian networks have clear and intuitive diagnostic models, but it is difficult to obtain prior probabilities with uncertain information. Cause-effect networks have fast inverse reasoning capability, but are susceptible to combinatorial explosion problems and are less fault-tolerant for fault location. Petri networks have the advantage of fast parallel reasoning, but usually suffer from high dimensionality and poor fault tolerance in fault modeling. Although the above methods have their own advantages and application scenarios, the fault segment location for distribution network with DGs still faces many problems, such as large and complex models, high operational dimensionality and poor fault tolerance. Therefore it is necessary to propose new methods to better solve these issues.

SNPS, as a kind of neural-like P system of membrane computing [25], is a bio-inspired artificial intelligence method for fault diagnosis [26, 27]. It has become a hot research topic for fault diagnosis because of its strong distributed parallel computing, image processing and information processing capabilities. It is suitable for fault identification and solving the problem of fault information redundancy in the location process [28]. For example, reference [29] proposes an interval-valued fuzzy SNPS and uses it for transmission grid fault diagnosis. In [30], a new method of transformer fault diagnosis based on learning SNPS with belief AdaBoost is proposed, while [31] proposes a novel fault diagnosis method for smart grids based on memory SNPS considering measurement tampering attacks. These studies show the great potential of SNPSs in solving fault diagnosis problems. Therefore, to improve the fault segment location speed and accuracy of distribution networks with DGs, this paper proposes a fault segment location method for distribution networks based on SNPS and Bayesian estimation. The main contributions of this paper are:

  • It proposes a novel fault segment location method for distribution networks, a method which is designed based on SNPS and Bayesian estimation. First, the decoupled single-branch networks are modeled by SNPS with excitatory and inhibitory synapses (SNPSEIs) and then their matrix reasoning algorithms are employed for segment initial localization. After that, if the initial localization result set is not empty, Bayesian estimation will be used to verify and correct the initial localization result; otherwise, the contradiction principle will be used to identify and correct the distortion information and derive the final location results. Consequently, the method can improve fault location accuracy.

  • Since the power directions of distribution networks with DGs are not unique, this paper proposes the use of SNPSEI for the modelling. The inhibitory synapses in the SNPSEI can effectively combine current and voltage fault criteria, so that the model can locate a faulty segment correctly in the case of distorted current and voltage information. Consequently, the SNPSEI-based model can effectively solve location inaccuracy caused by information distortion.

2 Spiking neural P systems with excitatory and inhibitory synapses

2.1 Spiking neural P systems with excitatory and inhibitory synapses

An SNPS with excitatory and inhibitory synapses (SNPSEI) of degree \(m \ge 1\) is a construct of:

$$\Pi = (O,\sigma_{1} ,\sigma_{2} ,...,\sigma_{m} ,syn,in,out)$$

where.

  1. (1)

    \(O = \{ a\}\) is a set of singleton alphabets, and a denotes a spike.

  2. (2)

    \(\sigma_{1} ,\sigma_{2} ,...,\sigma_{m}\) are neurons in the system, and each neuron \(\sigma_{i} \left( {1 \le i \le m} \right)\) is of the form \(\sigma_{i} = (\alpha_{i} ,\kappa_{i} ,R_{i} )\), where:

  3. (3)

    \(\alpha _{i} \in \{ - 1,0,1\}\) is the quantity of electric charges carried by the spike in neuron \(\sigma_{i}\);

  4. (4)

    \(\kappa_{i} \in \{ 0,1\}\) is the firing threshold value of neuron \(\sigma_{i}\);

  5. (5)

    \(R_{i} = \{ r_{1} ,r_{2} ,r_{3} \}\) is a finite set of rules in neuron \(\sigma_{i}\), which are as follows:

  6. (6)

    \(r_{1} :E = (\alpha_{i} \ge \kappa_{i} )/a^{{\alpha_{i} }} \to a^{\varepsilon }\) is a firing rule, where \(a^{{\alpha_{i} }}\) denotes the spike that is consumed for executing the firing rule. \(\varepsilon \in \{ 0,1\}\) denotes the quantity of electric charges carried by the newly produced spike. It means that if and only if the quantity of the electric charges in neuron \(\sigma_{i}\) satisfies the firing condition \(\alpha_{i} \ge \kappa_{i}\), then the firing rule can be executed. After that, the spike \(a^{{\alpha_{i} }}\) is consumed and a new spike \(a^{\varepsilon }\) is produced and sent to all the synapses connected to neuron \(\sigma_{i}\). It is worth noting that the transmission of quantity of electric charges does not consume time in the system, i.e., the spike immediately reaches the connected synapses.

  7. (7)

    \(r_{2} :E = (\alpha_{i} < \kappa_{i} )/a^{{\alpha_{i} }} \to \lambda\) is a forgetting rule, where \(\lambda\) is a null character indicating that no new electric charge is generated. If the quantity of electric charge satisfies \(\alpha_{i} < \kappa_{i}\), then the forgetting rule will be executed and no new electric charge is generated.

  8. (8)

    \(r_{3} :t = \{ t_{1} ,\overline{{t_{1} }} \}\) denotes the set of synapses, where \(t_{1}\) and \(\overline{{t_{1} }}\) denote excitatory and inhibitory synapses, respectively. The neurons before and after the excitatory synapses are called pre-excitatory and post-excitatory neurons, respectively. If a pre-excitatory neuron meets its firing condition, then the corresponding excitatory synapses will work. Likewise, the neurons before and after the inhibitory synapses are called pre-inhibitory and post-inhibitory neurons, respectively. If and only if the quantity of electric charges carried by the spike in a pre-inhibitory neuron equals 0, then the corresponding inhibitory synapses will work.

  9. (9)

    \(syn \subseteq \{ 1,2,...,m\} \times \{ 1,2,...,m\}\) denotes the connection relation between neurons, where \((i,j) \in syn\), \(1 \le i,j \le m\) with \(i \ne j\).

  10. (10)

    \(in,out \subseteq \{ 1,2,...,m\}\) represent the sets of input and output neurons, respectively.

The SNPSEI contains two kinds of neurons, namely, proposition neurons and rule neurons. The rule neurons include four types, namely, the “\(general\)”, “\(and\)”, “\(xnor\)” and “\(or\)” rule neurons. They are shown in Fig. 1, and their definitions and execution rules are described as follows.

  1. (1)

    Proposition neuron

Fig. 1
figure 1

Graphical representation of neurons. a Proposition neuron, b \(general\) rule neuron, c \(and\) rule neuron, d \(xnor\) rule neuron, and e \(or\) rule neuron

A proposition neuron \(\sigma_{i}\) is represented by a symbol \(P\) and a blue hollow circle. If a proposition neuron is an input proposition neuron, then its initial electric charge comes from the environment; otherwise, the electric charge comes from the result of the logic operation of its presynaptic rule neurons.

  • Rule neurons

  • A “\(general\)” rule neuron is represented by a symbol \(R\) and a rectangle. The neuron has only one input but multiple outputs. If its firing condition is met, then the firing rule will be executed.

  • An “\(and\)” rule neuron is represented by a symbol \(R\) and a rectangle. The neuron has at least two inputs but only one output. If its firing condition is met, then the firing rule will be executed and a new quantity of electric charge \(\varepsilon\) will be generated, where \(\varepsilon = \min \{ \alpha_{1} ,\alpha_{2} ,...,\alpha_{k} \}\).

  • An “\(xnor\)” rule neuron is represented by a symbol \(R\) and a rounded rectangle. The neuron has at least two inputs but only one output. If its firing condition is met, then the firing rule will be executed and a new quantity of electric charges \(\varepsilon\) will be generated, where \(\varepsilon { = }\alpha_{1} \Lambda \alpha_{2} \Lambda ...\Lambda \alpha_{k}\), and \(\alpha_{1} \Lambda \alpha_{2} = \left( {\alpha_{1} \cap \alpha_{{2}} } \right) \cup \left( {\overline{{\alpha_{{1}} }} \cap \overline{{\alpha_{2} }} } \right)\).

  • An “\(or\)” rule neuron is represented by a symbol \(R\) and a rectangle. The neuron has at least two inputs but only one output. If its firing condition is met, then the firing rule is executed and a new quantity of electric charge \(\varepsilon\) will be generated, where \(\varepsilon = \max \{ \alpha_{1} ,\alpha_{2} ,...,\alpha_{k} \}\).

2.2 Matrix reasoning algorithm

To make SNPSEI capable of inferring and processing fault information in a parallel way, a matrix reasoning algorithm is designed, as shown in Algorithm 1.

To improve the readability of Algorithm 1, the vectors and matrices covered are described below.

figure a
  1. (1)

    \({{\varvec{\upalpha}}} = (\alpha_{1} ,...,\alpha_{p} )^{T}\) denotes the quantity of electric charge vector of proposition neurons, where \(\alpha_{i} \left( {i = 1,...,p} \right) \in \{ - 1,0,1\}\).

  2. (2)

    \({{\varvec{\updelta}}} = (\delta_{1} ,...,\delta_{q} )^{T}\) denotes the quantity of electric charge value vector of rule neurons, where \(\delta_{j} \left( {j = 1,...,q} \right) \in \{ 0,1\}\).

  3. (3)

    \({\mathbf{C}}_{R1} = (\gamma_{ij} )_{p \times q}\),\({\mathbf{C}}_{R2} = (\gamma_{ij} )_{p \times q}\), \({\mathbf{C}}_{R3} = (\gamma_{ij} )_{p \times q}\) and \({\mathbf{C}}_{R4} = (\gamma_{ij} )_{p \times q}\) denote directed synaptic connection matrices from a proposition neuron to a “\(general\)”, “\(and\)”, “\(xnor\)” and “\(or\)” rule neurons, respectively. If there is such a connection, \(\gamma_{ij} = 1\); otherwise \(\gamma_{ij} = 0\).

  4. (4)

    \({\mathbf{C}}_{P} = (\gamma_{ji} )_{q \times p}\) denotes the directed synaptic connection matrix from a rule neuron to a proposition neuron. If there is such a connection, \(\gamma_{ij} = 1\); otherwise \(\gamma_{ij} = 0\).

Next, the operators are introduced as follows:

  1. (1)

    Multiplication operator \(\otimes\):

The quantity of electric charges of “\(general\)” rule neurons is calculated by:

$$\left\{ \begin{gathered} {{\varvec{\upalpha}}} \otimes {\mathbf{C}}_{R1} = (\phi_{1} ,...,\phi_{q} )^{T} \hfill \\ \phi_{j} = \gamma_{1j} * \alpha_{1} + ... + \gamma_{pj} * \alpha_{p} \hfill \\ j = 1,...,q \hfill \\ \end{gathered} \right.$$
(1)
  1. (2)

    Multiplication operator \(\oplus\):

The quantity of electric charges of “\(and\)” rule neurons is calculated by:

$$\left\{ \begin{gathered} {{\varvec{\upalpha}}} \oplus {\mathbf{C}}_{R2} = (\phi_{1} ,...,\phi_{q} )^{T} \hfill \\ \phi_{j} = \min \{ \gamma_{1j} * \alpha_{1} ,...,\gamma_{pj} * \alpha_{p} \} \hfill \\ j = 1,...,q \hfill \\ \end{gathered} \right.$$
(2)
  1. (3)

    Multiplication operator \(\Lambda\):

The quantity of electric charges of “\(xnor\)” rule neurons is calculated by:

$$\left\{ \begin{gathered} {{\varvec{\upalpha}}}\Lambda {\mathbf{C}}_{R3} = (\phi_{1} ,...,\phi_{q} )^{T} \hfill \\ \phi_{j} = \left( {\gamma_{1j} * \alpha_{1} \cap \gamma_{{{\text{2j}}}} * \alpha_{2} } \right) \cup \left( {\gamma_{1j} * \overline{{\alpha_{{1}} }} \cap \gamma_{{{\text{2j}}}} * \overline{{\alpha_{2} }} } \right) \hfill \\ j = 1,...,q \hfill \\ \end{gathered} \right.$$
(3)
  1. (4)

    Multiplication operator \(\odot\):

The quantity of electric charges of “\(or\)” rule neurons is calculated by:

$$\left\{ \begin{gathered} {{\varvec{\upalpha}}} \odot {\mathbf{C}}_{R4} = (\phi_{1} ,...,\phi_{q} )^{T} \hfill \\ \phi_{j} = \max \{ \gamma_{1j} * \alpha_{1} ,...,\gamma_{pj} * \alpha_{p} \} \hfill \\ j = 1,...,q \hfill \\ \end{gathered} \right.$$
(4)

Likewise, the quantity of electric charges of proposition rule neurons is calculated by:

$$\left\{ \begin{gathered} {{\varvec{\updelta}}} \odot {\mathbf{C}}_{p} = (\phi_{1} ,...,\phi_{p} )^{T} \hfill \\ \phi_{i} = \max \{ \gamma_{1i} * \delta_{1} ,...,\gamma_{qi} * \delta_{q} \} \hfill \\ i = 1,...,p \hfill \\ \end{gathered} \right.$$
(5)

3 Fault location method

In this section, a fault location method for distribution networks with DGs based on SNPSEI and Bayesian Estimation is proposed, and its flowchart is shown in Fig. 2 with the steps described as follows.

Fig. 2
figure 2

Flow chart of fault location method for distribution networks based on SNPSEI and Bayesian Estimation

Step (1): Decouple the complex distribution network structure into several single-branch networks according to the equivalent decoupling algorithm proposed in [32].

Step (2): Obtain the voltage and current values of fault lines. First of all, fault lines are selected according to the zero sequence power direction protection. Specifically, if a circuit breaker is open, then the corresponding branch is faulty and will be modeled by an SNPSEI; otherwise, it is not at fault and the location process ends. Subsequently, the current and voltage values of the obtained faulty lines are received from the supervisory control and data acquisition system.

Step (3): Execute the matrix reasoning algorithms of SNPSEI-based models based on the voltage and current criterion to obtain the initial set \(O_{{L_{i} }}\) of fault location results, where the collected fault voltage and current direction information is the input of the models.

Step (4): If \(O_{{L_{i} }} \ne \emptyset\), then the Bayesian estimation is applied via (10) to verify and correct the results in \(O_{{L_{i} }}\). After the calculation, the segment with the largest probability value in the results is the faulty one. Then, the results are outputted and the location ends.

Step (5): If \(O_{{L_{i} }} = \emptyset\), then the contradiction principle is applied to find and correct the nodes with distorted fault information. After that, the faulty segments are determined via the revised information sequence and the results are outputted. Then, the location ends.

3.1 Voltage and current criteria

Currently, the fault current crossing alarm signals obtained by the fault indication equipment are usually used as the fault location criterion of the distribution network. Since most of such devices are installed outdoors, they are easily affected by the environment, which may reduce the accuracy and stability of current information. Also, the collected information may be distorted during the communication process. Thus, only using current leads to reduced accuracy of fault location. Consequently, because of the high acquisition stability and low distortion probability of voltage information, this paper introduces voltage distribution characteristics as the fault criteria. In addition, voltage information is combined with current direction information to form a voltage and current dual-criteria model, to improve the fault location tolerance.

  1. (1)

    Current criterion

In a single-supply system, when the fault resistance increases, the corresponding fault current decreases. Consequently, the fault currents of downstream nodes of the fault point cannot reach the action thresholds of protection. As a result, the numbers 0 and 1 can be used to represent the statuses of switches. However, with the access of a large number of DGs, fault current flows in distribution networks have changed from unidirectional to bidirectional. Therefore, the direction of short-circuit currents provided by the system power supply is specified as positive. The rectification value of the zero sequence current protection is calculated according to:

$$I_{op}^{{\text{I}}} = K_{rel} \cdot 3I_{0\max }$$
(6)

where \(I_{op}^{{\text{I}}}\) indicates the zero sequence I section protection, \(K_{rel}\) is a reliability factor, which generally takes a value from 1.2 to 1.3, and \(I_{0\max }\) indicates the maximum zero sequence current that flows through the protection in a ground fault. This generally takes a value from 2 to 3 A. The current direction information is represented by the numbers -1, 0 and 1, shown as:

$$\Delta i = \left\{ \begin{gathered} \, 1{\text{ positive fault current}} \hfill \\ \, 0{\text{ no fault current }} \hfill \\ \, - 1{\text{ negative fault current}} \hfill \\ \end{gathered} \right.$$
(7)
  1. (2)

    Voltage criterion

When a single-phase-to-ground fault occurs on feeder lines, the voltage distribution regularities of different grounding modes are not the same. For the center point non-effective grounding mode, the voltage of the faulty phase will become zero and the voltage of the non-faulty phase will rise to the line voltage. For the faulty single-branch network, the voltage difference between two adjacent nodes of the faulty section varies a lot, while the voltage differences between the other nodes are almost constant. Therefore, this paper specifies that the common nodes with large variation are represented by 1, while the others are represented by 0. The mathematical expression is shown as:

$$U_{j} = \left\{ \begin{gathered} 0 \, u_{i - j} \approx u_{j - k} \hfill \\ 1{\text{ others}} \hfill \\ \end{gathered} \right.$$
(8)

where \(i,\;j\) and \(k\) denote the three adjacent nodes, respectively. \(u_{i - j}\) and \(u_{j - k}\) denote the voltage differences between two adjacent nodes.

3.2 SNPSEI-based model

The network topology of complex distribution networks is characterized by multiple branches and variable operational modes. To simplify the model, this paper first decouples the distribution network containing DGs into several single-branch networks, and then models each single-branch network by an SNPSEI. Figure 3 shows a single-branch network, which can be used to build a common model for fault location based on SNPSEI. For the segment Ln, its SNPSEI-based model is shown in Fig. 4, where proposition neurons are associated with circuit breakers, isolated switches and segments. Rule neurons are represented by rectangular boxes and rounded rectangular boxes, while excitatory synapses are represented by normal arrows and inhibitory synapses are denoted by hollow arrows. It is worth noting that the SNPSEI-based model of a single-branch network can be obtained by superposing several segment models. The physical meaning of each symbol in the model is shown in Table 1.

Fig. 3
figure 3

Schematic diagram of single branch network

Fig. 4
figure 4

A universal fault location model of distribution network based on SNPSEI

Table 1 Meaning of symbols in the universal mode

3.3 Location result correction based on bayesian estimation

Since most of end instruments and communication devices of distribution networks are outdoors, the collected information may be distorted. To improve the accuracy of fault location, this paper employs the Bayesian estimation method to correct initial location results.

First, it is necessary to make the following assumptions [33]:

  1. (1)

    All the segments of a feeder have the same failure probability.

  2. (2)

    The information of each node has the same distortion probability \(p\), and \(0 < p \ll 1\). From engineering experience and long-term operational data statistics, \(p\) is generally taken as \(0.05 \sim 0.2\).

  3. (3)

    Each node is configured with independent feeder terminal units, whose operating states do not affect each other.

Then, set initial information sequence as \(I = [S_{1} ,S_{2} ,...,S_{n} ]\). According to the Bayesian conditional probability, the probability \(P(L_{i} |I)\) of a fault occurring in the feeder segment \(L_{i}\) can be obtained as:

$$P(L_{i} |I) = \frac{{P(L_{i} )P(I|L_{i} )}}{P(I)}$$
(9)

where \(P(L_{i} )\) is the priori probability, and \(P(I|L_{i} )\) represents the probability that the fault information sequence collected by the system at the fault time of segment \(L_{i}\) is \(I\).

Since \(P(I)\) is same for the whole feeder, it is known that the posterior probability of failure in each segment depends only on the magnitude of \(P(I|L_{i} )\). To indirectly derive the value of \(P(L_{i} |I)\), \(P(I|L_{i} )\) can be calculated by:

$$P(I|L_{i} ) = \prod\limits_{j = 1}^{{N_{unequality} }} {(p)_{j} } \prod\limits_{k = 1}^{{N_{equality} }} {(1 - p)_{k} }$$
(10)

where \(N_{unequality}\) and \(N_{equality}\) indicate that the numbers of information sequences are unequal and equal to the actual information sequences collected at the fault time of a segment from set \({\rm O}_{{L_{i} }} ({\rm O}_{{L_{i} }} \ne \emptyset )\), respectively.

3.4 Fault information correction based on the contradiction principle

If the circuit breakers operate correctly and the initial set of location results is empty, then there is a missed location. To address this issue, this section employs the contradiction principle to correct the fault information. Then the corrected fault information sequence pairs are tested one by one to determine the faulty segments.

First, it is specified that for any segment, the nodes close to and far from the main power supply are called the parent and child nodes, respectively. Since all the branches in this paper are single-branch networks, the contradiction principle can be summarized as follows [34] (graphically represented in Fig. 5).

Fig. 5
figure 5

Schematic diagram of the contradiction principle

(1) If the child node in the information sequence pair is 1, then its parent node cannot be 0 or − 1;

(2) If the child node in the information sequence pair is 0, its parent node cannot be − 1.

4 Simulation experiments

MATLAB/Simulink 2020a is used here to simulate single-phase-to-ground faults in the neutral point grounding mode through the arc extinguishing coil for a standard 33-node distribution network with DGs. The standard IEEE 33-node distribution network is decoupled into four single-branch networks as shown in Fig. 6, namely, \(N_{1}\):[1,2,19,20,21,22], \(N_{2}\):[2,3,23,24,25], \(N_{3}\):

Fig. 6
figure 6

Decoupling into four single branch network schematic

[3,4,5,6,26,27,28,29,30,31,32,33] and \(N_{4}\):[6,7,8,9,10,11,12,13,14,15,16,17,18].

In the simulations, the power supply output voltage is set as 10 kV and the uniform parameters of each segment line are set as: \(R_{1} = 0.013 \, \Omega /{\text{km}}\), \(R_{0} = 0.39 \, \Omega /{\text{km}}\),\(L_{1} = 0.933{\text{ mH}}/{\text{km}}\), \(L_{0} = 4.126{\text{ mH}}/{\text{km}}\), C1 = 12.74 μF/km and C2 = 7.75 μF/km. The length of each segment line is 1.5 km, and the DG capacity is 0.5 MW.

4.1 Simulation experiments

In this subsection, simulations of the single fault and double faults are performed for the single-phase-to-ground fault in the neutral point grounding mode through the arc extinguishing coil with and without DG feeder lines. Zero sequence current values and the adjacent node difference are collected for fault resistance values of 10 \({\Omega }\), 100 \({\Omega }\) and 500 \({\Omega }\).

  1. (1)

    Single fault

When a single fault occurs in a single-branch network, the zero sequence current value at each node and the voltage difference at adjacent nodes are shown in Tables 2 and 3, respectively. Table 2 shows that the fault zero sequence current value decreases as the corresponding fault resistance value increases. When the fault occurs in the case of DG access, there is still a current flowing downstream of the fault point. Table 3 shows that the voltage difference of adjacent nodes before and after the faulty node changes greatly, while that of other nodes is almost unchanged. Consequently, the fault current and voltage information can be obtained via (6) to (8), as shown in Table 4.

  1. (2)

    Double faults

Table 2 Zero sequence current values of nodes under single fault in \(N_{1}\)
Table 3 Voltage difference values of adjacent nodes under single fault in \(N_{1}\)
Table 4 Simulation positioning results

When double faults occur in a single-branch network, the zero sequence current value at each node and the voltage differences at adjacent nodes are shown in Tables 5 and 6, respectively. From Tables 5 and 6, it can be seen that the variation trends of the zero sequence current magnitude and voltage difference for the double faults are similar to the single one. Data decrease significantly in two places because there are two faulty segments. Similarly, the fault current and voltage information can be obtained via (6) to (8), as shown in Table 7.

Table 5 Zero sequence current values of nodes under double faults in \(N_{1}\)
Table 6 Voltage difference values of adjacent nodes under double faults in \(N_{1}\)
Table 7 Simulation positioning results

4.2 Comparative experiment and accuracy test

  1. (1)

    Comparative experiment

Seven cases are considered here and the proposed method is compared with the two in [28] and [35], and the results are shown in Table 8. Case 1 is a single fault with correct fault information, and all the three methods can locate the fault. However, for case 2, that is a double fault with correct information, only the proposed method and the one in [28] can locate successfully. Since both cases 3 and 4 have information distortion, the two methods from [28, 35] have different degrees of locating errors while the proposed method is still effective. For case 5, it is a double fault with two node distortion. It can be seen that only the proposed method locates correctly. For cases 6 and 7, the proposed method can consider both the current and voltage information distortions at the same time, while the other two only use the current information distortion. Consequently, only the proposed method can locate the faults accurately. Therefore, it can be concluded from Table 8 that the proposed method can obtain correct location results for all seven cases. Hence it has higher accuracy and effectiveness.

  1. (2)

    Accuracy test

Table 8 Location results of different methods

To further verify the speed and accuracy of the proposed method, the single fault and double faults are generated randomly 100 times. Both correct and distorted fault messages are considered. Then, the localization accuracy and solution time under 100 runs are obtained statistically [36]. The accuracy test results are shown in Table 9. It is seen that the accuracy of the proposed method is 100% with 100 runs for both the single and multiple faults. Therefore, the proposed method is feasible and effective.

Table 9 Accuracy simulation results under 100 failures of this method

4.3 Case studies

This subsection uses cases 6 and 7 as examples to illustrate how the proposed method works.

(1) Case 6: \(L_{20}\) is faulty, while the current information of \(S_{19}\) is missed and the voltage information of \(U_{22}\) has failed to declare. Since the circuit breaker \(CB_{0}\) of main power and \(CB_{1}\) of DG have acted, a fault occurs in the feeder segment with the DG, which is modeled based on an SNPSEI, as shown in Fig. 7. Based on the fault information, the initial quantity of electric charges of the input neurons can be obtained as:

$${{\varvec{\upalpha}}}_{0} = [1,1,0,1,0,1,0,0,1, - 1,0, - 1,1, - 1,0, - 1,{\mathbf{O}}_{1 \times 37} ]$$
Fig. 7
figure 7

Fault location model based on cases 6 and 7

After performing the matrix reasoning algorithm, when \(g = 0\), the results are:

$${{\varvec{\updelta}}}_{1} = [1,1,0,1,0,1,0,0,1, - 1,0, - 1,1, - 1,0, - 1,{\mathbf{O}}_{1 \times 21} ]$$
$${{\varvec{\upalpha}}}_{1} = [{\mathbf{O}}_{1 \times 16} ,1,1,0,1,0,1,0,0,1,0,0,0,1,0,0,0,{\mathbf{O}}_{1 \times 21} ]$$

When \(g = 1\), the results are:

$${{\varvec{\updelta}}}_{2} = [{\mathbf{O}}_{1 \times 16} ,0,0,0,0,0,1,0,0,0,1,0,0,{\mathbf{O}}_{1 \times 7} ]$$
$${{\varvec{\upalpha}}}_{2} = [{\mathbf{O}}_{1 \times 32} ,0,0,0,0,0,1,0,0,0,1,0,0,{\mathbf{O}}_{1 \times 7} ]$$

When \(g = 2\), the results are:

$${{\varvec{\updelta}}}_{3} = [{\mathbf{O}}_{1 \times 30} ,0,0,0,1,0,1,0]$$
$${{\varvec{\upalpha}}}_{3} = [{\mathbf{O}}_{1 \times 46} ,0,0,0,1,0,1,0]$$

When \(g = 3\), the results are:

$${{\varvec{\updelta}}}_{4} { = }[{\mathbf{O}}_{1 \times 37} ]$$

Now, the termination condition is satisfied and the reasoning process ends. The sequence of the output neurons is \([0,0,0,1,0,1,0]\), and the initial location results indicate that faults occur in \(L_{20}\) and \(L_{22}\). Then, the result set \(O_{{(L_{20} ,L_{22} )}}\) is tested and corrected using Bayesian estimation. The processes are described as follows.

The initial input neuron sequence collected is \(I = [1,1,0,1,0,1,0,0,1, - 1,0, - 1,0, - 1,0, - 1]\).

  1. (a)

    If \(L_{20}\) is faulty, the correct sequence is \(I_{{L_{20} }} = [1,1,0,1,0,1,0,1,1, - 1,0, - 1,0, - 1,0, - 1]\). According to (10), it obtains:

    $$P(I|L_{20} ) = \prod\limits_{j = 1}^{2} {(p)_{j} } \prod\limits_{k = 1}^{14} {(1 - p)_{k} } = p^{2} (1 - p)^{14}$$
  2. (b)

    If \(L_{22}\) is faulty, the correct sequence is \(I_{{L_{22} }} = [1,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0,0,1, - 1,0, - 1]\), and it obtains:

    $$P(I|L_{22} ) = \prod\limits_{j = 1}^{4} {(p)_{j} } \prod\limits_{k = 1}^{12} {(1 - p)_{k} } = (p)^{4} (1 - p)^{12}$$
  3. (c)

    If both \(L_{20}\) and \(L_{22}\) are faulty, the correct sequence is \(I_{{L_{20} ,L_{22} }} = [1,1,0,1,0,1,0,1,1,0,0,0,1, - 1,0, - 1]\). It obtains:

    $$P(I|L_{(20,22)} ) = \prod\limits_{j = 1}^{3} {(p)_{j} } \prod\limits_{k = 1}^{13} {(1 - p)_{k} } = (p)^{3} (1 - p)^{13}$$

Since \(0 < p \ll 1\), it can be found that \(P(I|L_{20} ) > P(I|L_{(20,22)} ) > P(I|L_{22} )\). Therefore, the fault section is \(L_{20}\).

Case 7: \(L_{34}\) is faulty, while the current information of \(S_{20}\) is missed and the voltage information of \(U_{34}\) has failed to declare. This feeder segment is modeled as shown in Fig. 7. Based on the fault information, the initial quantity of electric charges of input neurons can be obtained as:

$${{\varvec{\upalpha}}}_{0} = [1,1,0,1,0,1,0,1,0,0,0,1,0,1,0, - 1,{\mathbf{O}}_{1 \times 37} ]$$

When \(g = 0\), the results are:

$${{\varvec{\updelta}}}_{1} = [1,1,0,1,0,1,0,1,0,0,0,1,0,1,0, - 1,{\mathbf{O}}_{1 \times 21} ]$$
$${{\varvec{\upalpha}}}_{1} = [{\mathbf{O}}_{1 \times 16} ,1,1,0,1,0,1,0,1,0,0,0,1,0,1,0,0,{\mathbf{O}}_{1 \times 21} ]$$

When \(g = 1\), the results are:

$${{\varvec{\updelta}}}_{2} = [{\mathbf{O}}_{1 \times 37} ]$$

Now, the termination condition is satisfied and the reasoning process ends. The sequence of the output neurons is \([0,0,0,0,0,0,0]\), which indicates that there is no faulty segment. However, the action information of circuit breakers indicates that there is a fault occurrence. So, it is necessary to apply the contradiction principle to detect and correct the distorted nodes and find the faulty segment.

It is known that the collected current information sequence \([S_{{CB_{0} }} ,S_{1} ,S_{2} ,S_{19} ,S_{20} ,S_{21} ,S_{22} ,S_{{CB_{1} }} ]\) is \([1,1,1,1,0,1,1, - 1]\) and \([0,1]\) is detected as a contradictory information pair. If \(S_{20}\) is − 1, then \([ - 1,1]\) is also a contradictory information pair; if \(S_{20}\) is 1, then the contradiction is eliminated. Therefore, the distortion node is \(S_{20}\), and the correct current information sequence is obtained, namely, \([1,1,1,1,1,1,1, - 1]\). Since \([1, - 1]\) satisfies the sequence pair when the fault occurs, the faulty segment is thus \(L_{34}\).

5 Conclusions

This paper proposes a fault location method based on SNPSEI and Bayesian estimation for distribution networks considering distortions of fault information. Decoupling of the distribution networks can effectively reduce the modeling dimension of SNPSEI-based models and simplify the computation. In addition, the proposed SNPSEI is used to develop a parallel reasoning algorithm, which can use both the voltage and current information as the criterion, allowing determination of preliminary location results. Bayesian estimation and the information contradiction principle are introduce to verify and correct the location results. Because of the correction functions of the proposed method for both misdiagnosis and missed diagnosis, its fault location accuracy is effectively improved. The comparative simulation results show the effectiveness, feasibility and speed of the proposed method. Since the influence of meteorological factors on distribution networks is increasing, their prediction or location of faults considering such factors will be studied in the future.

Availability of data and materials

Data and materials are obtained by program software. This program software is Matlab\Simulink.

References

  1. Shen, S., Da, L., Wang, H., et al. (2017). An adaptive protection scheme for distribution systems with DGs based on optimized thevenin equivalent parameters estimation. IEEE Transactions on Power Delivery, 32(99), 411–419.

    Article  Google Scholar 

  2. Xiao, Y., Ouyang, J., Xiong, X., et al. (2020). Fault protection method of single-phase break for distribution network considering the influence of neutral grounding modes. Protection and Control of Modern Power Systems, 5(1), 1–13.

    Article  Google Scholar 

  3. Brahma, S. M. (2011). Fault location in power distribution system with penetration of distributed generation. IEEE Transactions on Power Delivery, 26(3), 1545–1553.

    Article  Google Scholar 

  4. Choi, M. S., Lee, S. J., Lee, D. S., et al. (2004). A new fault location algorithm using direct circuit analysis for distribution systems. IEEE Transactions on Power Delivery, 19(1), 35–41.

    Article  Google Scholar 

  5. Santos, W. C., Lopes, F. V., Brito, N. S. D., et al. (2017). High-impedance fault identification on distribution networks. IEEE Transactions on Power Delivery, 32(1), 23–32.

    Article  Google Scholar 

  6. Chen, R., Yin, X., Yin, X. G., et al. (2019). Computational fault time difference-based fault location method for branched power distribution networks. IEEE Access, 7, 181972–181982.

    Article  Google Scholar 

  7. Cheng, L., Wang, T., & Wang, Y. (2022). A novel fault location method for distribution networks with distributed generations based on the time matrix of traveling-waves. Protection and Control of Modern Power Systems, 7(4), 1–11.

    Google Scholar 

  8. Jia, K., Thomas, D., & Sumner, M. (2013). A new single-ended fault-location scheme for utilization in an integrated power system. IEEE Transactions on Power Delivery, 28(1), 38–46.

    Article  Google Scholar 

  9. Jia, K., Thomas, D. W. P., & Sumner, M. (2013). A new double-ended fault-location scheme for utilization in integrated power systems. IEEE Transactions on Power Delivery, 28(2), 594–603.

    Article  Google Scholar 

  10. Jia, K., Feng, T., Zhao, Q., et al. (2019). High frequency transient sparse measurement-based fault location for complex DC distribution networks. IEEE Transactions on Smart Grid, 11(1), 312–322.

    Article  Google Scholar 

  11. Kumar, A. N., Sanjay, C., & Chakravarthy, M. (2020). Mamdani fuzzy expert system based directional relaying approach for six- phase transmission line. International Journal of Interactive Multimedia and Artificial Intelligence, 6(1), 41–50.

    Article  Google Scholar 

  12. Ma, D. Y., Liang, Y. C., Zhao, X. S., et al. (2013). Multi-BP expert system for fault diagnosis of power system. Engineering Applications of Artificial Intelligence, 26(3), 937–944.

    Article  Google Scholar 

  13. Al-Shaher, M. A., Sabry, M. M., & Saleh, A. S. (2003). Fault location in multi-ring distribution network using artificial neural network. Electric Power Systems Research, 64(2), 87–92.

    Article  Google Scholar 

  14. Jamali, S., Bahmanyar, A., & Ranjbar, S. (2020). Hybrid classifier for fault location in active distribution networks. Protection and Control of Modern Power Systems, 5(1), 1–19.

    Article  Google Scholar 

  15. Chien, C. F., Chen, S. L., & Lin, Y. S. (2002). Using Bayesian network for fault location on distribution feeder. IEEE Transactions on Power Delivery, 17(3), 785–793.

    Article  Google Scholar 

  16. Ren, F., Zhang, M., & Sutanto, D. (2013). A multi-agent solution to distribution system management by considering distributed generators. IEEE Transactions on Power Systems, 28(2), 1442–1451.

    Article  Google Scholar 

  17. Cai, Y. X., & Chow, M. Y. (2011). Cause-effect modeling and spatial-temporal simulation of power distribution fault events. IEEE Transactions on Power Systems, 26(2), 794–801.

    Article  Google Scholar 

  18. Wen-Hui, C., Chih-Wen, L., & Men-Shen, T. (2000). On-line fault diagnosis of distribution substations using hybrid cause-effect network and fuzzy rule-based method. IEEE Transactions on Power Delivery, 15(2), 710–717.

    Article  Google Scholar 

  19. Deng, Y. (2022). Random Permutation Set. International Journal of Computers Communications & Control. https://doi.org/10.15837/ijccc.2022.1.4542

    Article  Google Scholar 

  20. Kiaei, I., & Lotfifard, S. (2020). Fault section identification in smart distribution systems using multi-source data based on fuzzy petri nets. IEEE Transactions on Smart Grid, 11(1), 74–83.

    Article  Google Scholar 

  21. Jiang, Z., Li, Z., Wu, N., et al. (2018). A petri net approach to fault diagnosis and restoration for power transmission systems to avoid the output interruption of substations. IEEE Systems Journal, 12(3), 2566–2576.

    Article  Google Scholar 

  22. Peng, L., Li, W. H., & Huang, D. M. (2018). Transformer fault diagnosis method based on graph theory and rough set. Journal of Intelligent & Fuzzy Systems, 35(1), 223–230.

    Article  Google Scholar 

  23. Wang, T., Liu, W., Zhao, J. B., et al. (2020). A rough set-based bio-inspired fault diagnosis method for electrical substations. International Journal of Electrical Power & Energy Systems, 119, 105961.

    Article  Google Scholar 

  24. Wang, T., Wei, X. G., Wang, J., et al. (2020). A weighted corrective fuzzy reasoning spiking neural p system for fault diagnosis in power systems with variable topologies. Engineeriing Applictions of Artificial Intelligence, 92, 103680.

    Article  Google Scholar 

  25. Paun, G. (2000). Computing with membranes. Journal of Computer and System Sciences, 61(1), 108–143.

    Article  MathSciNet  MATH  Google Scholar 

  26. Tu, M., Wang, J., & Peng, H. (2014). Application of adaptive fuzzy spiking neural p systems in fault diagnosis of power systems. Chinese Journal of Electronics, 23(1), 87–92.

    Google Scholar 

  27. Peng, H., Wang, J., & Ming, J. (2018). Fault diagnosis of power systems using intuitionistic fuzzy spiking neural P systems. IEEE Trans Smart Grid, 9(5), 4777–4784.

    Article  Google Scholar 

  28. Sun, Z., Wang, Q., & Wei, Z. (2021). Fault location of distribution network with distributed generations using electrical synaptic transmission-based spiking neural P systems. International Journal of Parallel Emergent and Distributed Systems, 36(1), 11–27.

    Article  Google Scholar 

  29. Wang, J., Peng, H., Yu, W., et al. (2019). Interval-valued fuzzy spiking neural p systems for fault diagnosis of power transmission networks. Engineering Applications of Artificial Intelligence, 82(6), 102–109.

    Article  Google Scholar 

  30. Zhang, X. H., Zhang, G. X., Paul, P., et al. (2021). Dissolved gas analysis for transformer fault based on learning spiking neural P system with belief adaBoost. International Journal of Unconventional Computing, 16, 239–258.

    Google Scholar 

  31. Wang, T., Liu, W., Cabrera, L. V., et al. (2022). A novel fault diagnosis method of smart grids based on memory spiking neural P systems considering measurement tampering attacks. Information Sciences, 596, 520–536.

    Article  Google Scholar 

  32. Zhang, H., & Guo, Z. R. (2004). Equivalent decoupling method for distribution network topology. Power System Technology, 15, 88–91.

    Google Scholar 

  33. Li, Y. Y., Wang, Z. P., & Zhao, Q. (2021). A distributed fault location method for active distribution networks based on bayesian full resolution model with multi-factor dimensionality reduction. Power System Technology, 45(10), 3917–3927.

    Google Scholar 

  34. Jiao, Y. J., Du, S. G., Wang, Q., et al. (2014). Fault section location of distribution network based on information contradiction principle of distortion information correction and distribution network. Power System Protection and Control, 42(2), 43–48.

    Google Scholar 

  35. Guo, L. S., Li, F. T., Zhao, X. L., et al. (2020). Fault section location in distribution networks containing DG based on sub-network segmentation. Power System Protection and Control, 48(7), 76–84.

    Google Scholar 

  36. Li, M. Y., Zhang, S. X., Cheng, H. Z., et al. (2021). A hierarchical fault location method for active distribution networks with distributed power sources. Proceedings of the CSU-EPSA, 33(8), 79–87.

    Google Scholar 

Download references

Acknowledgements

This research was partially funded by grants from the National Natural Science Foundation of China (61703345), the Chunhui Project Foundation of the Education Department of China (Z201980) and the Open Research Subject of Key Laboratory of Fluid and Power Machinery (Xihua University), Ministry of Education (szjj2019-27).

Author information

Authors and Affiliations

Authors

Contributions

Formal analysis, YW; Investigation, YW; Supervision, TW; Writing—original draft, YW; Writing—review & editing, TW; Data curation, LL. All authors have read and agreed to the published version of the manuscript.

Corresponding author

Correspondence to Tao Wang.

Ethics declarations

Competing interests

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Wang, Y., Wang, T. & Liu, L. A fault segment location method for distribution networks based on spiking neural P systems and Bayesian estimation. Prot Control Mod Power Syst 8, 47 (2023). https://doi.org/10.1186/s41601-023-00321-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s41601-023-00321-x

Keywords