Skip to Content
EnergiesEnergies
  • Article
  • Open Access

30 April 2026

20 Pages

Fault Diagnosis for Active Distribution Network Based on Colored and Fuzzy Colored Petri Net

,
,
and
School of Mechano-Electronic Engineering, Xidian University, Xi’an 710071, China
*
Author to whom correspondence should be addressed.

Abstract

Accurate and rapid fault diagnosis is critical for active distribution networks characterized by growing structural complexity and diverse load profiles. This paper proposes a two-stage fault diagnosis framework that synergistically combines colored Petri nets (CPN) and fuzzy colored Petri nets (FCPN). In the first stage, a CPN fault zone search model employing a breadth-first search (BFS) strategy is developed to identify suspected faulty components by processing circuit breaker operation information and grid topology. In the second stage, an FCPN diagnosis model is constructed by extending hierarchical fuzzy Petri nets through color assignment to confidence tokens. A key feature of this model is a dedicated initial confidence assessment module that dynamically evaluates the reliability of protection and circuit breaker actions by synthesizing device self-check alarms and operational timing information, thereby overcoming the limitation of empirical, static confidence assignment in existing methods. The resulting initial confidence values are then propagated through a hierarchical confidence inference module to determine the fault likelihood of each suspected component. Comparative simulations across four fault scenarios demonstrate that the proposed method achieves higher diagnostic accuracy and stronger fault tolerance than state-of-the-art approaches, correctly identifying all faulty components even under degraded alarm conditions.

1. Introduction

The integration of renewable energy generation and flexible loads has significantly increased the complexity of distribution network structures. Consequently, developing rapid and accurate fault diagnosis methods is of paramount importance for ensuring the secure operation of active distribution networks [1,2]. Currently, common fault diagnosis methods for power grids include expert systems [3], artificial neural networks [4,5], Bayesian network [6], analytical models [7,8], and Petri nets [9,10]. However, each of these methods has inherent limitations: expert systems heavily rely on expert experience, and maintaining their knowledge base is difficult; artificial neural networks lack interpretability of diagnostic results, and retraining is required when the grid topology changes, making it hard to ensure the completeness of the sample set; the Bayesian network faces difficulties in modeling and obtaining prior probabilities for complex grid structures; analytical models usually have high computational complexity and subjective weight allocation; the Petri net method is simple and intuitive, but it is not well-suited to handle uncertain events in the power grid.
Fuzzy Petri nets (FPN) have been developed to mitigate the limitations of traditional Petri nets. Ref. [11] proposes a weighted FPN based on fault propagation directions, demonstrating good adaptability to adjustments in power grid topologies; Ref. [12] integrates temporal constraints to enhance the fault tolerance of FPN diagnostic models; Ref. [13] addresses uncertainty in alarm information by employing intuitionistic fuzzy sets to represent certainty and uncertainty; Ref. [14] modifies place confidence using Gaussian functions based on time-constrained hierarchical fuzzy Petri nets; Ref. [15] designs a hierarchical FPN with confidence-time synchronized reasoning, significantly improving diagnostic accuracy. Despite these advancements, the aforementioned FPN diagnosis models depend on the offline analysis to determine the initial confidence levels for protections and circuit breaker actions. Furthermore, these diagnostic methods rely predominantly on action information and timing data from protections and circuit breakers, which limits the richness and robustness of the information utilized.
Microprocessor-based protection in power systems can directly monitor the status of internal protection components. When abnormal protection or circuit breaker operations occur, or when false alarms or missed alarms are generated, the dispatch center receives self-check alarm information through self-diagnostic technology [16]. Leveraging these self-check data from protection devices and circuit breakers, Ref. [17] constructed a multi-objective optimization model incorporating the reliability of operational status information, further improving both the speed and accuracy of fault diagnosis.
Furthermore, the proliferation of distributed energy resources within active distribution networks introduces greater topological complexity and dynamic load behavior, rendering traditional network topology analysis methods inadequate for fault zone identification. Refs. [8,18] employ breadth-first search (BFS) to rapidly identify fault zone boundaries based on post-fault electrical quantities and circuit breaker position changes. The modeling principles of colored Petri nets (CPN) for flexible manufacturing systems also provide reliable insights for determining fault zones in active distribution networks [19].
This paper proposes a fault diagnosis method for active distribution networks that synergistically combines CPN and fuzzy colored Petri nets (FCPN). First, a CPN fault zone search model is developed, rapidly identifying suspected faulty components based on circuit breaker operation information and grid topology. In the second stage, a modular FCPN diagnostic model for suspected faulty components is constructed, which is achieved by extending hierarchical FPN through assigning confidence tokens colors. The FCPN model evaluates the initial confidence of protections and circuit breakers by synthesizing self-check and timing information. The results from this assessment module are then fed into a confidence inference module, which performs hierarchical reasoning to determine the fault confidences of suspicious components. Through extensive comparative simulations of multiple case studies, the proposed fault diagnosis method achieves high diagnostic accuracy while maintaining strong fault tolerance.
The model construction and simulation examples in this paper were both completed on the CPN IDE platform, with the functions in the model defined using the ML programming language [20].
The remainder of this paper is organized as follows. Section 2 introduces CPN and FCPN foundations and the test network topology. Section 3 presents the BFS-based CPN fault zone search model, showing how self-check alarm data is incorporated as a boundary condition for reliable fault zone delineation. Section 4 constructs the FCPN diagnosis model, with the initial confidence assessment module—the core innovation—synthesizing self-check and timing information to replace empirical assignment, followed by the hierarchical confidence inference module. Section 5 reports comparative case studies, and Section 6 concludes the paper.

2. Preliminaries

2.1. Colored Petri Net (CPN)

As an advanced extension form of the classic Petri net, the colored Petri net (CPN) assigns colors to tokens, thereby endowing them with additional attributes that can distinguish different types of resources in complex systems [21]. A CPN is formally defined as a 8-tuple: C P N = ( P , R , F , C , I , O , G , M 0 ) , where
  • ( P , R , F ) is a basic Petri net, where P = { p 1 , p 2 , … , p n } is a finite set of places, R = { r 1 , r 2 , … , r n } is a finite set of transitions, and F = ( P × R ) ∪ ( R × P ) is the arc set of the net.
  • C is the color set, which defines the type and attribute of tokens stored in the place. Tokens come in two types: monochrome and composite color. Monochrome tokens are represented as n 1 ′ d , where n 1 denotes the number of tokens and d denotes the monochrome attribute. Composite color tokens are represented as n 2 ′ ( d 1 , d 2 , … , d m ) , where n 2 denotes the number of tokens and ( d 1 , d 2 , … , d m ) denotes the composite color attribute, which is a tuple composed of m monochrome attributes: d 1 , d 1 , … , d m .
  • I is an expression on the input arc from the place to the transition, representing a finite number of tokens i 1 ′ d or i 2 ′ ( d 1 , d 2 , … , d m ) from the input place, where i 1 , i 2 denotes the number of tokens and d , ( d 1 , d 2 , … , d m ) denotes the token attributes.
  • O is an expression on the output arc from the transition to the place, representing a finite number of tokens conforming to the token type and attributes of the output place, or a function f ( d 1 , d 2 , … , d s ) whose result conforms to the token type and attributes of the output place, where f is the function name, and d 1 , d 1 , … , d s are token attributes in the input expression I.
  • G is a guard function that defines the preconditions for firing a transition. G returns a BOOL value; when the result is true, the transition is allowed to fire.
  • M 0 denotes the initial state (marking). M 0 ( p i ) represents the number of tokens in the place p i under the initial marking.
For x ∈ P ∪ R , x · = { y ∣ y ∈ P ∪ R ∧ ( y , x ) ∈ F } is called the pre-set of x. For CPN, when there is no guard function on transition r, the fire condition for r is ∀ p ∈ r · , M ( p ) ≥ I ( p , r ) ; when there is a guard function on r, r is fired only if the guard function evaluates to true in addition to the aforementioned conditions.
A simple CPN model is shown in Figure 1, where C 1 and C 2 denote the color sets corresponding to the place p 1 and p 2 , respectively. G is the guard function for transition r, I is the input expression from p 1 to r, and O is the output expression from r to p 2 .
Figure 1. A simple CPN model.

2.2. Fuzzy Colored Petri Net (FCPN)

In hierarchical fuzzy Petri nets, tokens are real numbers on the interval [0, 1], representing the confidence level of the propositions associated with their respective places. Building upon the CPN framework, this paper assigns colors to confidence tokens within hierarchical fuzzy Petri nets, thereby proposing a fuzzy colored Petri net (FCPN). A FCPN is formally defined as a 9-tuple: F C P N = ( P , R , F , C , I , O , W , T h , M 0 ) , where
  • The definitions of P , R , F , C , I , O and M 0 are identical to those of CPN.
  • W = { w 1 , w 2 , … , w n } ∪ { u 1 , u 2 , … , u m } is the weight set for input and output expressions. w 1 , w 2 , … , w n are the weight set for input expression I. u 1 , u 2 , … , u m are the weight set for output expression O.
  • T h is the threshold corresponding to the transition.
For transition r, the enabling condition requires that the weighted cumulative sum of confidence tokens from its input places meets or exceeds this threshold. To facilitate subsequent modeling operations on the CPN IDE platform, the following function equivalent to T h is provided:
H ( x ) = 0 , x < t h x , x ≥ t h
where x represents the weighted cumulative sum of input confidence, and t h is a real number in the interval [0, 1], denoting the threshold value.
For FCPN, the fire condition for the transition r is ∀ p ∈ r · , M ( p ) ≥ I ( p , r ) .
Figure 2a depicts a simplified hierarchical FPN model, where w 1 and w 2 represent the weights of input confidence from places p 1 and p 2 , respectively, u denotes the weight of output confidence from transition r to place p 3 , and t h is the threshold for r.
Figure 2. A hierarchical FPN and the corresponding FCPN model.
The corresponding FCPN model derived from this structure is shown in Figure 2b. The color set C specifies that the place p 1 , p 2 , and p 3 all hold confidence tokens. c 1 and c 2 represent the input confidence from p 1 and p 2 , respectively. w 1 and w 2 are the weights for c 1 and c 2 , respectively. H is the equivalence function for the transition r threshold, O is the output function, and u is the weight for O. After r fires, the output confidence obtained from the expression on the output arc in the diagram is stored in p 3 .

2.3. Typical Active Distribution Network

A typical active distribution network system architecture [22] is shown in Figure 3. In this diagram, S represents the main power source, DG1–DG3 denote distributed generation units, T0–T3 indicate transformers, CB1–CB17 signify circuit breakers, A1–A7 denote busbars, and L1–L10 represent power lines.
Figure 3. System structure of an active distribution network.
All lines in this active distribution network are equipped with main protection, near-backup protection, and far-backup protection. For lines downstream of the main power source and distributed power sources, a single-side protection is installed near the power source side, following traditional distribution network practices. For lines upstream of distributed power sources, a protection is installed on both sides of the line. All busbars in the distribution network are equipped with corresponding main protections. Transformers utilize integrated main and backup protection devices, where main protections and backup protections are not distinguished and are unified as a single category of protection [23].

3. CPN Fault Zone Search Model

When conducting fault diagnosis for the active distribution network, it is usually necessary to first search for the fault zones within the distribution network to identify the suspected faulty components, and then conduct diagnostic analysis targeting the suspected components. CPN has great application potential in power grid fault diagnosis due to its unique advantage of distinguishing different types of information using colors [24]. Moreover, applying the BFS strategy to perform fault zone search avoids full-network topological analysis as in traditional methods, thereby improving computational efficiency. Accordingly, this section proposes a CPN model based on the BFS strategy to achieve the search for the fault zones in the active distribution network.

3.1. CPN Model Design

A circuit breaker equipped with single-side protection will only trip normally due to a fault on that line or the downstream line. Therefore, research on determining fault zones in active distribution networks primarily focuses on scenarios involving multiple circuit breaker trips on lines with double-side protection.
A complete path is defined as a set of adjacent components in the power grid connected by closed circuit breakers. All components along this path are arranged sequentially into a complete component sequence. A complete sequence that contains no active components such as transformers or power sources is termed a passive path component sequence. Based on the BFS method for searching fault zones, this paper develops the active distribution network CPN fault zone search model shown in Figure 4.
Figure 4. CPN fault zone search model for active distribution networks.
The CPN fault zone search model operates by inferring all possible passive path component sequences. It initiates the search from the components adjacent to a tripped circuit breaker and utilizes both the real-time breaker status information and the static network topology to trace connected paths, ultimately identifying the potential fault zones. By constructing a CPN fault zone search model, the visualization and integration of the fault area search process can be achieved. This not only makes the reasoning process clearer and more intuitive, but also facilitates the real-time update and maintenance of alarm information and the power grid topology.
According to the relevant definitions of component sequences and the search logic of the BFS method presented above, the model’s color sets, token types, and attributes are formally defined in Table 1 and Table 2, respectively. Among them, the operation state of circuit breakers is read as a BOOL value. For circuit breakers involved in alarms, their operation states are set to false; for those not involved, their operation states are set to true.
Table 1. Color sets for the CPN model in Figure 4.
Table 2. Token types and attributes of the CPN model in Figure 4.
G _ 1 and G _ 2 are the guard functions for transitions s e a r c h _ 1 and s e a r c h _ 2 , respectively. s r c h 2 _ 1 , s r c h 2 _ 2 , and s r c h 3 are the functions on the output arcs for transition s e a r c h _ 2 to place C o m p m , s e a r c h _ 2 to place C o m p k , and s e a r c h _ 3 to place C o m p f , respectively. The descriptions of these functions are shown in Table 3.
Table 3. Functions of the CPN model in Figure 4.

3.2. Search Algorithm and Process

For a given active distribution network, tokens conforming to the color set are pre-assigned to the place C o m p and C B s based on the network topology. Upon a fault occurrence, the model advances the search for the fault zones by firing transitions s e a r c h _ 1 , s e a r c h _ 2 , and s e a r c h _ 3 , as depicted in the flowchart in Figure 5. The firing sequence is strictly defined: first, s e a r c h _ 1 is fired repeatedly until no longer enabled; then, s e a r c h _ 2 is fired under the same condition; finally, s e a r c h _ 3 is fired. Upon completion of this firing sequence, passive path component sequences accumulated in place C o m p f constitutes the fault zones.
Figure 5. Fault zone searching flow diagram of CPN model.

3.3. Case

Based on the grid topology in Figure 3, tokens are pre-assigned to the place C o m p and C B s . When the dispatch center receives alarms indicating that circuit breakers CB5, CB9, and CB11 have been triggered:
  • Update the tokens in the place C B l and C B s to obtain the initial marking M 0 for the model. For C B l , M 0 ( C B l ) = 1 ′ ( CB 5 , L 2 ) + 1 ′ ( CB 5 , A 3 ) + 1 ′ ( CB 9 , A 3 ) + 1 ′ ( CB 9 , T 2 ) + 1 ′ ( CB 11 , L 5 ) + 1 ′ ( CB 11 , A 6 ) ; for C B s , simply update the state of the tripped circuit breaker tokens, e.g., update (CB5, true, L2, A3) to (CB5, false, L2, A3). The same applies to CB9 and CB11.
  • s e a r c h _ 1 is fired repeatedly, resulting in the marking M 1 . At this point, M 1 ( C o m p m ) = 1 ′ (L2, L2, CB5, CB5) + 1 ′ (A3, A3, CB5, CB5) + 1 ′ (A3, A3, CB9, CB9) + 1 ′ (T2, T2, CB9, CB9) + 1 ′ (L5, L5, CB11, CB11) + 1 ′ (A6, A6, CB11, CB11).
  • s e a r c h _ 2 is fired repeatedly, leading to the marking M 2 . At this point, M 2 ( Compk ) = 1 ′ ( A 3 , A 3 ) + 1 ′ ( L 5 A 3 , A 3 ) . The token 1 ′ ( A 3 , A 3 ) indicates that A3 itself constitutes a complete component sequence: since both adjacent circuit breakers of A3 (CB5 and CB9) have tripped, the guard function G _ 2 prevents further path extension, causing the sequence to terminate immediately at A3.
  • s e a r c h _ 3 is fired repeatedly, producing the marking M 3 . At this point, M 3 ( C o m p f ) = 1 ′ A 3 + 1 ′ L 5 A 3 . Take the union of the corresponding sets for each sequence, { A 3 } ∪ { L 5 , A 3 } = { L 5 , A 3 } , identifying the suspected faulty components L5 and A3.

4. FCPN Suspected Faulty Component Diagnosis Model

In terms of diagnosing and analyzing suspected faulty components, this section, based on the hierarchical FPN, assigns colors to the confidence tokens and constructs an FCPN suspected faulty component diagnosis model. This model enables an integrated and visual reasoning from multiple sources of fault symptom information to fault confidence, thereby quickly and accurately inferring the actual faulty components.

4.1. Inference Module

The FCPN inference module is constructed based on transforming hierarchical FPN models [12,14] into an equivalent structure. Taking A3 and L5 in Figure 3 as examples, their respective inference modules are shown in Figure 6 and Figure 7. The module treats confidence as a monochromatic token, providing the prerequisite for synthesizing alarm information to evaluate initial confidence and establish an integrated FCPN diagnostic model.
Figure 6. FCPN inference module for A3.
Figure 7. FCPN inference module for L5.
In Figure 6 and Figure 7, S and R denote the sending end (left, upper side) and receiving end (right, lower side) of the line, respectively. The superscripts m, p, and s respectively represent main protection, near backup protection, and far backup protection.
For instance: A3m indicates the main protection for bus A3; L5Sp denotes the near backup protection for the sending end of line L5; T3s signifies the far backup protection for transformer T3.
Aligned with the reasoning mechanism of hierarchical FPN, the FCPN inference module executes backward reasoning along the propagation direction of component faults. Within the module, the first layer place from the left represents the proposition “a protection or circuit breaker has tripped”; the second layer place indicates “confirmation that a protection and its corresponding circuit breaker have tripped”; the third layer place denotes a specific propagation direction of a component fault; and the fourth layer place is the termination place, signifying “a component has failed”. Color sets C 1 , C 2 , C 3 , and C 4 respectively define the confidence tokens stored in each layer’s places.
The parameters for the inference module, including weights, thresholds, and output functions, are configured following the principles established in [12,14], with specific adaptations for the FCPN structure.
For the first-layer input weights w 1 , w 2 , … , w n , corresponding to whether the place represents protection or circuit breaker, they are set to 0.54 and 0.46, respectively. For input weights in the second and third layers, if the corresponding transition has multiple input places, the input weight is set to the reciprocal of the number of places, ensuring the output confidence is the average of the corresponding proposition confidences; otherwise, the input weight is set to 1.
The first-layer output weights u 1 , u 2 , … , u m are set to 1, 0.95, and 0.85 corresponding to main protection, near backup protection, or far backup protection, respectively. For other layers, the output weight is set to 1.
The transition threshold for both the first and second layers is set to 0.2, while no threshold is set for the third layer transition.
The output confidence for the first and second layers is corrected by a Gaussian function, defined as:
G ( x ) = e − α ( x − 1 ) 2
where x represents the output confidence Based on [14], conduct the operation for determining the value of α . Setting α = 3 ensures that when x < 0.5 , a lower output confidence is obtained to suppress false diagnosis; conversely, when x ≥ 0.5 , a higher output confidence is achieved to reinforce correct diagnosis.

4.2. Initial Confidence Assessment Module

In existing FPN methods, the confidence of a tripped protection or circuit breaker is typically determined by its correct operation rate over a past period. This prior probability assignment approach fails to adequately consider specific fault alarm information. When protection devices experience failure to operate or misoperation, or when alarm information suffers from underreporting or misreporting, it may lead to misjudgments or misclassifications of faulty components [17]. To overcome this limitation, this work introduces a dedicated initial confidence assessment module. This module dynamically evaluates the initial confidence for each alarm by synthesizing multiple information streams: the operational state of the device, its self-check alarm status, and the precise timing of the action. This context-aware assessment provides a more robust and accurate input for the subsequent inference module.

4.2.1. Assessment of Operation State Confidence

Modern protection devices are equipped with self-diagnostic functions that typically generate a self-check warning when internal anomalies are detected, which may coincide with false alarms or missed alarms in the operation information. Crucially, however, a self-check warning is not a definitive indicator of an incorrect operation report. Modern protection devices are equipped with self-diagnostic functions that typically generate a self-check warning when internal anomalies are detected, which may coincide with false alarms or missed alarms in the operation information [8]. The proposed method evaluates the confidence of operation status based on self-check information received by the dispatch center regarding the operation of protection or circuit breakers. The mapping rules for this assessment, derived from system reliability considerations and expert knowledge, are summarized in Table 4.
Table 4. Mapping for operation state confidence assessment.
The confidence values in Table 4 are derived from three sources. First, the base values for the “Operation, No Self-Check Alarm” column are anchored to the minimum correct operation rates specified in Chinese relay protection standards (GB/T 14285, DL/T 995): main protection 0.95, near-backup 0.90, far-backup 0.85, and circuit breaker 0.85. Second, the effect of a self-check alarm is modeled based on field reliability data [17]: a self-check alarm is treated as halving the confidence in a reported operation (mapping to 0 for operation-with-alarm), while raising the confidence in a missed operation to 0.4 to reflect the elevated probability of device malfunction. Third, all values were validated against the four case studies in Section 5; no adjustment beyond the standard-based initialization was required.

4.2.2. Assessment of Operating Timing Confidence

Following the methodologies in [12,14], this work utilizes time interval constraints for operations of protections and circuit breakers. By performing backward reasoning on the temporal information of operations received by the dispatch center, it derives time constraints for the cause events corresponding to faults. Subsequently, forward reasoning is applied to obtain time point constraints for operations, thereby validating the temporal information of operations and enabling assessment of the confidence of operational timing. Let T denote a time point, and let D ( T i , T j ) denote the time interval from T i to T j . The time interval constraints for operations of protections and circuit breakers are defined as follows:
D ( T v , T m ) = [ 10 , 40 ] ms
D ( T v , T p ) = [ 260 , 340 ] ms
D ( T v , T s ) = [ 950 , 1070 ] ms
D ( T K , T CB ) = [ 20 , 40 ] ms
D ( T v , T CB ) = D ( T v , T K ) + D ( T K , T CB )
where v denotes the cause event, m, p, and s represent the main protection, near-backup protection, and far-backup protection, respectively. K represents various protections, namely m, p, or s. And CB denotes the circuit breaker.
Let the time point when the failure-causing event occurred be t v . By performing backward reasoning on the temporal information t 1 , t 2 , … , t n for operations of protections and circuit breakers, multiple time constraints T v 1 , T v 2 , … , T v n for potential cause events are derived. The intersection of these time constraints is taken to ultimately determine the time constraints T v ′ for the cause event. The specific operations for backward reasoning are as follows:
T v i = t i − D ( t v , t i )
T v − = max T v 1 , T v 2 , … , T v n
T v + = min T v 1 , T v 2 , … , T v n
T v ′ = T v − , T v +
where i = 1 , 2 , … , n .
Through forward reasoning, the time point constraints T 1 ′ , T 2 ′ , … , T n ′ for the operation of each protection and circuit breaker are obtained, with the specific calculations as follows:
T i ′ = T v ′ + D ( t v , t i )
where i = 1 , 2 , … , n .
Verify the temporal information t 1 , t 2 , … , t n of each protection and circuit breaker sequentially, determining whether t i ∈ T i ′ , where i = 1 , 2 , … , n . If t i ∈ T i ′ , the corresponding protection device or circuit breaker’s operating timing confidence is 1; if t i ∉ T i ′ , the operating timing confidence is 0.

4.2.3. Comprehensive Assessment of Initial Confidence

For the operation of a certain protection or circuit breaker, let the state confidence be C s and the timing confidence be C t . The initial confidence C i of the operation is obtained by synthesizing C s and C t . The synthesis formula is as follows:
C i = 0.55 C s + 0.45 C t
Considering that the operation time information of the protection and the circuit breaker only appears after the change of the operation state, it is analogous to the first layer input weights of the FCPN inference module, which take values based on whether the input place represents protection or the circuit breaker. Therefore, the weight values of C s and C t are set to 0.55 and 0.45, respectively.
Based on the aforementioned principles, the initial confidence assessment module is established, taking A3 in Figure 3 as an example, as shown in Figure 8.
Figure 8. Initial confidence assessment module for A3.
The module’s color sets, token types and token attributes are introduced in Table 5 and Table 6, respectively.
Table 5. Color sets for the initial confidence assessment module.
Table 6. Token types and attributes for the initial confidence assessment module.
The module undergoes three layers of transition, with corresponding output functions F s , F t , and F i .
Function F s derives the corresponding operation state confidence from the operation and self-check information based on the mapping relationship in Table 4.
Function F t derives operation time point constraints using Equations (8)–(12), then calculates the corresponding operation timing confidences by verifying temporal information of operations.
Function F i determines the initial confidence for the operation of a specific protection or circuit breaker using Equation (13). The timing information is derived from the wide-area synchronization system of the power grid. Its reliability is relatively independent of the internal self-checking status of the protection device. Therefore, even if there is a self-check alarm, the timing information still retains some reference value. The weighted combination of the two can provide a more robust initial confidence estimation compared to a single information source.
By sequentially firing the three layers of transition, the module successively obtains operation state confidences, operation timing confidences, and the initial confidences of operation information.
For components such as busbars and lines in an active distribution network, an initial confidence assessment module and an inference module are constructed for each component. By connecting these two modules in series—initial confidence assessment module followed by inference module—an FCPN suspected faulty component diagnosis model can be established for each grid component separately. By sequentially executing the initial confidence assessment module and the inference module, the FCPN diagnosis model can achieve accurate diagnosis of the corresponding suspected faulty components.
Although the settings of weights, thresholds, and output functions in the inference module of the FCPN diagnosis model, as well as the assessment of operating timing confidence in the initial confidence assessment module, are based on [12,14], the FCPN diagnosis model reconstructs the reasoning logic of fault confidence. Refs. [12,14] require pre-calculation and analysis of the initial confidences of operations for protections and circuit breakers before invoking the FPN model, resulting in low diagnostic efficiency and poor process continuity. Moreover, the fault symptom information processed in [12,14] mainly includes operation information and temporal information of relay protection devices, with insufficient information richness that affects diagnostic accuracy.
Compared with similar methods, the FCPN diagnosis model proposed in this paper exhibits more prominent advantages in fault diagnosis for active distribution networks. It assigns colors to confidence tokens, enabling integrated and visual reasoning from multi-source fault symptom information to fault confidence. Specifically, the model first directly uses the self-check information and timing information of relay protection actions to evaluate the initial confidences of operations for protections and circuit breakers, and then obtains the fault confidences of suspected components through layer-by-layer confidence reasoning. These advantages not only overcome the defect in other similar methods where initial confidence relies only on prior probability assignment approach, but also significantly improve the diagnostic accuracy for suspected faulty components. Relevant case verification will be presented later.

5. Case Study and Comparison

5.1. Fault Diagnosis Process

Based on the foregoing introduction to the CPN fault zone search model and the FCPN suspected faulty component diagnosis model, this paper proposes a fault diagnosis process based on multi-source fault symptom information. When the dispatch center receives alarms from the active distribution network, the fault diagnosis process proceeds as follows:
  • Update the CPN fault area search model based on circuit breaker operation information, then run the model to identify all suspected faulty components.
  • Sequentially retrieve the FCPN diagnosis models for each suspected faulty component. By executing their respective initial confidence assessment modules and inference modules, obtain the corresponding fault confidence for each component.
  • Given that the fault diagnosis accuracy of the method presented in this paper is relatively high, this paper adopts a higher final fault confidence threshold of 0.75 compared to similar methods. If the confidence of a suspected faulty component is greater than or equal to 0.75, it is deemed faulty; otherwise, it is considered in normal state.
  • Based on the diagnosis results, evaluate the operations of protections and circuit breakers against the alarm information [12].

5.2. Case Verification

Taking the A3 fault in Figure 3 as an example, the dispatch center received alarm information (A3m, 12 ms), (CB5, 35 ms), (CB9, 37 ms), (L5Rs, 990 ms), (CB11, 1015 ms), and a self-check alarm indicating abnormal operation of CB10.
The specific fault diagnosis process is as follows:
  • For tripped circuit breakers CB5, CB9, and CB11, update and run the CPN fault zone search model to identify suspected faulty components A3 and L5. Refer to Section 2.3 for the detailed process.
  • The A3 diagnosis process is as follows:
    (a)
    Retrieve the FCPN diagnosis model for A3, and store the information of protections and circuit breakers as composite color tokens in the first-layer places of the initial confidence assessment module shown in Figure 8:
    P 1 = [ ( m , false , true , 12 ) , ( mk , false , true , 35 ) , ( mk , false , true , 37 ) , ( mk , true , false , ⌀ ) , ( s , true , true , ⌀ ) , ( s , true , true , ⌀ ) , ( sk , true , true , ⌀ ) , ( s , false , true , 990 ) , ( sk , false , true , 1015 ) ] ;
    (b)
    Fire the first-layer transitions of initial confidence assessment module to generate operation state confidences, which is stored in the second-layer places:
    P 2 = [ ( 0.95 , m , 12 ) , ( 0.85 , mk , 35 ) , ( 0.85 , mk , 37 ) , ( 0.4 , mk , ⌀ ) , ( 0.1 , s , ⌀ ) , ( 0.1 , s , ⌀ ) , ( 0.1 , sk , ⌀ ) , ( 0.85 , s , 990 ) , ( 0.85 , sk , 1015 ) ] ;
    (c)
    Fire the second-layer transitions of initial confidence assessment module to generate operation timing confidences, which is stored in the third-layer places:
    P 3 = [ ( 0.95 , 1 ) , ( 0.85 , 1 ) , ( 0.85 , 1 ) , ( 0.4 , 0 ) , ( 0.1 , 0 ) , ( 0.1 , 0 ) , ( 0.1 , 0 ) , ( 0.85 , 1 ) , ( 0.85 , 1 ) ] ;
    (d)
    Fire the third-layer transitions of initial confidence assessment module to generate initial confidences, which is stored in the fourth-layer places:
    P 4 = [ 3 ′ 0.9725 , 0.9175 , 2 ′ 0.9175 , 0.4 , 0.1 , 0.1 , 0.1 , 0.9175 , 0.9175 ] ;
    (e)
    The initial confidences stored in the fourth-layer places of this module are passed to the first-layer places of the inference module, The confidences of the first-layer places in the inference module are then:
    P 1 ′ = [ 3 ′ 0.9725 , 0.9175 , 2 ′ 0.9175 , 0.4 , 0.1 , 0.1 , 0.1 , 0.9175 , 0.9175 ] ;
    (f)
    Fire the first-layer transitions of the inference module to generate confidences of the second-layer places within that module:
    P 2 ′ = [ 0.9917 , 0.9917 , 0.7759 , 0 , 0 , 0.8328 ] ;
    (g)
    Fire the second-layer transitions of the inference module to generate confidences of the third-layer places within that module:
    P 3 ′ = [ 0.9998 , 0.9998 , 0.8601 & 0.9196 ] ;
    (h)
    Fire the third-layer transition of the inference module; for each input confidence of this transition, take the maximum confidence value from the corresponding place, thereby the final termination place’s confidence is 0.9731.
  • In summary, the fault confidence for A3 is 0.9731 > 0.75, indicating that A3 is the faulty component. Similarly, the fault confidence for L5 determined through diagnosis is 0.0738 < 0.75, indicating that L5 is not the faulty component.
  • The final conclusion is that the fault occurred at busbar A3, and circuit breaker CB10 failed to operate.
This section presents the complete step-by-step confidence evolution for case 1 (A3 fault scenario), covering both the faulty component A3 and the non-faulty suspected component L5. Figure 9 provides a unified visual representation of this process.
Figure 9. A flowchart combined with confidence values.
The diagnosis process adopted in the above case verification is general. When extended to other active distribution networks with conventional structures, it only needs to update the token values of relevant places in the CPN fault zone search model according to the network topology, and construct the corresponding FCPN diagnosis models for each power component based on the modeling method in Section 4 to complete the adaptation.

5.3. Comparison and Analysis

For the active distribution network depicted in Figure 3, this paper designs multiple potential fault scenarios, as shown in Table 7. Concurrently, the modeling and simulation of the proposed method and those from [14,15] are implemented on the CPN IDE platform, with diagnosis results compared as presented in Table 8.
Table 7. Possible fault scenarios in the active distribution network.
Table 8. Comparison of fault diagnosis results between this method and other methods.
Table 8 is structured as follows. Each case block (cases 1–4) lists the suspected faulty components identified by the CPN fault zone search (Fault Zone column) along with the fault confidence assigned to each component by each method (Confidence column) and the corresponding operation evaluation (Operation Evaluation column). A component is diagnosed as faulty if its confidence meets or exceeds the method’s threshold. The operation evaluation is derived post-diagnosis by comparing expected protection/breaker behavior against the received alarm set: absent expected alarms indicate failure-to-operate; present alarms inconsistent with the diagnosed fault location indicate misoperation or false alarm. As a worked example: in case 1, the proposed method assigns A3 a confidence of 0.9731 (≥0.75, diagnosed faulty) and L5 a confidence of 0.0738 (<0.75, diagnosed normal). The operation evaluation “CB10 failed to operate” follows from the observation that CB10—which should have tripped to isolate the A3 busbar fault—appears in the alarm list only with a self-check warning and no operation record, consistent with its low initial confidence of 0.4 in the assessment module. In Case 4, note that the Fault Zone for methods [14,15] contains only three components (L2 absent), indicating that the fault zone search stage of those methods failed to identify L2 as a suspected component—a limitation that the CPN self-check integration of the proposed method overcomes.
The final fault confidence thresholds for the proposed method and methods [14,15] are 0.75, 0.65, and 0.65, respectively. In Table 7 and Table 8, case 1 depicts a simple bus fault scenario, which all three methods accurately diagnose. Case 3 involves a line fault with dual-side protection where circuit breaker failure to trip and misoperation occur; all three methods also yield satisfactory diagnosis results. Case 2 involves a line fault with single-side protection, where protection underreporting and circuit breaker failure to trip occur; the methods proposed in this paper and in [14] both obtain accurate diagnosis results, whereas the method from [15] misdiagnoses bus A6 as faulty during diagnosis, primarily due to the excessively high initial confidence set by the circuit breaker place in its model design. Case 4 depicts a complex multiple-fault scenario: due to underreporting of alarm information from circuit breaker CB4, methods from [14,15] incorrectly define the fault zone and fail to include L2 among the suspected faulty components, ultimately leading to the misdiagnosis of L2’s failure; in contrast, this paper incorporates CB4 as a boundary circuit breaker into the CPN fault zone search model based on self-check information, thereby identifying all suspected faulty components.
In the aforementioned fault scenarios, this paper achieves accurate diagnosis results even when protection or circuit breakers fail to operate, misoperation, or when alarm information suffers from underreporting, misreporting. Although the confidences of the faulty components identified by this paper is slightly lower than that of the method in [15], this paper avoids misjudgments or omissions of power grid components, resulting in more accurate and comprehensive diagnosis results. Simultaneously, the confidences of non-faulty components diagnosed by this method are significantly lower than that in [14,15], enhancing the robustness of diagnosis results. The above analysis demonstrates that the fault diagnosis method proposed in this paper has higher fault tolerance and accuracy compared with similar methods in recent years.

6. Conclusions

This paper has proposed a two-stage fault diagnosis method for active distribution networks based on colored Petri nets and fuzzy colored Petri nets. A fault zone search model for colored Petri nets is developed using breadth-first search, identifying suspected faulty components based on circuit breaker operation information and grid topology. The model’s universality is validated through simulation examples. Building upon hierarchical fuzzy Petri nets, a diagnosis model using fuzzy colored Petri nets is constructed by assigning colors to confidence tokens. Initial confidence is first dynamically assessed by synthesizing self-check alarm data and operational timing information from protection devices and circuit breakers. Subsequently, the fault confidence for a suspected component is derived through hierarchical confidence inference. By integrating self-check and timing information from protection and circuit breaker operations, this paper introduces a more rational and context-aware initial confidence assessment method, addressing the fundamental shortcoming of static, experience-based assignment in existing approaches. Finally, through multiple simulation case studies and comparative analysis against state-of-the-art methods, the proposed approach is demonstrated to achieve rapid and accurate fault diagnosis in active distribution networks with high fault tolerance, offering significant practical value for real-world power system operation.

Author Contributions

Conceptualization, Y.Q. and Y.H.; methodology, Y.Q. and Y.H.; software, Y.Q. and H.Z.; validation, Y.Q.; resources, Y.H. and D.L.; data curation, Y.Q.; writing—original draft preparation, Y.Q. and Y.H.; writing—review and editing, Y.Q. and H.Z.; supervision, Y.H. and D.L.; project administration, Y.Q. and H.Z.; funding acquisition, Y.H. and D.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China (Grant No. 62302364).

Data Availability Statement

All the data are available in the manuscript.

Acknowledgments

The authors gratefully acknowledge the support of the National Natural Science Foundation of China.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Liu, L.; Zhai, R.; Hu, Y. Performance evaluation of wind-solar-hydrogen system for renewable energy generation and green hydrogen generation and storage: Energy, exergy, economic, and enviroeconomic. Energy 2023, 276, 127386. [Google Scholar] [CrossRef] [Scilit]
  2. Peng, X.; Liu, Z.; Jiang, D. A review of multiphase energy conversion in wind power generation. Renew. Sustain. Energy Rev. 2021, 147, 111172. [Google Scholar] [CrossRef] [Scilit]
  3. Zhou, X.; Xue, S.; Du, H.; Ma, Z. Optimization of building demand flexibility using reinforcement learning and rule-based expert systems. Appl. Energy 2023, 350, 121792. [Google Scholar] [CrossRef] [Scilit]
  4. Thomas, J.B.; Chaudhari, S.G.; Shihabudheen, K.V.; Verma, N.K. CNN-Based Transformer Model for Fault Detection in Power System Networks. IEEE Trans. Instrum. Meas. 2023, 72, 2504210. [Google Scholar] [CrossRef] [Scilit]
  5. Siddique, M.N.I.; Shafiullah, M.; Mekhilef, S.; Pota, H.; Abido, M.A. Fault classification and location of a PMU-equipped active distribution network using deep convolution neural network (CNN). Electr. Power Syst. Res. 2024, 229, 110178. [Google Scholar] [CrossRef] [Scilit]
  6. Khadse, C.; Patharkar, A.A.; Chaudhari, B.S. Electromagnetic field and artificial intelligence based fault detection and classification system for the transmission lines in smart grid. Energy Sources Part A-Recovery Util. Environ. Eff. 2021, 7, 1948637. [Google Scholar]
  7. Zhang, X.; Ding, R.; Wang, Z.; Guo, Z.; Liu, B.; Wei, J. Power grid fault diagnosis model based on the time series density distribution of warning information. Int. J. Electr. Power Energy Syst. 2023, 146, 108774. [Google Scholar] [CrossRef] [Scilit]
  8. Dong, M.; Zhang, Y.; Zhang, Y.; Wen, F.; Sun, W.; Wang, C. An analytic model for power system fault diagnosis employing electrical data. Autom. Electr. Power Syst. 2023, 37, 55–62. [Google Scholar]
  9. Calderaro, V.; Hadjicostis, C.N.; Piccolo, A.; Siano, P. Failure Identification in Smart Grids Based on Petri Net Modeling. IEEE Trans. Ind. Electron. 2011, 58, 4613–4623. [Google Scholar] [CrossRef] [Scilit]
  10. Jiang, Z.; Li, Z.; Wu, N.; Zhou, M. A Petri Net Approach to Fault Diagnosis and Restoration for Power Transmission Systems to Avoid the Output Interruption of Substations. IEEE Syst. J. 2018, 12, 2566–2576. [Google Scholar] [CrossRef] [Scilit]
  11. Yang, J.; He, Z.; Zang, T. Power system fault-diagnosis method based on directional weighted fuzzy Petri nets. Proc. Chin. Soc. Electr. Eng. 2010, 30, 42–49. [Google Scholar]
  12. Xu, B.; Yin, X.; Yin, X.; Wang, Y.; Pang, S. Fault Diagnosis of Power Systems Based on Temporal Constrained Fuzzy Petri Nets. IEEE Access 2019, 7, 101895–101904. [Google Scholar] [CrossRef] [Scilit]
  13. Zhang, X.; Yue, S.; Zha, X. Method of power grid fault diagnosis using intuitionistic fuzzy Petri nets. IET Gener. Transm. Distrib. 2018, 12, 295–302. [Google Scholar] [CrossRef] [Scilit]
  14. Yang, F.; Yu, Y. Fault diagnosis of distribution network based on time constrained hierarchical fuzzy Petri nets. Power Syst. Prot. Control 2020, 48, 99–106. [Google Scholar]
  15. Cheng, X.; Zhuang, X.; Meng, L. Fault Diagnosis Method of Power Grid Based on Weighted Fuzzy Temporal Constraint Petri Net. Smart Power 2023, 48, 83–90. [Google Scholar]
  16. Chen, Q.; Zhou, X.; Sun, M.; Zhang, X. Fault Tracking Method for Relay Protection Devices. Energies 2021, 14, 2723. [Google Scholar] [CrossRef] [Scilit]
  17. Ying, L.; Jia, Y.; Li, W. Research on state evaluation and risk assessment for relay protection system based on machine learning algorithm. IET Gener. Transm. Distrib. 2020, 14, 3619–3629. [Google Scholar] [CrossRef] [Scilit]
  18. Jin, L.; Chen, Q.; Ji, J.; Zhou, X. A Power Grid Fault Diagnosis Method in the Case of Alarm Information Loss Based on the Top-k Skyline Query Algorithm. Energies 2021, 14, 6223. [Google Scholar] [CrossRef] [Scilit]
  19. Kaid, H.; Al-Ahmari, A.; N. Alqahtani, K. Fault Detection, Diagnostics, and Treatment in Automated Manufacturing Systems Using Internet of Things and Colored Petri Nets. Machines 2023, 11, 173. [Google Scholar] [CrossRef] [Scilit]
  20. The CPN-IDE Application. Available online: http://cpntools.org/cpn-ide (accessed on 23 April 2026).
  21. Jensen, K.; Kristensen, L.M. Coloured Petri Nets Modeling and Validation of Concurrent Systems, 1st ed.; Springer: Berlin, Germany, 2009; pp. 83–87. [Google Scholar]
  22. Cheng, M.; Zhang, X.; Xu, M.; Xue, Y.; Wu, W.; He, Y. Location method of an active distribution network fault section based on multi—Target weighted grey target decision. Power Syst. Prot. Control 2021, 49, 124–132. [Google Scholar]
  23. Sevov, L.; Khan, U.; Zhang, Z. Enhancing Power Transformer Differential Protection to Improve Security and Dependability. IEEE Trans. Ind. Appl. 2017, 53, 2642–2649. [Google Scholar] [CrossRef] [Scilit]
  24. Kaur, K.; Rana, R.; Kumar, N.; Singh, M.; Mishra, S. A colored petri net based frequency support scheme using fleet of electric vehicles in smart grid environment. IEEE Trans. Power Syst. 2016, 31, 4638–4649. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.