Research Article
Automatic Implementation of Fuzzy Reasoning Spiking Neural P Systems for Diagnosing Faults in Complex Power Systems
Pseudocode 1
The suspicious fault component analysis algorithm.
Input: Suspicious fault component node set N, Component node-switch node adjacent matrix G | Output: Information about each component node and breaker node in the logic diagram | 1: Set stop condition: All associated protection of suspicious fault components are accessed, ; | 2: Set Initialize state: , ; | 3: Add the suspicious fault component node to set ; | 4: while (all ) do | 5: for each node in set do | 6: for each node in node-switch adjacent matrix G do | 7: if node adjacent matrix then | 8: The searched node are added to set ; | 9: ; | 10: Add the node to logic diagram; | 11: for each associated protection of suspicious fault component do | 12: if is the node of protection -switch association set then | 13: ; | 14: end if | 15: end for | 16:end if | 17:end for | 18:end for | 19:; | 20: end while |
|